/*
  =============================================================================
  RATHINAM GLOBAL DEEMED TO BE UNIVERSITY — AC BUS SERVICE LANDING PAGE
  Design system & stylesheet
  Brand: Deep Purple #2C146C · Royal Purple #4A238A · Orange #F58220 · Gold #FFC72C
  =============================================================================
*/

/* =============================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand — purple ramp */
  --brand-900: #1b0b47;
  --brand-800: #2c146c;
  --brand-700: #4a238a;
  --brand-600: #6234b4;
  --brand-500: #8250d8;
  --brand-200: #d9ccf5;
  --brand-100: #ebe4fa;
  --brand-50:  #f6f2fd;

  /* Accent — orange ramp */
  --accent-700: #c25c09;
  --accent-600: #de6f12;
  --accent-500: #f58220;
  --accent-400: #ff9c48;
  --accent-100: #ffe6cf;
  --accent-50:  #fff5eb;

  /* Gold */
  --gold-500: #ffc72c;
  --gold-400: #ffd45c;
  --gold-50:  #fff9e6;

  /* Neutrals — subtly purple-tinted for brand cohesion */
  --ink-900: #150f2e;
  --ink-800: #241e42;
  --ink-700: #38325c;
  --ink-600: #5a5580;
  --ink-500: #7b76a0;
  --ink-400: #a5a1c0;

  --surface:   #ffffff;
  --surface-2: #f8f7fc;
  --surface-3: #f1eff9;
  --line:        #e7e4f3;
  --line-strong: #d6d1ea;

  /* Semantic */
  --ok-600:   #0e9f6e;
  --ok-50:    #e6f7f0;
  --warn-600: #d64545;
  --warn-50:  #fdf0f0;

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.4rem, 1.15rem + 3.55vw, 4.15rem);
  --fs-h2:      clamp(1.85rem, 1.15rem + 1.95vw, 2.85rem);
  --fs-h3:      clamp(1.4rem, 1.05rem + 1vw, 2.05rem);
  --fs-lead:    clamp(1.03rem, 0.95rem + 0.32vw, 1.2rem);

  /* Elevation — brand-tinted so shadows never read as muddy grey */
  --sh-xs: 0 1px 2px rgba(27, 11, 71, .06);
  --sh-sm: 0 2px 6px rgba(27, 11, 71, .05), 0 1px 2px rgba(27, 11, 71, .04);
  --sh-md: 0 10px 26px -8px rgba(27, 11, 71, .14), 0 2px 6px rgba(27, 11, 71, .05);
  --sh-lg: 0 22px 50px -14px rgba(27, 11, 71, .2), 0 4px 12px rgba(27, 11, 71, .06);
  --sh-xl: 0 36px 80px -20px rgba(27, 11, 71, .28), 0 8px 22px rgba(27, 11, 71, .08);
  --sh-accent: 0 12px 28px -10px rgba(245, 130, 32, .55);
  --sh-brand:  0 12px 28px -10px rgba(44, 20, 108, .5);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --t-fast: .18s var(--ease-out);
  --t-mid:  .32s var(--ease-out);
  --t-slow: .6s var(--ease-out);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.1rem, 0.6rem + 1.6vw, 2rem);
  --section-y: clamp(4rem, 2.4rem + 5vw, 7rem);
  --nav-h: 76px;
}

/* =============================================================================
   2. BASE & RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  font-family: var(--font-body);
  color: var(--ink-700);
  background-color: var(--surface);
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
table { border-collapse: collapse; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-800);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--brand-700); color: #fff; }

/* Single, consistent keyboard focus treatment across the whole page */
:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-padding { padding-block: var(--section-y); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: var(--brand-50);
  color: var(--brand-700);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  border: 1px solid var(--brand-100);
  margin-bottom: 1.15rem;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-500);
  flex: none;
}

.section-title { font-size: var(--fs-h2); margin-bottom: .85rem; }

.section-subtitle {
  font-size: var(--fs-lead);
  color: var(--ink-500);
  line-height: 1.65;
}

/* Scroll-reveal — progressively enhanced, visible by default if JS is off */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =============================================================================
   4. BUTTONS
   ========================================================================== */
.btn-primary,
.btn-secondary,
.nav-cta-btn,
.btn-submit {
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 45%, var(--accent-600) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  padding: .95rem 2.1rem;
  box-shadow: var(--sh-accent);
  overflow: hidden;
}

