/* =========================================================
   WAVELENGTH — a real-time messaging app landing page
   Palette: electric violet -> coral -> cyan, dark glass
   ========================================================= */

:root {
  --void: #07060d;
  --void-2: #0c0a17;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --border-glass: rgba(255, 255, 255, 0.14);
  --border-glass-soft: rgba(255, 255, 255, 0.08);

  --violet: #8b5cf6;
  --violet-soft: #a78bfa;
  --coral: #ff6b6b;
  --coral-soft: #ff9472;
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;

  --grad-brand: linear-gradient(115deg, var(--violet) 0%, var(--coral) 52%, var(--cyan) 100%);
  --grad-brand-soft: linear-gradient(115deg, rgba(139,92,246,0.35) 0%, rgba(255,107,107,0.30) 52%, rgba(34,211,238,0.35) 100%);

  --text-primary: #f6f5f9;
  --text-muted: #a3a1b8;
  --text-dim: #706e88;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--void);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--violet); color: #fff; }

/* -------------------- background mesh -------------------- */

.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--void);
}

.mesh-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: url("assets/mesh-texture.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  filter: saturate(1.15) brightness(0.9);
  animation: meshDrift 34s ease-in-out infinite alternate;
}

.mesh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 18% 8%, rgba(139,92,246,0.30), transparent 60%),
              radial-gradient(ellipse 55% 40% at 85% 18%, rgba(34,211,238,0.24), transparent 60%),
              radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,107,107,0.20), transparent 65%),
              linear-gradient(180deg, rgba(7,6,13,0.2) 0%, rgba(7,6,13,0.75) 60%, var(--void) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.08) rotate(2deg); }
  100% { transform: translate3d(2%, -1%, 0) scale(1.04) rotate(-1.5deg); }
}

/* -------------------- glass utility -------------------- */

.glass {
  background: var(--panel);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.08) inset,
              0 30px 60px -30px rgba(0,0,0,0.6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-brand);
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------- nav -------------------- */

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1080px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 22px;
  border-radius: 999px;
  transition: box-shadow 0.4s var(--ease-soft);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav-logo-mark {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav-logo-mark span {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--grad-brand);
  animation: navWave 1.6s ease-in-out infinite;
}
.nav-logo-mark span:nth-child(1) { height: 8px; animation-delay: -1.2s; }
.nav-logo-mark span:nth-child(2) { height: 18px; animation-delay: -0.9s; }
.nav-logo-mark span:nth-child(3) { height: 12px; animation-delay: -0.6s; }
.nav-logo-mark span:nth-child(4) { height: 20px; animation-delay: -0.3s; }
.nav-logo-mark span:nth-child(5) { height: 9px; animation-delay: 0s; }

@keyframes navWave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.nav-links a { transition: color 0.25s var(--ease-soft); }
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--void);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -6px rgba(255,255,255,0.25); }

.nav-toggle { display: none; }

