/* ═══════════════════════════════════════════
   SPINLINK — Cinematic Dark Editorial
   Fonts: Anton (display) · Syne (labels/UI) · DM Sans (body)
   Palette: #030507 bg · #3B7CF5 blue · #F5C842 gold
═══════════════════════════════════════════ */

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

:root {
  --bg:     #030507;
  --bg2:    #0a0d14;
  --bg3:    #0f1219;
  --blue:   #3B7CF5;
  --gold:   #F5C842;
  --white:  #EAEAEA;
  --muted:  #7a8099;
  --border: rgba(255,255,255,0.07);
  --f-display: 'Inter', sans-serif;
  --f-ui:      'Inter', sans-serif;
  --f-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 40px;
  background: linear-gradient(to bottom, rgba(3,5,7,.92) 0%, transparent 100%);
  backdrop-filter: blur(4px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.brand img { height: 28px; display: block; }
.nav-pill {
  font-family: var(--f-ui); font-size: .8rem; font-weight: 700;
  letter-spacing: .05em; text-decoration: none;
  color: var(--bg); background: var(--blue);
  padding: 10px 22px; border-radius: 100px;
  transition: background .2s, transform .2s;
}
.nav-pill:hover { background: #5a93f7; transform: translateY(-1px); }

/* HERO */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 80px; overflow: hidden;
}
.hero-photo-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  opacity: .45; filter: saturate(.7) brightness(.8);
}
.hero-photo-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(3,5,7,.55) 0%, transparent 30%, transparent 55%, var(--bg) 100%),
    linear-gradient(to right, rgba(3,5,7,.88) 0%, rgba(3,5,7,.35) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 40px; width: 100%;
  padding-top: 120px;
}
.tag {
  font-family: var(--f-ui); font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; color: var(--blue); margin-bottom: 28px;
}
.hero-h1 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  font-weight: 900;
  line-height: 1.0; letter-spacing: -.03em; text-transform: none;
  color: var(--white); margin-bottom: 32px;
}
.hero-h1 .line { display: block; }
.hero-h1 .accent-word { color: var(--blue); }
.hero-sub {
  max-width: 520px; font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300; color: #b0b8cc; line-height: 1.6; margin-bottom: 40px;
}

