/* Elegant World-Class Gold Price Website */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

:root {
  --gold-primary: #d4af37;
  --gold-secondary: #b8860b;
  --gold-light: #f4e4bc;
  --gold-dark: #8b6914;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b7280;
  --background: #ffffff;
  --surface: #fafafa;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(184, 134, 11, 0.03) 0%, transparent 50%),
    linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  text-align: center;
  padding: 8px 20px 5px;
  background: linear-gradient(135deg, 
    rgba(184,134,11,0.9) 0%, 
    rgba(212,175,55,0.8) 25%, 
    rgba(184,134,11,0.9) 50%, 
    rgba(212,175,55,0.8) 75%, 
    rgba(184,134,11,0.9) 100%);
  background-size: 200% 200%;
  background-position: 30% 50%;
  position: relative;
  overflow: hidden;
  border-bottom: 2px #aa8226 solid;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  z-index: 1;
}

.logo-container {
  flex-shrink: 0;
  margin: 0 10px
}

.logo-image {
  max-width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  /* Makes the logo white to contrast with the gold background */
}

.header-text {
  flex: 1;
  text-align: right;
}

.header-text p {
  color: white;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
}

/* Country Navigation */
.country-nav {
  margin-top: 20px;
}

.country-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.country-nav li {
  display: inline-block;
}

.country-nav a {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: var(--text-primary);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  line-height: 1.2;
  font-family: 'Tajawal', sans-serif;
}

.country-flag {
  font-size: 1.3rem;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.country-nav a:hover {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Tablet Country Navigation */
@media (max-width: 1024px) and (min-width: 769px) {
  .country-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 20px;
  }

  .country-nav li {
    margin-bottom: 0;
  }

  .country-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 16px;
    font-size: 1.1rem;
    text-align: left;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }

  .country-nav a::after {
    content: '›';
    font-size: 1.4rem;
    opacity: 0.7;
  }

  .country-nav a:hover::after {
    opacity: 1;
  }

  .country-flag {
    font-size: 1.5rem;
    margin-right: 8px;
  }

  .country-header h1 {
    font-size: 2rem;
  }
}

/* Desktop Country Navigation */
@media (min-width: 1025px) {
  .country-nav ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
  }

  .country-nav li {
    width: 100%;
  }

  .country-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    line-height: 1.2;
    font-family: 'Tajawal', sans-serif;
  }

  .country-nav a::after {
    content: '›';
    font-size: 1.2rem;
    opacity: 0.7;
  }

  .country-nav a:hover {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--gold-dark);
  }

  .country-nav a:hover::after {
    opacity: 1;
  }

  .country-flag {
    font-size: 1.3rem;
    margin-right: 6px;
  }
}

/* Navigation */
.nav-section {
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
  position: relative;
}

.nav-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.nav-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 32px;
  font-family: 'Tajawal', sans-serif;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  font-family: 'Tajawal', sans-serif;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.nav-links a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-dark);
}

.nav-links a:hover::before {
  left: 100%;
}

/* Price Section */
.price-section {
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
  position: relative;
}

.price-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.price-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Tajawal', sans-serif;
  position: relative;
}

.price-section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
}

/* Price Table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--background);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.price-table th {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  color: white;
  padding: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.price-table th::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.price-table td {
  padding: 12px 8px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
  font-family: 'Tajawal', sans-serif;
}

.price-table tr:nth-child(even) {
  background-color: var(--gold-light);
  transform: scale(1.01);
  transition: var(--transition);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.karat-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  position: relative;
}

.karat-link:hover {
  color: var(--gold-primary);
  background-color: var(--gold-light);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.price-up {
  color: #059669;
  font-weight: 700;
  position: relative;
}

.price-up::before {
  content: '↗';
  margin-right: 4px;
  font-size: 0.9em;
}

.price-down {
  color: #dc2626;
  font-weight: 700;
  position: relative;
}

.price-down::before {
  content: '↘';
  margin-right: 4px;
  font-size: 0.9em;
}

.price-neutral {
  color: var(--text-muted);
  font-weight: 500;
}

/* Info Section */
.info-section {
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
  position: relative;
}

