/* ============================================
   NYC Arab Book Fair - Styles
   Clean, Big, Readable - Single Language View
   ============================================ */

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  /* Colors */
  --deep-green: #0F3D2E;
  --deep-green-dark: #0a2a1f;
  --ivory: #F8F6F1;
  --warm-sand: #F2EADB;
  --gold: #C9A24D;
  --gold-light: #D4B366;
  --muted-gold: #E1C97A;
  --charcoal: #2B2B2B;
  --soft-gray: #7A7A7A;
  --white: #FFFFFF;
  --error: #C94D4D;
  --success: #2E7D32;
  
  /* Typography */
  --font-arabic: 'Noto Naskh Arabic', 'Traditional Arabic', serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: 120px;
  --container-max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(15, 61, 46, 0.08);
  --shadow-medium: 0 8px 32px rgba(15, 61, 46, 0.12);
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Arabic Mode - Bigger text, RTL */
body.lang-ar {
  direction: rtl;
  font-family: var(--font-arabic);
  font-size: 22px;
  line-height: 2.2;
}

body.lang-ar h1, 
body.lang-ar h2, 
body.lang-ar h3 {
  font-family: var(--font-arabic);
}

/* English Mode - LTR */
body.lang-en {
  direction: ltr;
  font-family: var(--font-body);
}

body.lang-en h1, 
body.lang-en h2, 
body.lang-en h3 {
  font-family: var(--font-heading);
}

/* ============================================
   Skip Link
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep-green);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: 500;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--deep-green);
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 24px;
}

body.lang-ar h2 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

body.lang-ar h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

body.lang-ar p {
  font-size: 1.35rem;
  line-height: 2.2;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Container
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(248, 246, 241, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 77, 0.15);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 48px;
}

.nav-links a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

body.lang-ar .nav-links a {
  font-size: 1.25rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition-medium);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Toggle */
.lang-toggle {
  padding: 12px 24px;
  background: var(--gold);
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-medium);
}

body.lang-ar .lang-toggle {
  font-family: var(--font-arabic);
  font-size: 1.1rem;
}

.lang-toggle:hover {
  background: var(--deep-green);
  transform: translateY(-2px);
}

.lang-label {
  display: none;
}

body.lang-ar .lang-label[data-current="en"] {
  display: inline;
}

body.lang-en .lang-label[data-current="ar"] {
  display: inline;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Hero Section - Cinematic Background
   ============================================ */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(180deg, rgba(15, 61, 46, 0.75) 0%, rgba(15, 61, 46, 0.55) 40%, rgba(15, 61, 46, 0.35) 100%),
    radial-gradient(circle at center, rgba(201, 162, 77, 0.12) 0%, transparent 55%),
    url('nycbg.gif') center 35% / cover no-repeat;
  background-color: var(--deep-green);
}

/* Hidden overlay element (not needed, using background layers) */
.hero-overlay {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 32px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* Hero entrance animation */
.reveal-hero {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s ease-out 0.2s forwards;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-hero {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ivory);
  width: fit-content;
}

body.lang-ar .hero-badge {
  font-size: 1.1rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Hero Headline */
.hero-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.35;
  max-width: 800px;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

body.lang-ar .hero-headline {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.25;
  font-family: var(--font-arabic);
}

body.lang-en .hero-headline {
  font-family: var(--font-heading);
}

/* Hero Date Pill */
.hero-date-pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: rgba(15, 61, 46, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--muted-gold);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.03em;
  margin-top: 8px;
}

body.lang-ar .hero-date-pill {
  font-size: 1.15rem;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 36px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.lang-ar .btn-hero-primary,
body.lang-ar .btn-hero-secondary {
  font-family: var(--font-arabic);
  font-size: 1.15rem;
}

.btn-hero-primary {
  background: var(--deep-green);
  color: var(--ivory);
  border-color: var(--deep-green);
}

.btn-hero-primary:hover {
  background: var(--deep-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 61, 46, 0.4);
  border-color: var(--gold);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-color: var(--gold);
}


/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-medium);
}

body.lang-ar .btn {
  font-family: var(--font-arabic);
  font-size: 1.3rem;
  padding: 20px 44px;
}

.btn-primary {
  background: var(--deep-green);
  color: var(--white);
  border-color: var(--deep-green);
}

.btn-primary:hover {
  background: var(--deep-green-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--deep-green);
  border-color: var(--deep-green);
}

.btn-secondary:hover {
  background: var(--deep-green);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: var(--section-padding) 0;
}

.section-ivory {
  background: var(--ivory);
}

.section-sand {
  background: var(--warm-sand);
}

.section-form {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--warm-sand) 100%);
}

/* Section Header - NO ICONS */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--soft-gray);
  max-width: 600px;
  margin: 0 auto 20px;
}