/* -------------------- hero -------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -15% -20% -35% -30%;
  background-image: url("assets/hero-mesh.webp");
  background-size: cover;
  background-position: 15% 60%;
  opacity: 0.16;
  filter: blur(14px) saturate(1.05);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy { max-width: 620px; }

.hero-eyebrow { margin-bottom: 26px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }

.kinetic-word {
  display: inline-block;
  white-space: pre;
}

.kinetic-char {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  background: var(--grad-brand);
  color: #0a0714;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  box-shadow: 0 16px 40px -14px rgba(139,92,246,0.55);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 48px -12px rgba(255,107,107,0.5); }

.btn-ghost {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  background: var(--panel);
  backdrop-filter: blur(18px);
  transition: border-color 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); background: var(--panel-strong); }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
}
.avatar-stack span {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--void);
  margin-left: -10px;
  background: var(--grad-brand);
  display: block;
}
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack span:nth-child(1) { background: linear-gradient(135deg, var(--violet), var(--violet-soft)); }
.avatar-stack span:nth-child(2) { background: linear-gradient(135deg, var(--coral), var(--coral-soft)); }
.avatar-stack span:nth-child(3) { background: linear-gradient(135deg, var(--cyan), var(--cyan-soft)); }
.avatar-stack span:nth-child(4) { background: linear-gradient(135deg, var(--violet-soft), var(--cyan)); }

.hero-proof p { font-size: 13.5px; color: var(--text-muted); }
.hero-proof strong { color: var(--text-primary); }

/* -------------------- phone mockup -------------------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
}

.orb-decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.9;
  pointer-events: none;
  background-size: cover;
  background-position: center;
}

.orb-decor.orb-1 {
  width: 340px; height: 340px;
  top: -8%; left: -18%;
  background-image: url("assets/glass-orb.webp");
  opacity: 0.85;
}

.orb-decor.orb-2 {
  width: 260px; height: 340px;
  bottom: -10%; right: -14%;
  border-radius: 40%;
  background-image: url("assets/glass-panels.webp");
  opacity: 0.7;
}

.section-art {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  filter: saturate(1.1);
}

.section-art.art-ribbon {
  top: -6%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 92%);
  opacity: 0.35;
  mix-blend-mode: screen;
}

.section-art.art-cluster {
  bottom: -12%;
  right: -8%;
  width: 420px;
  opacity: 0.4;
}

.section-art.art-card {
  top: -14%;
  left: -10%;
  width: 320px;
  opacity: 0.35;
}

.phone-frame {
  position: relative;
  width: 300px;
  height: 610px;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02));
  border: 1px solid var(--border-glass);
  box-shadow:
    0 40px 90px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 60px 140px -40px rgba(139,92,246,0.35);
  backdrop-filter: blur(30px);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: var(--void);
  border-radius: 20px;
  z-index: 5;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(175deg, #14101f 0%, #0a0812 60%, #0d0a16 100%);
  display: flex;
  flex-direction: column;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.phone-chatheader {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.phone-chatheader .ava {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad-brand);
}

.phone-chatheader .who { font-size: 13.5px; font-weight: 600; }
.phone-chatheader .status { font-size: 11px; color: var(--cyan-soft); display: flex; align-items: center; gap: 5px; }
.phone-chatheader .status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-soft);
  box-shadow: 0 0 8px var(--cyan-soft);
}

.phone-chatbody {
  flex: 1;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
}

.bubble {
  max-width: 76%;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  border-radius: 18px;
  opacity: 0;
}

.bubble.in {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom-left-radius: 5px;
  color: #ece9f5;
}

.bubble.out {
  align-self: flex-end;
  background: var(--grad-brand);
  color: #14091a;
  font-weight: 500;
  border-bottom-right-radius: 5px;
}

.bubble.typing {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom-left-radius: 5px;
  display: flex;
  gap: 4px;
  padding: 13px 16px;
}
.bubble.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
  animation: typingDot 1.2s ease-in-out infinite;
}
.bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.phone-inputbar {
  margin: 0 16px 18px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  font-size: 12.5px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-inputbar .send {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad-brand);
}

.float-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
  will-change: transform;
}

.float-card.card-encrypt { top: -4%; left: -12%; }
.float-card.card-sync { bottom: 18%; right: -13%; }
.float-card.card-fast { top: 44%; left: -16%; }

.float-card .ic {
  width: 18px; height: 18px;
  border-radius: 6px;
  background: var(--grad-brand);
  flex-shrink: 0;
}

/* -------------------- waveform divider -------------------- */

.waveform-divider {
  padding: 0 0 10px;
  display: flex;
  justify-content: center;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 46px;
  width: 100%;
  max-width: 720px;
}
.waveform span {
  flex: 1;
  max-width: 5px;
  border-radius: 3px;
  background: var(--grad-brand);
  opacity: 0.5;
  transform: scaleY(0.15);
  transform-origin: center;
}

/* -------------------- section shell -------------------- */

