/* ─────────────────────────────────────────────
   OrganizeOS V2 — Design System
   ─────────────────────────────────────────────── */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Sora:wght@300;400;600;700;800&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --green:       hsl(160, 84%, 39%);
  --green-light: hsl(160, 84%, 50%);
  --green-dim:   hsla(160, 84%, 39%, 0.12);
  --indigo:      hsl(239, 84%, 67%);
  --indigo-dim:  hsla(239, 84%, 67%, 0.12);
  --amber:       hsl(38, 92%, 50%);
  --rose:        hsl(330, 81%, 60%);
  --cyan:        hsl(189, 94%, 43%);

  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Sora', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── DARK THEME ── */
[data-theme="dark"] {
  --bg:           hsl(222, 20%, 7%);
  --surface:      hsl(222, 18%, 10%);
  --card:         hsl(222, 16%, 13%);
  --card-hover:   hsl(222, 15%, 16%);
  --border:       hsla(222, 20%, 100%, 0.08);
  --border-hover: hsla(222, 20%, 100%, 0.18);
  --text:         hsl(210, 20%, 96%);
  --text-muted:   hsl(210, 10%, 55%);
  --text-sub:     hsl(210, 10%, 70%);
  --nav-bg:       hsla(222, 20%, 7%, 0.85);
  --orb-1:        hsla(160, 84%, 39%, 0.15);
  --orb-2:        hsla(239, 84%, 67%, 0.12);
  --orb-3:        hsla(330, 81%, 60%, 0.08);
}

/* ── LIGHT THEME ── */
[data-theme="light"] {
  --bg:           hsl(210, 30%, 98%);
  --surface:      hsl(210, 20%, 95%);
  --card:         hsl(0, 0%, 100%);
  --card-hover:   hsl(210, 20%, 97%);
  --border:       hsla(220, 20%, 0%, 0.11);
  --border-hover: hsla(220, 20%, 0%, 0.22);
  --text:         hsl(220, 35%, 8%);
  --text-muted:   hsl(220, 15%, 38%);
  --text-sub:     hsl(220, 15%, 28%);
  --nav-bg:       hsla(210, 30%, 98%, 0.92);
  --orb-1:        hsla(160, 84%, 39%, 0.07);
  --orb-2:        hsla(239, 84%, 67%, 0.05);
  --orb-3:        hsla(330, 81%, 60%, 0.04);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* on html, NOT body, so position:fixed children aren't clipped */
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--surface); }

/* ── TYPOGRAPHY UTILITIES ── */
.text-glow {
  background: linear-gradient(135deg, var(--green-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--cyan) 40%, var(--indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.headline-gradient {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--cyan) 50%, var(--indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label { margin-bottom: 16px; }
.section-label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid hsla(160, 84%, 39%, 0.25);
}
[data-theme="light"] .section-label span { color: hsl(160, 84%, 28%); border-color: hsla(160, 84%, 28%, 0.3); }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-sub);
  max-width: 620px;
  margin-bottom: 60px;
  line-height: 1.7;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin: 0 8px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: var(--border);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-sub);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.theme-btn:hover { color: var(--text); border-color: var(--border-hover); background: var(--card-hover); }

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 20px hsla(160, 84%, 39%, 0.35);
}
.btn-primary-sm:hover { transform: translateY(-1px); box-shadow: 0 8px 28px hsla(160, 84%, 39%, 0.45); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
  z-index: 1100;
  flex-shrink: 0;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-footer { display: none; }
.nav-mobile-header { display: none; }

/* ── ACCESSIBILITY WIDGET ── */
.a11y-btn {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 2000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px hsla(160,84%,39%,0.4);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  padding: 0;
}
.a11y-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px hsla(160,84%,39%,0.5); }
.a11y-btn:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }
.a11y-btn svg { width: 24px; height: 24px; fill: white; flex-shrink: 0; }

.a11y-panel {
  position: fixed;
  bottom: 154px;
  right: 16px;
  z-index: 1999;
  width: 280px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px hsla(222,40%,5%,0.25);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(20px);
}
.a11y-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.a11y-panel-header h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.a11y-close {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.a11y-close:hover { background: var(--card-hover); color: var(--text); }

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.a11y-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 7px;
}
.a11y-label i { color: var(--green); font-size: 1rem; }
[data-theme="dark"] .a11y-label i { color: var(--green-light); }