body.lang-ar .section-subtitle {
  font-size: 1.5rem;
}

/* Divider */
.divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--muted-gold), var(--gold), var(--muted-gold));
  margin: 0 auto;
  border-radius: 2px;
}

/* ============================================
   Content Block
   ============================================ */
.content-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.content-block p {
  font-size: 1.25rem;
}

body.lang-ar .content-block p {
  font-size: 1.5rem;
  line-height: 2.3;
}

/* ============================================
   Info Cards
   ============================================ */
.info-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.info-card {
  background: var(--white);
  padding: 48px 56px;
  border-radius: 20px;
  border: 2px solid var(--muted-gold);
  text-align: center;
  min-width: 300px;
  transition: all var(--transition-medium);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--gold);
}

.info-card h3 {
  margin-bottom: 16px;
  color: var(--soft-gray);
  font-weight: 500;
}

.info-value {
  font-size: 1.5rem !important;
  font-weight: 600;
  color: var(--charcoal);
}

body.lang-ar .info-value {
  font-size: 1.8rem !important;
}

.info-value.highlight {
  color: var(--deep-green);
  font-size: 1.75rem !important;
}

body.lang-ar .info-value.highlight {
  font-size: 2rem !important;
}

.info-note {
  font-size: 1rem !important;
  color: var(--soft-gray);
  font-style: italic;
  margin-top: 8px;
}

.section-note {
  text-align: center;
  font-style: italic;
  color: var(--soft-gray);
  padding: 20px 32px;
  background: rgba(201, 162, 77, 0.1);
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Bullet List
   ============================================ */
.bullet-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.bullet-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(201, 162, 77, 0.2);
  font-size: 1.25rem;
}

body.lang-ar .bullet-list li {
  font-size: 1.5rem;
  line-height: 2;
}

.bullet-list li:last-child {
  border-bottom: none;
}

.bullet-list li::before {
  content: '';
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}

/* ============================================
   Card Grid
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: 20px;
  border: 2px solid var(--muted-gold);
  overflow: hidden;
  transition: all var(--transition-medium);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--gold);
}

.card h3 {
  background: var(--deep-green);
  color: var(--white);
  padding: 24px 32px;
  text-align: center;
}

.card ul {
  list-style: none;
  padding: 32px;
}

.card li {
  padding: 14px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(201, 162, 77, 0.15);
  font-size: 1.125rem;
}

body.lang-ar .card li {
  padding-left: 0;
  padding-right: 28px;
  font-size: 1.3rem;
  line-height: 2;
}

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

.card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

body.lang-ar .card li::before {
  content: '←';
  left: auto;
  right: 0;
}

/* ============================================
   Welcome Banner
   ============================================ */
.welcome-banner {
  background: linear-gradient(135deg, var(--deep-green) 0%, #1a5240 100%);
  color: var(--white);
  padding: 48px 56px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 56px;
  box-shadow: var(--shadow-medium);
}

.welcome-banner h3 {
  color: var(--white);
  margin-bottom: 16px;
}

.welcome-banner p {
  font-size: 1.25rem;
  opacity: 0.95;
}

body.lang-ar .welcome-banner p {
  font-size: 1.5rem;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 20px;
  border: 2px solid var(--muted-gold);
  text-align: center;
  transition: all var(--transition-medium);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--gold);
}

.feature h3 {
  margin-bottom: 12px;
}

.feature p {
  color: var(--soft-gray);
  font-size: 1rem !important;
}

body.lang-ar .feature p {
  font-size: 1.2rem !important;
}

/* ============================================
   Form Section
   ============================================ */
.form-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 56px;
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
  border: 2px solid rgba(201, 162, 77, 0.15);
}

/* Honeypot */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 1.125rem;
}

body.lang-ar .form-group label {
  font-size: 1.3rem;
}

.required {
  color: var(--error);
  margin-left: 4px;
}

body.lang-ar .required {
  margin-left: 0;
  margin-right: 4px;
}

.optional {
  font-size: 0.9rem;
  color: var(--soft-gray);
  font-weight: 400;
  margin-left: 8px;
}

body.lang-ar .optional {
  margin-left: 0;
  margin-right: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 18px 20px;
  font-family: inherit;
  font-size: 1.125rem;
  color: var(--charcoal);
  background: var(--ivory);
  border: 2px solid rgba(201, 162, 77, 0.2);
  border-radius: 12px;
  transition: all var(--transition-fast);
}

body.lang-ar .form-group input,
body.lang-ar .form-group select,
body.lang-ar .form-group textarea {
  font-size: 1.25rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.15);
  background: var(--white);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A7A7A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 56px;
}