section { position: relative; padding: 130px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head .eyebrow { margin-bottom: 20px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.6;
}

/* -------------------- features -------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 34px 32px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}

.feature-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.28); }

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  background: var(--panel-strong);
  border: 1px solid var(--border-glass-soft);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 26px;
}

/* mini demo: speed */
.demo-speed {
  height: 64px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.demo-speed span {
  flex: 1;
  height: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--grad-brand);
  opacity: 0.35;
  transform: scaleY(0.2);
  transform-origin: bottom;
}

/* mini demo: privacy lock */
.demo-lock {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.demo-lock .ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.14);
  border-top-color: var(--cyan);
  position: absolute;
}
.demo-lock .core {
  width: 22px; height: 18px;
  border-radius: 5px;
  background: var(--grad-brand);
  position: relative;
}
.demo-lock .core::before {
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border: 2px solid var(--cyan-soft);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

/* mini demo: group avatars */
.demo-group {
  height: 64px;
  display: flex;
  align-items: center;
}
.demo-group .g-ava {
  width: 40px; height: 40px;
  border-radius: 50%;
  margin-left: -14px;
  border: 2.5px solid var(--void-2);
}
.demo-group .g-ava:first-child { margin-left: 0; }
.demo-group .g-ava:nth-child(1) { background: linear-gradient(135deg, var(--violet), var(--violet-soft)); }
.demo-group .g-ava:nth-child(2) { background: linear-gradient(135deg, var(--coral), var(--coral-soft)); }
.demo-group .g-ava:nth-child(3) { background: linear-gradient(135deg, var(--cyan), var(--cyan-soft)); }
.demo-group .g-ava:nth-child(4) {
  background: var(--panel-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
}

/* mini demo: cross platform */
.demo-platform {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.demo-platform .plat {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--panel-strong);
  border: 1px solid var(--border-glass-soft);
  position: relative;
}
.demo-platform .plat::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 4px;
  background: var(--grad-brand);
  opacity: 0.5;
}
.demo-platform .beam {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.demo-platform .beam-glow {
  position: absolute;
  top: -3px; left: 0;
  width: 26%; height: 8px;
  background: #fff;
  filter: blur(3px);
  border-radius: 4px;
  transform: translateX(-100%);
}

/* -------------------- how it works -------------------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.steps-line {
  position: absolute;
  top: 30px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(255,255,255,0.12);
  z-index: 0;
}
.steps-line-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--grad-brand);
}

.step {
  position: relative;
  z-index: 1;
  padding: 8px 4px;
}

.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 26px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 300px;
}

/* -------------------- testimonials -------------------- */

.wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.t-card {
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.5s var(--ease-out);
}
.t-card:hover { transform: translateY(-6px); }

.t-card .stars { color: var(--coral-soft); font-size: 13px; letter-spacing: 2px; margin-bottom: 18px; }

.t-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #e5e3ee;
  margin-bottom: 24px;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-person .ava {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad-brand);
}
.t-person .name { font-size: 13.5px; font-weight: 600; }
.t-person .role { font-size: 12px; color: var(--text-dim); }

.t-card:nth-child(1) .ava { background: linear-gradient(135deg, var(--violet), var(--coral)); }
.t-card:nth-child(2) .ava { background: linear-gradient(135deg, var(--coral), var(--cyan)); }
.t-card:nth-child(3) .ava { background: linear-gradient(135deg, var(--cyan), var(--violet)); }

/* -------------------- pricing -------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.price-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
}

.price-card.featured {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 0 0 1px rgba(139,92,246,0.25) inset, 0 40px 80px -30px rgba(139,92,246,0.4);
}

.price-tag {
  position: absolute;
  top: -13px; right: 32px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #12081c;
}

.price-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.price-card .price-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }

.price-amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.price-amount span { font-size: 15px; font-weight: 500; color: var(--text-muted); }

.price-card ul { margin: 28px 0 32px; display: flex; flex-direction: column; gap: 13px; }
.price-card li { font-size: 14px; color: #d9d7e6; display: flex; align-items: center; gap: 10px; }
.price-card li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex-shrink: 0;
}

.price-card .btn-ghost, .price-card .btn-primary { width: 100%; justify-content: center; }

/* -------------------- final cta -------------------- */

.cta-panel {
  border-radius: 34px;
  padding: 74px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 120%, rgba(139,92,246,0.35), transparent 60%);
  pointer-events: none;
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-panel p { color: var(--text-muted); font-size: 16.5px; margin-bottom: 38px; }

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  background: var(--panel-strong);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.store-btn:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.35); }
.store-btn .glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}
.store-btn .lines { text-align: left; }
.store-btn .lines small { display: block; font-size: 10.5px; color: var(--text-dim); }
.store-btn .lines strong { font-family: var(--font-display); font-size: 15px; }

/* -------------------- footer -------------------- */

footer { padding: 60px 0 40px; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 44px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-glass-soft);
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 13.5px; max-width: 260px; line-height: 1.6; }

.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 12px; transition: color 0.25s; }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-credit { opacity: 0.85; }

/* -------------------- reveal utility -------------------- */

.reveal { opacity: 0; transform: translateY(28px); }

/* -------------------- responsive -------------------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; margin-top: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 46px; justify-items: center; }
  .steps-line { display: none; }
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 360px;
  }
  .step p { max-width: 320px; margin-left: auto; margin-right: auto; }
  .wall { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 130px 0 70px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { justify-content: center; }
  section { padding: 90px 0; }
  .phone-frame { width: 260px; height: 530px; }
  .float-card { display: none; }
  .nav { padding: 10px 10px 10px 18px; top: 12px; }
  .nav-cta { padding: 9px 16px; font-size: 13px; }
  .cta-panel { padding: 54px 24px; }
  .footer-cols { gap: 32px; }
}
