
/* ── Agapi home — cinematic plum / flame ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #120D1F; --bg-2: #1B1530; --bg-3: #241A3C;
  --ink: #F6F1EB; --ink-soft: rgba(246,241,235,.66); --ink-faint: rgba(246,241,235,.38);
  --line: rgba(246,241,235,.10);
  --f1: #FD267A; --f2: #FF5864; --f3: #FF6036;
  --flame: linear-gradient(100deg, var(--f1), var(--f2) 55%, var(--f3));
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(253,38,122,.85); color: #fff; }

.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: 12px; letter-spacing: .32em; font-weight: 700; color: transparent; background: var(--flame); -webkit-background-clip: text; background-clip: text; margin: 0 0 14px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -.01em; margin: 0 0 18px; }
h2 em, h1 em { font-style: italic; color: transparent; background: var(--flame); -webkit-background-clip: text; background-clip: text; padding-right: .04em; }
.lead { color: var(--ink-soft); font-size: 17.5px; max-width: 620px; margin: 0 0 8px; }
.section { padding: 110px 0 90px; position: relative; }

/* reveals */
[data-reveal] { opacity: 0; transform: translateY(30px); filter: blur(7px); transition: opacity .95s var(--ease), transform .95s var(--ease), filter .95s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform, filter; }
[data-reveal].on { opacity: 1; transform: none; filter: none; }

