/* ============================================
   CardOpz Design System
   White/light theme with dark UI contrast
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- Root Tokens --- */
:root {
  /* Typography */
  --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Type Scale (fluid) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: clamp(1.75rem, 3vw, 2rem);
  --text-4xl: clamp(2rem, 4vw, 2.5rem);
  --text-5xl: clamp(2.5rem, 5vw, 3.5rem);
  --text-hero: clamp(2.75rem, 5.5vw, 4.5rem);

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* Backgrounds */
  --color-bg-primary: #fafafa;
  --color-bg-secondary: #f2f3f5;
  --color-bg-elevated: #ffffff;
  --color-bg-dark: #0c1222;
  --color-bg-dark-surface: #141d32;

  /* Brand */
  --color-brand-primary: #2563eb;
  --color-brand-primary-hover: #1d4ed8;
  --color-brand-primary-light: rgba(37, 99, 235, 0.08);
  --color-brand-accent: #00d4ff;
  --color-brand-gradient: linear-gradient(135deg, #2563eb, #00d4ff);

  /* Text */
  --color-text-primary: #0f1729;
  --color-text-secondary: #4b5563;
  --color-text-tertiary: #9ca3af;
  --color-text-inverse: #ffffff;
  --color-text-brand: #2563eb;

  /* Semantic */
  --color-security-accent: #10b981;
  --color-compliance-accent: #f59e0b;
  --color-error: #ef4444;
  --color-success: #22c55e;

  /* Borders */
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --color-border-dark: rgba(255, 255, 255, 0.08);

  /* Spacing Scale */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */
  --space-32: 8rem;    /* 128px */

  /* Section Padding */
  --section-padding: clamp(4rem, 8vw, 8rem);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-screenshot: 0 40px 80px -20px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  --shadow-nav: 0 1px 3px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-reveal: 600ms;

  /* Layout */
  --nav-height: 72px;
  --max-width: 1280px;
  --max-width-narrow: 960px;
  --max-width-wide: 1400px;
  --container-padding: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-hero); font-weight: 900; }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-4xl); }
h4 { font-size: var(--text-3xl); }
h5 { font-size: var(--text-2xl); }
h6 { font-size: var(--text-xl); }

p {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 65ch;
}

a {
  color: var(--color-brand-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-brand-primary-hover);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section--white {
  background-color: var(--color-bg-elevated);
}

.section--gray {
  background-color: var(--color-bg-secondary);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-text-inverse);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section--brand {
  background: var(--color-brand-gradient);
  color: var(--color-text-inverse);
}

.section--brand h2,
.section--brand p {
  color: var(--color-text-inverse);
}

/* --- Eyebrow / Badge --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-brand-primary);
  margin-bottom: var(--space-4);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-brand-primary);
  color: var(--color-text-inverse);
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn--primary:hover {
  background: var(--color-brand-primary-hover);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  background: var(--color-bg-secondary);
  border-color: var(--color-text-tertiary);
  color: var(--color-text-primary);
}

.btn--white {
  background: var(--color-bg-elevated);
  color: var(--color-brand-primary);
}

.btn--white:hover {
  background: var(--color-bg-secondary);
  color: var(--color-brand-primary-hover);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  border-bottom-color: var(--color-border-light);
  box-shadow: var(--shadow-nav);
}

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

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__link:hover {
  color: var(--color-text-primary);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Hamburger Menu Button */
.nav__menu-toggle,
.nav__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--color-text-primary);
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.nav__menu-toggle:hover,
.nav__menu-btn:hover {
  background: var(--color-bg-secondary);
  border-color: var(--color-text-tertiary);
}

@media (max-width: 768px) {
  .nav__menu-toggle,
  .nav__menu-btn {
    display: flex;
  }
  .nav__actions .btn--sm {
    display: none;
  }
}

/* --- Browser Mockup Frame --- */
.browser-frame {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-screenshot);
  transition: transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
}

.browser-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 50px 100px -25px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Support both class naming conventions */
.browser-frame__chrome,
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.browser-frame__dots {
  display: flex;
  gap: 6px;
}