/* Sheen sweep on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .32) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(245, 130, 32, .62); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  background: var(--surface);
  color: var(--brand-800);
  font-size: 1.02rem;
  padding: .9rem 1.9rem;
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--sh-xs);
}

.btn-secondary:hover {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-700);
  transform: translateY(-2px);
}

.btn-primary svg, .btn-secondary svg { width: 19px; height: 19px; flex: none; }

/* =============================================================================
   5. SCROLL PROGRESS
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand-600), var(--accent-500) 55%, var(--gold-500));
  z-index: 1000;
  transition: width .12s linear;
  will-change: width;
}

/* =============================================================================
   6. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(100deg, var(--brand-900) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
  color: #fff;
  font-size: .85rem;
  padding: .55rem 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-message {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  color: rgba(255, 255, 255, .88);
}

.top-bar-message strong { color: #fff; font-weight: 600; }
.top-bar-message .top-bar-tail { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.top-bar-badge {
  background: var(--accent-500);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .22rem .55rem;
  border-radius: 5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  flex: none;
}

.top-bar-contact { display: flex; gap: 1.5rem; flex: none; }

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255, 255, 255, .82);
  transition: color var(--t-fast);
}

.top-bar-contact a:hover { color: var(--gold-500); }
.top-bar-contact svg { width: 15px; height: 15px; }

/* =============================================================================
   7. NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 990;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-mid), border-color var(--t-mid), background-color var(--t-mid);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -12px rgba(27, 11, 71, .22);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  height: var(--nav-h);
}

.navbar-brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.navbar-brand svg { flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--brand-800);
  line-height: 1;
  letter-spacing: -0.015em;
}

.brand-name span { color: var(--accent-500); }

.brand-sub {
  font-size: .625rem;
  color: var(--ink-500);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-menu { display: flex; align-items: center; gap: .4rem; }
.mobile-only-item { display: none; }

.nav-link {
  position: relative;
  display: block;
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink-700);
  padding: .5rem .75rem;
  border-radius: var(--r-xs);
  white-space: nowrap;
  transition: color var(--t-fast), background-color var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
}

.nav-link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav-link.active { color: var(--brand-700); font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta-btn {
  background: var(--accent-500);
  color: #fff;
  font-size: .92rem;
  padding: .68rem 1.5rem;
  box-shadow: 0 6px 16px -6px rgba(245, 130, 32, .6);
  flex: none;
}

.nav-cta-btn:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(245, 130, 32, .7);
}

.mobile-nav-toggle {
  display: none;
  padding: .5rem;
  color: var(--brand-800);
  border-radius: var(--r-xs);
  transition: background-color var(--t-fast);
}

.mobile-nav-toggle:hover { background: var(--brand-50); }
.mobile-nav-toggle .icon-close { display: none; }
.mobile-nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.mobile-nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 15, 46, .45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid), visibility var(--t-mid);
  z-index: 985;
}

.nav-backdrop.open { opacity: 1; visibility: visible; }

/* =============================================================================
   8. HERO
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(130, 80, 216, .1), transparent 62%),
    radial-gradient(900px 520px at -6% 105%, rgba(245, 130, 32, .1), transparent 60%),
    linear-gradient(168deg, #faf8fe 0%, #ffffff 46%, #fffaf3 100%);
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) clamp(3.5rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}

/* Fine dot grid, faded out toward the edges */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(44, 20, 108, .09) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 35%, transparent 78%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 460px);
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}

.hero-content { min-width: 0; }

.campaign-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(120deg, var(--brand-800), var(--brand-700));
  color: var(--gold-500);
  padding: .5rem 1.15rem;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-size: clamp(.68rem, .6rem + .22vw, .78rem);
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 1.5rem;
  box-shadow: var(--sh-brand);
  border: 1px solid rgba(255, 255, 255, .14);
}

.campaign-badge svg { width: 16px; height: 16px; color: var(--accent-400); flex: none; }

.hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.05;
  color: var(--brand-800);
  margin-bottom: 1.15rem;
  letter-spacing: -0.035em;
}

.hero-title .highlight-orange {
  display: block;
  position: relative;
  width: fit-content;
  background: linear-gradient(100deg, var(--accent-500) 10%, var(--gold-500) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hand-drawn style underline under the punchline */
.hero-title .highlight-orange::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: .02em;
  height: .1em;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--accent-500), var(--gold-500));
  opacity: .32;
}

.hero-description {
  font-size: var(--fs-lead);
  color: var(--ink-600);
  margin-bottom: 1.9rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
  margin-bottom: 2rem;
}

/* --- Bus visual + floating amenity badges --- */
.hero-bus-wrapper {
  position: relative;
  margin-top: 2.25rem;
  width: 100%;
}

.hero-bus-image-box {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--brand-800);
  border: 1px solid rgba(255, 255, 255, .6);
}

.hero-bus-image-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(21, 11, 55, .55) 100%);
  pointer-events: none;
}

