/* ===========================================================
   Luna Match — Moon Love Test — marketing site styles (dark, brand accent)
   =========================================================== */
:root {
  --bg: #070A18;
  --bg-soft: #151C38;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-strong: rgba(255,255,255,0.07);
  --border: rgba(92, 124, 224, 0.16);
  --border-strong: rgba(92, 124, 224, 0.32);
  --text: #F4F2F7;
  --text-soft: #C2BECC;
  --text-mute: #8A8494;
  --accent: #5C7CE0;
  --accent-2: #8AA1E9;
  --accent-3: #4861AF;
  --grad-a: #6C89E3;
  --grad-b: #4861AF;
  --accent-glow: rgba(92, 124, 224, 0.35);
  --radius-card: 18px; --radius-hero: 28px; --radius-badge: 14px; --maxw: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system,BlinkMacSystemFont,"SF Pro Display","Inter",Roboto,"Helvetica Neue",Arial,sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
body::before { content:""; position:fixed; top:-25%; left:50%; transform:translateX(-50%); width:900px; height:900px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%); filter: blur(40px); opacity:.5; z-index:-1; pointer-events:none; }
nav { position:sticky; top:0; z-index:100; background:rgba(7, 10, 24, 0.72); backdrop-filter:saturate(180%) blur(16px);
  -webkit-backdrop-filter:saturate(180%) blur(16px); border-bottom:1px solid var(--border); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:68px; }
.brand { display:flex; align-items:center; gap:12px; font-weight:700; font-size:17px; letter-spacing:-.01em; }
.brand img { width:38px; height:38px; border-radius:10px; box-shadow:0 4px 16px rgba(0,0,0,.4); }
.nav-links { display:flex; align-items:center; gap:30px; }
.nav-links a { color:var(--text-soft); font-size:15px; font-weight:500; transition:color .2s; }
.nav-links a:hover { color:var(--text); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; font-weight:600; font-size:15px;
  border-radius:999px; padding:11px 22px; cursor:pointer; border:none; transition:transform .15s ease, box-shadow .2s ease; }
