/* ClaudeWatch — Rebuilt stylesheet. Simple, reliable, no grid collapses. */

/* ─── Variables ─────────────────────────────────────── */
:root {
  --bg:         #0D1117;
  --bg-card:    #161B22;
  --bg-card-2:  #1C2128;
  --border:     #30363D;
  --border-dim: #21262D;

  --orange:     #FF9A1F;
  --orange-dim: rgba(255, 154, 31, 0.12);
  --orange-glow:rgba(255, 154, 31, 0.25);
  --orange-glow-intense: rgba(255, 154, 31, 0.4);
  --green:      #39D353;
  --green-dim:  rgba(57, 211, 83, 0.12);
  --green-glow: rgba(57, 211, 83, 0.3);

  --text:       #E6EDF3;
  --text-sec:   #9CA3AF;
  --text-dim:   #8B949E;

  --font:       'Roboto', sans-serif;
  --font-mono:  'Roboto Mono', monospace;

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 20px;
  --t: 200ms cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 1px 0 rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);

  /* Legacy aliases for legal pages */
  --text-primary:   #E6EDF3;
  --text-secondary: #8B949E;
  --text-tertiary:  #484F58;
  --bg-card-old:    #161B22;
  --accent:         #FF9A1F;
  --font-mono-old:  'Roboto Mono', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--t); }
a:hover { color: #FFB347; }
code, pre, .mono { font-family: var(--font-mono); }

/* ─── Typography ─────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-sec); line-height: 1.65; }

/* ─── Layout ─────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.divider {
  height: 1px;
  background: var(--border-dim);
  margin: 0;
}

.section-header { margin-bottom: 56px; }
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.section-title { color: var(--text); margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.7;
  color: var(--text-sec);
}

/* ─── Terminal colors ────────────────────────────────── */
.term-green  { color: var(--green); }
.term-orange { color: var(--orange); }
.term-dim    { color: var(--text-dim); }
.term-user   { color: var(--green); font-family: var(--font-mono); font-size: 0.875rem; }
.term-at     { color: var(--text-dim); font-family: var(--font-mono); }
.term-path   { color: var(--orange); font-family: var(--font-mono); font-size: 0.875rem; }
.term-dollar { color: var(--text-dim); font-family: var(--font-mono); margin: 0 4px; }
.term-cmd    { color: var(--text); font-family: var(--font-mono); font-size: 0.875rem; flex: 1; }
.term-prompt { color: var(--text-dim); }

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--green);
  animation: blink 1.1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ─── Terminal Window Component ──────────────────────── */
