/* ========================================
   ADAK CAPITAL — Design System & Global Styles
   ======================================== */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette */
  --primary-900: #0A2647;
  --primary-800: #0D3B66;
  --primary-700: #144272;
  --primary-600: #1B5A8A;
  --primary-500: #2272AB;
  --primary-400: #0EA5E9;
  --primary-300: #38BDF8;
  --primary-200: #7DD3FC;
  --primary-100: #BAE6FD;
  --primary-50:  #E0F2FE;

  /* Accent (Gold/Amber for CTAs) */
  --accent-600: #D97706;
  --accent-500: #F59E0B;
  --accent-400: #FBBF24;
  --accent-300: #FCD34D;
  --accent-200: #FDE68A;
  --accent-100: #FEF3C7;

  /* Neutrals */
  --neutral-950: #0B1120;
  --neutral-900: #111827;
  --neutral-800: #1F2937;
  --neutral-700: #374151;
  --neutral-600: #4B5563;
  --neutral-500: #6B7280;
  --neutral-400: #9CA3AF;
  --neutral-300: #D1D5DB;
  --neutral-200: #E5E7EB;
  --neutral-100: #F3F4F6;
  --neutral-50:  #F8FAFC;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --error:   #EF4444;
  --info:    #3B82F6;

  /* Surfaces */
  --bg-primary:   #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-dark:      #0A2647;
  --bg-dark-alt:  #0D3B66;
  --bg-gradient:  linear-gradient(135deg, #0A2647 0%, #144272 50%, #0EA5E9 100%);
  --bg-gradient-subtle: linear-gradient(135deg, #E0F2FE 0%, #F8FAFC 50%, #FEF3C7 100%);

  /* Glass */
  --glass-bg:     rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(10, 38, 71, 0.12);
  --glass-bg-light: rgba(255, 255, 255, 0.7);
  --glass-border-light: rgba(255, 255, 255, 0.9);

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --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:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Borders */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:  0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:  0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl:  0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.15);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-fixed:    300;
  --z-modal:    400;
  --z-toast:    500;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
}

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

/* ---------- Section ---------- */
.section {
  padding: var(--space-20) 0;
}

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: white;
}

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

.section--gradient h2,
.section--gradient h3,
.section--gradient h4 {
  color: white;
}

.section--light {
  background: var(--bg-gradient-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--neutral-500);
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section-header p,
.section--gradient .section-header p {
  color: var(--primary-200);
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.section--dark .section-label,
.section--gradient .section-label {
  color: var(--accent-400);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-4) 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: var(--space-3) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  color: white;
  transition: color var(--transition-base);
}

.logo-img {
  max-height: 40px;
  width: auto;
  display: block;
}

.logo-light {
  display: block;
}

.logo-dark {
  display: none;
}

.navbar.scrolled .logo-light {
  display: none;
}

.navbar.scrolled .logo-dark {
  display: block;
}

.navbar.scrolled .nav-logo {
  color: var(--primary-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-links a {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
}

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

.nav-links a.active {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.nav-links a.get-app-btn {
  background: var(--accent-500) !important;
  color: var(--neutral-900) !important;
  font-weight: 700;
}

.nav-links a.get-app-btn:hover {
  background: var(--accent-400) !important;
  color: var(--neutral-900) !important;
  transform: translateY(-1px);
}

.navbar.scrolled .nav-links a {
  color: var(--neutral-600);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary-900);
  background: var(--primary-50);
}

.navbar.scrolled .nav-links a.active {
  color: var(--primary-600);
  background: var(--primary-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--accent-500);
  color: var(--neutral-900) !important;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.nav-cta:hover {
  background: var(--accent-400);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.nav-login {
  padding: var(--space-2) var(--space-4);
  font-weight: 500;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav-login:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .nav-login {
  color: var(--primary-700) !important;
  border-color: var(--primary-200);
}

.navbar.scrolled .nav-login:hover {
  background: var(--primary-50);
  border-color: var(--primary-400);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
  background: var(--neutral-800);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  line-height: 1.5;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-500);
  color: var(--neutral-900);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: var(--accent-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: var(--primary-400);
  color: white;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-secondary:hover {
  background: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary-700);
  border: 2px solid var(--primary-200);
}

.btn-outline-dark:hover {
  background: var(--primary-50);
  border-color: var(--primary-400);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--neutral-100);
}

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

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-base);
}

.card-glass:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(10, 38, 71, 0.18);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: var(--text-2xl);
}

.card-icon--blue {
  background: var(--primary-50);
  color: var(--primary-500);
}

.card-icon--gold {
  background: var(--accent-100);
  color: var(--accent-600);
}

.card-icon--green {
  background: #D1FAE5;
  color: #059669;
}

.card-icon--purple {
  background: #EDE9FE;
  color: #7C3AED;
}

.card-icon--teal {
  background: #CCFBF1;
  color: #0D9488;
}

.card-icon--rose {
  background: #FFE4E6;
  color: #E11D48;
}

.card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--neutral-500);
  line-height: 1.7;
}