.browser-frame__dot,
.browser-frame__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.browser-frame__dot--red,
.browser-frame__dots span:nth-child(1) { background: #ff5f57; }
.browser-frame__dot--yellow,
.browser-frame__dots span:nth-child(2) { background: #febc2e; }
.browser-frame__dot--green,
.browser-frame__dots span:nth-child(3) { background: #28c840; }

.browser-frame__url {
  flex: 1;
  margin-left: var(--space-4);
  padding: 4px 12px;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-text-tertiary);
}

.browser-frame__content,
.browser-frame__body {
  position: relative;
  overflow: hidden;
}

.browser-frame__content img,
.browser-frame__content video,
.browser-frame__body img,
.browser-frame__body video {
  display: block;
  width: 100%;
  height: auto;
}

/* Video hover-play effect */
.browser-frame__content video,
.browser-frame__body video {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.browser-frame:hover .browser-frame__content video,
.browser-frame:hover .browser-frame__body video {
  opacity: 1;
}

/* --- View Showcase (auto-animated crossfade) --- */
.view-showcase {
  position: relative;
}

.view-showcase__frame {
  position: relative;
  overflow: hidden;
}

.view-showcase__slide {
  width: 100%;
  transition: opacity 0.8s ease;
}

.view-showcase__slide--back {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.view-showcase__slide--back.is-active {
  opacity: 1;
}

.view-showcase__slide--front.is-hidden {
  opacity: 0;
}

.view-showcase__slide img {
  display: block;
  width: 100%;
  height: auto;
}

.view-showcase__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.view-showcase__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
  padding: 4px 0;
  border: none;
  background: none;
}

.view-showcase__label.is-active {
  color: var(--color-brand-primary);
  font-weight: 600;
}

.view-showcase__label:hover {
  color: var(--color-text-primary);
}

.view-showcase__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.view-showcase__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-tertiary);
  opacity: 0.35;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.4s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.view-showcase__dot.is-active {
  opacity: 1;
  background: var(--color-brand-primary);
  transform: scale(1.25);
}

.view-showcase__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand-primary), var(--color-brand-accent));
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
  z-index: 2;
}

/* URL bar transition for showcase */
.browser-frame__url {
  transition: opacity 0.4s ease;
}

/* --- Phone Mockup --- */
.phone-frame {
  position: relative;
  width: 280px;
  padding: 16px;
  background: #1a1a1a;
  border-radius: 36px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.25),
              inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-frame__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-frame__screen {
  border-radius: 22px;
  overflow: hidden;
}

.phone-frame__screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Cards --- */
.card {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Glass card for dark sections */
.card--glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-inverse);
}

.card--glass:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* --- Stats --- */
.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-top: var(--space-2);
  letter-spacing: var(--tracking-wide);
}

/* --- Feature Row (alternating two-column) --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-row__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.feature-row__visual {
  position: relative;
}

/* --- Footer (legacy .footer classes) --- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-16) 0 var(--space-8);
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer a:hover {
  color: var(--color-text-inverse);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-inverse);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.footer__links a {
  font-size: var(--text-sm);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-sm);
}

/* --- Site Footer (canonical .site-footer classes) --- */
.site-footer {
  background: var(--color-bg-dark, #111827);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: white;
  text-decoration: none;
  margin-bottom: var(--space-4);
}

.footer-brand__logo img {
  width: 32px;
  height: 32px;
}

.footer-brand__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  max-width: 320px;
}

.footer-brand__contact {
  font-size: var(--text-sm);
}

.footer-brand__contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-brand__contact a:hover {
  color: white;
}

.footer-col__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  margin-bottom: var(--space-4);
}

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

.footer-col__links li {
  margin-bottom: var(--space-2);
}

.footer-col__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col__links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-legal-links a,
.footer-legal-links button {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Video Modal --- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal) var(--ease-out);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: var(--text-xl);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-modal__player {
  width: 90vw;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-modal__player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Booking Overlay (shared across all pages) --- */
.booking-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
}

.booking-overlay.show {
  display: flex;
}

.booking-modal {
  background: white;
  border-radius: 16px;
  max-width: 560px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

.booking-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.booking-modal-body {
  padding: 1.5rem;
}

/* Mobile menu styles are in animations.css */

/* --- Responsive --- */
@media (max-width: 1024px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .feature-row--reverse {
    direction: ltr;
  }

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

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

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-4xl); }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn--sm {
    width: auto;
  }
}

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