/* Attenya — premium marketing site
   Design system + Apple-like motion (scroll reveal, 3D tilt, parallax, aurora). */

:root {
  --navy-950: #070d16;
  --navy-900: #0a111c;
  --navy-800: #0e1721;
  --navy-700: #131f2e;
  --navy-card: #16202e;
  --navy-raised: #1b2738;
  --gold: #e3b24c;
  --gold-soft: #f0cd86;
  --gold-deep: #c8922f;
  --crystal-1: #6b9edb;
  --crystal-2: #8f66c7;
  --green: #1fa97e;
  --text: #f4f6fa;
  --text-muted: #9aa6b8;
  --text-dim: #6b7890;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1120px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(227, 178, 76, 0.32); color: var(--text); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.muted { color: var(--text-muted); }
.grad-text {
  background: linear-gradient(120deg, var(--crystal-1), var(--crystal-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gold-text { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #2a1e05; transition: transform .18s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 8px 26px rgba(227, 178, 76, 0.28); border: none; cursor: pointer;
  min-height: 44px; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(227, 178, 76, 0.42); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  border: 1px solid var(--hairline-strong); box-shadow: none; backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
@media (max-width: 760px) {
  .btn { padding: 11px 18px; font-size: 14.5px; min-height: 44px; }
  /* hero CTAs stay inline (not full-width), comfortable tap targets */
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: auto; }
  .hero-cta .btn-ghost { padding: 10px 14px; }
}

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(160%) blur(18px);
  background: rgba(7, 13, 22, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
nav.scrolled { border-bottom-color: var(--hairline); background: rgba(7, 13, 22, 0.86); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; letter-spacing: 0.2px; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.nav-links { display: flex; gap: 30px; font-size: 15px; }
.nav-links a { color: var(--text-muted); transition: color .2s; -webkit-tap-highlight-color: transparent; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.lang { color: var(--text-muted); font-size: 13.5px; font-weight: 700; border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 12px; transition: color .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.lang:hover { color: var(--text); border-color: var(--hairline-strong); }

/* ---------- Mobile nav: hamburger + drawer ---------- */
.nav-burger {
  display: none; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--hairline-strong); cursor: pointer; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger svg { width: 20px; height: 20px; }
.nav-burger .x { display: none; }
.nav-burger[aria-expanded="true"] .b { display: none; }
.nav-burger[aria-expanded="true"] .x { display: block; }
.nav-drawer {
  display: none; position: fixed; left: 0; right: 0; top: 60px; height: calc(100vh - 60px); z-index: 55;
  background: var(--navy-950);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  padding: 18px 18px 32px; flex-direction: column; gap: 2px; overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  padding: 18px 14px; font-size: 17px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--hairline); -webkit-tap-highlight-color: transparent;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer .btn { margin-top: 22px; align-self: stretch; justify-content: center; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
  nav .wrap { height: 60px; }
  /* Compact top-bar CTA: text only, no big pill */
  .nav-cta .btn { padding: 8px 14px; font-size: 14px; min-height: 36px; box-shadow: none; }
  .nav-cta .btn:hover { transform: none; box-shadow: 0 8px 26px rgba(227, 178, 76, 0.28); }
  .lang { font-size: 12.5px; padding: 5px 10px; }
}

body.no-scroll { overflow: hidden; }

/* ---------- Aurora background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: drift 22s ease-in-out infinite;
}
.aurora .a1 { width: 620px; height: 620px; left: -10%; top: -12%; background: radial-gradient(circle, rgba(143,102,199,0.5), transparent 65%); }
.aurora .a2 { width: 560px; height: 560px; right: -8%; top: 8%; background: radial-gradient(circle, rgba(107,158,219,0.42), transparent 65%); animation-delay: -7s; }
.aurora .a3 { width: 520px; height: 520px; left: 30%; top: 46%; background: radial-gradient(circle, rgba(227,178,76,0.18), transparent 65%); animation-delay: -13s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 24px) scale(0.96); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 60px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(42px, 6.4vw, 74px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em;
  margin: 18px 0 20px; text-wrap: balance;
}
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-muted); margin-bottom: 30px; line-height: 1.55; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.slogan-strip { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }
.slogan-strip span { font-size: 13.5px; color: var(--text-dim); padding: 7px 15px; border: 1px solid var(--hairline); border-radius: 999px; }

/* hero visual: floating crystal + phone */
.hero-visual { position: relative; height: 540px; display: grid; place-items: center; }
.crystal-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.crystal-float { animation: floaty 6s ease-in-out infinite; will-change: transform; }
@keyframes floaty { 0%,100% { transform: translateY(-8px); } 50% { transform: translateY(14px); } }
.crystal-glow {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,102,199,0.5), rgba(107,158,219,0.18) 45%, transparent 70%);
  filter: blur(20px); animation: pulse 4.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .55; transform: scale(.96); } 50% { opacity: .9; transform: scale(1.06); } }
.hero-visual .crystal-svg { max-width: 100%; height: auto; }

@media (max-width: 900px) {
  .hero { padding: 36px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .hero-copy { margin: 0 auto; max-width: 100%; }
  .hero h1 { font-size: clamp(32px, 8.4vw, 40px); line-height: 1.14; letter-spacing: -0.02em; margin: 12px 0 14px; text-wrap: balance; }
  .hero p.lead { font-size: 16.5px; margin-bottom: 22px; line-height: 1.55; }
  .hero-cta, .slogan-strip { justify-content: center; }
  .hero-visual { height: 240px; order: -1; }
  .crystal-glow { width: 220px; height: 220px; }
  .hero-visual .crystal-svg { width: 160px; height: auto; }
  .slogan-strip { margin-top: 22px; gap: 8px; }
  .slogan-strip span { font-size: 12.5px; padding: 6px 12px; }
}

/* ---------- Device frame ---------- */
.device {
  position: relative; width: 270px; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #2a3344, #11192600);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), inset 0 0 0 1.5px rgba(255,255,255,0.08);
}
.device::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #05080d; border-radius: 0 0 16px 16px; z-index: 3;
}
.device .screen { border-radius: 32px; overflow: hidden; background: #0e1721; aspect-ratio: 9/19.5; }
.device .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tilt { transform-style: preserve-3d; transition: transform .25s var(--ease); will-change: transform; }

/* ---------- Sections ---------- */
section { padding: 92px 0; position: relative; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.025em; margin: 14px 0 16px; line-height: 1.15; }
.section-head p { font-size: 18px; color: var(--text-muted); }

@media (max-width: 760px) {
  section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(26px, 7vw, 34px); }
  .section-head p { font-size: 16px; }
  .wrap { padding: 0 18px; }
}

/* Manifesto */
.manifesto { background: linear-gradient(180deg, var(--navy-950), var(--navy-800)); text-align: center; }
.manifesto h2 {
  font-size: clamp(28px, 5vw, 54px); font-weight: 800; max-width: 900px; margin: 0 auto;
  letter-spacing: -0.025em; line-height: 1.2;
}
.manifesto h2 em { font-style: normal; color: var(--gold); }

@media (max-width: 760px) {
  .manifesto { padding: 48px 0; }
  .manifesto h2 { font-size: clamp(22px, 6vw, 30px); line-height: 1.3; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: linear-gradient(180deg, var(--navy-card), var(--navy-800));
  border: 1px solid var(--hairline); border-radius: var(--radius); padding: 34px 28px;
  position: relative; overflow: hidden;
}
.step::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(227,178,76,0.35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s;
}
.step:hover::after { opacity: 1; }
.step .num {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-weight: 800;
  background: rgba(227,178,76,0.12); color: var(--gold); margin-bottom: 20px; font-size: 18px;
}
.step h3 { font-size: 22px; margin-bottom: 9px; font-weight: 700; }
.step p { color: var(--text-muted); font-size: 15.5px; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 26px 22px; }
  .step .num { width: 38px; height: 38px; font-size: 16px; margin-bottom: 14px; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 15px; }
}

/* Showcase (alternating phone + text) */
.showcase-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 110px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse .showcase-text { order: 2; }
.showcase-phone { display: grid; place-items: center; perspective: 1200px; }
.showcase-text h3 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2; }
.showcase-text p { color: var(--text-muted); font-size: 17px; margin-bottom: 14px; line-height: 1.6; }
.showcase-list { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.showcase-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 15.5px; line-height: 1.5; }
.showcase-list svg { flex: 0 0 auto; margin-top: 2px; }
@media (max-width: 860px) {
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .showcase-row.reverse .showcase-text { order: 0; }
  .showcase-text { text-align: left; }
  .showcase-text h3 { font-size: 24px; }
  .showcase-text p { font-size: 16px; }
  .showcase-list { margin-top: 14px; gap: 10px; }
  .showcase-list li { font-size: 15px; }
  /* shrink device on mobile so it doesn't dominate */
  .showcase-row .device { width: 220px; }
  .showcase-row .device::before { width: 76px; height: 22px; }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: var(--navy-card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.feat:hover { transform: translateY(-6px); border-color: var(--hairline-strong); background: var(--navy-raised); }
.feat .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, rgba(107,158,219,0.18), rgba(143,102,199,0.18));
}
.feat h3 { font-size: 19px; margin-bottom: 8px; font-weight: 700; }
.feat p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; gap: 14px; }
  .feat { padding: 24px 22px; }
}

/* Pricing */
.pricing { background: linear-gradient(180deg, var(--navy-800), var(--navy-950)); }
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.plan {
  background: var(--navy-card); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 36px 32px;
  display: flex; flex-direction: column;
}
.plan.pro {
  position: relative; border-color: rgba(227,178,76,0.5);
  background: linear-gradient(180deg, #1b2536, var(--navy-card));
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.plan.pro::before {
  content: "Most popular"; position: absolute; top: -13px; left: 32px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: #2a1e05;
  font-size: 12px; font-weight: 800; padding: 5px 13px; border-radius: 999px;
}
.plan .plan-name { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.plan.pro .plan-name { color: var(--gold); }
.plan .price { font-size: 42px; font-weight: 800; margin: 14px 0 4px; letter-spacing: -0.02em; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--text-muted); }
.plan .price-sub { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 13px; margin-bottom: 28px; flex: 1; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-muted); line-height: 1.5; }
.plan li b { color: var(--text); font-weight: 600; }
.plan li svg { flex: 0 0 auto; margin-top: 3px; }
.plan .btn { width: 100%; justify-content: center; -webkit-tap-highlight-color: transparent; }
.price-foot { text-align: center; color: var(--text-dim); font-size: 13px; margin: 26px auto 0; max-width: 780px; line-height: 1.55; }
.price-foot strong { color: var(--text-muted); font-weight: 600; }
@media (max-width: 800px) {
  .plans { grid-template-columns: 1fr; gap: 18px; }
  .plan { padding: 28px 22px; }
  .plan .price { font-size: 36px; }
  .plan ul { gap: 11px; margin-bottom: 22px; }
  .plan li { font-size: 14.5px; }
}

/* Free vs Pro device pair above the plan cards */
.plan-visual { display: flex; gap: 48px; justify-content: center; align-items: flex-end; margin: 0 auto 60px; perspective: 1200px; flex-wrap: wrap; }
.pv-item { display: grid; justify-items: center; gap: 16px; }
.pv-label { font-size: 14px; font-weight: 700; color: var(--text-muted); }
.pv-label.gold { color: var(--gold); }
.device.sm { width: 196px; border-radius: 34px; padding: 9px; }
.device.sm .screen { border-radius: 26px; }
.device.sm::before { width: 68px; height: 19px; top: 14px; }
.plan-visual .device { animation: wobble 9s ease-in-out infinite; }
.plan-visual .pv-item:nth-child(2) .device { animation-delay: -4.5s; }
@media (max-width: 760px) {
  .plan-visual { gap: 18px; margin-bottom: 40px; }
  .plan-visual .device.sm { width: 130px; border-radius: 26px; padding: 7px; }
  .plan-visual .device.sm::before { width: 50px; height: 14px; top: 10px; }
  .plan-visual .device.sm .screen { border-radius: 20px; }
  .pv-label { font-size: 12.5px; }
}

/* Privacy band */
.privacy-band { background: var(--navy-950); text-align: center; }
.privacy-band .shield { width: 64px; height: 64px; margin: 0 auto 24px; }
.privacy-band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2; }
.privacy-band p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 18px; line-height: 1.55; }
.privacy-points { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.privacy-points span { color: var(--text); font-size: 15px; display: flex; align-items: center; gap: 8px; }

@media (max-width: 760px) {
  .privacy-band .shield { width: 52px; height: 52px; margin-bottom: 18px; }
  .privacy-band p { font-size: 16px; }
  .privacy-points { gap: 14px 18px; margin-top: 26px; }
  .privacy-points span { font-size: 14px; }
}

/* CTA band */
.cta-band { text-align: center; padding: 100px 0; }
.cta-band h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 18px; line-height: 1.15; }
.cta-band > .wrap > p { color: var(--text-muted); font-size: 19px; margin: 0 auto 30px; max-width: 620px; line-height: 1.55; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--hairline-strong); border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; background: rgba(227,178,76,0.08); }
.cta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(227,178,76,0.7); animation: cta-pulse 2.4s ease-in-out infinite; }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227,178,76,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(227,178,76,0); }
}
.cta-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.cta-cta .btn { width: auto; }
.cta-fine { font-size: 13.5px !important; color: var(--text-dim) !important; margin-top: 14px !important; max-width: 520px !important; }
@media (max-width: 760px) {
  .cta-band { padding: 64px 0; }
  .cta-band > .wrap > p { font-size: 16px; }
  .cta-cta { flex-direction: column; align-items: stretch; }
  .cta-cta .btn { width: 100%; justify-content: center; }
  .cta-eyebrow { font-size: 11.5px; padding: 5px 12px; }
}