.term-window {
  background: #0A0E13;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.term-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #111820;
  border-bottom: 1px solid var(--border-dim);
}
.term-titlebar-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-left: 8px;
  flex: 1;
}
.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.term-dot--red    { background: #FF5F57; }
.term-dot--yellow { background: #FEBC2E; }
.term-dot--green  { background: #28C840; }

.term-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.term-line {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 22px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.5;
}

.term-output {
  padding-left: 0;
  gap: 8px;
}

/* ─── Navigation ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--border-dim);
  transition: box-shadow var(--t);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
}
.nav-logo-icon {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.05em;
}
.logo-bracket { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-sec);
  font-weight: 500;
  transition: color var(--t);
}
.nav-links a:hover { color: var(--text); }

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 16px;
  transition: all var(--t);
  letter-spacing: 0.04em;
}
.lang-btn.active {
  background: var(--orange);
  color: #000;
  font-weight: 700;
}
.lang-btn:hover:not(.active) { color: var(--text-sec); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 56px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#matrix-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.06;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(255,154,31,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(57,211,83,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-visual {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 600px;
  width: 360px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid rgba(57, 211, 83, 0.2);
  border-radius: var(--r-sm);
  padding: 7px 14px;
  font-size: 0.75rem;
  color: var(--green);
  width: fit-content;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(57,211,83,0.6); }
  50%      { box-shadow: 0 0 0 5px rgba(57,211,83,0); }
}

.hero-title { margin: 0; }
.hero-title-line1 { color: var(--text); }
.hero-title-line2 { color: var(--text-sec); }
.hero-title-accent { color: var(--orange); }

.hero-tagline-wrap {
  font-size: 1.05rem;
  color: var(--text-sec);
  line-height: 1.7;
  font-family: var(--font-mono);
}
.hero-tagline { color: var(--text-sec); }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 11px 22px;
  border-radius: var(--r-md);
  transition: all var(--t);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #FFB347;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  transition: all var(--t);
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--text-sec);
  color: var(--text);
  transform: translateY(-1px);
}
.btn-secondary--sm {
  font-size: 0.875rem;
  padding: 7px 16px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-sec);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 10px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-dim);
  transition: all var(--t);
  cursor: pointer;
  font-family: var(--font-mono);
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--border);
  color: var(--text);
}

/* ─── Hero Terminal ──────────────────────────────────── */
.term-window--hero { margin-top: 8px; }
.term-window--hero .term-body { gap: 2px; }
.term-window--hero .term-line:first-child {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.copy-btn {
  margin-left: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 5px 10px;
  font-size: 0.75rem;
  color: var(--text-sec);
  cursor: pointer;
  transition: all var(--t);
  font-family: var(--font-mono);
  white-space: nowrap;
  flex-shrink: 0;
}
.copy-btn:hover { border-color: var(--orange); color: var(--orange); }
.copy-btn.copied { border-color: var(--green); color: var(--green); }

/* ─── Phone Mockup ───────────────────────────────────── */
.phone-device {
  position: relative;
  z-index: 2;
}

.phone-device--secondary {
  position: absolute;
  right: -24px;
  top: 40px;
  z-index: 1;
  opacity: 0.6;
  transform: scale(0.88) rotate(4deg);
  filter: blur(0.5px);
}

.phone-frame {
  width: 248px;
  height: 510px;
  background: #0D0D0F;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 24px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(255,154,31,0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}
.phone-di-dot {
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}
.phone-di-text { font-size: 0.65rem; color: var(--orange); font-weight: 600; }

.phone-screen {
  flex: 1;
  overflow: hidden;
  padding-top: 44px;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px 12px;
  box-shadow: var(--shadow-md);
  z-index: 10;
  white-space: nowrap;
}
.phone-badge--top {
  top: 16px;
  left: -72px;
}
.phone-badge--bottom {
  bottom: 48px;
  left: -80px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.phone-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}

/* ─── Stats Bar ──────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  background: var(--bg-card);
  padding: 20px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.stat-divider {
  color: var(--border);
  font-size: 1.2rem;
}

/* ─── Features — FLEXBOX (no grid) ──────────────────── */
/*
   Layout:
   Row 1: featured card (spans ~66%) + first regular card (~33%)
   Row 2: 3 regular cards (each ~33%)
   Row 3: 2 regular cards remaining

   Achieved with flex-wrap. The featured card gets explicit width.
*/

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Every card shares the same base styles — explicit, no collapse */
.feature-card {
  background: #161B22;
  border: 1px solid #30363D;
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t), background var(--t);
  position: relative;
  overflow: hidden;
  /* Default: 3 per row */
  width: calc(33.333% - 11px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,154,31,0.2), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.feature-card:hover {
  border-color: #484F58;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #1C2128;
}
.feature-card:hover::before { opacity: 1; }

/* Featured card: takes ~66% of the row (2/3) */
.feature-card--featured {
  width: calc(66.666% - 8px);
  background: linear-gradient(135deg, #161B22 0%, #1C2128 100%);
}

.feature-prompt {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 500;
}

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--orange-dim);
  border: 1px solid rgba(255,154,31,0.15);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.feature-card h3 { color: var(--text); font-size: 1rem; margin: 0; }
.feature-card p  { font-size: 0.875rem; line-height: 1.65; margin: 0; color: var(--text-sec); }

.feature-card-inner { display: flex; flex-direction: column; gap: 20px; }
.feature-header { display: flex; flex-direction: column; gap: 8px; }

.term-window--feature .term-body { gap: 2px; padding: 12px 16px; }
.term-window--feature .term-line { font-size: 0.75rem; }

/* ─── Screenshots — FLEXBOX (no grid) ───────────────── */
.screenshots-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: flex-start;
}

.screenshot-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screenshot-frame {
  background: #0D0D0F;
  border-radius: 28px;
  border: 2px solid rgba(255,255,255,0.15);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  transition: transform var(--t), box-shadow var(--t);
  aspect-ratio: 9/19;
  width: 100%;
}
.screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 32px var(--orange-glow);
}
.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.screenshot-caption {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* ─── How It Works — FLEXBOX (no grid) ──────────────── */
.steps-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  align-items: flex-start;
  position: relative;
}

.step {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #161B22;
  border: 1px solid #30363D;
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-num .mono {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--orange);
}

.step-body { display: flex; flex-direction: column; gap: 8px; }
.step-prompt {
  font-size: 0.875rem;
  color: var(--green);
  font-weight: 700;
}
.step-body h3 { color: var(--text); }
.step-body p  { font-size: 0.875rem; color: var(--text-sec); }

.term-window--step .term-body { padding: 10px 14px; }
.term-window--step .term-line { font-size: 0.75rem; flex-wrap: wrap; }

/* QR mock */
.step-visual {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.qr-mock {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: var(--r-sm);
  position: relative;
  padding: 8px;
  box-shadow: 0 0 24px rgba(57,211,83,0.2);
  flex-shrink: 0;
}
.qr-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid #000;
}
.qr-corner--tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.qr-corner--tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.qr-corner--bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.qr-dots {
  position: absolute;
  inset: 28px;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(0,0,0,0.15) 4px,
    rgba(0,0,0,0.15) 5px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    rgba(0,0,0,0.15) 4px,
    rgba(0,0,0,0.15) 5px
  );
}
.step-visual-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Step status items */
.step-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  background: #0A0E13;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--green  { background: var(--green); }
.status-dot--orange { background: var(--orange); }
.status-dot--dim    { background: var(--text-dim); }

/* ─── Privacy Terminal Section ───────────────────────── */
.privacy-terminal { max-width: 720px; margin: 0 auto; }

.term-body--privacy { padding: 32px; }

.priv-header {
  margin-bottom: 24px;
}
.priv-header h2 { color: var(--text); margin-bottom: 8px; }
.priv-header p  { color: var(--text-sec); }

.priv-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.priv-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
}
.priv-key {
  color: var(--green);
  font-size: 0.875rem;
  min-width: 180px;
  flex-shrink: 0;
}
.priv-val { color: var(--text-sec); }

.priv-footer { padding-top: 8px; }

/* ─── Pricing ────────────────────────────────────────── */
.pricing-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: stretch;
  justify-content: center;
}