/* ---------- Form Elements ---------- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--neutral-700);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-secondary);
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  color: var(--neutral-900);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.form-input::placeholder {
  color: var(--neutral-400);
}

.form-input--error {
  border-color: var(--error);
}

.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-error {
  font-size: var(--text-sm);
  color: var(--error);
  margin-top: var(--space-1);
  display: none;
}

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

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--neutral-100);
  padding: var(--space-4) 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-600);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--neutral-950);
  color: var(--neutral-400);
  padding: var(--space-16) 0 0;
}

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

.footer-brand {
  max-width: 320px;
}

.footer-brand .nav-logo {
  color: white;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-400);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: var(--text-base);
  margin-bottom: var(--space-5);
}

.footer-col a {
  display: block;
  padding: var(--space-1) 0;
  color: var(--neutral-400);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary-300);
  padding-left: var(--space-2);
}

.footer-bottom {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

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

.footer-disclaimer {
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer p {
  font-size: var(--text-xs);
  color: var(--neutral-600);
  line-height: 1.8;
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-sticky);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta .btn {
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-2xl);
  padding: var(--space-4) var(--space-6);
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: var(--bg-gradient);
  padding: calc(80px + var(--space-16)) 0 var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero h1 {
  font-size: var(--text-5xl);
  color: white;
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--text-lg);
  color: var(--primary-200);
  max-width: 600px;
  margin: 0 auto;
}

/* Decorative floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  background: var(--primary-300);
  top: -100px;
  right: -50px;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  background: var(--accent-400);
  bottom: -80px;
  left: -60px;
  animation-delay: -2s;
}

.floating-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  background: var(--primary-200);
  top: 50%;
  left: 20%;
  animation-delay: -4s;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes slideInFromRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delay utility */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  .section { padding: var(--space-16) 0; }
  .section-header h2 { font-size: var(--text-3xl); }
  .page-hero h1 { font-size: var(--text-4xl); }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px var(--space-6) var(--space-6);
    box-shadow: var(--shadow-2xl);
    transition: right var(--transition-slow);
    align-items: stretch;
    gap: var(--space-1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--neutral-700) !important;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--primary-50);
    color: var(--primary-700) !important;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .trust-bar .container {
    gap: var(--space-4);
  }

  .sticky-cta {
    right: var(--space-4);
    bottom: var(--space-4);
  }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: var(--text-3xl); }
  .btn-lg { padding: var(--space-3) var(--space-6); font-size: var(--text-base); }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary-400), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-8 { margin-top: var(--space-8); }

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-fixed) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Content Box (For Legal/Text Pages) ---------- */
.content-box {
  background: var(--bg-secondary);
  padding: var(--space-10) var(--space-12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.content-box h1 {
  font-size: var(--text-4xl);
  color: var(--primary-900);
  margin-bottom: var(--space-6);
  border-bottom: 2px solid var(--primary-100);
  padding-bottom: var(--space-3);
}

.content-box h3 {
  font-size: var(--text-xl);
  color: var(--primary-800);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.content-box p {
  margin-bottom: var(--space-5);
  color: var(--neutral-600);
  line-height: 1.8;
  font-size: var(--text-base);
}

.content-box ul, .content-box ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
  color: var(--neutral-600);
  line-height: 1.8;
}

.content-box li {
  margin-bottom: var(--space-2);
}

.content-box strong {
  color: var(--neutral-900);
  font-weight: 600;
}

@media (max-width: 768px) {
  .content-box {
    padding: var(--space-6) var(--space-5);
  }
}

.content-box ul {
  list-style-type: disc;
}
.content-box ol {
  list-style-type: decimal;
}

.mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-only {
    display: flex !important;
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .calc-result-breakdown {
    grid-template-columns: 1fr;
  }
  .calc-result-amount {
    font-size: var(--text-4xl);
  }
  .sticky-cta {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .sticky-cta {
    display: none !important;
  }
}

html {
  overflow-x: hidden;
}
