/* 
  =============================================================================
  Akimoa.com — Premium Design System & Stylesheet
  Crafted for the Local-First Household Operating System ("Life. Together.")
  =============================================================================
*/

/* -------------------------------------------------------------------------- */
/* 1. Typography & Local Fonts                                               */
/* -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Bold.ttf') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('assets/fonts/Nunito-Variable.ttf') format('truetype-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------------------- */
/* 2. Color & Dimension Design Tokens                                        */
/* -------------------------------------------------------------------------- */
:root {
  /* Akimoa Brand Design Tokens (Aligned with lib/core/theme/ak_colors.dart) */
  --brand-primary: #B94A3A;        /* AkColors.primary (warm coral / terracotta) */
  --brand-primary-hover: #9E3E30;  /* AkColors.primaryHover */
  --brand-primary-soft: #F8DDD6;   /* AkColors.primarySoft */
  --brand-glow: rgba(185, 74, 58, 0.28);
  
  --teal-500: #B94A3A;             /* Map legacy primary slots to authentic brand */
  --teal-600: #9E3E30;
  --teal-400: #C95A4B;
  --teal-300: #F8DDD6;
  --teal-glow: rgba(185, 74, 58, 0.25);
  --teal-soft: #F8DDD6;

  --violet-700: #4B3869;
  --violet-600: #6D5494;
  --violet-500: #8870A8;
  --violet-400: #B2A2C7;
  --violet-glow: rgba(136, 112, 168, 0.25);
  --violet-soft: #EAE1F3;          /* AkColors.accentPurpleSoft */

  /* Atmosphere / Accent Colors */
  --atmosphere-mint: #D9EEE5;      /* AkColors.atmosphereMint */
  --atmosphere-cream: #FDF6EA;     /* AkColors.atmosphereCream */
  --atmosphere-ivory: #F2EFE4;     /* AkColors.atmosphereIvory */
  
  --accent-green-soft: #DDEDE2;    /* AkColors.accentGreenSoft */
  --accent-green-text: #2D6A4F;    /* AkColors.accentGreenText */
  --accent-amber-soft: #F8E7C8;    /* AkColors.accentAmberSoft */
  --accent-amber-text: #8C5814;    /* AkColors.accentAmberText */
  --accent-coral-soft: #F8DDD6;    /* AkColors.accentCoralSoft */
  --accent-coral-text: #9A3426;    /* AkColors.accentCoralText */
  --accent-purple-soft: #EAE1F3;   /* AkColors.accentPurpleSoft */
  --accent-purple-text: #593D74;   /* AkColors.accentPurpleText */

  --emerald-500: #2D6A4F;
  --amber-500: #D97706;
  --rose-500: #B94A3A;
  --blue-500: #3B82F6;

  /* Light Theme (Authentic Akimoa Warm Cream Canvas) */
  --bg-canvas: #FCF1E8;            /* AkColors.canvasBackground */
  --bg-subtle: #F7EADF;            /* AkColors.surfaceMuted */
  --bg-surface: #FFFFFEFC;         /* AkColors.surface (warm pure white) */
  --bg-surface-elevated: #FFFFFF;
  --bg-card-glass: rgba(255, 255, 255, 0.88);
  --bg-card-glass-hover: rgba(255, 255, 255, 0.98);

  --text-primary: #3D2923;         /* AkColors.textPrimary (deep espresso brown) */
  --text-secondary: #735B52;       /* AkColors.textSecondary (warm stone) */
  --text-muted: #8C7A72;           /* AkColors.textMuted */
  --text-inverse: #FFFFFF;

  --border-color: #E8D8CB;         /* AkColors.borderSubtle */
  --border-subtle: #F0E4D8;
  --border-focus: #B94A3A;

  --shadow-xs: 0 1px 3px rgba(61, 41, 35, 0.04);
  --shadow-sm: 0 2px 8px -1px rgba(61, 41, 35, 0.07), 0 1px 4px -1px rgba(61, 41, 35, 0.04);
  --shadow-md: 0 12px 28px -4px rgba(61, 41, 35, 0.09), 0 4px 10px -2px rgba(61, 41, 35, 0.04);
  --shadow-lg: 0 24px 54px -8px rgba(61, 41, 35, 0.13), 0 8px 22px -4px rgba(61, 41, 35, 0.05);
  --shadow-glow: 0 0 36px -4px var(--brand-glow);

  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Nunito', 'Inter', system-ui, sans-serif;

  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 260ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  --header-height: 74px;
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-canvas: #1A1311;
  --bg-subtle: #241A18;
  --bg-surface: #2E221F;
  --bg-surface-elevated: #3A2B27;
  --bg-card-glass: rgba(46, 34, 31, 0.85);
  --bg-card-glass-hover: rgba(58, 43, 39, 0.95);

  --text-primary: #FCF1E8;
  --text-secondary: #D4C3B8;
  --text-muted: #A39187;
  --text-inverse: #1A1311;

  --border-color: rgba(232, 216, 203, 0.12);
  --border-subtle: rgba(232, 216, 203, 0.06);
  --border-focus: #B94A3A;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 12px 32px -4px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 24px 60px -8px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 48px -4px rgba(185, 74, 58, 0.35);
}