.hero-bus-img {
  width: 100%;
  height: clamp(230px, 22vw, 320px);
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}

.hero-bus-wrapper:hover .hero-bus-img { transform: scale(1.04); }

.bus-overlay-tag {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  left: 1rem;
  background: rgba(27, 11, 71, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: .5rem .95rem;
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(255, 255, 255, .22);
}

.bus-overlay-tag svg { width: 16px; height: 16px; color: var(--gold-500); flex: none; }

.floating-icon-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: .55rem .95rem;
  border-radius: var(--r-full);
  box-shadow: var(--sh-md);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand-800);
  border: 1px solid var(--line);
  animation: float 5s var(--ease-out) infinite;
  white-space: nowrap;
}

.floating-icon-badge svg { width: 16px; height: 16px; color: var(--accent-500); flex: none; }

.badge-ac      { top: -16px; left: 6px;       animation-delay: 0s; }
.badge-wifi    { top: 26px;  right: 0px;      animation-delay: .9s; }
.badge-gps     { bottom: 62px; left: 0px;     animation-delay: 1.7s; }
.badge-charger { bottom: -14px; right: 6px;   animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* =============================================================================
   9. HERO REGISTRATION FORM
   ========================================================================== */
.hero-form-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 1rem + 1.8vw, 2.4rem);
  box-shadow: var(--sh-xl);
  border: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}

/* Gradient hairline seamlessly integrated into the top edge of the card */
.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-700), var(--accent-500) 55%, var(--gold-500));
}

.form-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px dashed var(--line-strong);
}

.form-title { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); margin-bottom: .3rem; }
.form-subtitle { font-size: .88rem; color: var(--ink-500); }

.form-seats-left {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .8rem;
  padding: .3rem .8rem;
  background: var(--accent-50);
  color: var(--accent-700);
  border: 1px solid var(--accent-100);
  border-radius: var(--r-full);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.form-seats-left svg { width: 14px; height: 14px; }

.registration-form { display: flex; flex-direction: column; gap: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: .01em;
}

.form-group label .req { color: var(--accent-500); }

/* Radio group ships as a fieldset so the question is announced with its options */
.form-fieldset { border: 0; padding: 0; min-width: 0; }

.form-fieldset legend {
  padding: 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: .01em;
}

.form-control {
  width: 100%;
  padding: .72rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-xs);
  font-size: .92rem;
  color: var(--ink-800);
  background-color: var(--surface-2);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}

.form-control::placeholder { color: var(--ink-400); }

.form-control:hover:not(:focus) { border-color: var(--line-strong); }

.form-control:focus {
  outline: none;
  border-color: var(--brand-600);
  background-color: var(--surface);
  box-shadow: 0 0 0 4px rgba(98, 52, 180, .12);
}

.form-control:disabled {
  background-color: var(--surface-3);
  color: var(--ink-400);
  border-color: var(--line);
  cursor: not-allowed;
  opacity: .7;
}

/* Native select needs an explicit chevron once the OS arrow is suppressed */
select.form-control {
  appearance: none;
  -webkit-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='%237b76a0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  padding-right: 2.3rem;
  cursor: pointer;
}

.form-control.error {
  border-color: var(--warn-600);
  background-color: var(--warn-50);
}

.form-control.error:focus { box-shadow: 0 0 0 4px rgba(214, 69, 69, .12); }

.error-text {
  font-size: .72rem;
  font-weight: 500;
  color: var(--warn-600);
  display: none;
}

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

.radio-group { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .15rem; }

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .87rem;
  font-weight: 500;
  cursor: pointer;
  padding: .55rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface-2);
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}

.radio-option:hover { border-color: var(--brand-200); }

.radio-option:has(input:checked) {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 600;
}

.radio-option input[type="radio"] {
  accent-color: var(--brand-700);
  width: 17px;
  height: 17px;
  cursor: pointer;
  flex: none;
}

/* Cloudflare Turnstile CAPTCHA Widget Container */
.turnstile-wrapper {
  margin-block: .25rem;
  min-height: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: .6rem;
}

.turnstile-wrapper .cf-turnstile {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-800));
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  padding: .95rem 1rem;
  border-radius: var(--r-sm);
  margin-top: .4rem;
  box-shadow: var(--sh-brand);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(44, 20, 108, .6);
}

.btn-submit:disabled { opacity: .72; cursor: not-allowed; transform: none; }

.form-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: .9rem;
  font-size: .74rem;
  color: var(--ink-500);
  text-align: center;
}

