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

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --card: #1a1a28;
  --gold: #f0b90b;
  --gold-dark: #c99a00;
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --border: #2a2a3a;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scroll progress */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  z-index: 200;
  width: 0%;
  transition: width 0.1s;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s;
}

.navbar.hidden { transform: translateY(-100%); }

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

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { display: block; }

.gold { color: var(--gold); }

.handwriting { font-family: 'Caveat', cursive; }
.serif-heading { font-family: 'Playfair Display', serif; }

.hero h1 .gold { font-family: 'Playfair Display', serif; font-style: italic; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 300;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(240,185,11,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(240,185,11,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,185,11,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,185,11,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}
.orb-1 {
  width: 400px; height: 400px;
  background: rgba(240,185,11,0.08);
  top: -100px; left: -100px;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-2 {
  width: 300px; height: 300px;
  background: rgba(240,185,11,0.05);
  bottom: -80px; right: -80px;
  animation: orbFloat 25s ease-in-out infinite reverse;
}
.orb-3 {
  width: 200px; height: 200px;
  background: rgba(200,150,50,0.06);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 15s ease-in-out infinite 5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content { position: relative; max-width: 720px; z-index: 1; }

.badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(240,185,11,0.2);
  background: rgba(240,185,11,0.06);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,185,11,0.25); }

.btn-outline {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-weight: 400;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--gold); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 60px;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-value {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Logo Section */
.logo-section {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logo-showcase {
  text-align: center;
}

.logo-main {
  max-width: 340px;
  height: auto;
  margin-bottom: 20px;
}

.logo-tagline {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Sections */
.section { padding: 100px 24px; }

.section.dark { background: var(--surface); }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-inner.narrow { max-width: 800px; }

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
}

.section h2 {
  font-size: 2.2rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 56px;
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(240,185,11,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon { font-size: 1.3rem; }

.feature-card h3 { font-size: 1.1rem; font-weight: 300; margin-bottom: 10px; }

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.feature-card p strong { color: var(--text); }

/* Company */
.company-section { background: var(--bg); }

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.company-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.company-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.company-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(240,185,11,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.company-icon-wrap svg { width: 26px; height: 26px; color: var(--gold); }

.company-card h3 {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.company-name {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 12px;
}

.company-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Download */
.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.btn-download:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.btn-download svg { width: 22px; height: 22px; flex-shrink: 0; }

.waitlist-card {
  max-width: 480px;
  margin: 48px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.waitlist-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.waitlist-form {
  display: flex;
  gap: 12px;
}

.waitlist-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form input:focus { border-color: var(--gold); }
.waitlist-form input::placeholder { color: var(--text-muted); }

.waitlist-form button {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  border-radius: 8px;
  color: #0a0a0f;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.2s;
  white-space: nowrap;
}
.waitlist-form button:hover { transform: scale(1.03); }

/* Legal */
.legal-text { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }

.legal-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}
.legal-block:hover { border-color: rgba(240,185,11,0.15); }

.legal-block p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.legal-block strong { color: var(--text); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

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

.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer p { color: var(--text-muted); font-size: 0.82rem; }

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* Back to top */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s;
  z-index: 50;
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10,10,15,0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 28px; margin-top: 40px; }
  .section { padding: 60px 20px; }
  .section h2 { font-size: 1.6rem; }
  .features-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .download-buttons { flex-direction: column; align-items: center; }
  .waitlist-form { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .stat-value { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
  .logo-main { max-width: 260px; }
}