/* -------------------------------------------------------------------------- */
/* 3. Base & Resets                                                           */
/* -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-canvas);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Smooth ambient glows */
.bg-ambient-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  transition: opacity var(--transition-normal);
}

.blob-1 {
  width: 600px;
  height: 600px;
  top: -120px;
  left: 8%;
  background: radial-gradient(circle, var(--violet-glow) 0%, rgba(124, 58, 237, 0) 70%);
}

.blob-2 {
  width: 700px;
  height: 700px;
  top: 180px;
  right: 4%;
  background: radial-gradient(circle, var(--teal-glow) 0%, rgba(24, 199, 183, 0) 70%);
}

.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------------------------- */
/* 4. Typography & Visual Accents                                             */
/* -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

.text-gradient-brand {
  color: var(--brand-primary);
}

.text-gradient-teal {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.num-tabular {
  font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------------------- */
/* 5. Buttons & Tactile Elements                                              */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #C95A4B 0%, #B94A3A 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 20px -2px rgba(185, 74, 58, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px -2px rgba(185, 74, 58, 0.5);
  background: linear-gradient(135deg, #B94A3A 0%, #9E3E30 100%);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.08rem;
}

/* -------------------------------------------------------------------------- */
/* 6. Sticky Header & Glass Navigation                                        */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-card-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-normal);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark-img {
  height: 36px;
  width: auto;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-mark-img {
  transform: scale(1.06);
}

.brand-wordmark-img {
  height: 22px;
  width: auto;
  transition: filter var(--transition-fast);
}

[data-theme="dark"] .brand-wordmark-img {
  filter: brightness(0) invert(1);
}

.domain-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--teal-500);
  background: var(--teal-soft);
  border: 1px solid rgba(24, 199, 183, 0.35);
  padding: 3px 7px;
  border-radius: var(--radius-xs);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--teal-500);
}

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

.theme-toggle-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--teal-500);
  transform: rotate(15deg);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.mobile-menu-btn.is-open {
  transform: rotate(90deg);
}

.nav-cta-mobile-wrap {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* 7. Hero Section & Interactive Command Center Showcase                      */
/* -------------------------------------------------------------------------- */
.hero-section {
  padding: 60px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-soft);
  border: 1px solid rgba(24, 199, 183, 0.4);
  color: var(--teal-500);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 38px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* Hero Device Showcase Frame */
.hero-device-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--brand-primary-soft) 0%, transparent 72%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .hero-device-wrapper::before {
  opacity: 0.22;
}

