/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-gray: #f7f7f5;
  --fg: #0d0d0d;
  --fg-muted: #6b6b6b;
  --fg-faint: #b0b0b0;
  --accent: #2563eb;
  --accent-light: #eff6ff;
  --border: #e5e5e5;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-h: 64px;
  --max-w: 1100px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--fg); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── UTILITIES ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.accent { color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.4rem; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.18s ease; white-space: nowrap;
}
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; margin-top: auto; }
.btn-primary { background: var(--fg); color: #fff; }
.btn-primary:hover { background: #1a1a1a; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--fg); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--fg); }
.btn-white { background: #fff; color: var(--fg); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner {
  height: var(--nav-h); display: flex; align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.brand-name { font-size: 1.1rem; font-weight: 800; color: var(--fg); letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  font-size: 0.88rem; font-weight: 500; color: var(--fg-muted);
  text-decoration: none; padding: 0.4rem 0.75rem; border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--fg); background: var(--bg-gray); }

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--fg); border-radius: 2px;
  transition: all 0.2s;
}
.nav-burger.open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column; gap: 0.25rem;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 0.6rem 0; }

/* ── HERO ── */
.hero {
  padding: calc(var(--nav-h) + 6rem) 0 6rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.06;
  letter-spacing: -2px; color: var(--fg);
  margin: 1rem 0 1.5rem;
}
.hero-sub {
  font-size: 1.1rem; color: var(--fg-muted);
  max-width: 560px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

/* ── LABEL (pill) ── */
.label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-light); padding: 0.3rem 0.85rem;
  border-radius: 99px; margin-bottom: 1rem;
}

/* ── MARQUEE ── */
.marquee-wrap {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 0.85rem 0; background: var(--bg-gray);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-group {
  display: flex; align-items: center; gap: 1.25rem;
  padding-right: 1.25rem;
  font-size: 0.82rem; font-weight: 500; color: var(--fg-muted);
  white-space: nowrap;
}
.marquee-group .dot { color: var(--fg-faint); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.section--gray { background: var(--bg-gray); }
.section--cta {
  background: var(--fg);
  color: #fff;
  text-align: center;
}
.section--cta .label { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); }
.section--cta h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 1rem; }
.section--cta p { color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto 2.5rem; }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; letter-spacing: -1px; line-height: 1.1;
  margin-bottom: 0.75rem;
}
.section-sub { color: var(--fg-muted); font-size: 1rem; }

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #d1d5db; }
.product-card--featured { border-color: var(--accent); }
.product-card--featured:hover { border-color: var(--accent); }
.product-card--coming { background: var(--bg-gray); }

.product-card-header { display: flex; align-items: center; justify-content: space-between; }
.product-badge {
  font-size: 0.72rem; font-weight: 700;
  padding: 0.2rem 0.7rem; border-radius: 99px;
}
.product-badge--live { background: #dcfce7; color: #15803d; }
.product-badge--soon { background: #fef9c3; color: #a16207; }

.product-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800;
}
.product-icon--blue { background: var(--accent); color: #fff; }
.product-icon--gray { background: var(--border); color: var(--fg-muted); }

.product-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; }
.product-org { font-size: 0.82rem; color: var(--fg-muted); font-weight: 500; margin-top: -0.5rem; }
.product-desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; flex: 1; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.product-features li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--fg-muted);
}
.product-features li svg {
  width: 16px; height: 16px; flex-shrink: 0;
  color: var(--accent);
}

/* ── BENTO GRID ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bento-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.bento-card:hover { box-shadow: var(--shadow-md); }
.bento-card--wide { grid-column: span 2; }
.bento-card--dark { background: var(--fg); border-color: var(--fg); color: #fff; }
.bento-card--dark h3 { color: #fff; }
.bento-card--dark p { color: rgba(255,255,255,0.55); }
.bento-card--blue { background: var(--accent-light); border-color: #bfdbfe; }
.bento-emoji { font-size: 1.75rem; margin-bottom: 1rem; }
.bento-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.3px; }
.bento-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* ── ABOUT ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-text { display: flex; flex-direction: column; gap: 1rem; }
.about-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900; letter-spacing: -1px; line-height: 1.1;
}
.about-text p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.75; }
.about-contact { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.contact-note { font-size: 0.8rem; color: var(--fg-faint); }

.about-card {
  background: var(--bg-gray); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.about-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.about-stat-n { font-size: 2rem; font-weight: 900; letter-spacing: -1px; color: var(--fg); }
.about-stat-l { font-size: 0.82rem; color: var(--fg-muted); font-weight: 500; }
.about-divider { height: 1px; background: var(--border); }
.about-quote {
  font-size: 0.95rem; color: var(--fg-muted);
  font-style: italic; line-height: 1.6;
}

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.85rem; color: var(--fg-muted); text-decoration: none;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--fg); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.footer-copy { font-size: 0.82rem; color: var(--fg-muted); }
.footer-legal { font-size: 0.78rem; color: var(--fg-faint); }

/* ── PRIVACY PAGE ── */
.privacy-page { padding: calc(var(--nav-h) + 4rem) 0 5rem; max-width: 720px; margin: 0 auto; }
.privacy-page h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 0.5rem; }
.privacy-page .update { font-size: 0.82rem; color: var(--fg-faint); margin-bottom: 3rem; }
.privacy-page h2 { font-size: 1.15rem; font-weight: 700; margin: 2.5rem 0 0.75rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.privacy-page h2:first-of-type { border-top: none; padding-top: 0; }
.privacy-page p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.75rem; }
.privacy-page ul { list-style: disc; padding-left: 1.5rem; color: var(--fg-muted); font-size: 0.95rem; line-height: 1.8; }
.privacy-page a { color: var(--accent); text-decoration: none; }
.privacy-page a:hover { text-decoration: underline; }
.privacy-back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--fg-muted); text-decoration: none; margin-bottom: 2rem; transition: color 0.15s; }
.privacy-back:hover { color: var(--fg); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { letter-spacing: -1px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 500px) {
  .products-grid { grid-template-columns: 1fr; }
}