.btn-primary { background:linear-gradient(135deg,var(--grad-a),var(--grad-b)); color:#fff; box-shadow:0 8px 24px var(--accent-glow); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 12px 30px var(--accent-glow); }
.btn-ghost { background:var(--bg-card-strong); color:var(--text); border:1px solid var(--border-strong); }
.btn-ghost:hover { transform:translateY(-2px); border-color:var(--accent); }
.hero { position:relative; padding:90px 0 70px; }
.hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero-icon { width:84px; height:84px; border-radius:20px; box-shadow:0 10px 40px var(--accent-glow); margin-bottom:24px; }
.hero h1 { font-size:clamp(36px,5.2vw,58px); line-height:1.04; letter-spacing:-.03em; font-weight:800; margin-bottom:20px; }
.hero h1 .grad { background:linear-gradient(120deg,var(--accent-2),var(--accent),var(--grad-b));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero p.lead { font-size:19px; color:var(--text-soft); max-width:520px; margin-bottom:30px; }
.hero-cta { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.trust-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:26px; font-size:13.5px; color:var(--text-mute); }
.trust-row .dot { color:var(--accent); }
.googleplay-badge { display:inline-flex; align-items:center; gap:12px; background:#000; border:1px solid rgba(255,255,255,.22);
  border-radius:var(--radius-badge); padding:10px 18px; transition:transform .15s ease, border-color .2s ease; }
.googleplay-badge:hover { transform:translateY(-2px); border-color:rgba(255,255,255,.5); }
.googleplay-badge svg { width:26px; height:26px; flex-shrink:0; }
.googleplay-badge .gp-text { display:flex; flex-direction:column; line-height:1.1; }
.googleplay-badge .gp-small { font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:#cfd6dd; }
.googleplay-badge .gp-big { font-size:19px; font-weight:600; color:#fff; letter-spacing:.01em; }
.hero-phones { position:relative; display:flex; justify-content:center; align-items:center; min-height:520px; }
.hero-phones img { position:absolute; width:232px; border-radius:32px; box-shadow:0 30px 70px rgba(0,0,0,.55); }
.hero-phones img.back { transform:rotate(8deg) translate(70px,10px) scale(.94); z-index:1; opacity:.92; }
.hero-phones img.front { transform:rotate(-6deg) translate(-50px,0); z-index:2; }
section { padding:80px 0; }
.section-head { text-align:center; max-width:660px; margin:0 auto 52px; }
.eyebrow { display:inline-block; font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin-bottom:14px; }
.section-head h2 { font-size:clamp(28px,3.6vw,40px); font-weight:800; letter-spacing:-.02em; line-height:1.1; margin-bottom:14px; }
.section-head p { font-size:17px; color:var(--text-soft); }
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.feature-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-card); padding:28px 26px;
  transition:transform .2s ease, border-color .2s ease, background .2s ease; }
.feature-card:hover { transform:translateY(-4px); border-color:var(--border-strong); background:var(--bg-card-strong); }
.feature-icon { width:48px; height:48px; border-radius:13px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--accent-glow),rgba(138, 161, 233, 0.08)); border:1px solid var(--border-strong); margin-bottom:18px; }
.feature-icon svg { width:24px; height:24px; stroke:var(--accent-2); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.feature-card h3 { font-size:18px; font-weight:700; margin-bottom:8px; letter-spacing:-.01em; }
.feature-card p { font-size:15px; color:var(--text-soft); }
.screens-scroller { justify-content:safe center; display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding:8px 24px 28px; margin:0 -24px; scrollbar-width:thin; scrollbar-color:var(--accent-3) transparent; }
.screens-scroller::-webkit-scrollbar { height:8px; }
.screens-scroller::-webkit-scrollbar-thumb { background:var(--accent-3); border-radius:999px; }
.screen-tile { flex:0 0 auto; width:280px; scroll-snap-align:center; }
.screen-tile img { width:100%; border-radius:26px; border:1px solid var(--border); box-shadow:0 18px 44px rgba(0,0,0,.5); display:block; }
.screen-tile .cap { text-align:center; margin-top:14px; font-size:14px; color:var(--text-mute); }
.privacy-first { background:linear-gradient(135deg,var(--bg-soft),rgba(92, 124, 224, 0.06)); border:1px solid var(--border);
  border-radius:var(--radius-hero); padding:56px 48px; display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.privacy-first .pf-icon { width:60px; height:60px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--accent-2),var(--accent)); margin-bottom:22px; }
.privacy-first .pf-icon svg { width:30px; height:30px; stroke:#fff; fill:none; stroke-width:2; }
.privacy-first h2 { font-size:30px; font-weight:800; letter-spacing:-.02em; margin-bottom:14px; line-height:1.12; }
.privacy-first p { color:var(--text-soft); font-size:16px; margin-bottom:14px; }
.pf-list { list-style:none; display:grid; gap:14px; }
.pf-list li { display:flex; gap:12px; align-items:flex-start; font-size:15px; color:var(--text-soft); }
.pf-list svg { width:20px; height:20px; stroke:var(--accent); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; margin-top:2px; }
.disclaimer { margin-top:40px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-card);
  padding:22px 26px; font-size:14px; color:var(--text-mute); text-align:center; max-width:860px; margin-left:auto; margin-right:auto; }
.disclaimer strong { color:var(--text-soft); }
.download-card { text-align:center; background:linear-gradient(135deg,var(--bg-soft),rgba(92, 124, 224, 0.1)); border:1px solid var(--border-strong);
  border-radius:var(--radius-hero); padding:64px 40px; position:relative; overflow:hidden; }