.a11y-toggle-switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.a11y-toggle-switch input { opacity: 0; width: 0; height: 0; }
.a11y-switch-track {
  position: absolute;
  inset: 0;
  background: var(--border-hover);
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition);
}
.a11y-switch-track::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  transition: left var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.a11y-toggle-switch input:checked + .a11y-switch-track { background: var(--green); }
[data-theme="dark"] .a11y-toggle-switch input:checked + .a11y-switch-track { background: var(--green-light); }
.a11y-toggle-switch input:checked + .a11y-switch-track::after { left: calc(100% - 21px); }
.a11y-toggle-switch input:focus-visible + .a11y-switch-track { outline: 2px solid var(--green); outline-offset: 2px; }

.font-size-row { display: flex; align-items: center; gap: 8px; }
.font-size-btn {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.font-size-btn:hover { background: var(--card-hover); border-color: var(--border-hover); }
.font-size-display {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 36px;
  text-align: center;
}
.a11y-reset {
  width: 100%;
  padding: 9px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 4px;
}
.a11y-reset:hover { color: var(--text); border-color: var(--border-hover); background: var(--card-hover); }

/* A11Y OVERRIDES */
body.a11y-large-font { font-size: 1.1rem !important; }
body.a11y-large-font .section-title { font-size: clamp(2.2rem, 5.5vw, 3.6rem) !important; }
body.a11y-large-font .hero-headline { font-size: clamp(3rem, 6.5vw, 4.8rem) !important; }
body.a11y-large-font .nav-link { font-size: 1rem !important; }

body.a11y-high-contrast [data-theme="light"] {
  --bg: #ffffff;
  --card: #ffffff;
  --surface: #f0f0f0;
  --text: #000000;
  --text-sub: #111111;
  --text-muted: #333333;
  --border: rgba(0,0,0,0.25);
  --border-hover: rgba(0,0,0,0.5);
}
body.a11y-high-contrast [data-theme="dark"],
body.a11y-high-contrast {
  --bg: #000000;
  --card: #111111;
  --surface: #1a1a1a;
  --text: #ffffff;
  --text-sub: #eeeeee;
  --text-muted: #cccccc;
  --border: rgba(255,255,255,0.3);
  --border-hover: rgba(255,255,255,0.6);
}

@media (prefers-reduced-motion: reduce), body.a11y-reduce-motion * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

body.a11y-focus-visible *:focus-visible {
  outline: 3px solid var(--green) !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.orb-1 { width: 600px; height: 600px; background: var(--orb-1); top: -200px; left: -100px; animation: orbFloat 12s ease-in-out infinite; }
.orb-2 { width: 500px; height: 500px; background: var(--orb-2); top: 100px; right: -100px; animation: orbFloat 15s ease-in-out infinite reverse; }
.orb-3 { width: 300px; height: 300px; background: var(--orb-3); bottom: 0; left: 40%; animation: orbFloat 10s ease-in-out infinite 3s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--card);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-sub);
  width: fit-content;
  backdrop-filter: blur(10px);
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.8); } }

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-sub);
  max-width: 520px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card);
  transition: all var(--transition);
  font-size: 1.4rem;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.cta-store i { font-size: 1.6rem; flex-shrink: 0; }
