@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

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

:root {
  --bg:             #000000;
  --surface:        rgba(255, 255, 255, 0.025);
  --surface-hover:  rgba(255, 255, 255, 0.042);
  --border:         rgba(255, 255, 255, 0.065);
  --border-hover:   rgba(255, 255, 255, 0.11);
  --accent:         #06b6d4;
  --accent-hover:   #22d3ee;
  --accent-glow:    rgba(6, 182, 212, 0.10);
  --accent-dim:     rgba(6, 182, 212, 0.12);
  --text:           rgba(255, 255, 255, 0.92);
  --text-muted:     rgba(255, 255, 255, 0.38);
  --text-subtle:    rgba(255, 255, 255, 0.18);
  --radius:         16px;
  --radius-sm:      8px;
  --radius-pill:    9999px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Nav ─────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-logo img {
  width: 26px;
  height: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text) !important;
  transition: all 0.15s;
}

.nav-cta:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: background 0.15s;
}

.nav-hamburger:hover span {
  background: var(--text);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #050505;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  gap: 14px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-mobile a:hover {
  color: var(--text);
}

/* ── Layout ──────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

/* ── Hero ────────────────────────────────────────── */

.hero {
  padding: 128px 0 104px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

/* ── Section shared ──────────────────────────────── */

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── About ───────────────────────────────────────── */

.about {
  border-top: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-title {
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.75;
}

.about-text p + p {
  margin-top: 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--surface);
  padding: 28px 24px;
  transition: background 0.15s;
}

.stat:hover {
  background: var(--surface-hover);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── Products section ────────────────────────────── */

.products {
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 44px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

/* Base product card */
.product-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.product-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

/* Dim Notes card — featured gradient */
.product-card.dim-notes {
  background: linear-gradient(145deg, rgba(6,182,212,0.08) 0%, rgba(6,182,212,0.03) 50%, rgba(0,0,0,0) 100%);
  border-color: rgba(6, 182, 212, 0.18);
  box-shadow: 0 0 48px rgba(6, 182, 212, 0.05), inset 0 1px 0 rgba(6,182,212,0.08);
}

.product-card.dim-notes:hover {
  border-color: rgba(6, 182, 212, 0.28);
  box-shadow: 0 0 64px rgba(6, 182, 212, 0.09), inset 0 1px 0 rgba(6,182,212,0.12);
}

/* Large faded letter mark behind card */
.product-card.dim-notes::before {
  content: 'DN';
  position: absolute;
  right: 20px;
  top: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(6, 182, 212, 0.06);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.product-card.placeholder {
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 200px;
  border-style: dashed;
  border-color: rgba(255,255,255,0.05);
  background: transparent;
  cursor: default;
}

.product-card.placeholder:hover {
  background: var(--surface);
  border-color: rgba(255,255,255,0.07);
}

.product-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(6, 182, 212, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.product-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.product-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(6,182,212,0.18);
  padding: 3px 9px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 14px;
}

.product-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.product-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 22px;
  transition: gap 0.15s, opacity 0.15s;
  letter-spacing: -0.01em;
}

.product-link:hover {
  gap: 9px;
  opacity: 0.85;
}

.placeholder-text {
  color: var(--text-subtle);
  font-size: 0.875rem;
}

/* ── Footer ──────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.footer-left img {
  width: 18px;
  height: 18px;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-subtle);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text-muted);
}

/* ── Page hero (inner pages) ─────────────────────── */

.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-top: 12px;
  margin-bottom: 12px;
  color: var(--text);
}

.page-hero p {
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* ── Products page grid ──────────────────────────── */

.products-page-section {
  padding-top: 56px;
}

.products-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

/* ── Legal ───────────────────────────────────────── */

.legal-content {
  max-width: 720px;
  padding: 64px 0 96px;
}

.legal-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  color: var(--text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 48px;
}

.legal-tab {
  padding: 10px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.legal-tab.active {
  background: var(--accent);
  color: #000;
}

.legal-section {
  display: none;
}

.legal-section.active {
  display: block;
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding: 88px 0 64px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .products-grid,
  .products-page-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}