/* nav */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 16px 28px; transition: background .4s, border-color .4s, padding .4s; border-bottom: 1px solid transparent; }
nav.scrolled { background: rgba(18,13,31,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line); padding: 11px 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--ink-soft); transition: color .25s; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1.5px; background: var(--flame); transition: right .35s var(--ease); }
.nav-links a:hover { color: var(--ink); } .nav-links a:hover::after { right: 0; }
.nav-cta { font-size: 13.5px; font-weight: 650; padding: 9px 18px; border-radius: 999px; background: var(--flame); color: #fff; box-shadow: 0 4px 22px rgba(253,38,122,.35); transition: transform .3s var(--ease), box-shadow .3s; }
.nav-cta:hover { box-shadow: 0 6px 30px rgba(253,38,122,.5); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 120px 0 70px; }
#aurora { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(80px) saturate(1.15); opacity: .8; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 90% 70% at 50% 110%, rgba(18,13,31,.9), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 0 28px; width: 100%; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7.6vw, 108px); line-height: .98; letter-spacing: -.015em; margin: 0 0 26px; }
h1 .w { display: inline-block; margin-right: .22em; opacity: 0; transform: translateY(.55em) rotate(1.5deg); filter: blur(8px); animation: word .9s var(--ease) forwards; animation-delay: calc(120ms + var(--i) * 110ms); }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
.rise { opacity: 0; transform: translateY(26px); filter: blur(6px); animation: word .95s var(--ease) forwards; animation-delay: calc(140ms + var(--r) * 110ms); }
.hero .lead { font-size: 18.5px; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.btn-store { display: inline-flex; align-items: center; gap: 11px; background: #fff; color: #120D1F; font-weight: 700; font-size: 15.5px; padding: 15px 26px; border-radius: 999px; transition: box-shadow .35s, transform .35s var(--ease); box-shadow: 0 8px 34px rgba(0,0,0,.42); }
.btn-store:hover { box-shadow: 0 10px 44px rgba(253,38,122,.42); }
.btn-store.big { font-size: 17px; padding: 18px 34px; }
.btn-ghost { font-size: 15px; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color .25s, border-color .25s; }
.btn-ghost:hover { color: var(--ink); border-color: var(--f2); }
.stats { display: flex; gap: 34px; list-style: none; padding: 0; margin: 44px 0 0; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--serif); font-size: 32px; line-height: 1; }
.stats span { font-size: 12.5px; color: var(--ink-faint); letter-spacing: .04em; margin-top: 5px; }

.hero-stage { position: relative; justify-self: center; }
.phone { position: relative; width: min(300px, 68vw); aspect-ratio: 9 / 19.2; border-radius: 44px; padding: 11px; background: linear-gradient(160deg, #372B52, #16101F 70%); box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(246,241,235,.09), 0 0 120px rgba(253,38,122,.16); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; }
.notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; border-radius: 999px; background: #0B0812; z-index: 2; }
.halo { position: absolute; inset: -60px; background: radial-gradient(ellipse at 50% 45%, rgba(253,38,122,.22), transparent 62%); z-index: -1; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 999px; background: rgba(27,21,48,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.4); animation: bob 6s ease-in-out infinite; }
.chip img { border-radius: 999px; width: 44px; height: 44px; object-fit: cover; }
.chip strong { display: block; font-size: 13.5px; line-height: 1.2; }
.chip span { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ink-faint); }
.chip i { width: 6px; height: 6px; border-radius: 999px; background: #35E08F; box-shadow: 0 0 8px #35E08F; }
.chip-a { top: 7%; left: -22%; animation-delay: 0s; }
.chip-b { bottom: 24%; right: -26%; animation-delay: 1.6s; }
.chip-c { bottom: -3%; left: -12%; animation-delay: 3.1s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--ink-faint); border-radius: 999px; z-index: 3; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--f2); animation: drop 1.9s ease-in-out infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; background: rgba(27,21,48,.4); }
.track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 34s linear infinite; }
.track span { font-family: var(--serif); font-size: 26px; white-space: nowrap; color: var(--ink-soft); }
.track span.it { font-style: italic; color: transparent; background: var(--flame); -webkit-background-clip: text; background-clip: text; }
.track b { color: var(--f2); font-size: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* companions rail */
.rail-wrap { margin-top: 40px; }
.rail { display: flex; gap: 22px; overflow-x: auto; padding: 18px max(28px, calc((100vw - 1180px) / 2 + 28px)) 26px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.comp-card { position: relative; flex: 0 0 254px; aspect-ratio: 3 / 4.1; border-radius: 26px; overflow: hidden; scroll-snap-align: center; isolation: isolate; transform: translateZ(0); transition: transform .5s var(--ease); }
.comp-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.comp-card .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,7,18,.88) 0%, rgba(10,7,18,.28) 38%, transparent 62%); }
.comp-card .meta { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.comp-card h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; margin: 0 0 4px; }
.comp-card p { font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); margin: 0; }
.comp-card .ring { position: absolute; inset: 0; border-radius: 26px; border: 1.5px solid transparent; transition: border-color .4s, box-shadow .4s; }
.comp-card:hover img { transform: scale(1.06); }
.comp-card:hover .ring { border-color: var(--accent); box-shadow: 0 18px 60px -18px var(--accent); }
.rail-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.hint { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: rgba(27,21,48,.6); color: var(--ink); font-size: 17px; cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.rail-nav button:hover { background: var(--bg-3); border-color: rgba(253,38,122,.5); transform: translateY(-2px); }

/* live */
.live { position: relative; overflow: hidden; padding: 130px 0; }
.live-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(18,13,31,.72) 18%, rgba(18,13,31,.72) 82%, var(--bg) 100%); }
.live-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.call { position: relative; width: min(340px, 86vw); aspect-ratio: 3 / 4.35; border-radius: 30px; overflow: hidden; justify-self: center; box-shadow: 0 44px 110px rgba(0,0,0,.6), 0 0 0 1px rgba(246,241,235,.1); }
.call > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.call-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: linear-gradient(to bottom, rgba(8,5,14,.62), transparent); }
.live-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; padding: 5px 11px; border-radius: 999px; background: rgba(253,38,122,.92); }
.live-dot i { width: 7px; height: 7px; border-radius: 999px; background: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.call-timer { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 650; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.call-name { position: absolute; left: 18px; bottom: 86px; z-index: 2; font-family: var(--serif); font-size: 30px; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.call-self { position: absolute; right: 14px; bottom: 96px; z-index: 2; width: 74px; height: 100px; border-radius: 14px; background: linear-gradient(150deg, #3A2C58, #221838); border: 1px solid rgba(246,241,235,.16); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-size: 11px; color: var(--ink-soft); }
.call-actions { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: center; gap: 16px; padding: 16px 0 20px; background: linear-gradient(to top, rgba(8,5,14,.68), transparent); }
.ca { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: rgba(246,241,235,.16); backdrop-filter: blur(8px); color: #fff; }
.ca.end { background: #FF3B30; }
.points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.points li { padding-left: 20px; border-left: 2px solid; border-image: linear-gradient(180deg, var(--f1), var(--f3)) 1; }
.points strong { display: block; font-size: 16.5px; margin-bottom: 3px; }
.points span { color: var(--ink-soft); font-size: 14.5px; }

/* depth */
.depth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.depth-card { border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, var(--bg-2), rgba(27,21,48,.35)); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.depth-card:hover { transform: translateY(-8px); border-color: rgba(253,38,122,.35); box-shadow: 0 30px 70px -30px rgba(253,38,122,.35); }
.depth-card .art { height: 220px; overflow: hidden; }
.depth-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.depth-card:hover .art img { transform: scale(1.07); }
.depth-card h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; margin: 22px 24px 8px; }
.depth-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0 24px 26px; }

/* privacy */
.privacy { padding: 120px 0; background: linear-gradient(180deg, transparent, rgba(11,8,18,.72) 22%, rgba(11,8,18,.72) 78%, transparent); }
.priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.priv-tile { border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; background: rgba(27,21,48,.45); transition: border-color .35s, transform .45s var(--ease); }
.priv-tile:hover { border-color: rgba(253,38,122,.4); transform: translateY(-4px); }
.priv-tile svg { margin-bottom: 14px; }
.priv-tile strong { display: block; font-size: 15.5px; margin-bottom: 5px; }
.priv-tile span { font-size: 13.5px; color: var(--ink-soft); }

/* pricing */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.tier { border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px; background: rgba(27,21,48,.4); position: relative; transition: transform .45s var(--ease), border-color .35s; }
.tier:hover { transform: translateY(-6px); }
.tier.hot { border: none; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--flame) border-box; border: 1.5px solid transparent; box-shadow: 0 24px 70px -24px rgba(253,38,122,.5); }
.tier h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 16px; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tier li { font-size: 14.5px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.tier li::before { content: '✦'; position: absolute; left: 0; top: 0; font-size: 11px; color: var(--f2); }
.tier-note { margin-top: 26px; font-size: 13px; color: var(--ink-faint); }

/* finale */
.finale { position: relative; padding: 150px 0 140px; text-align: center; overflow: hidden; }
.finale::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 65%, rgba(253,38,122,.18), transparent 70%); }
.finale h2 { font-size: clamp(42px, 6.4vw, 84px); max-width: 15ch; margin: 0 auto 40px; position: relative; }
.finale .btn-store { position: relative; }
.finale-sub { margin-top: 22px; color: var(--ink-faint); font-size: 13.5px; letter-spacing: .06em; position: relative; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 60px 0 46px; background: #0D0917; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-tag { color: var(--ink-faint); font-size: 13.5px; margin: 10px 0 0; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { font-size: 13.5px; color: var(--ink-soft); transition: color .25s; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.foot-legal p { font-size: 12px; color: var(--ink-faint); max-width: 720px; margin: 0 0 8px; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 64px; }
  .hero-copy .lead, .hero .cta-row, .stats { margin-left: auto; margin-right: auto; justify-content: center; }
  .hero { padding-top: 130px; }
  .chip-a { left: -6%; } .chip-b { right: -8%; } .chip-c { left: -2%; }
  .live-grid { grid-template-columns: 1fr; gap: 56px; }
  .depth-grid, .priv-grid, .tier-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  h1 .w, .rise { animation: none; opacity: 1; transform: none; filter: none; }
  .track { animation: none; }
  .chip { animation: none; }
  .scroll-hint span { animation: none; }
}