.form-footnote svg { width: 14px; height: 14px; color: var(--ok-600); flex: none; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin .7s linear infinite;
  display: none;
  flex: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.form-success-message { display: none; text-align: center; padding: 2rem .5rem 1rem; }

.form-success-message.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon-box {
  width: 68px;
  height: 68px;
  background: var(--ok-50);
  color: var(--ok-600);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  box-shadow: 0 0 0 8px rgba(14, 159, 110, .09);
  animation: popIn .55s var(--ease-spring);
}

@keyframes popIn {
  from { transform: scale(.3); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-title { font-size: 1.4rem; margin-bottom: .5rem; }
.success-desc { font-size: .92rem; color: var(--ink-500); margin-bottom: 1.4rem; }

/* =============================================================================
   10. TRUST STRIP
   ========================================================================== */
.trust-strip {
  background: linear-gradient(100deg, var(--brand-900), var(--brand-800) 55%, var(--brand-700));
  color: #fff;
  padding-block: 2rem;
  position: relative;
  border-bottom: 3px solid var(--accent-500);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, .13);
  min-width: 0;
}

.trust-item:first-child { border-left: 0; padding-left: 0; }

.trust-icon-box {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: var(--gold-500);
  flex: none;
  transition: background-color var(--t-fast), transform var(--t-fast);
}

.trust-item:hover .trust-icon-box { background: rgba(255, 199, 44, .18); transform: translateY(-2px); }
.trust-icon-box svg { width: 20px; height: 20px; }

.trust-text {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.32;
  color: rgba(255, 255, 255, .94);
}

/* =============================================================================
   11. FEATURES
   ========================================================================== */
.features-section { background: var(--surface-2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}

/* Accent rail that grows on hover */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--brand-600), var(--accent-500));
  transition: height var(--t-mid);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--brand-100);
}

.feature-card:hover::before { height: 100%; }

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background: linear-gradient(140deg, var(--brand-50), var(--brand-100));
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  transition: background var(--t-mid), color var(--t-mid), transform var(--t-mid);
}

.feature-card:hover .feature-icon-wrapper {
  background: linear-gradient(140deg, var(--brand-700), var(--brand-800));
  border-color: transparent;
  color: #fff;
  transform: rotate(-5deg) scale(1.06);
}

.feature-icon-wrapper svg { width: 27px; height: 27px; }

.feature-title { font-size: 1.15rem; margin-bottom: .55rem; }
.feature-description { font-size: .92rem; color: var(--ink-500); line-height: 1.68; }

/* Full-width closing card so 7 features never leave an orphan cell */
.feature-card.is-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.75rem;
  padding: 1.85rem 2rem;
  background: linear-gradient(115deg, var(--brand-800) 0%, var(--brand-700) 100%);
  border-color: transparent;
}

.feature-card.is-wide::before { display: none; }
.feature-card.is-wide .feature-title { color: #fff; margin-bottom: .35rem; }
.feature-card.is-wide .feature-description { color: rgba(255, 255, 255, .78); }
.feature-card.is-wide .feature-icon-wrapper {
  margin-bottom: 0;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .2);
  color: var(--gold-500);
}
.feature-card.is-wide:hover .feature-icon-wrapper {
  background: var(--gold-500);
  color: var(--brand-800);
}

/* =============================================================================
   12. WHY CHOOSE — ZIG-ZAG
   ========================================================================== */
.why-section { background: var(--surface); }

.zigzag-container {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 1.5rem + 5vw, 5.5rem);
}

.zigzag-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}

.zigzag-row.reverse .zigzag-image-box { order: 2; }

.zigzag-image-box {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--brand-50);
}

.zigzag-image-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(44, 20, 108, .22) 0%, transparent 45%);
  pointer-events: none;
}

.zigzag-img {
  width: 100%;
  height: clamp(280px, 26vw, 400px);
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

.zigzag-image-box:hover .zigzag-img { transform: scale(1.05); }

.zigzag-badge {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--accent-500);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .07em;
  padding: .42rem 1rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
  box-shadow: var(--sh-accent);
}

.success-title { font-size: 1.55rem; color: var(--brand-800); margin-bottom: .45rem; }

.success-desc {
  font-size: .94rem;
  color: var(--ink-600);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  max-width: 42ch;
}

.ac-features-pop {
  width: 100%;
  margin-top: .5rem;
  padding: 1.15rem;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: var(--r-md);
  text-align: left;
}

.pop-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.pop-feature-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--brand-800);
}

.pop-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-500);
  flex: none;
}

.zigzag-list { display: flex; flex-direction: column; gap: .8rem; }

.zigzag-list-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-weight: 500;
  font-size: .97rem;
  color: var(--ink-800);
}

.zigzag-list-icon {
  width: 26px;
  height: 26px;
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
  color: var(--accent-600);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
}

.zigzag-list-icon svg { width: 15px; height: 15px; }

