:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --text-muted: #888;
  --text-dim: #555;
  --accent: #c8ff00;
  --accent-dim: #4a5a00;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav .logo span { color: var(--accent); }

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

nav .nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.2s;
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ── SECTIONS ── */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  width: fit-content;
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-meta-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.hero-meta-item .value {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── ABOUT ── */
.about {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-grid h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 400;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* ── PRODUCTS ── */
.products {
  padding-bottom: 8rem;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-family: var(--sans);
  overflow: hidden;
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-card:first-child .product-icon:not(:has(img)) {
  background: linear-gradient(135deg, #c8ff00 0%, #7aab00 100%);
  color: #000;
}

.product-card:nth-child(2) .product-icon:not(:has(img)) {
  background: linear-gradient(135deg, #00c8ff 0%, #0077ab 100%);
  color: #000;
}

/* Dark icon tiles (e.g. OGQuick #1C1C1F) disappear on the #1a1a1a card, so outline them. */
.product-icon--outlined {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14);
}

.product-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.product-card .product-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.product-card .product-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.platform-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

/* ── CONTACT ── */
.contact {
  padding-bottom: 8rem;
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-box h2 {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-box p {
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item .contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.contact-item .contact-value {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* ── LEGAL PAGES ── */
.legal-page {
  padding: 10rem 2rem 6rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.legal-page p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-page ul {
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

.legal-page a {
  color: var(--accent);
  text-decoration: none;
}

.legal-page a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav .nav-links { display: none; }
  .hamburger { display: block; }

  nav .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-meta { flex-direction: column; gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-cards { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