.pricing-card {
  flex: 1;
  max-width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}

.pricing-card:hover {
  border-color: var(--text-dim);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pricing-card--featured {
  background: linear-gradient(135deg, #161B22 0%, #1C2128 100%);
  border-color: var(--orange);
  box-shadow: 0 0 24px var(--orange-glow), 0 4px 24px rgba(0, 0, 0, 0.4);
  transform: scale(1.04);
  z-index: 2;
}

.pricing-card--featured:hover {
  border-color: var(--orange);
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 0 36px var(--orange-glow), 0 12px 40px rgba(0, 0, 0, 0.5);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-badge--secondary {
  background: var(--green);
}

.pricing-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.pricing-plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.pricing-amount {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.pricing-period {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-sec);
  font-weight: 500;
}

.pricing-subtext {
  font-size: 0.875rem;
  color: var(--text-sec);
  text-align: center;
  margin: 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-sec);
}

.pricing-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: auto;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 32px;
}

/* ─── Get the App Section ────────────────────────────── */
@keyframes floatQR {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%       { opacity: 0.7;  transform: scale(1.06); }
}

.get-app-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.get-app-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 55% 45% at 75% 55%, rgba(255,154,31,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 20% 40%, rgba(57,211,83,0.03) 0%, transparent 65%);
  pointer-events: none;
}

.get-app-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* ── Left: copy ── */
.get-app-copy {
  flex: 1;
  max-width: 520px;
}

.get-app-heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
}

.get-app-heading-accent {
  color: var(--orange);
}