/* =============================================================================
   13. TIMELINE
   ========================================================================== */
.timeline-section {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(130, 80, 216, .28), transparent 65%),
    linear-gradient(175deg, var(--brand-800) 0%, var(--brand-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.timeline-section .section-title { color: #fff; }
.timeline-section .section-subtitle { color: rgba(255, 255, 255, .7); }

.timeline-section .section-tag {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
  color: var(--gold-500);
}

.timeline-wrapper { position: relative; max-width: 1000px; margin-inline: auto; }

.timeline-line {
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .15);
  z-index: 1;
}

.timeline-line-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--accent-500));
  box-shadow: 0 0 16px rgba(255, 199, 44, .5);
  transition: width 1.6s var(--ease-out);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.timeline-step { text-align: center; display: flex; flex-direction: column; align-items: center; }

.timeline-node {
  width: 60px;
  height: 60px;
  background: var(--brand-800);
  border: 3px solid var(--gold-500);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-500);
  margin-bottom: 1.3rem;
  box-shadow: 0 0 0 6px rgba(44, 20, 108, .9), 0 0 24px rgba(255, 199, 44, .35);
  transition: transform var(--t-mid), background-color var(--t-mid), color var(--t-mid), border-color var(--t-mid);
  flex: none;
}

.timeline-node svg { width: 24px; height: 24px; }

.timeline-step:hover .timeline-node {
  transform: scale(1.12) translateY(-3px);
  background: var(--accent-500);
  border-color: var(--accent-400);
  color: #fff;
}

.timeline-time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .82rem;
  color: var(--gold-500);
  margin-bottom: .35rem;
  letter-spacing: .06em;
}

