/* ========================================
   MoveMyTicket — Stylesheet
   ======================================== */

/* ---- Custom Properties ---- */
:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #DBEAFE;
  --navy: #0F172A;
  --navy-light: #1E293B;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --white: #FFFFFF;
  --green: #22C55E;
  --green-light: #DCFCE7;
  --amber: #F59E0B;
  --red: #EF4444;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-dark);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input {
  font-family: inherit;
  font-size: inherit;
}

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

.section-title {
  font-family: var(--font-accent);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn--primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn--white {
  background: var(--white);
  color: var(--blue);
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn--white:hover {
  background: var(--gray-50);
  color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.link--arrow {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}

.nav--scrolled {
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 70px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--navy);
}

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

.nav__login {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav__login:hover {
  color: var(--navy);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__heading {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero__accent {
  color: var(--blue);
}

.hero__subtext {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero__cta {
  margin-bottom: 32px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* Hero Illustration */
.hero__illustration {
  display: flex;
  justify-content: center;
}

.migration-flow {
  display: flex;
  align-items: center;
  gap: 20px;
}

.migration-flow__panel {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 160px;
  box-shadow: var(--shadow);
}

.migration-flow__panel-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.migration-flow__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
}

.migration-flow__item--done {
  color: var(--navy);
}

.migration-flow__icon {
  width: 18px;
  height: 18px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.migration-flow__item--done .migration-flow__icon {
  color: var(--blue);
}

.migration-flow__check {
  width: 16px;
  height: 16px;
  color: var(--gray-300);
  margin-left: auto;
  flex-shrink: 0;
}

.migration-flow__check--green {
  color: var(--green);
}

.migration-flow__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.migration-flow__arrow-line {
  width: 2px;
  height: 0;
}

.migration-flow__arrow-dots {
  display: flex;
  gap: 6px;
}

.migration-flow__arrow-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: dotPulse 1.5s ease-in-out infinite;
}

.migration-flow__arrow-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.migration-flow__arrow-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.migration-flow__arrow-head {
  width: 24px;
  height: 24px;
  color: var(--blue);
  transform: rotate(90deg);
}

.migration-flow__target {
  border-color: var(--green);
  background: linear-gradient(135deg, var(--white), var(--green-light));
}


/* ========================================
   FEATURES (Tabbed)
   ======================================== */
.features {
  padding: 100px 0;
}

.features__header {
  margin-bottom: 56px;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

/* Panels */
.features__panels {
  order: 1;
}

.features__panel {
  display: none;
  animation: fadeInPanel 0.35s ease;
}

.features__panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.features__panel-title {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.features__panel-text {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

/* Tab Nav (Right) */
.features__tabs {
  order: 2;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.features__tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-500);
  text-align: left;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.features__tab svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke-width: 1.5;
}

.features__tab:hover {
  background: var(--gray-50);
  color: var(--navy);
}

.features__tab.active {
  background: var(--blue-light);
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 600;
}

.features__tab.active svg {
  stroke: var(--blue);
}

/* ---- Feature Visuals ---- */
.features__visual {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* Wizard Steps */
.wizard-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.wizard-step__number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wizard-step__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.wizard-step__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.wizard-step__desc {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.wizard-step__connector {
  width: 40px;
  height: 2px;
  background: var(--gray-300);
  flex-shrink: 0;
  margin-top: -40px;
}

/* Downtime Demo */
.downtime-demo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.downtime-demo__platform {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  position: relative;
}

.downtime-demo__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
}

.downtime-demo__badge--live {
  background: var(--green-light);
  color: var(--green);
}

.downtime-demo__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.downtime-demo__bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}

.downtime-demo__bar-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 3px;
  transition: width 1s ease;
}

.downtime-demo__progress {
  text-align: center;
}

.downtime-demo__progress-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.downtime-demo__progress-bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.downtime-demo__progress-fill {
  width: 73%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 4px;
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.downtime-demo__progress-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}

/* Data Flow */
.data-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.data-flow__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.data-flow__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.data-flow__column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.data-flow__arrow-down {
  width: 24px;
  height: 60px;
  color: var(--blue);
}

.data-flow__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-flow__target {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}

.data-flow__target svg {
  flex-shrink: 0;
}

/* Custom Grid */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.custom-grid__col {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.custom-grid__heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}

.custom-grid__option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-600);
  padding: 6px 0;
  cursor: default;
}

.custom-grid__check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--gray-300);
  flex-shrink: 0;
  position: relative;
}

.custom-grid__check--on {
  background: var(--blue);
  border-color: var(--blue);
}

.custom-grid__check--on::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Pricing Card */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.pricing-card__header {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.pricing-card__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 8px 0;
}

.pricing-card__row--total {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.pricing-card__row--total span:last-child {
  color: var(--blue);
  font-size: 1.15rem;
}

.pricing-card__divider {
  height: 1px;
  background: var(--gray-200);
  margin: 8px 0;
}

.pricing-card__cta {
  margin-top: 16px;
  text-align: center;
  background: var(--blue);
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.pricing-card__cta:hover {
  background: var(--blue-dark);
}

/* ========================================
   PLATFORMS
   ======================================== */
.platforms {
  padding: 100px 0;
  background: var(--gray-50);
}

.platforms__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.platforms__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
  cursor: default;
}

.platforms__pill:hover,
.platforms__pill.is-visible {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.platforms__cta {
  text-align: center;
}

/* ========================================
   HOW IT WORKS (STEPS)
   ======================================== */
.steps {
  padding: 100px 0;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.steps__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.steps__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.steps__number {
  position: absolute;
  top: -16px;
  left: 28px;
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--blue);
}

.steps__icon svg {
  width: 100%;
  height: 100%;
}

.steps__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.steps__text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}


/* ========================================
   SECURITY
   ======================================== */
.security {
  padding: 100px 0;
}

.security__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.security__card {
  text-align: center;
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.security__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.security__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--blue);
}

.security__icon svg {
  width: 100%;
  height: 100%;
}

.security__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.security__text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}

.cta-banner__inner {
  text-align: center;
}

.cta-banner__heading {
  font-family: var(--font-accent);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner__subtext {
  font-size: 1.1rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-banner__link {
  color: var(--gray-400);
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-banner__link:hover {
  color: var(--white);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 64px 0 0;
  background: var(--navy-light);
  color: var(--gray-400);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer__logo-img {
  height: 44px;
  width: auto;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
}

.footer__desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 320px;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer__contact a {
  color: var(--gray-400);
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__contact-icon {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.footer__heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.8rem;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.footer__legal a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 32px;
  height: 32px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all var(--transition);
}

.footer__social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

/* Process Checklist */
.process-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.process-checklist__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-checklist__icon svg {
  width: 14px;
  height: 14px;
}

.process-checklist__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.process-checklist__desc {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ========================================
   BOOK A DEMO MODAL
   ======================================== */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.demo-modal[hidden] {
  display: none;
}

.demo-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: overlayIn 0.25s ease;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.demo-modal__card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  animation: cardIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.demo-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gray-400);
  transition: all var(--transition);
}

.demo-modal__close svg {
  width: 20px;
  height: 20px;
}

.demo-modal__close:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.demo-modal__header {
  margin-bottom: 28px;
}

.demo-modal__title {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.demo-modal__subtitle {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Form */
.demo-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.demo-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.demo-form__row .demo-form__group {
  margin-bottom: 0;
}

.demo-form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.demo-form__label span {
  color: var(--red);
  margin-left: 2px;
}

.demo-form__input {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--navy);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  width: 100%;
}

.demo-form__input::placeholder {
  color: var(--gray-400);
}

.demo-form__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}

.demo-form__input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.demo-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}

.demo-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.demo-form__error {
  font-size: 0.85rem;
  color: var(--red);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.demo-form__submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  position: relative;
  gap: 8px;
}

.demo-form__submit-spinner svg {
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
}

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

.demo-form__privacy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 12px;
}

/* Success State */
.demo-modal__success {
  text-align: center;
  padding: 20px 0;
}

.demo-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-success__icon svg {
  width: 32px;
  height: 32px;
}

.demo-success__title {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.demo-success__text {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 28px;
}

/* ========================================
   RESPONSIVE — Tablet (768px)
   ======================================== */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: 1fr 220px;
    gap: 32px;
  }

  .custom-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wizard-step__connector {
    width: 24px;
  }
}

@media (max-width: 768px) {
  /* Nav */
  .nav__hamburger {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 32px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav__menu.is-open {
    right: 0;
  }

  .nav__logo-img {
    height: 50px;
  }

  .nav__links {
    flex-direction: column;
    gap: 16px;
  }

  .nav__links a {
    font-size: 1rem;
  }

  .nav__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Hero */
  .hero {
    padding: 110px 0 60px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__illustration {
    order: 2;
  }

  .migration-flow {
    flex-direction: column;
    gap: 16px;
  }

  .migration-flow__panel {
    width: 100%;
    max-width: 260px;
  }

  .migration-flow__arrow {
    flex-direction: row;
    padding: 4px 0;
  }

  .migration-flow__arrow-head {
    transform: rotate(180deg);
  }

  .migration-flow__arrow-dots {
    flex-direction: row;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
  }

  .features__tabs {
    position: static;
    order: 1;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .features__tab {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 10px 14px;
  }

  .features__panels {
    order: 2;
  }

  .wizard-steps {
    flex-direction: column;
    gap: 12px;
  }

  .wizard-step__connector {
    width: 2px;
    height: 20px;
    margin-top: 0;
  }

  .custom-grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Security */
  .security__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Demo Modal */
  .demo-modal__card {
    padding: 28px 20px;
  }

  .demo-form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__heading {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .platforms__pill {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}