.cta-store div { display: flex; flex-direction: column; gap: 1px; }
.store-sub { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.store-name { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1; }
.cta-store:hover { border-color: var(--green-light); background: var(--card-hover); transform: translateY(-2px); box-shadow: 0 12px 40px hsla(160, 84%, 39%, 0.2); }
.cta-store-alt:hover { border-color: var(--indigo); box-shadow: 0 12px 40px hsla(239, 84%, 67%, 0.2); }
.cta-coming-soon { opacity: 0.65; cursor: default; pointer-events: none; }
.soon-chip {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--amber);
  color: #000;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-item i { color: var(--green-light); font-size: 0.95rem; }
.trust-sep { width: 1px; height: 16px; background: var(--border); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.phone-frame img { width: 100%; border-radius: var(--radius-xl); box-shadow: 0 40px 100px hsla(222, 40%, 5%, 0.6); }
.phone-glow {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse, hsla(160, 84%, 39%, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px hsla(222, 40%, 5%, 0.3);
  z-index: 3;
  min-width: 180px;
  font-size: 0.82rem;
}
.float-card i { font-size: 1.4rem; flex-shrink: 0; }
.float-title { font-weight: 700; font-size: 0.85rem; color: var(--text); }
.float-sub { color: var(--text-muted); font-size: 0.75rem; }
.float-card-1 { top: 5%; right: -10%; animation: floatA 5s ease-in-out infinite; }
.float-card-2 { bottom: 20%; right: -15%; animation: floatB 6s ease-in-out infinite 1s; }
.float-card-3 { bottom: 5%; left: -5%; animation: floatA 7s ease-in-out infinite 2s; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
.float-chip { font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; flex-shrink: 0; margin-left: auto; }
.chip-urgent { background: hsla(0,84%,50%,0.15); color:#f87171; border: 1px solid hsla(0,84%,50%,0.2); }
.chip-done { background: var(--green-dim); color: var(--green-light); border: 1px solid hsla(160,84%,39%,0.2); }

/* ── TICKER ── */
.ticker-wrap {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-inner {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.ticker-inner i { color: var(--green-light); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── BENTO FEATURES ── */
.features-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 16px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  transition: opacity var(--transition);
  background: radial-gradient(ellipse at 50% 0%, hsla(160, 84%, 39%, 0.06), transparent 70%);
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 20px 60px hsla(222, 40%, 5%, 0.2); }
.bento-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin: 12px 0 8px; }
.bento-card p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.6; }

.bento-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-md { grid-column: span 2; }
.bento-sm { grid-column: span 1; }

/* Security bars */
.security-bars { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.sec-bar { display: flex; flex-direction: column; gap: 5px; }
.sec-bar span { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.bar-fill { height: 5px; border-radius: 5px; transition: width 1s ease; }

/* Mini tags */
.mini-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mini-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Freq chips */
.freq-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.freq-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.freq-chip.active {
  background: var(--green-dim);
  border-color: hsla(160,84%,39%,0.3);
  color: var(--green-light);
}

/* ── USE CASES ── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.uc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.uc-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 16px 50px hsla(222, 40%, 5%, 0.18); }
.uc-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.uc-body h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.uc-body p { font-size: 0.875rem; color: var(--text-sub); line-height: 1.65; }
.uc-examples { display: flex; flex-wrap: wrap; gap: 6px; }
.uc-examples span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ── SECURITY ── */
.security-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}
.security-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pillar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition), transform var(--transition);
}
.pillar-card:hover { border-color: hsla(160,84%,39%,0.3); transform: translateY(-2px); }
.pillar-num { font-size: 0.7rem; font-weight: 800; color: var(--green-light); letter-spacing: 0.08em; opacity: 0.7; }
.pillar-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--green-dim); color: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.pillar-card h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; }
.pillar-card p { font-size: 0.85rem; color: var(--text-sub); line-height: 1.6; }

.security-cta-card {
  background: linear-gradient(135deg, hsla(160,84%,39%,0.08), hsla(160,84%,39%,0.03));
  border: 1px solid hsla(160,84%,39%,0.25);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 90px;
}
.sec-cta-icon { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--green-dim); color: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.security-cta-card h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; }
.security-cta-card p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.7; }
.btn-outline-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid hsla(160,84%,39%,0.4);
  border-radius: var(--radius-md);
  color: var(--green-light);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition);
  background: var(--green-dim);
}
.btn-outline-green:hover { background: hsla(160,84%,39%,0.18); border-color: var(--green-light); transform: translateX(4px); }