.get-app-subtext {
  font-size: 1.05rem;
  color: var(--text-sec);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 440px;
}

.get-app-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.get-app-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.get-app-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  min-width: 24px;
  opacity: 0.8;
}

.get-app-step-text {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.5;
}

.get-app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

/* ── Right: QR card ── */
.get-app-qr-wrap {
  flex-shrink: 0;
  position: relative;
}

.get-app-qr-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  animation: floatQR 5s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(255,154,31,0.08),
    0 8px 32px rgba(0,0,0,0.4),
    0 32px 64px rgba(0,0,0,0.25);
  transition: border-color var(--t), box-shadow var(--t);
}

.get-app-qr-card:hover {
  border-color: rgba(255,154,31,0.35);
  box-shadow:
    0 0 0 1px rgba(255,154,31,0.2),
    0 0 40px rgba(255,154,31,0.12),
    0 8px 32px rgba(0,0,0,0.4),
    0 32px 64px rgba(0,0,0,0.25);
}

.get-app-qr-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,154,31,0.22) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}

.get-app-qr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  z-index: 1;
}

.get-app-qr-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.get-app-qr-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.get-app-qr-dots .dot-r { background: #FF5F57; }
.get-app-qr-dots .dot-y { background: #FEBC2E; }
.get-app-qr-dots .dot-g { background: #28C840; }

.get-app-qr-eyebrow {
  font-size: 0.7rem;
  color: var(--green);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.get-app-qr-link {
  display: block;
  position: relative;
  z-index: 1;
}

.get-app-qr-frame {
  padding: 24px;
  background: var(--bg-card);
}

.get-app-qr-svg {
  width: 240px;
  height: 240px;
  display: block;
  border-radius: 6px;
}

.get-app-qr-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 12px 24px 16px;
  position: relative;
  z-index: 1;
  background: var(--bg-card-2);
  border-top: 1px solid var(--border-dim);
  margin: 0;
}

@media (max-width: 900px) {
  .get-app-inner {
    flex-direction: column;
    gap: 56px;
    text-align: center;
  }

  .get-app-copy {
    max-width: 100%;
  }

  .get-app-subtext {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .get-app-heading br { display: none; }

  .get-app-step {
    justify-content: center;
  }

  .get-app-store-btn {
    margin: 0 auto;
  }

  .get-app-qr-svg {
    width: 200px;
    height: 200px;
  }
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-dim);
  padding: 40px 0;
  background: var(--bg-card);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  text-decoration: none;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-sec);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--text); }

/* ─── Scroll Reveal — additive only, never hides content ── */
/* Cards always visible. JS adds .reveal-ready to opt into animation. */
.reveal-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal delays */
.reveal-ready[data-delay="1"] { transition-delay: 100ms; }
.reveal-ready[data-delay="2"] { transition-delay: 200ms; }
.reveal-ready[data-delay="3"] { transition-delay: 300ms; }
.reveal-ready[data-delay="4"] { transition-delay: 400ms; }
.reveal-ready[data-delay="5"] { transition-delay: 500ms; }
.reveal-ready[data-delay="6"] { transition-delay: 600ms; }

/* ─── Floating Particles Background ─────────────────────── */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 20s infinite ease-in-out;
}

.particle--green {
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow);
}

.particle--orange {
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange-glow);
}

@keyframes float-particle {
  0%, 100% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
    transform: translateY(90vh) translateX(10px) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translateY(50vh) translateX(-20px) scale(1.2);
  }
  90% {
    opacity: 0.3;
    transform: translateY(10vh) translateX(30px) scale(1);
  }
  100% {
    transform: translateY(-10vh) translateX(0) scale(0);
    opacity: 0;
  }
}