.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.info-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-family: 'Tajawal', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-section h3::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.info-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-section li {
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  padding-right: 24px;
  border-bottom: 1px solid var(--border-light);
  font-family: 'Tajawal', sans-serif;
  text-align: right;
}

.info-section li:last-child {
  border-bottom: none;
}

.info-section li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
}

/* Content Wrapper */
.content-wrapper {
  display: flex;
  gap: 24px;
  margin-bottom: 60px;
}

.info-section {
  flex: 1;
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  position: relative;
}

.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.description-section {
  flex: 2;
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  position: relative;
}

.description-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.description-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-family: 'Tajawal', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}

.description-section h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.description-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  font-family: 'Tajawal', sans-serif;
}

/* Mobile Content Wrapper */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .info-section,
  .description-section {
    padding: 32px 20px;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-secondary) 100%);
  color: white;
  padding: 40px 0 20px;
  margin-top: 60px;
  width: 100%;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section {
  text-align: center;
}

.footer-section h3 {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Tajawal', sans-serif;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
}

.footer-section a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 4px 0;
  font-family: 'Tajawal', sans-serif;
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer {
    padding: 20px 0 10px;
    margin-top: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 16px;
    margin-bottom: 15px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .footer-section ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .footer-section li {
    margin-bottom: 0;
  }

  .footer-section a {
    font-size: 0.8rem;
    padding: 4px 6px;
  }

  /* Hide the karats section on mobile */
  .footer-section:nth-child(2) {
    display: none;
  }

  .social-links {
    justify-content: center;
    gap: 10px;
  }

  .social-link {
    font-size: 0.8rem;
    padding: 6px 8px;
  }

  .footer-bottom {
    padding-top: 10px;
  }

  .footer-bottom p {
    font-size: 0.75rem;
    margin: 2px 0;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-family: 'Tajawal', sans-serif;
}

.breadcrumbs li:not(:last-child):after {
  content: '/';
  margin-left: 8px;
  color: var(--text-muted);
  font-weight: 300;
}

.breadcrumbs a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-weight: 500;
}

.breadcrumbs a:hover {
  background-color: var(--gold-light);
  color: var(--gold-primary);
}

.breadcrumbs .current {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Mobile Breadcrumbs */
@media (max-width: 768px) {
  .breadcrumbs {
    padding: 20px 8px;
  }

  .breadcrumbs ol {
    gap: 4px;
  }

  .breadcrumbs li:not(:last-child):after {
    margin-left: 4px;
  }

  .breadcrumbs a {
    padding: 6px 6px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header {
    padding: 8px 0 5px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
  }

  .nav-section {
    padding: 32px 20px;
    margin-bottom: 40px;
  }

  .nav-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nav-links a {
    padding: 18px 20px;
    font-size: 0.95rem;
  }

  .price-section {
    padding: 32px 20px;
    margin-bottom: 40px;
  }

  .price-table th,
  .price-table td {
    padding: 12px 8px;
    font-size: 1rem;
  }

  .info-section {
    padding: 32px 20px;
    margin-bottom: 40px;
  }

  .footer {
    padding: 24px 16px;
    margin-top: 40px;
  }

  .country-nav ul {
    gap: 12px;
  }

  .country-nav a {
    padding: 10px 16px;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .country-flag {
    font-size: 1.3rem;
    margin-right: 6px;
  }

  .country-header h1 {
    font-size: 1.5rem;
  }
}

/* Loading Animation */
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

.loading {
  background: linear-gradient(90deg, var(--border-light) 25%, var(--surface) 50%, var(--border-light) 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Focus States */
.nav-links a:focus,
.karat-link:focus,
.back-link:focus {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .nav-links a,
  .back-link {
    display: none;
  }

  .price-section,
  .info-section {
    box-shadow: none;
    border: 1px solid #000;
  }
}

/* Price Cards Grid */
.gold-prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

/* Prices Date Title */
.prices-date-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.calendar-icon {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  flex-shrink: 0;
}

.calendar-header {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 6px;
  text-align: center;
}

.month-year {
  font-size: 10px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-family: 'Tajawal', sans-serif;
}

.calendar-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
}

.day {
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1;
  margin-bottom: 2px;
  font-family: 'Tajawal', sans-serif;
}

.month-name {
  font-size: 8px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: 'Tajawal', sans-serif;
}

.title-text {
  flex: 1;
}

.title-text h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: 'Tajawal', sans-serif;
}

.title-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  font-family: 'Tajawal', sans-serif;
}

.price-card {
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

.price-header {
  text-align: center;
  margin-bottom: 24px;
}

.price-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: 'Tajawal', sans-serif;
}

.price-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.price-value .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: 'Tajawal', sans-serif;
  display: inline-block;
}

.price-value .price .price-main {
  font-size: 2.75rem; /* 10% larger than 2.5rem */
  font-weight: 800;
}

.price-value .currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-family: 'Tajawal', sans-serif;
}