/* Realistic Android Simulator Mockup Frame */
.device-phone-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: #1E1B18;
  border: 10px solid #2B2522;
  border-radius: 46px;
  box-shadow: 0 28px 64px -12px rgba(61, 41, 35, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1), var(--shadow-glow);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.device-phone-mockup:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 36px 80px -14px rgba(61, 41, 35, 0.32), var(--shadow-glow);
}

/* Screen Image inside Phone */
.device-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 36px;
}

/* Realistic Mini Device Mockup for Pillar Sections */
.pillar-device-mockup {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: #1E1B18;
  border: 8px solid #2B2522;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.pillar-device-mockup:hover {
  transform: translateY(-4px) scale(1.02);
}

.pillar-device-mockup img {
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 2856;
  display: block;
  border-radius: 32px;
}

/* Dual Device Showcase for Finance Cards Arrangement */
.finance-dual-device-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.finance-device-card {
  width: 100%;
  max-width: 270px;
  background: #1E1B18;
  border: 7px solid #2B2522;
  border-radius: 38px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.finance-device-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 48px -6px rgba(61, 41, 35, 0.28);
  z-index: 5;
}

.finance-device-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 2856;
  display: block;
  border-radius: 31px;
}

@media (max-width: 640px) {
  .finance-dual-device-wrap {
    flex-direction: column;
    gap: 24px;
  }
  .finance-device-card {
    max-width: 310px;
  }
}

.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.badge-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-teal {
  background: var(--teal-soft);
  color: var(--teal-500);
}

.badge-purple {
  background: var(--violet-soft);
  color: var(--violet-500);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-500);
}

.metric-number {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metric-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 10px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
  border-radius: var(--radius-full);
  transition: width 0.8s ease-in-out;
}

.interactive-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.list-item-row:hover {
  background: var(--bg-surface);
  border-color: var(--teal-500);
}

.list-item-row.checked {
  opacity: 0.45;
  text-decoration: line-through;
}

/* -------------------------------------------------------------------------- */
/* 8. The 6 Core Pillars Showcase                                            */
/* -------------------------------------------------------------------------- */
.showcase-section {
  padding: 100px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.18rem;
  line-height: 1.6;
}

.pillars-scrollytell {
  position: relative;
}

.pillars-sticky {
  position: sticky;
  top: var(--header-height);
  background: var(--bg-subtle);
  padding-top: 8px;
  z-index: 20;
}

.pillars-stage-viewport {
  position: relative;
  overflow: hidden;
  transition: height 350ms ease;
}

.pillars-stage {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  .pillars-stage-viewport {
    transition: none;
  }
}

.pillar-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  margin-bottom: 40px;
}

/* JS-disabled / no-height-measured fallback: behave like a plain stacked
   page so content is never lost if pillarsInit() can't run. */
.pillars-scrollytell:not(.js-ready) .tab-pane {
  position: relative;
  opacity: 1;
  visibility: visible;
  margin-bottom: 60px;
  scroll-margin-top: calc(var(--header-height) + 90px);
}

.pillars-scrollytell:not(.js-ready) .pillars-stage-viewport {
  overflow: visible;
  height: auto !important;
}

.pillars-scrollytell:not(.js-ready) .pillars-stage {
  transform: none !important;
  height: auto !important;
}

/* In stacked/compact mode only the tab bar itself should stay pinned while
   scrolling — not the whole tabs+stage wrapper, which is now as tall as
   all 7 cards stacked together. Sticky-ing the whole wrapper would glue
   its top at the header offset for its entire height, meaning scrolling
   would never actually reveal the stacked cards underneath. */
.pillars-scrollytell:not(.js-ready) .pillars-sticky {
  position: static;
}

.pillars-scrollytell:not(.js-ready) .pillar-tabs {
  position: sticky;
  top: var(--header-height);
  z-index: 20;
  background: var(--bg-subtle);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-xs);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0.85;
}

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

.tab-btn.active {
  background: transparent;
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

.tab-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease;
  transform: translateY(14px);
}

.tab-pane.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .tab-pane {
    transition: opacity 1ms linear;
    transform: none;
  }
}