/* FORM */
.cta-form {
  display: flex; align-items: stretch; max-width: 500px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; overflow: hidden; backdrop-filter: blur(12px); margin-bottom: 16px;
}
.cta-form input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 16px 20px; font-family: var(--f-body); font-size: .95rem; color: var(--white);
}
.cta-form input::placeholder { color: var(--muted); }
.cta-form button {
  background: var(--blue); border: none; cursor: pointer; padding: 0 28px;
  font-family: var(--f-ui); font-size: .82rem; font-weight: 700; letter-spacing: .06em;
  color: #fff; white-space: nowrap; position: relative; overflow: hidden; transition: background .25s;
}
.cta-form button::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform .55s ease;
}
.cta-form button:hover::before { transform: translateX(100%); }
.cta-form button:hover { background: #5290f8; }
.form-note { font-size: .78rem; color: var(--muted); font-family: var(--f-ui); letter-spacing: .02em; }
.hero-scroll-link {
  display: inline-block; margin-top: 28px;
  font-family: var(--f-ui); font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  color: var(--muted); text-decoration: none; text-transform: uppercase;
  transition: color .2s;
}
.hero-scroll-link:hover { color: var(--white); }

/* HERO STATS */
.hero-stats {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
  padding: 40px 40px 0; width: 100%;
  display: flex; gap: 48px; margin-top: 64px;
  border-top: 1px solid var(--border);
}
.hstat { display: flex; flex-direction: column; gap: 4px; }
.hstat em {
  font-style: normal; font-family: var(--f-display); font-size: 2.4rem;
  color: var(--gold); line-height: 1;
}
.hstat span {
  font-size: .78rem; color: var(--muted); font-family: var(--f-ui);
  font-weight: 600; letter-spacing: .04em; max-width: 140px;
}

/* PROBLEM */
.problem {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.problem-inner {
  max-width: 1200px; margin: 0 auto; padding: 80px 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.problem-card {
  padding: 44px 36px; border-left: 1px solid var(--border);
}
.problem-card:first-child { border-left: none; }
.problem-card p {
  font-size: 1rem; color: var(--muted); line-height: 1.75;
  font-family: var(--f-body); font-style: italic;
}

/* PLAN */
.plan {
  max-width: 1200px; margin: 0 auto; padding: 100px 40px;
}
.plan-h {
  font-family: var(--f-display); font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; letter-spacing: -.02em; color: var(--white);
  margin-bottom: 64px;
}
.plan-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--border);
}
.plan-step {
  padding: 48px 40px 48px 0; border-right: 1px solid var(--border);
}
.plan-step:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.plan-step:nth-child(2) { padding-left: 40px; }
.step-num {
  font-family: var(--f-display); font-size: 2rem; font-weight: 800; color: var(--blue);
  opacity: .25; line-height: 1; margin-bottom: 24px; letter-spacing: -.03em;
}
.plan-step h3 {
  font-family: var(--f-ui); font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 14px; letter-spacing: -.01em;
}
.plan-step p { font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* TICKER */
.ticker-wrap {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2); padding: 16px 0;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 28s linear infinite; white-space: nowrap;
}
.ticker-track span {
  font-family: var(--f-ui); font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 32px;
}
.ticker-track span:nth-child(odd) { color: var(--blue); }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* FEATURES */
.features { max-width: 1200px; margin: 0 auto; padding: 120px 40px; }
.feat-header { max-width: 680px; margin-bottom: 80px; }
.section-label {
  font-family: var(--f-ui); font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; color: var(--blue); margin-bottom: 20px;
}
.feat-header h2 {
  font-family: var(--f-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--white);
}
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.feat-card {
  background: var(--bg3); padding: 44px 36px;
  border: 1px solid var(--border); transition: background .3s, transform .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.feat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.feat-card:hover { background: #0d1220; transform: translateY(-4px); border-color: rgba(59,124,245,.25); }
.feat-card:hover::after { transform: scaleX(1); }
.feat-num {
  font-family: var(--f-display); font-size: 2.5rem; font-weight: 800;
  color: rgba(59,124,245,.15); line-height: 1; margin-bottom: 24px; letter-spacing: -.03em;
}
.feat-card h3 {
  font-family: var(--f-ui); font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: 14px; letter-spacing: -.01em;
}
.feat-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* STATEMENT */
.statement {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; min-height: 640px;
}
.statement-inner {
  padding: 100px 80px; display: flex; flex-direction: column; justify-content: center;
  max-width: 640px; margin: 0 auto;
}
.statement-inner blockquote {
  font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--white);
  border: none; margin-bottom: 36px;
}
.bq-accent { font-style: normal; color: var(--blue); display: block; margin-top: 8px; }
.statement-body {
  font-size: 1rem; color: var(--muted); line-height: 1.7;
  max-width: 420px; margin-bottom: 48px;
}
.ghost-cta {
  display: inline-block; font-family: var(--f-ui); font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-decoration: none; color: var(--white);
  border: 1px solid rgba(255,255,255,.25); padding: 14px 32px; border-radius: 100px;
  transition: border-color .2s, background .2s, color .2s; align-self: flex-start;
}
.ghost-cta:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.statement-photo { position: relative; overflow: hidden; }
.statement-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 15%;
  opacity: .55; filter: saturate(.6);
}

/* Floating stats */
.stat-float {
  position: absolute; background: rgba(10,13,20,.85); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 20px;
  display: flex; flex-direction: column; gap: 2px; min-width: 130px;
}
.stat-float em { font-style: normal; font-family: var(--f-display); font-size: 1.6rem; color: var(--gold); line-height: 1; }
.stat-float span { font-family: var(--f-ui); font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.sf-1 { top: 18%; left: 8%; animation: floatA 6s ease-in-out infinite; }
.sf-2 { top: 50%; right: 8%; animation: floatB 7s ease-in-out infinite; }
.sf-3 { bottom: 14%; left: 12%; animation: floatA 8s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }

/* FAQ */
.faq { max-width: 1200px; margin: 0 auto; padding: 120px 40px; }
.faq-inner { max-width: 760px; }
.faq-inner h2 {
  font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -.02em; margin-bottom: 56px;
}
.faq-list { display: flex; flex-direction: column; }
.faq-list details { border-bottom: 1px solid var(--border); padding: 28px 0; }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary {
  font-family: var(--f-ui); font-size: 1.05rem; font-weight: 600; color: var(--white);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; user-select: none; transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; font-family: var(--f-display); font-size: 1.6rem;
  color: var(--blue); line-height: 1; transition: transform .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details[open] summary { color: var(--blue); }
.faq-list details p { font-size: .95rem; color: var(--muted); line-height: 1.7; padding-top: 16px; max-width: 620px; }

/* FOOTER CTA */
.footer-cta {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 120px 40px; text-align: center; position: relative; overflow: hidden;
}
.footer-cta::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,124,245,.12) 0%, transparent 70%);
  pointer-events: none;
}
.footer-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.footer-cta-inner .tag { display: block; margin-bottom: 24px; }
.footer-cta-inner h2 {
  font-family: var(--f-display); font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.footer-cta-sub {
  font-size: .95rem; color: var(--muted); line-height: 1.65;
  max-width: 480px; margin: 0 auto 40px;
}
.footer-cta-inner .cta-form { margin: 0 auto; }

/* APP STORE */
.appstore {
  background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.appstore-inner {
  max-width: 1200px; margin: 0 auto; padding: 100px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.appstore-text h2 {
  font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
}
.appstore-sub {
  font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 440px; margin-bottom: 36px;
}
.appstore-form { max-width: 460px; margin-bottom: 40px; }
.store-badge svg {
  width: 220px; height: auto; display: block; margin-bottom: 10px;
  border-radius: 8px;
}
.badge-note {
  font-family: var(--f-ui); font-size: .72rem; color: var(--muted);
  font-weight: 600; letter-spacing: .04em;
}
.appstore-photo {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/5; border: 1px solid var(--border);
}
.appstore-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  filter: saturate(.75);
}
.appstore-photo-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(3,5,7,.85) 100%);
}

