/* ═══════════════════════════════════════════════════════════════════════════
   Befino - Main Styles
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #f8fafe;
  --surface: #ffffff;
  --surface-glass: rgba(255,255,255,0.78);
  --text: #1a1a2e;
  --text-muted: #4a4a68;
  --text-soft: #6a7391;
  --primary: #2196f3;
  --primary-light: #42a5f5;
  --primary-dark: #1e88e5;
  --teal: #009688;
  --navy: #0f1d37;
  --badge-bg: #e3f2fd;
  --badge-text: #1565c0;
  --line: rgba(33,150,243,0.12);
  --shadow: 0 4px 24px rgba(33,150,243,0.08);
  --shadow-lg: 0 24px 70px rgba(20,63,117,0.2);
  --radius: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --nav-h: 84px;
  --ease: 240ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(66,165,245,0.18), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(33,150,243,0.12), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  overflow-x: hidden;
}

body::before, body::after {
  content: ""; position: fixed; width: 28rem; height: 28rem; border-radius: 999px;
  filter: blur(70px); z-index: -2; pointer-events: none; opacity: 0.38;
}
body::before { top: -10rem; left: -10rem; background: rgba(33,150,243,0.28); }
body::after { right: -10rem; top: 34rem; background: rgba(0,150,136,0.16); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(33,150,243,0.3); outline-offset: 4px; }

.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }

/* ── Sections ── */
.section { position: relative; padding: 7rem 0; }
.section::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: min(88%,980px); height: 1px;
  transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(33,150,243,0.12), transparent);
}
.section:last-of-type::after { display: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.62rem 0.98rem;
  border-radius: 999px; background: var(--badge-bg); color: var(--badge-text);
  font-size: 0.92rem; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head::after {
  content: ""; display: block; width: 84px; height: 4px; margin-top: 1.2rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-light), rgba(0,150,136,0.65));
}
.section-head h2 {
  margin: 0 0 1rem; font-size: clamp(2.4rem,4.5vw,3.8rem); line-height: 1.02;
  letter-spacing: -0.05em; font-weight: 800;
}
.section-head p { margin: 0; color: var(--text-muted); line-height: 1.82; font-size: 1.1rem; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-center::after { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  border: none; border-radius: 999px; padding: 0.95rem 1.4rem; font-weight: 700;
  cursor: pointer; transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  box-shadow: 0 16px 34px rgba(33,150,243,0.24);
}
.btn-primary:hover { box-shadow: 0 22px 44px rgba(33,150,243,0.3); }
.store-btn {
  min-width: 192px; justify-content: flex-start; padding: 0.9rem 1.05rem; border-radius: 18px;
  background: #101010; color: #fff; box-shadow: 0 18px 42px rgba(16,16,16,0.18);
}
.store-btn small { display: block; font-size: 0.72rem; opacity: 0.74; font-weight: 500; }
.store-btn strong { display: block; margin-top: 0.08rem; font-size: 1rem; }
.store-icon { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; }

/* ── Navigation ── */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding-top: 1rem; }
.nav {
  position: relative; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  gap: 1.2rem; height: var(--nav-h); padding: 0 1rem 0 1.3rem; border-radius: 999px;
  transition: background var(--ease), box-shadow var(--ease), backdrop-filter var(--ease), border-color var(--ease);
  border: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.72); backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(33,150,243,0.12); border-color: rgba(255,255,255,0.58);
}
.logo { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.03em; }
.logo-mark { height: 2.45rem; width: auto; filter: drop-shadow(0 10px 18px rgba(33,150,243,0.2)); }
.nav-links { display: flex; justify-content: center; gap: 1.55rem; color: var(--text-muted); font-weight: 600; }
.nav-links a { position: relative; padding: 0.35rem 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark)); transform: scaleX(0); transition: transform var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,0.9); color: var(--text); align-items: center; justify-content: center; cursor: pointer;
}