.timeline-step-title { font-size: 1.02rem; color: #fff; margin-bottom: .4rem; }

.timeline-step-desc {
  font-size: .84rem;
  color: rgba(255, 255, 255, .68);
  line-height: 1.55;
  max-width: 21ch;
}

/* =============================================================================
   14. COMPARISON TABLE
   ========================================================================== */
.comparison-section { background: var(--surface-2); }

.comparison-table-wrapper {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table { width: 100%; min-width: 680px; text-align: left; }

.comparison-table th,
.comparison-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: .98rem;
  font-weight: 700;
  background: var(--brand-800);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.comparison-table th.col-feature { width: 32%; }
.comparison-table th.col-regular { width: 34%; background: #3b2664; color: rgba(255, 255, 255, .72); }

.comparison-table th.col-ac {
  width: 34%;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: var(--gold-500);
}

.th-inner { display: flex; align-items: center; gap: .6rem; }

.th-pill {
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--gold-500);
  color: var(--brand-800);
  padding: .15rem .5rem;
  border-radius: var(--r-full);
  flex: none;
}

.comparison-table tbody tr { transition: background-color var(--t-fast); }
.comparison-table tbody tr:hover { background: rgba(246, 242, 253, .6); }
.comparison-table tr:last-child td { border-bottom: none; }

/* Cell content lives in a flex child so the <td> keeps table-cell layout
   (a display:flex <td> drops out of the column model and breaks widths). */
.cell { display: flex; align-items: center; gap: .65rem; }

.comparison-table td.feature-name { font-weight: 600; color: var(--brand-800); font-size: .95rem; }
.comparison-table td.feature-name svg { width: 19px; height: 19px; color: var(--brand-600); flex: none; }
.comparison-table td.regular-val { color: var(--ink-500); background: #fbfafe; }
.comparison-table td.ac-val { font-weight: 600; color: var(--brand-800); background: var(--brand-50); }

.badge-cross,
.badge-check {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .89rem;
}

.badge-cross { color: var(--ink-500); }
.badge-check { color: var(--brand-800); font-weight: 600; }

.badge-cross svg,
.badge-check svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; flex: none; }

.badge-cross svg { background: var(--warn-50); color: var(--warn-600); }
.badge-check svg { background: var(--ok-50); color: var(--ok-600); }

.table-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: .9rem;
  font-size: .78rem;
  color: var(--ink-500);
}

.table-scroll-hint svg { width: 15px; height: 15px; }

/* =============================================================================
   15. STATISTICS
   ========================================================================== */
.stats-section {
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(245, 130, 32, .22), transparent 65%),
    linear-gradient(100deg, var(--brand-900), var(--brand-800));
  color: #fff;
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-card { padding: .75rem 1rem; position: relative; }

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 18%;
  height: 64%;
  width: 1px;
  background: rgba(255, 255, 255, .15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(120deg, var(--gold-400), var(--gold-500) 45%, var(--accent-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
  margin-bottom: .4rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
}

/* =============================================================================
   16. EARLY BIRD
   ========================================================================== */
.earlybird-section { padding-block: var(--section-y); }

.earlybird-card {
  position: relative;
  background:
    radial-gradient(600px 400px at 92% 8%, rgba(245, 130, 32, .28), transparent 60%),
    linear-gradient(125deg, var(--brand-900) 0%, var(--brand-800) 45%, var(--brand-700) 100%);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--sh-xl);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  align-items: center;
}

.earlybird-ribbon {
  position: absolute;
  top: 26px;
  right: -54px;
  background: var(--accent-500);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .74rem;
  padding: .45rem 4rem;
  transform: rotate(45deg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  letter-spacing: .09em;
  text-transform: uppercase;
  z-index: 2;
}

.earlybird-content .section-tag {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
  color: var(--gold-500);
}

.earlybird-title { font-size: var(--fs-h2); color: #fff; margin-bottom: .85rem; }

.earlybird-subtitle {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, .8);
  margin-bottom: 1.9rem;
  max-width: 52ch;
}

.countdown-box { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }

.countdown-item {
  background: rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-sm);
  padding: .8rem 1rem;
  text-align: center;
  min-width: 76px;
}

.countdown-val {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-unit {
  font-size: .68rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  margin-top: .35rem;
  letter-spacing: .09em;
}

/* Offer panel — fills the second grid column that used to sit empty */
.offer-panel {
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .5);
}

.offer-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .7rem;
}

.offer-panel-label {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.offer-panel-count {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.seat-meter {
  height: 9px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
  margin-bottom: .6rem;
}

.seat-meter-fill {
  height: 100%;
  width: 0;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--gold-500), var(--accent-500));
  box-shadow: 0 0 12px rgba(255, 199, 44, .5);
  transition: width 1.6s var(--ease-out);
}

.seat-meter-note {
  font-size: .76rem;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 1.4rem;
}

.offer-perks { display: flex; flex-direction: column; gap: .8rem; }

.offer-perk {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .89rem;
  color: rgba(255, 255, 255, .9);
  line-height: 1.5;
}

.offer-perk svg {
  width: 18px;
  height: 18px;
  padding: 2px;
  border-radius: 50%;
  background: rgba(255, 199, 44, .18);
  color: var(--gold-500);
  flex: none;
  margin-top: 2px;
}

/* =============================================================================
   17. FEEDBACK
   ========================================================================== */
.feedback-section { background: var(--surface); }

.feedback-card {
  background: linear-gradient(160deg, var(--brand-50), var(--surface) 70%);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  max-width: 780px;
  margin-inline: auto;
  box-shadow: var(--sh-md);
  border: 1px solid var(--brand-100);
}

.feedback-form { display: flex; flex-direction: column; gap: 1.35rem; }

.feedback-form .form-group label {
  font-size: .92rem;
  font-family: var(--font-heading);
  color: var(--brand-800);
  margin-bottom: .15rem;
}

.feedback-form textarea.form-control { resize: vertical; min-height: 110px; line-height: 1.6; }
.feedback-form .btn-primary { align-self: flex-start; }

.star-rating {
  display: flex;
  gap: .3rem;
  width: fit-content;
  padding: .2rem 0;
}

.star-rating .star {
  font-size: 1.9rem;
  line-height: 1;
  color: var(--line-strong);
  cursor: pointer;
  background: none;
  border: none;
  padding: .1rem;
  border-radius: 4px;
  transition: color var(--t-fast), transform var(--t-fast);
}

.star-rating .star.active { color: var(--gold-500); }
.star-rating .star:hover { transform: scale(1.18); }

.rating-caption {
  font-size: .82rem;
  color: var(--ink-500);
  font-weight: 500;
  margin-top: .3rem;
}

/* =============================================================================
   18. QR SECTION
   ========================================================================== */
.qr-section { background: var(--surface-2); }

.qr-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 1rem + 2.5vw, 3.25rem);
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

.qr-box {
  background: linear-gradient(150deg, var(--brand-50), var(--surface));
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-align: center;
  border: 2px dashed var(--brand-200);
  justify-self: center;
}

.qr-img {
  width: clamp(170px, 16vw, 210px);
  height: auto;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: var(--r-xs);
  background: #fff;
  box-shadow: var(--sh-sm);
}

.qr-caption {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-700);
}

.qr-caption svg { width: 15px; height: 15px; color: var(--accent-500); }

.qr-title { font-size: var(--fs-h3); margin-bottom: .85rem; }
.qr-desc { font-size: 1.02rem; color: var(--ink-500); margin-bottom: 1.6rem; max-width: 46ch; }

/* =============================================================================
   19. FAQ
   ========================================================================== */
.faq-section { background: var(--surface); }