body.lang-ar .form-group select {
  background-position: left 20px center;
  padding-right: 20px;
  padding-left: 56px;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Checkbox */
.checkbox-group {
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-weight: 400 !important;
  position: relative;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.checkmark {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  background-color: var(--ivory);
  border: 2px solid var(--deep-green);
  border-radius: 6px;
  position: relative;
  transition: all var(--transition-fast);
  margin-top: 3px;
  box-sizing: border-box;
}

.checkbox-label:hover .checkmark {
  border-color: var(--gold);
}

.checkbox-label input:checked + .checkmark {
  background: var(--deep-green);
  border-color: var(--deep-green);
}

.checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked + .checkmark::after {
  display: block;
}

.checkbox-text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  flex: 1;
}

body.lang-ar .checkbox-text {
  font-size: 1.2rem;
  line-height: 1.9;
}

/* Error Messages */
.error-message {
  display: none;
  color: var(--error);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--error);
}

.form-group.has-error .error-message {
  display: block;
}

.char-count {
  display: block;
  font-size: 0.9rem;
  color: var(--soft-gray);
  margin-top: 8px;
}

/* Form-level error */
.form-error {
  display: none;
  background: rgba(201, 77, 77, 0.08);
  border: 2px solid var(--error);
  color: var(--error);
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 28px;
  font-weight: 500;
}

.form-error.visible {
  display: block;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 20px 40px;
  font-size: 1.25rem;
  position: relative;
}

body.lang-ar .btn-submit {
  font-size: 1.5rem;
}

.btn-submit.loading {
  pointer-events: none;
}

.btn-submit.loading .btn-text {
  opacity: 0.5;
}

.btn-loading {
  display: none;
  width: 24px;
  height: 24px;
  border: 3px solid transparent;
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
}

body.lang-ar .btn-loading {
  right: auto;
  left: 28px;
}

.btn-submit.loading .btn-loading {
  display: block;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Privacy Note */
.privacy-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.95rem !important;
  color: var(--soft-gray);
}

/* ============================================
   Thank You Message
   ============================================ */
.thank-you-message {
  text-align: center;
  padding: 80px 48px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
  max-width: 560px;
  margin: 0 auto;
}

.thank-you-message[hidden] {
  display: none;
}

.thank-you-message h3 {
  margin-bottom: 20px;
  color: var(--success);
  font-size: 2rem;
}

body.lang-ar .thank-you-message h3 {
  font-size: 2.5rem;
}

.thank-you-message p {
  font-size: 1.25rem;
}

body.lang-ar .thank-you-message p {
  font-size: 1.5rem;
}

/* ============================================
   Footer - Columns Layout
   ============================================ */
.site-footer {
  background: var(--deep-green);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

body.lang-ar .footer-grid {
  direction: rtl;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 24px;
}

body.lang-ar .footer-col h4 {
  font-size: 1.4rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1.0625rem;
  transition: color var(--transition-fast);
}

body.lang-ar .footer-col a,
body.lang-ar .footer-col span {
  font-size: 1.2rem;
}

.footer-col a:hover {
  color: var(--gold);
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 100px;
  height: auto;
  border-radius: 12px;
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

.footer-tagline {
  font-size: 1.25rem;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 340px;
}

body.lang-ar .footer-tagline {
  font-size: 1.4rem;
  line-height: 2;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(201, 162, 77, 0.3);
  text-align: center;
}

.copyright {
  font-size: 1rem;
  opacity: 0.7;
}

/* ============================================
   Responsive - Tablet
   ============================================ */
@media (max-width: 900px) {
  :root {
    --section-padding: 80px;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 24px 32px;
    gap: 0;
    border-bottom: 2px solid var(--muted-gold);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links li {
    border-bottom: 1px solid rgba(201, 162, 77, 0.2);
  }
  
  .nav-links a {
    display: block;
    padding: 20px 0;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-inner {
    padding: 80px 24px;
  }
  
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
  
  .footer-logo {
    margin: 0 auto;
  }
  
  .footer-tagline {
    max-width: 100%;
  }
}

/* ============================================
   Responsive - Mobile
   ============================================ */
@media (max-width: 600px) {
  :root {
    --section-padding: 64px;
    --header-height: 72px;
  }
  
  body {
    font-size: 16px;
  }
  
  body.lang-ar {
    font-size: 18px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  h2 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  body.lang-ar h2 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  
  .hero-inner {
    padding: 60px 20px;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    height: 52px;
  }
  
  .hero-date-pill {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .form-container {
    padding: 36px 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .info-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .info-card {
    width: 100%;
    max-width: 360px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .welcome-banner {
    padding: 36px 28px;
  }
  
  .lang-toggle {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .badge-dot {
    animation: none;
  }
}

/* ============================================
   Focus Visible
   ============================================ */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}
