/* Base reset and typography */
:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --pill: #f5f5f7;
  --primary: #0071e3;
  --primary-ink: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { width: min(1120px, 92vw); margin: 0 auto; }
.display { font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 700; }
.subtitle { color: var(--muted); line-height: 1.6; margin: 0 0 24px; }
.section-title { font-size: clamp(1.6rem, 2.2vw + 1rem, 2.2rem); letter-spacing: -0.01em; margin: 0 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.fine { font-size: 12px; }

/* Ambient background */
.bg-ambient {
  position: fixed; inset: -10% -10% auto -10%; height: 60vh; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 60% at 20% 20%, rgba(0,113,227,0.12), transparent 60%),
              radial-gradient(50% 50% at 80% 10%, rgba(0,0,0,0.05), transparent 60%),
              radial-gradient(40% 40% at 60% 60%, rgba(0,113,227,0.08), transparent 60%);
  filter: blur(30px);
}

/* Header */
.site-header { position: sticky; top: 0; backdrop-filter: saturate(180%) blur(10px); background: rgba(255,255,255,0.7); border-bottom: 1px solid var(--line); z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.brand-mark { font-size: 18px; }
.brand-name { letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 14px; }
.nav-link { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.nav-link:hover { background: var(--pill); }

/* Buttons */
.btn { appearance: none; border: 1px solid var(--line); background: #fff; color: var(--text); padding: 10px 16px; border-radius: 12px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { background: var(--text); color: var(--primary-ink); border-color: var(--text); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.btn-ghost { background: #fff; }
.btn-lg { padding: 14px 18px; font-weight: 600; }
.full { width: 100%; }

/* Hero */
.hero { padding: 48px 0 20px; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.hero-copy .cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.trust-row { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); }
.pill { background: var(--pill); padding: 6px 10px; border-radius: 999px; font-size: 13px; }
.dot { width: 4px; height: 4px; background: var(--line); border-radius: 50%; display: inline-block; }
.hero-media { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fafafa; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-glow { position: absolute; inset: -20% -20% -20% -20%; background: radial-gradient(60% 60% at 50% 30%, rgba(0,113,227,0.15), transparent 60%); pointer-events: none; mix-blend-mode: screen; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.time { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: #fff; text-align: center; }
.time .num { font-size: 28px; font-weight: 700; letter-spacing: 0.04em; }
.time .lab { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Steps */
.how { padding: 64px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.step .icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--pill); margin-bottom: 8px; }

/* Gallery */
.gallery { padding: 20px 0 64px; }
.grid-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.media-item { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.media-item img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.faq { padding: 20px 0 64px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.site-footer { padding: 24px 0 64px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.footer-links { display: flex; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Modal */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 20; }
.modal[aria-hidden="false"] { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.35); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: min(560px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); z-index: 1; }
.modal-close { position: absolute; top: 8px; right: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; cursor: pointer; }
.modal-body { display: block; }
.modal-body.hidden { display: none; }
.field { display: grid; gap: 6px; margin: 10px 0 12px; }
.field input[type="text"], .field input[type="email"] { border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px; font-size: 16px; }
.field input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(0,0,0,0.06); }
.checkbox { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; font-size: 14px; color: var(--muted); }
.err { color: #c62828; font-size: 12px; height: 14px; }

/* Reveal and tilt */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.tilt { will-change: transform; transition: transform .2s ease; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .grid-media { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .grid-media { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
}