/* SITE FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 40px; }
.site-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.site-footer-inner img { height: 22px; opacity: .6; }
.site-footer-inner p { font-family: var(--f-ui); font-size: .78rem; color: var(--muted); font-weight: 600; }
.site-footer-inner a { color: var(--blue); text-decoration: none; }
.site-footer-inner a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .statement { grid-template-columns: 1fr; }
  .statement-photo { min-height: 420px; }
  .statement-inner { padding: 80px 40px; max-width: 100%; }
  .appstore-inner { grid-template-columns: 1fr; gap: 48px; }
  .appstore-photo { aspect-ratio: 16/9; }
  .problem-inner { grid-template-columns: 1fr; gap: 0; }
  .problem-card { border-left: none; border-top: 1px solid var(--border); padding: 32px; }
  .problem-card:first-child { border-top: none; }
  .plan-steps { grid-template-columns: 1fr; }
  .plan-step { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 0 !important; }
  .plan-step:last-child { border-bottom: none; }
}

@media (max-width: 720px) {
  .nav { padding: 16px 24px; }
  .hero-content { padding: 0 24px; padding-top: 100px; }
  .hero-stats { padding: 0 24px; gap: 28px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; }
  .hstat em { font-size: 1.8rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .features { padding: 80px 24px; }
  .feat-card { padding: 32px 24px; }
  .statement-inner { padding: 60px 24px; }
  .statement-inner blockquote { font-size: 2.2rem; }
  .faq { padding: 80px 24px; }
  .problem-inner { padding: 60px 24px; }
  .plan { padding: 60px 24px; }
  .appstore-inner { padding: 60px 24px; gap: 40px; }
  .footer-cta { padding: 80px 24px; }
  .site-footer { padding: 32px 24px; }
  .cta-form { flex-direction: column; border-radius: 12px; overflow: hidden; }
  .cta-form button { padding: 16px 24px; text-align: center; width: 100%; }
}