/* ── Hero ── */
.hero { padding-top: 3.5rem; padding-bottom: 5.75rem; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 4rem; align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 {
  margin: 1.2rem 0 1.2rem; font-size: clamp(3.2rem,7.5vw,5.4rem); line-height: 0.92;
  letter-spacing: -0.06em; font-weight: 800;
}
.hero h1 span {
  background: linear-gradient(135deg, #1b7dde, #42a5f5 48%, #0f7d95 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 0 0 2rem; color: var(--text-muted); font-size: 1.18rem; line-height: 1.82; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.95rem; margin-bottom: 1.5rem; }
.trust-inline { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; color: var(--text-muted); font-size: 0.96rem; font-weight: 600; }
.trust-inline span {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(255,255,255,0.68);
  border: 1px solid rgba(33,150,243,0.08); box-shadow: var(--shadow);
}
.trust-inline svg, .eyebrow svg, .encrypt-box-label svg { display: inline-block; vertical-align: middle; }
.hero-visual { position: relative; display: grid; place-items: center; padding: 1rem 0; }
.blob, .blob-teal { position: absolute; border-radius: 999px; z-index: 0; pointer-events: none; }
.blob { top: 4%; right: 2%; width: 320px; height: 320px; background: radial-gradient(circle at 35% 35%, rgba(66,165,245,0.72), rgba(30,136,229,0.18) 66%, transparent 72%); filter: blur(16px); }
.blob-teal { left: 8%; bottom: 14%; width: 190px; height: 190px; background: radial-gradient(circle, rgba(0,150,136,0.22), transparent 72%); filter: blur(18px); }

/* ── Phone mockup ── */
.phone-shell {
  position: relative; z-index: 1; width: min(300px,78vw); padding: 12px; border-radius: 38px;
  background: linear-gradient(180deg, #0f1625, #2e3d54 58%, #121a28);
  box-shadow: 0 36px 70px rgba(10,20,35,0.26), 0 12px 18px rgba(33,150,243,0.18);
}
.phone-shell::before {
  content: ""; position: absolute; inset: 1px; border-radius: 41px;
  border: 1px solid rgba(255,255,255,0.08); pointer-events: none;
}
.phone-inner { position: relative; overflow: hidden; border-radius: 32px; background: #fff; }
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 120px; height: 28px;
  border-radius: 999px; background: rgba(8,13,19,0.88); z-index: 3;
}
.phone-screenshot { width: 100%; display: block; border-radius: 0; }

/* ── Hero app preview ── */
.hero-preview-wrap {
  position: relative; z-index: 1; perspective: 1400px;
}
.hero-preview {
  position: relative; width: 100%; max-width: 460px; margin: 0 auto;
  border-radius: 28px; background: #fff; overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(33,150,243,0.06),
    0 32px 80px rgba(10,20,50,0.14),
    0 12px 24px rgba(33,150,243,0.08);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-style: preserve-3d;
  animation: previewFloat 8s ease-in-out infinite;
}
@keyframes previewFloat {
  0%,100% { transform: rotateY(-5deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-3deg) rotateX(1deg) translateY(-10px); }
}
.preview-bar {
  display: flex; align-items: center; gap: 0.65rem; padding: 1rem 1.4rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark)); color: #fff;
}
.preview-bar-logo { width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; }
.preview-bar-title { font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; }
.preview-bar-badge {
  margin-left: auto; padding: 0.28rem 0.7rem; border-radius: 999px;
  background: rgba(255,255,255,0.2); font-size: 0.72rem; font-weight: 700;
}
.preview-body { padding: 1.2rem 1.3rem; }

.preview-status {
  display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.1rem;
  border-radius: 18px; background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid rgba(52,211,153,0.15);
}
.preview-status-icon {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: #10b981; color: #fff; flex: 0 0 auto;
}
.preview-status-text strong { display: block; font-size: 1rem; color: #064e3b; letter-spacing: -0.02em; }
.preview-status-text span { font-size: 0.82rem; color: #047857; opacity: 0.75; }

.preview-labs {
  padding: 1rem 1.1rem; border-radius: 18px; background: #f8faff;
  border: 1px solid rgba(33,150,243,0.06);
}
.preview-labs-title {
  font-size: 0.72rem; font-weight: 800; color: var(--text-soft); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.7rem;
}
.preview-lab-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(0,0,0,0.04);
}
.preview-lab-row:last-child { border-bottom: 0; padding-bottom: 0; }
.preview-lab-name { font-size: 0.88rem; font-weight: 600; color: var(--text); flex: 1; }
.preview-lab-val { font-size: 0.88rem; font-weight: 800; margin-right: 0.5rem; }
.preview-lab-val.ok { color: #059669; }
.preview-lab-val.warn { color: #d97706; }
.preview-lab-dot {
  width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto;
}
.preview-lab-dot.ok { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.4); }
.preview-lab-dot.warn { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.4); }

.preview-chat {
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.preview-chat-avatar { width: 32px; height: 32px; border-radius: 10px; flex: 0 0 auto; box-shadow: 0 3px 10px rgba(33,150,243,0.18); }
.preview-chat-bubble {
  padding: 0.75rem 1rem; border-radius: 18px 18px 18px 4px;
  background: linear-gradient(135deg, #42a5f5, #1e88e5); color: #fff;
  font-size: 0.88rem; font-weight: 600; line-height: 1.45;
  box-shadow: 0 8px 22px rgba(33,150,243,0.2);
}

.preview-slide { display: none; flex-direction: column; gap: 0.85rem; }
.preview-slide.active { display: flex; animation: slideFadeIn 0.5s ease both; }
@keyframes slideFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.carousel-dots {
  display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.4rem;
}
.carousel-dot {
  width: 36px; height: 4px; border-radius: 99px; background: rgba(33,150,243,0.15);
  overflow: hidden; cursor: pointer; position: relative; transition: background 0.3s;
}
.carousel-dot:hover { background: rgba(33,150,243,0.25); }
.carousel-dot-fill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0%;
  background: var(--primary); border-radius: 99px;
}
.carousel-dot.active .carousel-dot-fill {
  animation: dotProgress var(--slide-duration) linear forwards;
}
.carousel-dot.done .carousel-dot-fill { width: 100%; }
@keyframes dotProgress { from { width: 0%; } to { width: 100%; } }

.preview-status.status-warn { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: rgba(245,158,11,0.15); }
.preview-status.status-warn .preview-status-icon { background: #f59e0b; }
.preview-status.status-warn strong { color: #78350f; }
.preview-status.status-warn span { color: #92400e; }
.preview-lab-val.info { color: var(--primary); }
.preview-lab-dot.info { background: var(--primary); box-shadow: 0 0 6px rgba(33,150,243,0.4); }

/* ── Problem Section ── */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem;
}
.problem-card {
  text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow); transition: transform var(--ease), box-shadow var(--ease);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(33,150,243,0.12); }
.problem-icon {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; margin: 0 auto 1.2rem;
}
.problem-icon.red { background: linear-gradient(180deg, #fef2f2, #fee2e2); color: #dc2626; }
.problem-icon.amber { background: linear-gradient(180deg, #fffbeb, #fef3c7); color: #d97706; }
.problem-icon.green { background: linear-gradient(180deg, #ecfdf5, #d1fae5); color: #059669; }
.problem-card h3 { margin: 0 0 0.6rem; font-size: 1.15rem; letter-spacing: -0.03em; font-weight: 800; }
.problem-card p { margin: 0; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ── Steps with Screenshots ── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card {
  background: var(--surface); border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.8); box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(33,150,243,0.14); }
.step-card-img { position: relative; background: linear-gradient(180deg, #e8f1ff, #f0f6ff); padding: 1.5rem 2.5rem 0; }
.step-card-img .phone-shell {
  width: 200px; margin: 0 auto; padding: 8px; border-radius: 28px;
  transform: none; animation: none;
  box-shadow: 0 20px 50px rgba(10,20,35,0.18);
}
.step-card-img .phone-inner { border-radius: 22px; }
.step-card-img .phone-notch { width: 80px; height: 20px; top: 7px; }
.step-card-body { padding: 1.5rem; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff; font-size: 0.9rem; font-weight: 800; margin-bottom: 0.75rem;
}
.step-card-body h3 { margin: 0 0 0.6rem; font-size: 1.28rem; letter-spacing: -0.03em; font-weight: 800; }
.step-card-body p { margin: 0; color: var(--text-muted); line-height: 1.78; font-size: 0.98rem; }

/* ── Features 2x2 ── */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-card {
  position: relative; overflow: hidden; padding: 2rem; border-radius: 28px;
  background: var(--surface); border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow); transition: transform var(--ease), box-shadow var(--ease);
}
.feature-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, rgba(66,165,245,0.2), rgba(30,136,229,0.9), rgba(0,150,136,0.5));
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 24px 42px rgba(33,150,243,0.14); }
.feature-icon {
  width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px; margin-bottom: 1.4rem;
  background: linear-gradient(180deg, #eef7ff, #e3f2fd); color: var(--primary-dark); font-size: 1.5rem;
}
.feature-icon.teal { background: linear-gradient(180deg, rgba(0,150,136,0.12), rgba(0,150,136,0.08)); color: var(--teal); }
.feature-card h3 { margin: 0 0 0.7rem; font-size: 1.28rem; letter-spacing: -0.03em; font-weight: 800; }
.feature-card p { margin: 0; color: var(--text-muted); line-height: 1.82; font-size: 1rem; }
.feature-card-with-img { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.feature-card-with-img .feature-phone { width: 140px; flex-shrink: 0; }
.feature-card-with-img .feature-phone .phone-shell {
  width: 100%; padding: 6px; border-radius: 22px; transform: none; animation: none;
  box-shadow: 0 14px 36px rgba(10,20,35,0.16);
}
.feature-card-with-img .feature-phone .phone-inner { border-radius: 18px; }
.feature-card-with-img .feature-phone .phone-notch { width: 60px; height: 16px; top: 5px; }

/* ── Security ── */
.security-panel {
  position: relative; overflow: hidden; padding: 3rem; border-radius: 32px; color: #fff;
  background: linear-gradient(135deg, #1a2540 0%, #0f1b2e 50%, #132035 100%);
  box-shadow: 0 28px 70px rgba(15,27,46,0.3);
}
.security-panel::before {
  content: ""; position: absolute; right: -90px; top: -140px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(33,150,243,0.14), transparent 68%);
}
.security-panel::after {
  content: ""; position: absolute; left: -50px; bottom: -50px; width: 200px; height: 200px;
  border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,0.1), transparent 70%);
}

/* Hero Section */
.security-hero {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  margin-bottom: 2.5rem; position: relative; z-index: 1;
}
.security-shield {
  position: relative; width: 100px; height: 100px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(33,150,243,0.15), rgba(33,150,243,0.05));
  border-radius: 28px; border: 1px solid rgba(33,150,243,0.25); color: #90caf9;
}
.shield-pulse {
  position: absolute; inset: -8px; border-radius: 32px; border: 2px solid rgba(33,150,243,0.3);
  animation: shield-pulse 2s ease-out infinite;
}
@keyframes shield-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}
.security-hero-content { text-align: center; }
.security-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 999px;
  background: rgba(33,150,243,0.12); color: #90caf9;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.security-hero-content h2 {
  margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; letter-spacing: -0.03em;
}

/* Encryption Flow */
.encryption-flow {
  margin-bottom: 2rem; position: relative; z-index: 1;
}
.encryption-track {
  display: flex; align-items: flex-start; justify-content: center; gap: 0;
  position: relative;
}
.track-line {
  position: absolute; top: 36px; left: 15%; right: 15%; height: 2px;
  background: linear-gradient(90deg, 
    rgba(33,150,243,0.1) 0%, 
    rgba(33,150,243,0.4) 50%, 
    rgba(33,150,243,0.1) 100%);
}
.track-node {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 0 1.5rem; position: relative; z-index: 1;
  animation: node-appear 0.6s ease-out backwards;
  animation-delay: var(--delay);
}
@keyframes node-appear {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.node-icon {
  width: 72px; height: 72px; display: grid; place-items: center;
  border-radius: 20px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #90caf9; transition: all 0.3s ease;
}
.track-node:hover .node-icon {
  background: rgba(33,150,243,0.15);
  border-color: rgba(33,150,243,0.3);
  transform: scale(1.05);
}
.node-content { text-align: center; max-width: 140px; }
.node-content h3 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 800; color: #fff; }
.node-content p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.4; }

/* Encryption Demo */
.encryption-demo {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  margin-bottom: 2rem; position: relative; z-index: 1; flex-wrap: wrap;
}
.demo-card {
  padding: 1.25rem 1.5rem; border-radius: 20px; min-width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.demo-card:hover { transform: translateY(-4px); }
.demo-input {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
}
.demo-input:hover { box-shadow: 0 12px 32px rgba(255,255,255,0.05); }
.demo-output {
  background: linear-gradient(135deg, rgba(33,150,243,0.12), rgba(33,150,243,0.05));
  border: 1px solid rgba(33,150,243,0.2);
}
.demo-output:hover { box-shadow: 0 12px 32px rgba(33,150,243,0.15); }
.demo-header {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem;
}
.demo-icon { color: rgba(255,255,255,0.6); }
.demo-input .demo-icon { color: rgba(255,255,255,0.5); }
.demo-output .demo-icon { color: #90caf9; }
.demo-header span {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.7);
}
.demo-content { }
.demo-text { margin: 0; font-size: 1.05rem; color: rgba(255,255,255,0.95); line-height: 1.5; }
.demo-code {
  margin: 0; font-family: "Courier New", monospace; font-size: 0.9rem;
  color: #90caf9; word-break: break-all; line-height: 1.5;
}
.demo-arrow {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  color: rgba(33,150,243,0.5);
}
.demo-arrow-label {
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.4); text-align: center;
  line-height: 1.2;
}

/* Trust Badges */
.trust-badges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-bottom: 2rem; position: relative; z-index: 1;
}
.trust-badge {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem; border-radius: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.trust-badge:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.badge-icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(33,150,243,0.1); color: #90caf9; flex-shrink: 0;
}
.badge-content strong {
  display: block; font-size: 0.95rem; font-weight: 800; color: #fff; line-height: 1.2;
}
.badge-content span {
  font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.3;
}

/* Password Note */
.password-note {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 1rem 1.5rem; border-radius: 16px;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.15);
  position: relative; z-index: 1;
}
.note-icon { color: #10b981; flex-shrink: 0; }
.password-note p {
  margin: 0; font-size: 0.92rem; color: rgba(255,255,255,0.8); line-height: 1.5;
}
.password-note strong { color: #fff; }
.note-highlight {
  color: #10b981; font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .security-panel { padding: 2rem 1.5rem; }
  .security-hero { flex-direction: column; gap: 1.5rem; }
  .security-shield { width: 80px; height: 80px; }
  .encryption-track { flex-direction: column; align-items: center; gap: 1.5rem; }
  .track-line { display: none; }
  .track-node { padding: 0; }
  .encryption-demo { flex-direction: column; }
  .demo-arrow { transform: rotate(90deg); }
  .demo-arrow-label { display: none; }
  .trust-badges { grid-template-columns: 1fr; }
  .password-note { flex-direction: column; text-align: center; }
}

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card {
  position: relative; padding: 2rem; border-radius: 28px; background: var(--surface);
  border: 1px solid rgba(255,255,255,0.8); box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(33,150,243,0.12); }
.pricing-card.featured {
  border-color: var(--primary); box-shadow: 0 12px 40px rgba(33,150,243,0.18);
  background: linear-gradient(180deg, #fff, #f0f7ff);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff; box-shadow: 0 8px 20px rgba(33,150,243,0.3); white-space: nowrap;
}
.pricing-name { margin: 0 0 0.4rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.pricing-price { margin: 0.5rem 0 0.4rem; font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; color: var(--primary-dark); }
.pricing-price small { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.pricing-desc { margin: 0 0 1.5rem; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pricing-features li {
  padding: 0.45rem 0; color: var(--text-muted); font-size: 0.95rem; display: flex; align-items: center; gap: 0.55rem;
}
.pricing-features li::before {
  content: ""; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: rgba(16,185,129,0.12); flex: 0 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.pricing-note { margin: 0; font-style: italic; color: var(--text-soft); font-size: 0.9rem; line-height: 1.6; }

/* ── FAQ ── */
.faq-list { display: grid; gap: 1rem; max-width: 920px; }
.faq-item {
  background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid rgba(33,150,243,0.08); transition: transform var(--ease), box-shadow var(--ease);
}
.faq-item:hover { transform: translateY(-2px); box-shadow: 0 20px 36px rgba(33,150,243,0.12); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 1.4rem; background: transparent; border: 0; text-align: left; cursor: pointer;
  color: var(--text); font-size: 1.02rem; font-weight: 700;
}
.faq-plus {
  width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; flex: 0 0 auto;
  background: rgba(33,150,243,0.08); color: var(--primary-dark); transition: transform var(--ease), background var(--ease);
}
.faq-item.active .faq-plus { transform: rotate(45deg); background: rgba(33,150,243,0.14); }
.faq-item.active { background: linear-gradient(180deg, #fff, #f8fbff); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 260ms ease; }
.faq-answer-inner { padding: 0 1.4rem 1.4rem; color: var(--text-muted); line-height: 1.82; }

/* ── CTA ── */
.cta-panel {
  position: relative; overflow: hidden; padding: 3.5rem; border-radius: 34px; color: #fff; text-align: center;
  background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 52%, #1565c0 100%);
  box-shadow: 0 28px 70px rgba(30,136,229,0.24);
}
.cta-panel::before {
  content: ""; position: absolute; left: -60px; bottom: -100px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(255,255,255,0.08);
}
.cta-panel::after {
  content: ""; position: absolute; right: -40px; top: -80px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255,255,255,0.06);
}
.cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { margin: 0 0 1.2rem; font-size: clamp(2.4rem,4.5vw,3.8rem); line-height: 1.05; letter-spacing: -0.05em; }
.cta-inner p { margin: 0 0 2.2rem; color: rgba(255,255,255,0.86); line-height: 1.85; font-size: 1.12rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.95rem; justify-content: center; }
.cta-actions .store-btn { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(10px); }
.cta-logo { margin: 2rem auto 0; opacity: 0.5; height: 2rem; width: auto; filter: brightness(10); }

/* ── Footer ── */
.footer { margin-top: 5rem; padding: 2.5rem 0 2.8rem; background: #0e1522; color: rgba(255,255,255,0.82); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-info { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.75); font-weight: 600; font-size: 0.92rem; transition: color var(--ease); }
.footer-links a:hover { color: #fff; }
.copyright { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); font-size: 0.88rem; text-align: center; }

/* ── Animations ── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms ease; transition-delay: var(--delay, 0ms); }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
.hero-sequence { opacity: 0; transform: translateY(16px); animation: heroRise 0.85s cubic-bezier(0.2,0.8,0.2,1) forwards; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.38s; }
@keyframes heroRise { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-with-img { grid-template-columns: 1fr auto; }
  .encrypt-demo { grid-template-columns: 1fr; }
  .trust-points { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .security-steps { grid-template-columns: 1fr; gap: 1rem; }
  .security-step-arrow { transform: rotate(90deg); padding-top: 0; }
}

@media (max-width: 920px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .problem-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 0.75rem); left: 0; right: 0; flex-direction: column;
    align-items: flex-start; padding: 1rem 1.15rem; border-radius: 24px; background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .carousel-dots { width: fit-content; margin-left: auto; margin-right: auto; }
  .carousel-dot { flex-shrink: 0; }
  .section { padding: 5rem 0; }
  .nav-wrap { padding-top: 0.65rem; }
  .nav { height: 72px; padding: 0 0.85rem 0 1rem; }
  .hero { padding-top: 2.2rem; padding-bottom: 4.25rem; }
  .hero h1 { font-size: clamp(2rem,10vw,3.15rem); }
  .hero p, .section-head p { font-size: 1rem; line-height: 1.78; }
  .hero-actions, .cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; }
  .store-btn { width: auto; min-width: 160px; max-width: 220px; justify-content: center; }
  .trust-inline { width: fit-content; max-width: 100%; justify-content: center; margin-left: auto; margin-right: auto; }
  .phone-shell { width: min(310px,100%); }
  .hero-visual { margin-top: 1.5rem; }
  .hero-preview { transform: none; animation: none; }
  .security-panel, .cta-panel { padding: 2rem 1.3rem; }
  .trust-points { grid-template-columns: 1fr; }
  .trust-inline { gap: 0.6rem; }
  .trust-inline span { width: 100%; justify-content: center; text-align: center; }
  .mock-doc-zone { height: 155px; }
  .mock-results { padding: 0 0.7rem 0.75rem; gap: 0.42rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .feature-card-with-img { grid-template-columns: 1fr; }
  .feature-card-with-img .feature-phone { display: none; }
  .faq-question { padding: 1.15rem 1rem; font-size: 0.98rem; }
}