.price-details {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.price-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-family: 'Tajawal', sans-serif;
}

.view-history-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  font-family: 'Tajawal', sans-serif;
}

.view-history-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--gold-dark);
}

.view-history-btn:focus {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* Country Header */
.country-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px 0;
}

.country-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: 'Tajawal', sans-serif;
  position: relative;
}

.country-header h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
  border-radius: 2px;
}

/* Tablet Country Header */
@media (max-width: 1024px) {
  .country-header h1 {
    font-size: 2rem;
  }
}

/* Mobile Country Header */
@media (max-width: 768px) {
  .country-header h1 {
    font-size: 1.5rem;
  }
}

.country-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: 'Tajawal', sans-serif;
}

/* Back Link */
.back-link {
  display: inline-block;
  padding: 16px 32px;
  background: var(--background);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--border);
  transition: var(--transition);
  margin-top: 40px;
  font-family: 'Tajawal', sans-serif;
}

.back-link:hover {
  background: var(--gold-primary);
  color: white;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.back-link:focus {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* FAQ Section */
.faq-section {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.faq-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Tajawal', sans-serif;
  position: relative;
}

.faq-section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.faq-item {
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--gold-primary);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-family: 'Tajawal', sans-serif;
  line-height: 1.4;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  font-family: 'Tajawal', sans-serif;
}

/* Mobile FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 32px 20px;
    margin-bottom: 40px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-item {
    padding: 20px;
  }
}

/* Chart Section */
.chart-section {
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
  position: relative;
}

.chart-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.chart-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 32px;
  font-family: 'Tajawal', sans-serif;
  position: relative;
}

.chart-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.chart-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

/* Mobile Country Navigation */
@media (max-width: 768px) {
  .country-nav ul {
    display: block;
    gap: 0;
    padding: 0 20px;
  }

  .country-nav li {
    display: block;
    margin-bottom: 12px;
  }

  .country-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 16px;
    font-size: 1.1rem;
    text-align: left;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }

  .country-nav a::after {
    content: '›';
    font-size: 1.4rem;
    opacity: 0.7;
  }

  .country-nav a:hover::after {
    opacity: 1;
  }

  .country-flag {
    font-size: 1.5rem;
    margin-right: 8px;
  }
}



/* Mobile: show icon, hide text */
@media (max-width: 768px) {
  .breadcrumb-text { display: none; }
  .breadcrumb-icon { display: inline; font-size: 1.2rem; }
}

/* Desktop: show text, hide icon */
@media (min-width: 769px) {
  .breadcrumb-icon { display: none; }
  .breadcrumb-text { display: inline; }
}