/* Footer */
footer { border-top: 1px solid var(--hairline); padding: 56px 0 40px; background: var(--navy-950); }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-brand { max-width: 280px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--text-muted); font-size: 14.5px; margin-bottom: 10px; transition: color .2s; -webkit-tap-highlight-color: transparent; }
.foot-col a:hover { color: var(--text); }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hairline); color: var(--text-dim); font-size: 13px; text-align: center; }

@media (max-width: 760px) {
  footer { padding: 40px 0 28px; }
  footer .wrap { flex-direction: column; gap: 28px; }
  .foot-brand { max-width: 100%; }
  .foot-cols { gap: 28px; }
  .foot-col a { padding: 4px 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 100px; }
.legal .back { color: var(--gold); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 30px; -webkit-tap-highlight-color: transparent; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; line-height: 1.15; }
.legal .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.legal .note { background: var(--navy-card); border: 1px solid var(--hairline); border-radius: 14px; padding: 16px 18px; color: var(--text-muted); font-size: 14.5px; margin: 24px 0 36px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 38px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-muted); font-size: 15.5px; margin-bottom: 12px; line-height: 1.65; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold); }
.legal strong { color: var(--text); }
.legal .tag { display: inline-block; font-size: 12px; color: var(--text-dim); border: 1px solid var(--hairline); border-radius: 999px; padding: 3px 11px; margin-bottom: 26px; }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: rgba(255,255,255,0.06); border: 1px solid var(--hairline); border-radius: 6px; padding: 1px 6px; color: var(--text); }
.cookie-table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 14px; border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; }
.cookie-table th, .cookie-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; color: var(--text-muted); line-height: 1.5; }
.cookie-table thead th { background: var(--navy-card); color: var(--text); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; }
.cookie-table tbody tr:last-child td { border-bottom: none; }
.cookie-table td:first-child { white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--gold); }
.cookie-table code { background: transparent; border: none; padding: 0; color: var(--gold); font-size: 13px; }
@media (max-width: 760px) {
  .cookie-table { font-size: 13px; }
  .cookie-table th, .cookie-table td { padding: 10px 10px; }
  .cookie-table thead { display: none; }
  .cookie-table tr { display: block; border-bottom: 1px solid var(--hairline); padding: 8px 0; }
  .cookie-table tr:last-child { border-bottom: none; }
  .cookie-table td { display: block; border-bottom: none; padding: 4px 10px; }
  .cookie-table td:first-child { padding-top: 8px; padding-bottom: 2px; }
  .cookie-table td:nth-child(2)::before { content: "Zweck: "; color: var(--text-dim); font-weight: 700; }
  .cookie-table td:nth-child(3)::before { content: "Dauer: "; color: var(--text-dim); font-weight: 700; }
  .cookie-table td:nth-child(4)::before { content: "Aktiv: "; color: var(--text-dim); font-weight: 700; }
  .cookie-table td:nth-child(5)::before { content: "Rechtsgrundlage: "; color: var(--text-dim); font-weight: 700; }
}

