/* ============================================================
   JabJab Landing Page – CSS
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  color-scheme: dark;
  --primary:        #7C3AED;
  --primary-light:  #9333EA;
  --primary-dark:   #6B46C1;
  --accent:         #A78BFA;
  --accent-soft:    #C4B5FD;
  --dark-bg:        #0F172A;
  --surface:        #1E293B;
  --surface-2:      #263348;
  --border:         #334155;
  --text:           #F1F5F9;
  --text-muted:     #94A3B8;
  --text-dim:       #64748B;
  --success:        #10B981;
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.4);
  --shadow-md:      0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:      0 12px 48px rgba(0,0,0,.6);
  --shadow-glow:    0 0 40px rgba(124,58,237,.35);
  --transition:     all .25s cubic-bezier(.4,0,.2,1);
  --font:           'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --nav-h:          68px;
}

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

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

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

/* Fixed bird head background watermark */
.bg-bird {
  position: fixed;
  bottom: -8%;
  right: -6%;
  width: min(65vh, 700px);
  height: auto;
  aspect-ratio: 1024 / 680;
  background-image: url('../images/jabjab-head.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: luminosity;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; letter-spacing: -.01em; }
p  { color: var(--text-muted); line-height: 1.75; }

.gradient-text {
  background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 50%, #6B46C1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Utility ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  background: rgba(124,58,237,.18);
  border: 1px solid rgba(124,58,237,.35);
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,.55);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(167,139,250,.08);
}

.btn-sm {
  padding: .55rem 1.25rem;
  font-size: .875rem;
  min-height: 40px;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(15,23,42,.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(51,65,85,.6);
  transition: var(--transition);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { margin-left: .5rem; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: var(--transition);
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 999;
  background: linear-gradient(
    160deg,
    rgba(124,58,237,.12) 0%,
    rgba(15,23,42,.97) 40%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(124,58,237,.25);
  box-shadow: 0 12px 40px rgba(124,58,237,.15);
  flex-direction: column;
  gap: .25rem;
  animation: slideDown .2s ease;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  display: block;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}
.nav__mobile a:hover { color: var(--text); background: var(--surface); }
.nav__mobile .btn { margin-top: .75rem; width: 100%; }

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

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(124,58,237,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(99,102,241,.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 5rem;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.hero__title { margin-bottom: 1.25rem; }

.hero__subtitle {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
}

.hero__stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
}
.hero__stat-label {
  font-size: .8rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Hero phone stack */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(124,58,237,.4) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50%       { transform: scale(1.1); opacity: 1; }
}

/* ── Phone Mockup Component ───────────────────────────────── */
.phone {
  position: relative;
  width: 240px;
  border-radius: 36px;
  background: #0a0a14;
  border: 2px solid #2a2a3e;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 1px 0 rgba(255,255,255,.08) inset;
  overflow: hidden;
  flex-shrink: 0;
}

.phone::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #0a0a14;
  border-radius: 0 0 20px 20px;
  z-index: 10;
  border-left: 2px solid #2a2a3e;
  border-right: 2px solid #2a2a3e;
  border-bottom: 2px solid #2a2a3e;
}

.phone__screen {
  padding-top: 32px;
  min-height: 460px;
  background: #12121f;
  overflow: hidden;
  position: relative;
}

/* Screen status bar */
.phone__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 20px 8px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}

.phone__statusbar-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

/* App header bar */
.phone__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(124,58,237,.12);
  border-bottom: 1px solid rgba(124,58,237,.2);
}

.phone__header-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.phone__header-info { flex: 1; overflow: hidden; }
.phone__header-name { font-size: 12px; font-weight: 600; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone__header-status { font-size: 9px; color: var(--success); display: flex; align-items: center; gap: 3px; }
.phone__header-status::before { content: ''; width: 5px; height: 5px; background: var(--success); border-radius: 50%; display: block; }

/* Chat bubbles */
.phone__chat { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }

.bubble {
  max-width: 78%;
  padding: 7px 11px;
  border-radius: 14px;
  font-size: 11px;
  line-height: 1.4;
}

.bubble-in {
  background: rgba(255,255,255,.07);
  color: #cbd5e1;
  border-radius: 4px 14px 14px 14px;
  align-self: flex-start;
}

.bubble-out {
  background: linear-gradient(135deg, rgba(124,58,237,.7), rgba(107,70,193,.7));
  color: #e2e8f0;
  border-radius: 14px 4px 14px 14px;
  align-self: flex-end;
}

.bubble-time {
  font-size: 9px;
  color: rgba(255,255,255,.35);
  text-align: right;
  margin-top: 2px;
}

/* Sticker bubbles */
.sticker-bubble {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: transparent;
  padding: 0;
}

/* Message input bar */
.phone__input {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.3);
}

.phone__input-field {
  flex: 1;
  background: rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,.08);
}

.phone__input-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* Hero phone stack positioning */
.hero__phones {
  position: relative;
  width: 340px;
  height: 520px;
  margin: 0 auto;
}

.hero__phone-main {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: floatMain 6s ease-in-out infinite;
}

.hero__phone-back {
  position: absolute;
  left: calc(50% + 70px);
  top: 30px;
  transform: translateX(-50%) rotate(8deg);
  z-index: 1;
  opacity: .55;
  animation: floatBack 6s ease-in-out infinite;
}

@keyframes floatMain {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-14px); }
}
@keyframes floatBack {
  0%, 100% { transform: translateX(-50%) rotate(8deg) translateY(0); }
  50%       { transform: translateX(-50%) rotate(8deg) translateY(-8px); }
}

