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

:root {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --bg-card: #0f0f0f;
  --bg-hover: #1a1a1a;
  --bg-active: #1f1f1f;
  --border: #1c1c1c;
  --border-mid: #262626;
  --border-strong: #333333;
  --text: #f5f5f5;
  --text-mid: #888888;
  --text-dim: #555555;
  --accent: #f5f5f5;
  --accent-fg: #0a0a0a;
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  --radius: 8px;
  --radius-lg: 14px;
}

html.light {
  --bg: #ffffff;
  --bg-elev: #fafafa;
  --bg-card: #ffffff;
  --bg-hover: #f4f4f4;
  --bg-active: #ececec;
  --border: #ececec;
  --border-mid: #e0e0e0;
  --border-strong: #d0d0d0;
  --text: #0a0a0a;
  --text-mid: #6b6b6b;
  --text-dim: #a8a8a8;
  --accent: #0a0a0a;
  --accent-fg: #ffffff;
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.2s ease, color 0.2s ease;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
::selection { background: rgba(127,127,127,0.25); }

/* ------ Reveal animations ------ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ------ NAV ------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 9px; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--text); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; letter-spacing: -0.5px;
}
.logo-mark.sm { width: 22px; height: 22px; border-radius: 5px; font-size: 11px; }
.logo-text { font-weight: 600; font-size: 15px; letter-spacing: -0.3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 6px 12px; font-size: 13.5px; color: var(--text-mid);
  border-radius: 6px; transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-hover); }
.btn-nav {
  margin-left: 8px !important;
  background: var(--text) !important; color: var(--bg) !important;
  padding: 7px 14px !important; border-radius: 7px !important;
  font-weight: 500 !important;
  transition: opacity 0.15s !important;
}
.btn-nav:hover { opacity: 0.9; background: var(--text) !important; }

.theme-toggle {
  width: 32px; height: 32px; border-radius: 7px;
  border: 1px solid var(--border-mid); background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-mid);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  margin-left: 6px;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); background: var(--bg-hover); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .moon { display: none; }
.theme-toggle .sun { display: block; }
html.light .theme-toggle .moon { display: block; }
html.light .theme-toggle .sun { display: none; }

/* ------ HERO ------ */
.hero {
  padding: 140px 24px 60px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, color-mix(in srgb, var(--text) 6%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 100%, color-mix(in srgb, var(--text) 3%, transparent) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 20px;
  border: 1px solid var(--border-mid); background: var(--bg-elev);
  font-size: 12px; color: var(--text-mid); margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }
  50% { box-shadow: 0 0 0 5px rgba(34,197,94,0.05); }
}

h1 {
  font-size: clamp(44px, 7.5vw, 80px);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.045em;
  margin-bottom: 22px;
}
h1 .accent {
  background: linear-gradient(180deg, var(--text) 0%, var(--text-mid) 130%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px); color: var(--text-mid);
  line-height: 1.6; max-width: 540px; margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-platforms {
  margin-top: 36px;
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  align-items: center;
}
.platform-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 9px;
  background: var(--bg-elev); border: 1px solid var(--border-mid);
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.platform-badge:hover { border-color: var(--border-strong); transform: translateY(-1px); background: var(--bg-hover); }
.platform-badge .pb-icon { width: 16px; height: 16px; flex-shrink: 0; }
.platform-badge .pb-label { font-size: 11px; color: var(--text-mid); display: block; line-height: 1; margin-bottom: 1px; }
.platform-badge .pb-name { font-size: 13px; font-weight: 600; color: var(--text); display: block; line-height: 1; }
.platform-badge .pb-text { display: flex; flex-direction: column; }

/* ------ BUTTONS ------ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: var(--bg);
  padding: 12px 22px; border-radius: 8px;
  font-weight: 500; font-size: 14px;
  transition: transform 0.12s, opacity 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--text) 15%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px color-mix(in srgb, var(--text) 25%, transparent); }
.btn-primary.btn-lg { padding: 14px 28px; font-size: 15px; font-weight: 600; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 12px 22px; border-radius: 8px;
  font-weight: 500; font-size: 14px;
  border: 1px solid var(--border-mid);
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { border-color: var(--border-strong); background: var(--bg-hover); }

/* ------ APP MOCKUP (DESKTOP) ------ */
.app-mockup-wrap {
  position: relative; z-index: 1;
  margin-top: 72px; width: 100%; max-width: 1080px;
  padding: 0 24px;
}
.app-mockup {
  position: relative;
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
  transform: perspective(1800px) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-mockup:hover { transform: perspective(1800px) rotateX(0deg) translateY(-4px); }

.window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.traffic { display: flex; gap: 7px; }
.traffic span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.window-title { flex: 1; text-align: center; font-size: 11px; color: var(--text-dim); letter-spacing: 0.05em; }

.app-body { display: flex; min-height: 460px; }

/* App icon sidebar */
.icon-sidebar {
  width: 56px; flex-shrink: 0;
  border-right: 1px solid var(--border); background: var(--bg-elev);
  padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.icon-sidebar .ws-pill {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--text); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin-bottom: 8px;
}
.icon-sidebar .ic {
  width: 32px; height: 32px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
}
.icon-sidebar .ic.active { background: var(--bg-active); color: var(--text); }
.icon-sidebar .ic svg { width: 14px; height: 14px; }
.icon-sidebar .spacer { flex: 1; }

/* Secondary sidebar */
.sec-sidebar {
  width: 220px; flex-shrink: 0;
  border-right: 1px solid var(--border); background: var(--bg-card);
  padding: 16px 12px;
}
.sec-sidebar h4 {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-dim); padding: 0 8px; margin-bottom: 8px;
}
.sec-list { display: flex; flex-direction: column; gap: 1px; margin-bottom: 18px; }
.sec-item {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px; border-radius: 5px;
  font-size: 12.5px; color: var(--text-mid);
}
.sec-item .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.sec-item.active { background: var(--bg-active); color: var(--text); font-weight: 500; }
.sec-item svg { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.7; }
.sec-count { margin-left: auto; font-size: 10.5px; color: var(--text-dim); }

/* Main task area */
.app-main { flex: 1; padding: 20px 24px; min-width: 0; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.app-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.app-toolbar .title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.app-toolbar .actions { display: flex; gap: 6px; }
.app-toolbar .btn-mini {
  padding: 4px 10px; border-radius: 5px; font-size: 11px;
  border: 1px solid var(--border-mid); background: var(--bg-elev); color: var(--text-mid);
}
.app-toolbar .btn-mini.primary { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 500; }

.task-row {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.15s, transform 0.15s;
}
.task-row:hover { border-color: var(--border-strong); }
.task-check {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); flex-shrink: 0;
}
.task-row.done .task-check {
  background: var(--text-mid); border-color: var(--text-mid);
  position: relative;
}
.task-row.done .task-check::after {
  content: ''; position: absolute; left: 3px; top: 5px;
  width: 6px; height: 3px; border: 1.5px solid var(--bg);
  border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.task-text { font-size: 13px; color: var(--text); flex: 1; }
.task-row.done .task-text { color: var(--text-dim); text-decoration: line-through; }
.task-meta { display: flex; gap: 6px; align-items: center; }
.tag {
  padding: 2px 7px; border-radius: 11px; font-size: 10px; font-weight: 500;
  background: var(--bg-elev); border: 1px solid var(--border-mid); color: var(--text-mid);
}
.tag.high { color: #ef4444; border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.06); }
.tag.med { color: #f59e0b; border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.06); }
.tag.proj { color: #8b5cf6; border-color: rgba(139,92,246,0.3); background: rgba(139,92,246,0.06); }
.task-due { font-size: 10.5px; color: var(--text-dim); }
.task-row.highlight { border-color: var(--border-strong); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 4%, transparent); }

/* Floating command palette */
.cmd-palette {
  position: absolute; top: 32%; left: 50%; transform: translateX(-50%);
  width: 380px; max-width: 80%;
  background: var(--bg-elev); border: 1px solid var(--border-strong);
  border-radius: 11px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px color-mix(in srgb, var(--text) 6%, transparent);
  padding: 6px;
  pointer-events: none;
}
.cmd-input {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 11px; border-bottom: 1px solid var(--border);
}
.cmd-input svg { width: 13px; height: 13px; color: var(--text-dim); }
.cmd-input .placeholder { font-size: 13px; color: var(--text-mid); }
.cmd-input .kbd {
  margin-left: auto; padding: 2px 6px; border-radius: 4px;
  border: 1px solid var(--border-mid); background: var(--bg);
  font-size: 10px; color: var(--text-dim);
}
.cmd-results { padding: 4px; }
.cmd-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px; border-radius: 6px;
  font-size: 12.5px; color: var(--text-mid);
}
.cmd-item.selected { background: var(--bg-active); color: var(--text); }
.cmd-item svg { width: 13px; height: 13px; opacity: 0.7; }

/* ------ FEATURES ------ */
.section { padding: 110px 24px; max-width: 1140px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  font-size: 12px; font-weight: 500; color: var(--text-mid);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(30px, 4.5vw, 46px); font-weight: 700;
  letter-spacing: -0.035em; margin-bottom: 14px; line-height: 1.1;
}
.section-header p { color: var(--text-mid); font-size: 16px; line-height: 1.6; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--border);
}
.feature-card {
  padding: 32px 28px;
  background: var(--bg-card);
  transition: background 0.2s ease;
  position: relative;
}
.feature-card:hover { background: var(--bg-elev); }
.feature-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--bg-elev);
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); margin-bottom: 18px;
}
.feature-icon svg { width: 17px; height: 17px; }
.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.feature-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; }