/* ─── Enhanced Card Glow Effects ─────────────────────────── */
.feature-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--orange-glow) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover {
  border-color: rgba(255, 154, 31, 0.3);
  box-shadow: 0 0 30px rgba(255, 154, 31, 0.1), 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ─── Hero Badge Animation ──────────────────────────────── */
.hero-badge {
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(57, 211, 83, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(57, 211, 83, 0);
  }
}

/* ─── Phone Device Animation ─────────────────────────────── */
.phone-device {
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.phone-device--secondary {
  animation: phone-float-secondary 6s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes phone-float-secondary {
  0%, 100% {
    transform: scale(0.88) rotate(4deg) translateY(0);
  }
  50% {
    transform: scale(0.88) rotate(4deg) translateY(-8px);
  }
}

/* ─── Button Hover Glow ───────────────────────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 400ms ease, height 400ms ease;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* ─── Pricing Card Enhanced Glow ───────────────────────────── */
.pricing-card--featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--r-lg) + 2px);
  background: linear-gradient(135deg, var(--orange), var(--orange-glow), var(--orange));
  z-index: -1;
  animation: pricing-glow 3s ease-in-out infinite;
}

@keyframes pricing-glow {
  0%, 100% {
    opacity: 0.5;
    filter: blur(8px);
  }
  50% {
    opacity: 0.8;
    filter: blur(12px);
  }
}

/* ─── Section Headers Animation ───────────────────────────── */
.section-header .section-label {
  animation: label-glow 2s ease-in-out infinite;
}

@keyframes label-glow {
  0%, 100% {
    text-shadow: 0 0 0 transparent;
  }
  50% {
    text-shadow: 0 0 8px var(--green-glow);
  }
}

/* ─── Stats Bar Hover Effect ─────────────────────────────── */
.stat-item {
  transition: transform 200ms ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-num {
  transition: text-shadow 200ms ease;
}

.stat-item:hover .stat-num {
  text-shadow: 0 0 12px currentColor;
}

/* ─── Screenshot Hover Zoom ─────────────────────────────── */
.screenshot-frame img {
  transition: transform 400ms ease;
}

.screenshot-frame:hover img {
  transform: scale(1.05);
}

/* ─── Terminal Typing Cursor Enhanced ─────────────────────── */
.term-cursor {
  box-shadow: 0 0 8px var(--green-glow);
}

/* ─── Pricing Badge Pulse ─────────────────────────────── */
.pricing-badge {
  animation: badge-bounce 2s ease-in-out infinite;
}

@keyframes badge-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-3px);
  }
}

/* ─── Footer Link Hover ───────────────────────────────────── */
.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 200ms ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* ─── Responsive ─────────────────────────────────────── */

@media (max-width: 1024px) {
  /* Features: 2 per row on tablet */
  .feature-card {
    width: calc(50% - 8px);
  }
  .feature-card--featured {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .pricing-grid {
    flex-wrap: wrap;
  }
  .pricing-card {
    max-width: none;
    width: calc(50% - 12px);
    flex: none;
  }
  .pricing-card--featured {
    order: -1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Hero: stack vertically */
  .hero-inner {
    flex-direction: column;
    gap: 48px;
    padding: 32px 0;
    align-items: flex-start;
  }
  .hero-visual {
    width: 100%;
    height: 400px;
  }
  .phone-badge--top,
  .phone-badge--bottom { display: none; }

  /* Features: 1 per row on mobile */
  .feature-card,
  .feature-card--featured {
    width: 100%;
  }

  /* Screenshots: 2 per row on mobile */
  .screenshots-row {
    flex-wrap: wrap;
  }
  .screenshot-item {
    width: calc(50% - 12px);
    flex: none;
  }

  /* Steps: stack on mobile */
  .steps-container {
    flex-direction: column;
  }
  .step {
    width: 100%;
  }

  /* Pricing: stack on mobile */
  .pricing-card,
  .pricing-card--featured {
    width: 100%;
  }
  .pricing-card--featured {
    transform: scale(1);
  }
  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  /* Nav: hide links on mobile */
  .nav-links { display: none; }

  .section { padding: 64px 0; }
  .stats-inner { gap: 24px; }
  .stat-divider { display: none; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── Small phones (≤ 480px) ─────────────────────────── */
@media (max-width: 480px) {
  .screenshot-item {
    width: 100%;
    flex: none;
  }

  .stats-inner {
    flex-direction: column;
    gap: 16px;
  }


  .pricing-grid {
    flex-direction: column;
  }

  .section { padding: 48px 0; }

  .section-header { margin-bottom: 40px; }

  h1 { font-size: 2rem; }
}