@media (max-width: 760px) {
  .legal { padding: 36px 18px 64px; }
  .legal h2 { font-size: 20px; margin-top: 30px; }
  .legal h3 { font-size: 16px; }
  .legal p, .legal li { font-size: 15px; }
}

/* ---------- Why / FAQ ---------- */
.why { background: var(--navy-950); }
.faq { background: linear-gradient(180deg, var(--navy-950), var(--navy-800)); }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--navy-card); border: 1px solid var(--hairline); border-radius: 14px; padding: 2px 22px; transition: border-color .25s; }
.faq details[open] { border-color: var(--hairline-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; line-height: 1.4; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: 700; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-muted); font-size: 15.5px; padding: 0 0 18px; margin: 0; line-height: 1.6; }
@media (max-width: 760px) {
  .faq details { padding: 2px 18px; }
  .faq summary { font-size: 15.5px; padding: 16px 0; }
  .faq details p { font-size: 14.5px; }
}

/* ---------- Comparison table ---------- */
.compare { background: linear-gradient(180deg, var(--navy-800), var(--navy-950)); }
.compare-table { max-width: 940px; margin: 0 auto; border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; }
.ct-row { display: grid; grid-template-columns: 0.85fr 1fr 1fr; }
.ct-row.ct-head { background: var(--navy-card); font-weight: 700; }
.ct-head .ct-cell { color: var(--text-muted); font-size: 14px; }
.ct-head .ct-pro { color: var(--gold); }
.ct-aspect { padding: 18px 20px; font-weight: 700; font-size: 14.5px; color: var(--text); display: flex; align-items: center; }
.ct-cell { padding: 18px 20px; font-size: 14.5px; color: var(--text-muted); }
.ct-row + .ct-row .ct-aspect, .ct-row + .ct-row .ct-cell { border-top: 1px solid var(--hairline); }
.ct-good { background: rgba(227, 178, 76, 0.06); color: var(--text); }
.ct-bad::before { content: "✕"; color: var(--text-dim); font-weight: 800; margin-right: 9px; }
.ct-good::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 9px; }
.ct-l { display: none; }
@media (max-width: 760px) {
  /* Stack the comparison into one card per aspect; keep the Attenya answer visually highlighted. */
  .compare-table { border: none; border-radius: 0; overflow: visible; background: transparent; }
  .ct-row { grid-template-columns: 1fr; background: var(--navy-card); border: 1px solid var(--hairline); border-radius: 14px; padding: 14px 16px 16px; margin-bottom: 12px; }
  .ct-row.ct-head { display: none; }
  .ct-row + .ct-row .ct-aspect, .ct-row + .ct-row .ct-cell { border-top: none; }
  .ct-aspect { padding: 0 0 10px; font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); border-bottom: 1px solid var(--hairline); }
  .ct-cell { padding: 11px 0 0; border-top: none !important; font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
  .ct-cell::before { display: inline; margin-right: 8px; }
  .ct-cell.ct-bad { color: var(--text-dim); }
  .ct-cell.ct-good { color: var(--text); background: rgba(227, 178, 76, 0.09); border: 1px solid rgba(227, 178, 76, 0.22); border-radius: 12px; padding: 11px 13px; margin-top: 10px; }
  .ct-l { display: inline-block; min-width: 58px; color: var(--text-dim); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-right: 6px; }
  .ct-cell.ct-good .ct-l { color: var(--gold); }
}