/* ── Feature Sections ─────────────────────────────────────── */
.features { padding-block: 2rem; }

.feature-section {
  padding-block: 6rem;
  position: relative;
  overflow: hidden;
}

.feature-section:nth-child(even) { background: rgba(30,41,59,.35); }

.feature-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-section__inner--reverse { direction: rtl; }
.feature-section__inner--reverse > * { direction: ltr; }

.feature-section__content { display: flex; flex-direction: column; gap: 1.25rem; }

.feature-section__badge { align-self: flex-start; }

.feature-section__title { color: var(--text); }

.feature-section__desc { font-size: 1.05rem; max-width: 440px; }

.feature-section__note {
  font-size: .8rem;
  color: var(--text-dim);
  max-width: 440px;
  padding: .65rem .9rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  line-height: 1.55;
}

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: .65rem; margin-top: .5rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--text-muted);
  font-size: .95rem;
}
.checklist li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: rgba(16,185,129,.15);
  border: 1.5px solid rgba(16,185,129,.4);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2310B981' d='M13.7 4.3a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L7 9.6l5.3-5.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* Phone mockup wrapper in sections */
.feature-section__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.feature-section__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(124,58,237,.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
}

/* ── Stories Screen ───────────────────────────────────────── */
.story-bar {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  overflow: hidden;
}