.faq-wrapper {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.faq-item {
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}

.faq-item:hover { border-color: var(--brand-200); }

.faq-item.active {
  border-color: var(--brand-500);
  background: var(--surface);
  box-shadow: var(--sh-md);
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--brand-800);
  text-align: left;
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--brand-600);
  flex: none;
  transition: transform var(--t-mid), color var(--t-mid);
}

.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--accent-500); }

/* Height driven by JS (scrollHeight) so long answers are never clipped */
.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height var(--t-mid);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.35rem;
  color: var(--ink-500);
  font-size: .96rem;
  line-height: 1.75;
}

/* =============================================================================
   20. FINAL CTA
   ========================================================================== */
.final-cta-section {
  position: relative;
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(245, 130, 32, .26), transparent 62%),
    linear-gradient(130deg, var(--brand-800), var(--brand-900));
  color: #fff;
  padding-block: clamp(4rem, 2.5rem + 4vw, 6rem);
  text-align: center;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 0);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 75%);
  pointer-events: none;
}

.final-cta-section .container { position: relative; }
.final-cta-title { font-size: var(--fs-h2); color: #fff; margin-bottom: 1rem; }

.final-cta-desc {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, .8);
  max-width: 55ch;
  margin: 0 auto 2.25rem;
}

/* =============================================================================
   21. FOOTER
   ========================================================================== */
.footer {
  background: #130827;
  color: #fff;
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.1fr 1.2fr;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  margin-bottom: 3rem;
}

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .6); }

.footer-desc {
  font-size: .89rem;
  color: rgba(255, 255, 255, .6);
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 38ch;
}

.footer-title {
  font-size: .95rem;
  color: var(--gold-500);
  margin-bottom: 1.15rem;
  letter-spacing: .02em;
}

.footer-links { display: flex; flex-direction: column; gap: .65rem; }

.footer-links a {
  color: rgba(255, 255, 255, .68);
  font-size: .91rem;
  width: fit-content;
  transition: color var(--t-fast), transform var(--t-fast);
}

.footer-links a:hover { color: var(--accent-400); transform: translateX(3px); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .91rem;
  color: rgba(255, 255, 255, .68);
  margin-bottom: .8rem;
}

.footer-contact-item svg { width: 17px; height: 17px; color: var(--accent-500); flex: none; }

.footer-note {
  font-size: .86rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1.1rem;
  line-height: 1.65;
}

.social-links { display: flex; gap: .6rem; }

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .82);
  transition: background-color var(--t-fast), color var(--t-fast),
              transform var(--t-fast), border-color var(--t-fast);
}

.social-icon svg { width: 18px; height: 18px; fill: currentColor; }

.social-icon:hover {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .83rem;
  color: rgba(255, 255, 255, .45);
}

.footer-hashtags { color: var(--gold-500); font-weight: 600; letter-spacing: .01em; }

/* =============================================================================
   22. FLOATING MOBILE CTA
   ========================================================================== */
.floating-mobile-cta {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
  color: #fff;
  padding: .9rem 1.5rem;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .98rem;
  box-shadow: 0 14px 30px -8px rgba(245, 130, 32, .65);
  z-index: 900;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  transform: translateY(150%);
  transition: transform var(--t-mid);
}

.floating-mobile-cta.visible { transform: translateY(0); }
.floating-mobile-cta svg { width: 19px; height: 19px; }

/* =============================================================================
   23. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-content { max-width: 720px; }
  .hero-form-card { max-width: 620px; width: 100%; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .trust-item:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .trust-item:first-child { padding-left: 0; }

  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .zigzag-row,
  .zigzag-row.reverse { grid-template-columns: minmax(0, 1fr); }
  .zigzag-row.reverse .zigzag-image-box { order: 0; }

  /* Timeline becomes a vertical rail — far more readable than squeezed columns */
  .timeline-wrapper { max-width: 540px; }
  .timeline-line { display: none; }
  .timeline-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .timeline-step {
    position: relative;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
    padding-bottom: 2.25rem;
  }

  .timeline-step:last-child { padding-bottom: 0; }

  .timeline-step::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: 8px;
    width: 2px;
    background: rgba(255, 255, 255, .16);
  }

  .timeline-step:last-child::before { display: none; }
  .timeline-node { margin-bottom: 0; }
  .timeline-step-desc { max-width: none; }
  .timeline-step > div:last-child,
  .timeline-step .timeline-body { padding-top: .35rem; }

  .earlybird-card { grid-template-columns: minmax(0, 1fr); }
  .earlybird-ribbon { top: 22px; right: -58px; }

  .qr-card { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .qr-desc { margin-inline: auto; }
  .table-scroll-hint { display: flex; }
}