.download-card img.dl-icon { width:78px; height:78px; border-radius:18px; box-shadow:0 10px 36px var(--accent-glow); margin-bottom:22px; }
.download-card h2 { font-size:clamp(28px,4vw,42px); font-weight:800; letter-spacing:-.02em; margin-bottom:14px; }
.download-card p { font-size:17px; color:var(--text-soft); max-width:480px; margin:0 auto 30px; }
.download-card .cta-wrap { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }
footer { border-top:1px solid var(--border); padding:56px 0 36px; margin-top:40px; }
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.footer-brand { display:flex; align-items:center; gap:12px; font-weight:700; font-size:16px; margin-bottom:14px; }
.footer-brand img { width:36px; height:36px; border-radius:10px; }
.footer-col h4 { font-size:13px; text-transform:uppercase; letter-spacing:.1em; color:var(--text-mute); margin-bottom:16px; }
.footer-col a { display:block; color:var(--text-soft); font-size:15px; margin-bottom:11px; transition:color .2s; }
.footer-col a:hover { color:var(--accent-2); }
.footer-col p { color:var(--text-soft); font-size:15px; max-width:280px; }
.footer-bottom { border-top:1px solid var(--border); padding-top:26px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:12px; font-size:13px; color:var(--text-mute); }
.page-hero { padding:70px 0 30px; border-bottom:1px solid var(--border); margin-bottom:40px; }
.page-hero h1 { font-size:clamp(32px,4.4vw,46px); font-weight:800; letter-spacing:-.02em; margin-bottom:10px; }
.page-hero .meta { color:var(--text-mute); font-size:14px; }
.legal { max-width:820px; margin:0 auto; padding-bottom:80px; }
.legal h2 { font-size:23px; font-weight:700; margin:38px 0 14px; letter-spacing:-.01em; scroll-margin-top:90px; }
.legal h3 { font-size:18px; font-weight:700; margin:24px 0 10px; color:var(--text); }
.legal p { color:var(--text-soft); margin-bottom:14px; font-size:15.5px; }
.legal ul { margin:0 0 16px 22px; color:var(--text-soft); font-size:15.5px; }
.legal li { margin-bottom:9px; }
.legal a { color:var(--accent-2); text-decoration:underline; text-underline-offset:2px; }
.legal strong { color:var(--text); }
.legal .summary-box { background:var(--bg-card); border:1px solid var(--border-strong); border-radius:var(--radius-card); padding:24px 26px; margin:24px 0; }
.legal .summary-box ul { margin-bottom:0; }
.sdk-card { background:var(--bg-card); border:1px solid var(--border); border-radius:14px; padding:20px 22px; margin-bottom:16px; }
.sdk-card h3 { margin-top:0; }
.sdk-card .sdk-meta { font-size:14px; color:var(--text-mute); margin-bottom:6px; }
.toc { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-card); padding:22px 26px; margin-bottom:36px; }
.toc h4 { font-size:13px; text-transform:uppercase; letter-spacing:.1em; color:var(--text-mute); margin-bottom:14px; }
.toc ol { margin-left:18px; columns:2; column-gap:30px; }
.toc li { margin-bottom:7px; } .toc a { color:var(--text-soft); font-size:14.5px; text-decoration:none; }
.toc a:hover { color:var(--accent-2); }
.faq-item { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-card); padding:24px 26px; margin-bottom:16px; }
.faq-item h3 { font-size:17px; font-weight:700; margin-bottom:10px; }
.faq-item p { color:var(--text-soft); font-size:15px; margin-bottom:0; } .faq-item p + p { margin-top:10px; }
.contact-card { background:linear-gradient(135deg,var(--bg-soft),rgba(92, 124, 224, 0.08)); border:1px solid var(--border-strong);
  border-radius:var(--radius-hero); padding:44px; text-align:center; margin-top:40px; }
.contact-card h2 { border:none; margin:0 0 12px; }
.contact-card a.email { font-size:20px; font-weight:700; color:var(--accent-2); }
@media (max-width:920px) {
  .hero { padding:60px 0 40px; } .hero-grid { grid-template-columns:1fr; gap:40px; }
  .hero-phones { min-height:440px; margin-top:10px; } .hero-phones img { width:200px; }
  .features-grid { grid-template-columns:repeat(2,1fr); } .privacy-first { grid-template-columns:1fr; padding:40px 30px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:30px; } .nav-links a:not(.btn) { display:none; }
  .toc ol { columns:1; } section { padding:60px 0; }
}
@media (max-width:560px) {
  .features-grid { grid-template-columns:1fr; } .hero-phones img { width:168px; }
  .hero-phones img.front { transform:rotate(-5deg) translate(-34px,0); }
  .hero-phones img.back { transform:rotate(7deg) translate(46px,8px) scale(.94); }
  .screen-tile { width:230px; } .footer-grid { grid-template-columns:1fr; }
  .download-card { padding:44px 24px; } .privacy-first, .contact-card { padding:32px 22px; }
}