/* ── DEMO ── */
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.demo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.demo-header-left { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.95rem; }
.demo-header-left i { font-size: 1.3rem; }
.demo-sort {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--text);
  cursor: pointer;
}
.demo-tasks { display: flex; flex-direction: column; gap: 8px; }
.task-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}
.task-row:hover { border-color: var(--border-hover); background: var(--card-hover); }
.pin-btn { color: var(--text-muted); font-size: 0.9rem; flex-shrink: 0; transition: color var(--transition); padding: 2px; border-radius: 4px; }
.pin-btn:hover { color: var(--amber); }
.pin-btn.pinned { color: var(--amber); }
.task-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.75rem;
  color: transparent;
}
.task-check:hover { border-color: var(--green-light); }
.task-check.checked { background: var(--green-light); border-color: var(--green-light); color: white; }
.task-info { flex: 1; min-width: 0; }
.task-name { font-size: 0.88rem; font-weight: 600; truncate-overflow: ellipsis; transition: color var(--transition), text-decoration var(--transition); }
.task-name.completed { text-decoration: line-through; color: var(--text-muted); }
.task-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.priority-badge { font-size: 0.68rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; flex-shrink: 0; white-space: nowrap; }
.badge-urgent { background: hsla(0,84%,50%,0.12); color:#dc2626; border: 1px solid hsla(0,84%,50%,0.2); }
.badge-high { background: hsla(38,92%,50%,0.12); color: hsl(32,90%,35%); border: 1px solid hsla(38,92%,50%,0.2); }
.badge-medium { background: var(--indigo-dim); color: hsl(239,60%,50%); border: 1px solid hsla(239,84%,67%,0.2); }
.badge-done { background: var(--green-dim); color: hsl(160,84%,28%); border: 1px solid hsla(160,84%,39%,0.2); }
[data-theme="dark"] .badge-urgent { color: #f87171; }
[data-theme="dark"] .badge-high { color: var(--amber); }
[data-theme="dark"] .badge-medium { color: hsl(239,84%,75%); }
[data-theme="dark"] .badge-done { color: var(--green-light); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 20px 60px hsla(222, 40%, 5%, 0.2); }
.pricing-pro {
  background: linear-gradient(160deg, hsla(160,84%,39%,0.08) 0%, var(--card) 60%);
  border-color: hsla(160,84%,39%,0.3);
  box-shadow: 0 0 40px hsla(160,84%,39%,0.1);
}
.pricing-pro:hover { border-color: hsla(160,84%,39%,0.5); box-shadow: 0 24px 70px hsla(160,84%,39%,0.18); }
.plan-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); padding: 4px 12px; border-radius: 100px; width: fit-content; }
.plan-tag-pro { background: var(--green-dim); border-color: hsla(160,84%,39%,0.3); color: var(--green-light); }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.price-big { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800; }
.price-period { font-size: 0.9rem; color: var(--text-muted); }
.plan-annual {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.plan-annual .font-bold { font-weight: 700; }
.pricing-card h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; }
.pricing-card > p { font-size: 0.88rem; color: var(--text-sub); line-height: 1.6; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-sub); }
.plan-features li i { font-size: 1rem; color: var(--green-light); flex-shrink: 0; }
.plan-muted { opacity: 0.45; }
.plan-muted i { color: var(--text-muted) !important; }
.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 8px;
  transition: all var(--transition);
}
.plan-btn-free { border: 1px solid var(--border); color: var(--text); }
.plan-btn-free:hover { border-color: var(--border-hover); background: var(--surface); }
.plan-btn-pro {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: white;
  box-shadow: 0 6px 24px hsla(160,84%,39%,0.35);
}
.plan-btn-pro:hover { transform: translateY(-2px); box-shadow: 0 10px 32px hsla(160,84%,39%,0.45); }