@media (max-width: 860px) {
  .top-bar-contact { display: none; }
  .top-bar .container { justify-content: center; }
  .top-bar-message { justify-content: center; max-width: 100%; }
  .top-bar-message .top-bar-tail { white-space: normal; text-align: center; word-break: break-word; }

  .header-cta-desktop { display: none; }
  .mobile-only-item { display: block; }
  .mobile-nav-toggle { display: block; }

  /* Clean slide-down mobile menu panel positioned right below the header bar */
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - var(--nav-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    padding: .75rem 1.25rem 1.75rem;
    box-shadow: 0 20px 40px -10px rgba(27, 11, 71, .3);
    border-bottom: 3px solid var(--accent-500);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--t-mid), opacity var(--t-mid), visibility var(--t-mid);
    z-index: 995;
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

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

  .nav-link {
    padding: .85rem .75rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--brand-800);
    border-bottom: 1px solid var(--line);
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 0;
  }

  .nav-link::after { display: none; }
  .nav-link.active { background: var(--brand-50); color: var(--accent-500); font-weight: 700; }

  .mobile-only-item {
    display: block;
    width: 100%;
    margin-top: 1rem;
  }

  .mobile-only-item .nav-cta-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding-block: .85rem;
    font-size: 1.05rem;
    font-weight: 700;
  }

  body.nav-open { overflow: hidden; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .stat-card:nth-child(2n)::after { display: none; }

  .floating-mobile-cta { display: flex; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .features-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-card.is-wide { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .feature-card.is-wide .feature-icon-wrapper { margin-bottom: 0; }

  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .trust-item {
    border-left: 0;
    padding: .75rem .85rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-sm);
  }

  .form-row { grid-template-columns: minmax(0, 1fr); }

  /* Amenity badges reflow into a static row instead of overlapping the image */
  .hero-bus-wrapper {
    display: flex;
    flex-direction: column;
    gap: .55rem;
  }

  .floating-icon-badge {
    position: static;
    animation: none;
    align-self: flex-start;
    font-size: .76rem;
  }

  .hero-bus-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
  }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .trust-item { padding: .65rem .7rem; }
  .trust-text { font-size: .78rem; line-height: 1.25; }
  .trust-icon-box { width: 34px; height: 34px; }
  .trust-icon-box svg { width: 17px; height: 17px; }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-card::after { display: none !important; }
  .countdown-item { flex: 1 1 68px; min-width: 0; padding-inline: .5rem; }
  .radio-option { width: 100%; }
  .feedback-form .btn-primary { align-self: stretch; }
}

/* =============================================================================
   24. MOTION & PRINT PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .floating-mobile-cta { transform: translateY(0); }
}

@media print {
  .top-bar, .navbar, .scroll-progress-bar,
  .floating-mobile-cta, .nav-backdrop, .features-modal { display: none !important; }
  body { color: #000; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =============================================================================
   25. IMMEDIATE FEATURES MODAL POPUP
   ========================================================================== */
.features-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}

.features-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.features-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 8, 38, 0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.features-modal-card {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  max-width: 580px;
  width: 100%;
  box-shadow: 0 30px 70px -15px rgba(27, 11, 71, 0.45);
  border: 1px solid var(--line);
  transform: scale(0.92) translateY(15px);
  transition: transform 0.3s var(--ease-spring);
  overflow: hidden;
}

.features-modal.open .features-modal-card {
  transform: scale(1) translateY(0);
}

.features-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-700), var(--accent-500) 55%, var(--gold-500));
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-600);
  display: grid;
  place-items: center;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.modal-close-btn:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.35rem;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .8rem;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: .6rem;
}

.modal-badge svg { width: 14px; height: 14px; color: var(--accent-500); }

.modal-title {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  color: var(--brand-800);
  margin-bottom: .35rem;
}

.modal-subtitle {
  font-size: .88rem;
  color: var(--ink-500);
}

.modal-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1.5rem;
}

.modal-feature-card {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .85rem;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}

.modal-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  background: var(--brand-50);
  color: var(--accent-500);
  display: grid;
  place-items: center;
  flex: none;
}

.modal-feature-icon svg { width: 18px; height: 18px; }

.modal-feature-name {
  font-size: .86rem;
  font-weight: 700;
  color: var(--brand-800);
  margin-bottom: 2px;
}

.modal-feature-desc {
  font-size: .75rem;
  color: var(--ink-500);
  line-height: 1.35;
}

.modal-cta-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  padding: .9rem 1.5rem;
  border-radius: var(--r-full);
  box-shadow: var(--sh-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.modal-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(245, 130, 32, .65);
}

@media (max-width: 540px) {
  .modal-features-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }
}