.pillar-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 52px;
  box-shadow: var(--shadow-lg);
  align-items: center;
}

.pillar-content h3 {
  font-size: 2.1rem;
  margin-bottom: 18px;
}

.pillar-content p {
  font-size: 1.12rem;
  margin-bottom: 28px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-primary);
}

.bullet-icon {
  color: var(--teal-500);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.bullet-text {
  flex: 1;
}

.pillar-preview-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* -------------------------------------------------------------------------- */
/* 9. Lifestyle Highlight                                                     */
/* -------------------------------------------------------------------------- */
.lifestyle-highlight-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--violet-soft) 0%, transparent 60%);
}

/* -------------------------------------------------------------------------- */
/* 10. Local-First Engineering & Zero-Surveillance Architecture               */
/* -------------------------------------------------------------------------- */
.local-first-section {
  padding: 100px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.arch-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.arch-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
}

.arch-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--teal-soft);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.arch-card h3 {
  margin-bottom: 14px;
}

/* Comparison Table */
.comparison-section {
  padding: 100px 0;
}

.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, 
.comparison-table td {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-subtle);
  font-weight: 700;
  font-size: 1.05rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.highlight-col {
  background: var(--teal-soft);
  font-weight: 600;
  color: var(--teal-600);
}

[data-theme="dark"] .highlight-col {
  color: var(--teal-400);
}

/* -------------------------------------------------------------------------- */
/* 11. Transparent Pricing Section                                            */
/* -------------------------------------------------------------------------- */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 52px;
  font-weight: 700;
}

.toggle-switch {
  position: relative;
  width: 58px;
  height: 32px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-switch.active {
  background: var(--teal-500);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.toggle-switch.active .toggle-knob {
  transform: translateX(26px);
}

.discount-badge {
  font-size: 0.78rem;
  background: rgba(34, 197, 94, 0.15);
  color: var(--emerald-500);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

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

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.pricing-card.featured {
  border-color: var(--teal-500);
  box-shadow: 0 0 40px -4px var(--teal-glow);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-500);
  color: #060911;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 24px 0;
}

.price-currency {
  font-size: 1.6rem;
  font-weight: 700;
}

.price-amount {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: opacity 150ms ease;
}

.price-cadence {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: opacity 150ms ease;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 32px 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
}

/* -------------------------------------------------------------------------- */
/* 12. FAQ Accordion                                                          */
/* -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  font-size: 1.4rem;
  transition: transform var(--transition-fast);
  color: var(--teal-500);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 200ms ease-out;
}

/* -------------------------------------------------------------------------- */
/* 13. CTA Banner & Footer                                                    */
/* -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 80px 0 110px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #2B1B17 0%, #4A231C 50%, var(--teal-600) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 52px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner-card h2 {
  color: #FFFFFF;
  margin-bottom: 18px;
}

.cta-banner-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.25rem;
  max-width: 620px;
  margin: 0 auto 38px;
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
  font-size: 0.94rem;
}

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

.footer-brand p {
  margin-top: 16px;
  max-width: 340px;
  font-size: 0.92rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--teal-500);
}

.footer-link-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: default;
}

.footer-link-soon em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* -------------------------------------------------------------------------- */
/* 14. Modal Dialog                                                           */
/* -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 17, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 200ms ease-out forwards;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

/* Honeypot field for the waitlist form (see script.js): hidden from sighted
   and screen-reader users alike so only an automated form-filler that
   ignores presentation would ever populate it. Off-canvas rather than
   display:none/visibility:hidden, since some scripted submitters skip
   fields hidden that way but still fill anything positioned on the page. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* -------------------------------------------------------------------------- */
/* 15. Responsive Media Queries                                               */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid,
  .pillar-card,
  .sim-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .architecture-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

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

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-cta-mobile-wrap {
    display: block;
    margin-top: 8px;
  }

  .nav-cta-mobile-wrap .btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .pillar-card {
    padding: 32px;
  }

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

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