:root {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --bg-card: #141414;
  --text: #e8e8e8;
  --text-dim: #888;
  --text-muted: #555;
  --accent: #c9a84c;
  --accent-soft: #c9a84c22;
  --border: #222;
  --border-light: #2a2a2a;
  --radius: 12px;
  --radius-sm: 6px;
  --max-w: 1200px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* ─── Navigation ─── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10,10,10,0.7); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: -0.5px;
  color: var(--accent); position: relative;
}
.logo::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.3s;
}
.logo:hover::after { width: 100%; }
.nav-links { display: flex; gap: 2rem; font-size: 0.9rem; font-weight: 500; }
.nav-links a { color: var(--text-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: 0.3s; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  body.nav-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-elev); padding: 1rem 2rem; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 8rem 2rem 4rem; gap: 4rem;
}
.hero-content { flex: 1; max-width: 600px; }
.hero-eyebrow {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-dim); max-width: 480px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { flex: 0 0 400px; height: 400px; position: relative; }
.orbital { position: relative; width: 100%; height: 100%; animation: rotate 120s linear infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ring { position: absolute; border: 1px solid var(--border-light); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.r1 { width: 120px; height: 120px; animation: pulse 4s ease-in-out infinite; }
.r2 { width: 220px; height: 220px; animation: pulse 6s ease-in-out infinite 1s; }
.r3 { width: 340px; height: 340px; animation: pulse 8s ease-in-out infinite 2s; }
.core { position: absolute; width: 16px; height: 16px; background: var(--accent); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 40px var(--accent); }
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; } }

@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 6rem; }
  .hero-visual { flex: none; width: 300px; height: 300px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
}

/* ─── Buttons ─── */
.btn-primary, .btn-ghost, .btn-sm {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-sm); font-size: 0.9rem;
  font-weight: 500; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: #d4b55a; color: var(--bg); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-light); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }
.btn-sm:hover { background: var(--accent); color: var(--bg); }

/* ─── Stats ─── */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
}
.stat-num { display: block; font-family: var(--font-serif); font-size: 3rem; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── Section Headers ─── */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; padding: 0 2rem; }
.section-header h2 { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 1rem; }
.section-header p { color: var(--text-dim); }
.section-footer { text-align: center; margin-top: 3rem; }

/* ─── Products ─── */
.products { padding: 8rem 2rem; max-width: var(--max-w); margin: 0 auto; }
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: border-color 0.3s, transform 0.3s; position: relative;
}
.product-card:hover { border-color: var(--border-light); transform: translateY(-3px); }
.product-badge {
  display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent); background: var(--accent-soft); padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1rem;
}
.product-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; font-weight: 600; }
.product-card p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 2rem; min-height: 60px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text); }

/* ─── Features ─── */
.features { padding: 8rem 2rem; background: var(--bg-elev); }
.feature-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3rem;
}
.feature-num { font-family: var(--font-serif); font-size: 2.5rem; color: var(--accent); opacity: 0.5; line-height: 1; margin-bottom: 1rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.75rem; font-weight: 600; }
.feature p { color: var(--text-dim); font-size: 0.95rem; }

/* ─── Latest / Blog Preview ─── */
.latest { padding: 8rem 2rem; max-width: var(--max-w); margin: 0 auto; }
.post-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;
}
.post-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem;
  transition: border-color 0.2s;
}
.post-card:hover { border-color: var(--border-light); }
.post-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 600; }
.post-card p { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 1rem; }
.post-card .date { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ─── Contact ─── */
.contact { padding: 8rem 2rem; background: var(--bg-elev); }
.contact-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.contact h2 { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 1rem; }
.contact > p { color: var(--text-dim); max-width: 500px; margin: 0 auto 2rem; }
.contact-methods { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.contact-methods a { color: var(--accent); font-size: 0.95rem; position: relative; }
.contact-methods a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s; }
.contact-methods a:hover::after { width: 100%; }

/* ─── Footer ─── */
.footer { padding: 4rem 2rem 2rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-brand { text-align: center; }
.footer-brand .logo { display: inline-block; margin-bottom: 0.5rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 2rem; font-size: 0.85rem; color: var(--text-dim); }
.footer-copy { color: var(--text-muted); font-size: 0.75rem; margin-top: 1rem; }