.story-avatar {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.story-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #a855f7, #7c3aed);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-ring-inner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.story-name { font-size: 8px; color: rgba(255,255,255,.5); text-align: center; width: 44px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Stories full preview */
.story-preview {
  margin: 0 12px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 200px;
  background: linear-gradient(160deg, rgba(124,58,237,.5), rgba(15,23,42,.9));
  border: 1px solid rgba(124,58,237,.3);
}

.story-preview-bars {
  display: flex;
  gap: 3px;
  padding: 8px 10px 4px;
  position: absolute;
  top: 0; left: 0; right: 0;
}

.story-bar-seg {
  height: 2px;
  flex: 1;
  background: rgba(255,255,255,.25);
  border-radius: 99px;
}
.story-bar-seg.active { background: white; }

.story-user-info {
  position: absolute;
  top: 18px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.story-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.story-username { font-size: 10px; color: rgba(255,255,255,.9); font-weight: 600; }

.story-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}

.story-caption {
  font-size: 11px;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
}

/* ── Microblog Screen ─────────────────────────────────────── */
.microblog-post {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.microblog-post-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.microblog-post-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.microblog-post-meta { flex: 1; }
.microblog-post-name { font-size: 11px; font-weight: 600; color: #e2e8f0; }
.microblog-post-time { font-size: 9px; color: rgba(255,255,255,.35); }

.microblog-post-body { font-size: 11px; color: #94a3b8; line-height: 1.5; margin-bottom: 8px; }

.microblog-post-actions {
  display: flex;
  gap: 12px;
}

.microblog-action {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: rgba(255,255,255,.35);
}

/* ── Themes Screen ────────────────────────────────────────── */
.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
}

.theme-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
}

.theme-card.active { border-color: var(--primary); }

.theme-preview {
  height: 60px;
  position: relative;
}

.theme-header-bar {
  height: 18px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 4px;
}

.theme-dot { width: 5px; height: 5px; border-radius: 50%; }

.theme-content-bar {
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.theme-line {
  height: 4px;
  border-radius: 99px;
  opacity: .5;
}

.theme-name {
  padding: 4px 6px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-align: center;
}

/* Purple Dark theme */
.theme-purple-dark .theme-header-bar { background: #1a1030; }
.theme-purple-dark .theme-content-bar { background: #12121f; }
.theme-purple-dark .theme-dot:nth-child(1) { background: #ff5f57; }
.theme-purple-dark .theme-dot:nth-child(2) { background: #febc2e; }
.theme-purple-dark .theme-dot:nth-child(3) { background: #28c840; }
.theme-purple-dark .theme-line { background: #7c3aed; }

/* Midnight Blue */
.theme-midnight .theme-header-bar { background: #0d1f3c; }
.theme-midnight .theme-content-bar { background: #0a1628; }
.theme-midnight .theme-dot:nth-child(1) { background: #3b82f6; }
.theme-midnight .theme-dot:nth-child(2) { background: #60a5fa; }
.theme-midnight .theme-dot:nth-child(3) { background: #93c5fd; }
.theme-midnight .theme-line { background: #3b82f6; }

/* Forest */
.theme-forest .theme-header-bar { background: #0d2818; }
.theme-forest .theme-content-bar { background: #0a1f12; }
.theme-forest .theme-dot:nth-child(1) { background: #10b981; }
.theme-forest .theme-dot:nth-child(2) { background: #34d399; }
.theme-forest .theme-dot:nth-child(3) { background: #6ee7b7; }
.theme-forest .theme-line { background: #10b981; }

/* Light theme */
.theme-light .theme-preview { background: #f8fafc; }
.theme-light .theme-header-bar { background: #e2e8f0; }
.theme-light .theme-content-bar { background: #f1f5f9; }
.theme-light .theme-dot:nth-child(1) { background: #7c3aed; }
.theme-light .theme-dot:nth-child(2) { background: #9333ea; }
.theme-light .theme-dot:nth-child(3) { background: #a855f7; }
.theme-light .theme-line { background: #7c3aed; }
.theme-light .theme-name { color: rgba(0,0,0,.5); }

/* ── Security Screen ──────────────────────────────────────── */
.security-screen { padding: 12px; }

.security-lock {
  text-align: center;
  padding: 20px 0 14px;
}

.security-lock-icon {
  width: 56px;
  height: 56px;
  background: rgba(16,185,129,.12);
  border: 1.5px solid rgba(16,185,129,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 8px;
}

.security-lock-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
}

.security-items { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

.security-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.06);
}

.security-item-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.security-item-icon.green { background: rgba(16,185,129,.15); }
.security-item-icon.purple { background: rgba(124,58,237,.15); }
.security-item-icon.blue { background: rgba(59,130,246,.15); }
.security-item-icon.orange { background: rgba(249,115,22,.15); }

.security-item-text { flex: 1; }
.security-item-name { font-size: 10px; font-weight: 600; color: #e2e8f0; }
.security-item-desc { font-size: 9px; color: rgba(255,255,255,.35); }

.security-item-badge {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 99px;
  font-weight: 600;
}
.security-item-badge.on { background: rgba(16,185,129,.15); color: var(--success); border: 1px solid rgba(16,185,129,.3); }
.security-item-badge.enabled { background: rgba(124,58,237,.15); color: var(--accent); border: 1px solid rgba(124,58,237,.3); }

/* ── More Features Grid ───────────────────────────────────── */
.more-features {
  padding-block: 6rem;
  background: rgba(30,41,59,.2);
}

.more-features__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.more-features__subtitle {
  margin-top: .75rem;
  font-size: 1.1rem;
}

.more-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.5), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.feature-card:hover {
  border-color: rgba(124,58,237,.4);
  background: var(--surface-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(124,58,237,.1);
}

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

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}

.feature-card__desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq {
  padding-block: 6rem;
}

.faq__header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq__subtitle { margin-top: .75rem; font-size: 1.1rem; }

.faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s;
}

.faq__item:hover { border-color: rgba(124,58,237,.4); }
.faq__item[open] { border-color: rgba(124,58,237,.5); }

.faq__item summary {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: .975rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
  transition: color .2s;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { display: none; }

.faq__item summary:hover { color: var(--accent); }

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform .25s ease;
}

.faq__item[open] .faq__chevron { transform: rotate(180deg); color: var(--accent); }

.faq__answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: .925rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.faq__answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq__answer a:hover { color: var(--accent-soft); }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  padding-block: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(124,58,237,.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner { position: relative; }

.cta-banner__title { margin-bottom: 1rem; }
.cta-banner__desc { font-size: 1.1rem; max-width: 500px; margin-inline: auto; margin-bottom: 2.5rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.cta-banner__note { margin-top: 1.25rem; font-size: .85rem; color: var(--text-dim); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: block;
}

.footer__tagline { font-size: .9rem; color: var(--text-muted); max-width: 260px; margin-bottom: 1.5rem; }

.footer__socials {
  display: flex;
  gap: .75rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer__social-link:hover { background: rgba(124,58,237,.15); border-color: rgba(124,58,237,.4); color: var(--accent); }

.footer__col-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.footer__col-links a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color .2s;
}
.footer__col-links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer__copy { font-size: .825rem; color: var(--text-dim); }

.footer__ai-confession {
  font-size: .7rem;
  color: var(--text-dim);
  opacity: .25;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: .01em;
  margin-bottom: .35rem;
  text-align: center;
  transition: opacity .4s ease;
}
.footer__ai-confession:hover { opacity: .7; }

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a { font-size: .825rem; color: var(--text-dim); transition: color .2s; }
.footer__legal a:hover { color: var(--text-muted); }

/* ── Scroll Animations ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }
.fade-in-delay-5 { transition-delay: .5s; }

/* ── Divider ──────────────────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .more-features__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-block: 3.5rem;
    text-align: center;
  }

  .hero__eyebrow { justify-content: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { order: 1; margin-top: 1rem; }
  .hero__phones { width: 240px; height: 360px; }
  .hero__phone-back { display: none; }
  .hero__phone-main { width: 200px; }
  .hero__phone-main .phone { width: 200px; }
  .hero__phone-main .phone__screen { min-height: 340px; }

  .feature-section { padding-block: 4rem; }
  .feature-section__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .feature-section__inner--reverse { direction: ltr; }
  .feature-section__content { align-items: center; }
  .feature-section__badge { align-self: center; }
  .feature-section__desc { margin-inline: auto; }
  .checklist { text-align: left; }

  .more-features__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }
}

@media (max-width: 480px) {
  .hero__stats { flex-direction: column; gap: 1.25rem; }
  .hero__stat-value { font-size: 1.3rem; }
}

/* ── Dedication ───────────────────────────────────────────── */
.dedication {
  padding: 3rem 0 2.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.dedication__passion {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  max-width: 900px;
  margin-inline: auto;
}

.dedication__freedom {
  font-size: .76rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 820px;
  margin-inline: auto;
  font-style: italic;
  opacity: .7;
}

/* ── XEP Section ──────────────────────────────────────────── */
.xep-section {
  padding: var(--section-padding) 0;
  background: var(--dark-surface);
  padding-block: 6rem;
}

.xep-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.xep-section__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: .75rem 0 1rem;
}

.xep-section__subtitle {
  color: var(--text-muted);
  font-size: .95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.xep-legend {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--text-dim);
}

.xep-chip--legend {
  pointer-events: none;
  font-size: .65rem;
}

.xep-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.xep-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .78rem;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.xep-chip:hover {
  background: rgba(124,58,237,.08);
  border-color: rgba(124,58,237,.3);
  color: var(--text);
  transform: translateY(-1px);
}

.xep-num {
  font-family: 'Courier New', monospace;
  font-size: .7rem;
  color: var(--text-dim);
  letter-spacing: .02em;
}

.xep-chip:hover .xep-num {
  color: var(--accent-light);
}

.xep-name {
  font-weight: 500;
}

/* New / JabJab-exclusive XEPs */
.xep-chip--new {
  background: rgba(124,58,237,.07);
  border-color: rgba(124,58,237,.35);
  color: var(--text);
  box-shadow: 0 0 0 0 rgba(124,58,237,0);
  transition: var(--transition), box-shadow .2s ease;
}

.xep-chip--new .xep-num {
  color: var(--accent-light);
}

.xep-chip--new:hover {
  background: rgba(124,58,237,.15);
  border-color: rgba(124,58,237,.6);
  box-shadow: 0 0 12px rgba(124,58,237,.25);
}

.xep-badge {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 3px;
  padding: 1px 5px;
  line-height: 1.4;
}

/* ── Language Picker ──────────────────────────────────────── */
.lang-picker {
  position: relative;
}

.lang-picker__btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .65rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.lang-picker__btn:hover {
  border-color: rgba(124,58,237,.4);
  color: var(--text);
  background: rgba(124,58,237,.08);
}

.lang-picker__flag-emoji { font-size: 1rem; line-height: 1; }

.lang-picker__flag-img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
}

.lang-picker__code { letter-spacing: .04em; }

.lang-picker__chevron {
  display: flex;
  align-items: center;
  opacity: .5;
  transition: transform .2s ease;
}
.lang-picker__btn[aria-expanded="true"] .lang-picker__chevron { transform: rotate(180deg); }

/* Dropdown */
.lang-picker__dropdown {
  display: none;
  position: fixed;
  top: auto;
  right: .5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .4rem;
  width: min(92vw, 260px);
  z-index: 2000;
  animation: slideDown .15s ease;
  grid-template-columns: repeat(3, 1fr);
}

.lang-picker__dropdown.is-open {
  display: grid;
}

.lang-picker__item {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s;
  color: var(--text-muted);
  font-size: .75rem;
  white-space: nowrap;
  overflow: hidden;
}

.lang-picker__item:hover {
  background: rgba(124,58,237,.12);
  color: var(--text);
}

.lang-picker__item.is-active {
  color: var(--accent);
  background: rgba(124,58,237,.1);
}

.lang-picker__name {
  font-size: .75rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: rgba(124,58,237,.35); color: var(--text); }

/* ── Focus ────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── Google Fonts fallback note: loaded in <head> via preconnect ── */