/* ------ MOBILE SHOWCASE ------ */
.mobile-showcase {
  display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center;
  padding: 110px 24px; max-width: 1140px; margin: 0 auto;
}
.mobile-text h2 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 18px; line-height: 1.1; }
.mobile-text p { color: var(--text-mid); font-size: 15.5px; line-height: 1.65; margin-bottom: 22px; }
.bullet-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.bullet { display: flex; align-items: flex-start; gap: 11px; }
.bullet-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--bg-elev); border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--text); margin-top: 1px;
}
.bullet-icon svg { width: 11px; height: 11px; }
.bullet div { flex: 1; }
.bullet strong { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.bullet span { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

.phone-frame {
  width: 280px; height: 580px; margin: 0 auto;
  border-radius: 42px;
  background: linear-gradient(180deg, #2a2a2a, #111);
  padding: 11px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
html.light .phone-frame { background: linear-gradient(180deg, #d8d8d8, #b8b8b8); }
.phone-frame:hover { transform: translateY(-4px) rotate(-1.5deg); }
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px;
  background: var(--bg);
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #111; border-radius: 0 0 14px 14px;
  z-index: 5;
}
html.light .phone-notch { background: #1a1a1a; }
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 4px; font-size: 11px; font-weight: 600;
  color: var(--text);
}
.phone-status svg { width: 13px; height: 13px; }
.phone-content { flex: 1; padding: 18px 18px 0; overflow: hidden; }
.phone-greeting { font-size: 11px; color: var(--text-mid); margin-bottom: 4px; }
.phone-title { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.phone-section { font-size: 10.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin: 14px 0 8px; }
.phone-task {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 11px; border-radius: 9px;
  background: var(--bg-elev); border: 1px solid var(--border);
  margin-bottom: 6px;
}
.phone-task .pcheck { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--border-strong); flex-shrink: 0; }
.phone-task.done .pcheck { background: var(--text-mid); border-color: var(--text-mid); }
.phone-task .pttext { font-size: 12px; color: var(--text); flex: 1; }
.phone-task.done .pttext { color: var(--text-dim); text-decoration: line-through; }
.phone-task .ptag { font-size: 9px; padding: 1px 6px; border-radius: 9px; }
.phone-tabs {
  display: flex; gap: 0; padding: 8px 12px 14px;
  border-top: 1px solid var(--border); background: var(--bg-elev);
}
.phone-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 9.5px; color: var(--text-dim); padding: 4px;
}
.phone-tab.active { color: var(--text); }
.phone-tab svg { width: 16px; height: 16px; }

/* ------ PRICING (inline) ------ */
.pricing-section { padding: 110px 24px; max-width: 1140px; margin: 0 auto; }
.billing-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 999px; margin: 0 auto 36px;
  position: relative;
}
.billing-toggle button {
  background: transparent; border: 0;
  font-family: inherit; font-size: 13px; color: var(--text-mid); cursor: pointer;
  padding: 7px 18px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.15s;
  font-weight: 500;
}
.billing-toggle button.active {
  background: var(--text); color: var(--bg); font-weight: 600;
}
.save-pill {
  font-size: 9.5px; padding: 2px 6px; border-radius: 999px;
  background: rgba(34,197,94,0.15); color: #22c55e;
  font-weight: 700; letter-spacing: 0.05em;
}
.billing-toggle button.active .save-pill { background: rgba(34,197,94,0.2); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 720px; margin: 0 auto; }
.plan {
  padding: 32px 28px;
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--bg-card);
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.plan:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.plan.featured { border-color: var(--text); }
.plan.featured::before {
  content: 'Most popular'; position: absolute; top: -10px; right: 24px;
  font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: var(--text); color: var(--bg); letter-spacing: 0.05em;
}
.plan h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.plan .ptag { font-size: 11px; color: var(--text-mid); margin-bottom: 18px; }
.plan .price { font-size: 42px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan .price .unit { font-size: 13px; font-weight: 400; color: var(--text-mid); margin-left: 4px; letter-spacing: 0; }
.plan .billed { font-size: 12px; color: var(--text-mid); margin: 6px 0 22px; }
.plan .cta {
  display: block; width: 100%; text-align: center;
  padding: 11px 16px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s;
}
.plan .cta.primary { background: var(--text); color: var(--bg); }
.plan .cta.primary:hover { opacity: 0.9; }
.plan .cta.secondary { background: transparent; color: var(--text); border: 1px solid var(--border-mid); }
.plan .cta.secondary:hover { background: var(--bg-hover); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 9px; }
.plan li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--text); line-height: 1.5; }
.plan li svg { width: 13px; height: 13px; color: var(--text); flex-shrink: 0; margin-top: 3px; }
.plan li.muted { color: var(--text-dim); }
.plan li.muted svg { color: var(--text-dim); }
.trial-note { font-size: 11px; color: var(--text-mid); margin-top: 9px; text-align: center; }

/* ------ FAQ ------ */
.faq-section { max-width: 720px; margin: 0 auto; padding: 0 24px 110px; }
.faq-section h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; text-align: center; margin-bottom: 32px; }
.faq details {
  border-top: 1px solid var(--border);
  padding: 16px 0; cursor: pointer;
  transition: padding 0.2s;
}
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary {
  font-size: 14px; font-weight: 500; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 18px; font-weight: 300; color: var(--text-mid);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { font-size: 13.5px; color: var(--text-mid); margin-top: 12px; line-height: 1.65; }
.faq details a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ------ CTA ------ */
.final-cta { padding: 100px 24px; }
.cta-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  padding: 64px 48px;
  border: 1px solid var(--border); border-radius: 18px;
  background: var(--bg-card); position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--text) 40%, transparent), transparent);
}
.cta-card .download-logo {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--text); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 24px; font-weight: 800; letter-spacing: -1px;
}
.cta-card h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 12px; line-height: 1.1; }
.cta-card > p { color: var(--text-mid); font-size: 15px; margin-bottom: 30px; }
.cta-meta {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 28px; flex-wrap: wrap;
}
.meta-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.meta-label { font-size: 10.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.meta-item span:not(.meta-label) { font-size: 13px; color: var(--text); font-weight: 500; }

/* ------ FOOTER ------ */
.footer { border-top: 1px solid var(--border); padding: 36px 24px; }
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-mid); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