/* ---------- Reclaim your year ---------- */
.reclaim { background: var(--navy-950); }
.reclaim-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; background: linear-gradient(180deg, var(--navy-card), var(--navy-800)); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 40px; max-width: 1000px; margin: 0 auto; }
.reclaim-label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-muted); text-transform: uppercase; }
.reclaim-chips { display: flex; gap: 8px; margin: 12px 0 22px; flex-wrap: wrap; }
.reclaim-chips button { font: inherit; font-weight: 700; font-size: 15px; color: var(--text); background: var(--navy-raised); border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.reclaim-chips button.on { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: #2a1e05; border-color: transparent; }
.reclaim-number { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; color: #e8973f; letter-spacing: -0.02em; }
.reclaim-number span { font-variant-numeric: tabular-nums; }
.reclaim-caption { color: var(--text-muted); font-size: 15px; margin-top: 14px; line-height: 1.55; }
.reclaim-caption span { color: var(--text); font-weight: 700; }
.year-grid { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; }
.year-grid .dot { aspect-ratio: 1; border-radius: 50%; background: var(--navy-raised); transition: background .35s var(--ease); }
.year-grid .dot.lost { background: linear-gradient(180deg, #f0a94c, #df722a); }
.year-legend { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--text-dim); flex-wrap: wrap; }
.year-legend .lg { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.year-legend .lg.lost { background: #e0832c; }
.year-legend .lg.keep { background: var(--navy-raised); margin-left: 14px; }
@media (max-width: 820px) {
  .reclaim-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .reclaim-chips { gap: 8px; margin: 10px 0 18px; }
  .reclaim-chips button { flex: 1 1 auto; min-width: 64px; }
  .year-grid { gap: 3px; }
}

/* ---------- Crystal gloss: sweeping glint + sparkles ---------- */
.crystal-svg { overflow: visible; }
.glint-rect { animation: glint 5s ease-in-out infinite; will-change: transform; }
@keyframes glint {
  0% { transform: translateX(-70px); }
  26% { transform: translateX(250px); }
  100% { transform: translateX(250px); }
}
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.spark.s2 { animation-delay: .9s; }
.spark.s3 { animation-delay: 1.7s; }
@keyframes twinkle {
  0%, 100% { opacity: .12; transform: scale(.5) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

/* ---------- Phones: idle float + 3D wobble + glass sheen ---------- */
.phone-bob { animation: bob 7s ease-in-out infinite; perspective: 1100px; will-change: transform; }
@keyframes bob { 0%, 100% { transform: translateY(-9px); } 50% { transform: translateY(11px); } }
.showcase-phone .device { animation: wobble 9s ease-in-out infinite; }
@keyframes wobble {
  0%, 100% { transform: rotateY(-9deg) rotateX(2deg); }
  50% { transform: rotateY(9deg) rotateX(-2deg); }
}
.device .sheen { position: absolute; inset: 12px; border-radius: 32px; overflow: hidden; pointer-events: none; z-index: 4; }
.device .sheen::before {
  content: ""; position: absolute; top: -30%; left: -70%; width: 55%; height: 170%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(8deg); animation: sweep 6.5s ease-in-out infinite; will-change: left;
}
@keyframes sweep { 0% { left: -70%; } 42% { left: 140%; } 100% { left: 140%; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, .crystal-float, .crystal-glow, .aurora span { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile perf: dial down aurora + disable wobble ---------- */
@media (max-width: 760px) {
  .aurora span { filter: blur(60px); opacity: 0.32; }
  .aurora .a1, .aurora .a2, .aurora .a3 { width: 360px; height: 360px; }
  .phone-bob { animation-duration: 9s; }
  .plan-visual .device, .showcase-phone .device { animation: none; }
  .device .sheen { display: none; }
}