/* ── STORY ── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-visual { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.story-logo-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-logo { width: 100px; border-radius: 24px; position: relative; z-index: 2; }
.story-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spinRing 20s linear infinite;
}
.story-ring-1 { width: 150px; height: 150px; border-color: hsla(160,84%,39%,0.2); }
.story-ring-2 { width: 195px; height: 195px; border-color: hsla(239,84%,67%,0.15); animation-duration: 30s; animation-direction: reverse; }
.story-ring-3 { width: 240px; height: 240px; border-color: hsla(330,81%,60%,0.1); animation-duration: 25s; }
@keyframes spinRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.story-stat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; }
.story-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.stat-n { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--green); }
[data-theme="dark"] .stat-n { color: var(--green-light); }
.stat-l { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

.story-content { display: flex; flex-direction: column; gap: 20px; }
.story-content > .section-label { margin-bottom: 0; }
.story-content > .section-title { margin-bottom: 0; }
.story-content p { font-size: 1rem; color: var(--text-sub); line-height: 1.75; }
.story-quote {
  border-left: 3px solid var(--green-light);
  padding: 12px 20px;
  background: var(--green-dim);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-sub);
  line-height: 1.7;
}
.story-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.story-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-sub);
}
.story-badges i { color: var(--green); }
[data-theme="dark"] .story-badges i { color: var(--green-light); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 860px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: hsla(160,84%,39%,0.3); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition);
}
.faq-btn:hover { background: var(--surface); }
.faq-icon { font-size: 1.2rem; color: var(--text-muted); flex-shrink: 0; transition: transform var(--transition), color var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--green); }
[data-theme="dark"] .faq-item.open .faq-icon { color: var(--green-light); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.75;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding var(--transition);
}
.faq-item.open .faq-body { max-height: 300px; padding: 0 24px 20px; }

/* ── DOWNLOAD ── */
.download-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
  background: var(--surface);
}
.dl-orbs { position: absolute; inset: 0; pointer-events: none; }
.dl-orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.dl-orb-1 { width: 500px; height: 500px; background: var(--orb-1); top: -200px; left: 50%; transform: translateX(-60%); }
.dl-orb-2 { width: 400px; height: 400px; background: var(--orb-2); bottom: -200px; right: 20%; }
.dl-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.dl-content > .section-label { justify-content: center; display: flex; }
.dl-content h2 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.dl-content > p { font-size: 1.05rem; color: var(--text-sub); margin-bottom: 48px; }
.dl-stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.dl-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1.6rem;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
}
.dl-store-btn i { font-size: 1.8rem; flex-shrink: 0; }
.dl-store-btn div { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.dl-sub { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.dl-name { font-size: 1rem; font-weight: 700; line-height: 1; color: var(--text); }
.dl-store-btn:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 16px 50px hsla(160,84%,39%,0.15); }
[data-theme="dark"] .dl-store-btn:hover { border-color: var(--green-light); box-shadow: 0 16px 50px hsla(160,84%,39%,0.2); }
.dl-store-btn-alt:hover { border-color: var(--indigo); box-shadow: 0 16px 50px hsla(239,84%,67%,0.15); }
.dl-store-disabled { opacity: 0.55; cursor: default; pointer-events: none; }
.soon-badge { position: absolute; top: 8px; right: 8px; font-size: 0.6rem; font-weight: 700; background: var(--amber); color:#000; padding: 2px 6px; border-radius: 6px; text-transform: uppercase; }

/* ── FOOTER ── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .nav-brand { font-size: 1.2rem; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.footer-trust { display: flex; flex-direction: column; gap: 6px; }
.footer-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.footer-trust i { color: var(--green-light); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-sub); margin-bottom: 4px; }
.footer-col a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-sub); display: flex; align-items: center; gap: 5px; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 16px 50px hsla(222,40%,5%,0.4);
  z-index: 9999;
  opacity: 0;
  backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity var(--transition);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; }
  .security-layout { grid-template-columns: 1fr; }
  .security-cta-card { position: static; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { align-items: center; }
  .hero-sub { max-width: 560px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .use-cases  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .story-ring-3 { display: none; }
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-inner { padding: 0 16px; gap: 8px; }
  .nav-brand { font-size: 1.1rem; }
  .nav-brand img { width: 28px; height: 28px; }
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    padding: 0 24px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 72px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
  }
  .nav-close-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text);
  }
  .nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 16px 0;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    color: var(--text);
  }
  .nav-link:hover, .nav-link.active {
    background: var(--surface);
    color: var(--green);
  }
  .nav-mobile-footer {
    display: flex;
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .nav-mobile-footer .btn-primary-sm { width: 100%; justify-content: center; }
  .hamburger { display: flex; }
  #header-cta { display: none; }

  .features-bento { grid-template-columns: 1fr; }
  .bento-large, .bento-md, .bento-sm { grid-column: span 1; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .security-pillars { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .dl-stores { flex-direction: column; align-items: center; }
  .cta-store { width: 100%; max-width: 340px; justify-content: flex-start; }
  .a11y-panel { right: 8px; left: 8px; width: auto; bottom: 140px; }
  .a11y-toggle { bottom: 90px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .pricing-card { padding: 20px; }
  .hero-ctas { flex-direction: column; }
  .cta-store { width: 100%; justify-content: flex-start; }
  .dl-stores { flex-direction: column; align-items: stretch; }
  .dl-store-btn { justify-content: flex-start; }
  .story-stat-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: 1fr; }
  .nav-inner { gap: 16px; }
  .section { padding: 56px 0; }
}

/* ── SCROLL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Navbar scroll highlight */
.navbar.scrolled {
  border-bottom-color: var(--border);
  background: var(--nav-bg);
}
