/* Expiry — expiries.io
   Brand colors sampled from the app logo. */
:root {
  --bg: #050b18;
  --bg-2: #081225;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef2fa;
  --muted: #9fabc2;
  --faint: #6e7a93;
  --navy: #123e7c;
  --navy-deep: #011b43;
  --navy-light: #8db3e8;
  --blue: #346590;
  --red: #de2d38;
  --red-deep: #9e1230;
  --safe: #2e9a6b;
  --soon: #d99a1e;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(222, 45, 56, 0.35); }
:focus-visible { outline: 2px solid var(--navy-light); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Background atmosphere ---------- */
.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55;
}
.bg-glow::before { width: 720px; height: 720px; right: -200px; top: -220px; background: radial-gradient(circle, #1d4f8e 0%, transparent 65%); }
.bg-glow::after { width: 620px; height: 620px; left: -260px; top: 520px; background: radial-gradient(circle, rgba(222,45,56,.55) 0%, transparent 65%); opacity: .35; }
.grid-lines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(5, 11, 24, 0.66);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(5, 11, 24, 0.82); }
.nav { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 6px; margin-left: 18px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-switch button {
  appearance: none; border: 0; background: transparent; color: var(--muted); font: 700 13px var(--font);
  padding: 6px 11px; border-radius: 999px; cursor: pointer; letter-spacing: .04em;
}
.lang-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px var(--font); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 14px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: linear-gradient(135deg, #ef4650 0%, var(--red) 45%, var(--red-deep) 100%); color: #fff; box-shadow: 0 10px 30px -10px rgba(222,45,56,.7); }
.btn-red:hover { box-shadow: 0 16px 40px -10px rgba(222,45,56,.85); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  padding: 11px 18px 11px 14px; border-radius: 14px; min-width: 190px;
  background: #0b1224; border: 1px solid var(--line-2); color: var(--text);
  transition: transform .2s, border-color .2s, background .2s;
}
.store-btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 11px; line-height: 1.2; color: var(--muted); letter-spacing: .02em; }
.store-btn strong { display: block; font-size: 17px; line-height: 1.25; }
.store-btn .soon {
  margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #ffd4d7; background: rgba(222,45,56,.18); border: 1px solid rgba(222,45,56,.4); padding: 3px 8px; border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-light); background: rgba(141,179,232,.08); border: 1px solid rgba(141,179,232,.22); padding: 7px 13px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(222,45,56,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(222,45,56,0); } }
h1 {
  font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em; margin: 22px 0 18px; font-weight: 800;
}
h1 .accent {
  background: linear-gradient(100deg, #ffffff 0%, var(--navy-light) 45%, #ff6b73 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--safe); }

/* Phone + floating elements */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 620px; }
.phone {
  position: relative; width: 300px; aspect-ratio: 1080 / 2340; border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #2a3142, #0d111b 40%, #1b2130);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 0 1px rgba(0,0,0,.6);
}
.phone::before { /* camera */
  content: ""; position: absolute; top: 22px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  background: #05070c; border-radius: 50%; z-index: 2; box-shadow: 0 0 0 2px rgba(255,255,255,.04);
}
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0e1016; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero .phone { width: 318px; transform: rotate(-3deg); }

.clock-badge {
  position: absolute; width: 150px; height: 150px; top: 36px; right: 4%;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,.55));
  animation: float 6s ease-in-out infinite;
}
.clock { position: relative; width: 100%; height: 100%; }
.clock img { width: 100%; height: 100%; }
.clock svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.clock .hand-m { transform-origin: 256px 266px; animation: spin 3.2s cubic-bezier(.65,0,.35,1) infinite; }
.clock .hand-h { transform-origin: 256px 266px; animation: spin 38.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }

.notif {
  position: absolute; left: -2%; bottom: 120px; width: 290px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 18px;
  background: rgba(23, 28, 42, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  animation: notif 7s ease-in-out infinite;
}
.notif img { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.notif b { display: block; font-size: 14px; }
.notif span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.notif .time { position: absolute; right: 14px; top: 12px; font-size: 11px; color: var(--faint); }
@keyframes notif {
  0%, 8% { opacity: 0; transform: translateY(18px) scale(.97); }
  14%, 78% { opacity: 1; transform: none; }
  88%, 100% { opacity: 0; transform: translateY(-10px) scale(.98); }
}
.pill-float {
  position: absolute; right: -2%; bottom: 60px;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px;
  padding: 10px 14px; border-radius: 999px; color: #ffd6d8;
  background: rgba(222,45,56,.16); border: 1px solid rgba(222,45,56,.45); backdrop-filter: blur(10px);
  animation: float 5s ease-in-out infinite reverse;
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(255,255,255,.015); overflow: hidden; margin-top: 36px; }
.marquee-track { display: flex; gap: 12px; padding: 18px 0; width: max-content; animation: scroll 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-weight: 700; font-size: 15px; color: #d7deec;
}
.chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker { color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -.03em; margin: 12px 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s ease, border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(141,179,232,.10), transparent 40%);
}
.card h3 { font-size: 20px; margin: 18px 0 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(18,62,124,.35); border: 1px solid rgba(141,179,232,.25); color: var(--navy-light);
}
.icon.red { background: rgba(222,45,56,.14); border-color: rgba(222,45,56,.35); color: #ff8088; }
.icon.green { background: rgba(46,154,107,.14); border-color: rgba(46,154,107,.35); color: #5fd3a0; }
.icon.amber { background: rgba(217,154,30,.14); border-color: rgba(217,154,30,.35); color: #f2c25e; }
.icon svg { width: 24px; height: 24px; }

/* Showcase */
.showcase { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 22px 34px; margin: 0 -22px; scrollbar-width: thin; scrollbar-color: #25304a transparent; }
.showcase figure { margin: 0; flex: none; scroll-snap-align: center; text-align: center; }
.showcase .phone { width: 250px; }
.showcase figcaption { margin-top: 18px; font-weight: 700; }
.showcase figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }
.showcase figure:first-child { margin-left: auto; }
.showcase figure:last-child { margin-right: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 44px; font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--navy-light), rgba(141,179,232,.15)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin: 10px 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }

/* Reminder timeline */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split h2 { text-align: left; }
.split .copy p { color: var(--muted); font-size: 18px; }
.timeline { position: relative; padding: 8px 0 8px 34px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--blue), var(--soon), var(--red)); border-radius: 2px; }
.tl-item { position: relative; display: flex; align-items: center; gap: 14px; margin: 14px 0; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.tl-item::before { content: ""; position: absolute; left: -29px; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 25%, transparent); }
.tl-item b { font-size: 16px; }
.tl-item span { color: var(--muted); font-size: 14px; display: block; }
.tl-item .tag { margin-left: auto; font-weight: 800; font-size: 13px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(141,179,232,.5); background: linear-gradient(180deg, rgba(18,62,124,.35), rgba(255,255,255,.03)); box-shadow: 0 30px 70px -30px rgba(18,62,124,.9); }
.plan h3 { margin: 0; font-size: 18px; color: var(--muted); font-weight: 700; }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 4px; }
.plan .per { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; color: #d6ddea; font-size: 15px; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--safe); }
.plan .badge { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--navy); color: #fff; margin-bottom: 12px; }
.fineprint { text-align: center; color: var(--faint); font-size: 13px; margin-top: 22px; }

/* Privacy band */
.privacy-band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
  padding: 40px; border-radius: 28px; border: 1px solid rgba(46,154,107,.3);
  background: radial-gradient(600px circle at 0% 0%, rgba(46,154,107,.16), transparent 60%), var(--surface);
}
.privacy-band .icon { width: 72px; height: 72px; border-radius: 22px; }
.privacy-band .icon svg { width: 34px; height: 34px; }
.privacy-band h3 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.02em; }
.privacy-band p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 4px 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Final CTA */
.final {
  text-align: center; padding: 70px 30px; border-radius: 32px; position: relative; overflow: hidden;
  background: radial-gradient(700px circle at 50% 120%, rgba(222,45,56,.35), transparent 60%), linear-gradient(180deg, #0c1a36, #081225);
  border: 1px solid var(--line-2);
}
.final .clock { width: 110px; height: 110px; margin: 0 auto 18px; }
.final h2 { margin-top: 0; }
.final p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 18px; }
.final .cta-row { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 110px; padding: 44px 0 50px; color: var(--muted); font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.copyright { width: 100%; font-size: 13px; color: var(--faint); margin-top: 8px; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 0 20px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin: 14px 0 6px; }
.legal .updated { color: var(--faint); font-size: 14px; }
.legal .intro { font-size: 19px; color: #d6ddea; margin: 26px 0 30px; }
.legal section { margin-bottom: 14px; padding: 24px 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.legal h2 { font-size: 21px; margin: 0 0 8px; letter-spacing: -.01em; }
.legal section p { margin: 0; color: var(--muted); }
.legal a { color: var(--navy-light); }
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.back:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .trust { justify-content: center; }
  .hero-visual { min-height: 580px; }
  .features, .plans, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split h2 { text-align: center; }
  .split .copy { text-align: center; }
  .privacy-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .hero { padding-top: 36px; }
  .features, .plans, .steps { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero .phone { width: 260px; }
  .hero-visual { min-height: 520px; }
  .clock-badge { width: 110px; height: 110px; right: 0; top: 10px; }
  .notif { width: 250px; left: 0; bottom: 90px; }
  .pill-float { right: 0; bottom: 30px; }
  .store-btn { min-width: 0; width: 100%; max-width: 330px; }
  .cta-row { flex-direction: column; align-items: center; }
  .card, .step, .plan { padding: 24px; }
  .privacy-band { padding: 28px 22px; }
  .final { padding: 54px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .notif { opacity: 1; }
}
.legal .btn { color: #fff; margin-top: 8px; }
.notif b { padding-right: 34px; }