/* ------ LEGAL ------ */
.legal-hero { padding: 120px 24px 60px; max-width: 720px; margin: 0 auto; }
.legal-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 18px; }
.legal-divider { height: 1px; background: var(--border); margin: 28px 0; }
.legal-body { color: var(--text-mid); line-height: 1.75; padding-bottom: 80px; }
.legal-body h2 { font-size: 18px; font-weight: 600; color: var(--text); margin-top: 36px; margin-bottom: 12px; letter-spacing: -0.02em; }
.legal-body h3 { font-size: 14.5px; font-weight: 600; color: var(--text); margin-top: 22px; margin-bottom: 8px; }
.legal-body p { font-size: 14px; margin-bottom: 14px; }
.legal-body ul { padding-left: 20px; margin-bottom: 14px; }
.legal-body li { font-size: 14px; margin-bottom: 6px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ------ RESPONSIVE ------ */
@media (max-width: 980px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-showcase { grid-template-columns: 1fr; gap: 50px; }
  .phone-frame { transform: rotate(0deg); }
}
@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .cta-card { padding: 44px 26px; }
  .app-mockup { transform: none; }
  .hero { padding-top: 100px; }
  .icon-sidebar { width: 48px; }
  .sec-sidebar { display: none; }
  .cmd-palette { width: 280px; top: 28%; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 280px; margin: 0 auto; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { justify-content: center; }
  .hero-platforms { flex-direction: column; align-items: stretch; max-width: 280px; margin: 36px auto 0; }
}
