*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0a0a0f;
  --bg-card: #0f0f0f;
  --border: #1a1a1a;
  --border-hover: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #888;
  --text-dim: #555;
  --accent: #D48B3A;
  --accent-glow: rgba(212, 139, 58, 0.15);
  --accent-glow-strong: rgba(212, 139, 58, 0.3);
  --radius: 12px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }
a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 24px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 28px; width: auto; }
.nav-logo span { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.nav-cta {
  font-size: 14px; font-weight: 500; color: var(--accent);
  border: 1px solid rgba(212, 139, 58, 0.3); padding: 8px 18px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-cta:hover { background: rgba(212, 139, 58, 0.1); opacity: 1; }

/* Scroll Hero */
#hero-scroll-container { height: 500vh; position: relative; background: var(--bg); }
#hero-sticky {
  position: sticky; top: 0; height: 100vh; width: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--bg);
}

/* Loader */
#hero-loader {
  position: absolute; inset: 0; z-index: 50; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#hero-loader.hidden { opacity: 0; visibility: hidden; }
.loader-text {
  font-size: 14px; color: var(--text-muted); margin-bottom: 16px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.loader-bar-track { width: 200px; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { width: 0%; height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.15s ease; }
.loader-percent { margin-top: 10px; font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums; }

/* Canvas */
#hero-canvas {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -54%);
  max-width: 100%; max-height: 100vh; width: auto; height: auto;

  clip-path: inset(0 0 9% 0);
}

/* Vignette */
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, var(--bg) 100%);
  pointer-events: none; z-index: 2;
}
/* Bottom fade for premium look */
.hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(to top, var(--bg) 20%, rgba(10,10,15,0.6) 60%, transparent 100%);
  pointer-events: none; z-index: 3;
}

/* Text overlays */
.hero-overlay {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  pointer-events: none; padding: 0 20px 140px 20px;
}
.hero-text-group {
  text-align: center; opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute; pointer-events: none;
}
.hero-text-group.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero-text-group h1 {
  font-size: clamp(48px, 10vw, 96px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 12px;

}
.hero-text-group h1 .accent {
  background: linear-gradient(135deg, var(--accent), #e6a654);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-text-group p {
  font-size: clamp(16px, 2.5vw, 22px); color: var(--text-muted);

}
.hero-text-group .hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--bg); font-weight: 600; font-size: 16px;
  padding: 14px 32px; border-radius: 10px; transition: all 0.3s;
  box-shadow: 0 0 30px rgba(212, 139, 58, 0.3);
  pointer-events: auto; text-decoration: none; margin-top: 20px;
}
.hero-text-group .hero-cta:hover {
  opacity: 1; transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(212, 139, 58, 0.5);
}
.hero-text-group .hero-cta svg { width: 18px; height: 18px; transition: transform 0.2s; }
.hero-text-group .hero-cta:hover svg { transform: translateX(3px); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 1; transition: opacity 0.4s ease;
}
.scroll-indicator.hidden { opacity: 0; }
.scroll-indicator span { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.scroll-indicator .chevron {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg); animation: bounceDown 1.5s ease infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* Section Headers */
.section-label {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px;
}
h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 17px; max-width: 560px; margin-bottom: 56px; }

/* Features */
#features { border-top: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 28px; margin-bottom: 16px; display: block; position: relative; }
.feature-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; position: relative; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; position: relative; }

/* Proof */
#proof { border-top: 1px solid var(--border); text-align: center; }
.proof-box {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 48px 32px; max-width: 640px; margin: 0 auto; position: relative; overflow: hidden;
}
.proof-box::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.proof-status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border-radius: 100px; background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2); font-size: 13px; color: #22c55e;
  font-weight: 500; margin-bottom: 24px;
}
.proof-status .dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.proof-box h2 { font-size: 24px; margin-bottom: 12px; }
.proof-box p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.proof-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px;
  color: var(--accent); padding: 10px 20px; border: 1px solid rgba(212, 139, 58, 0.3);
  border-radius: 8px; transition: all 0.2s;
}
.proof-link:hover { opacity: 1; background: rgba(212, 139, 58, 0.1); }

/* About */
#about { border-top: 1px solid var(--border); }
.about-content { display: flex; align-items: center; gap: 64px; max-width: 800px; }
@media (max-width: 768px) { .about-content { flex-direction: column; gap: 32px; text-align: center; } }
.about-avatar {
  flex-shrink: 0; width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #b06a20);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 700; color: var(--bg);
}
.about-text h2 { font-size: 28px; margin-bottom: 12px; }
.about-text p { color: var(--text-muted); font-size: 16px; margin-bottom: 20px; line-height: 1.7; }
.about-socials { display: flex; gap: 12px; }
@media (max-width: 768px) { .about-socials { justify-content: center; } }
.social-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  border: 1px solid var(--border); border-radius: 8px; font-size: 14px;
  color: var(--text-muted); font-weight: 500; transition: all 0.2s;
}
.social-link:hover { color: var(--text); border-color: var(--border-hover); opacity: 1; }

/* Waitlist */
#waitlist { border-top: 1px solid var(--border); text-align: center; }
.waitlist-box { max-width: 480px; margin: 0 auto; }
.waitlist-box h2 { font-size: 32px; margin-bottom: 12px; }
.waitlist-box .section-desc { margin: 0 auto 32px; }
.waitlist-form { display: flex; gap: 10px; }
@media (max-width: 520px) { .waitlist-form { flex-direction: column; } }
.waitlist-form input {
  flex: 1; padding: 14px 18px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  font-size: 15px; font-family: inherit; outline: none; transition: border-color 0.2s;
}
.waitlist-form input::placeholder { color: var(--text-dim); }
.waitlist-form input:focus { border-color: var(--accent); }
.waitlist-form button {
  padding: 14px 28px; background: var(--accent); color: var(--bg); border: none;
  border-radius: 10px; font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; white-space: nowrap; transition: all 0.3s;
}
.waitlist-form button:hover { opacity: 0.9; transform: translateY(-1px); }
.waitlist-success {
  display: none; padding: 14px 20px; border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.05); border-radius: 10px; color: #22c55e;
  font-size: 14px; margin-top: 16px;
}

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 24px; text-align: center; }
.footer-links { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 20px; }
.footer-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); opacity: 1; }
.footer-divider { width: 1px; height: 16px; background: var(--border); }
.footer-note { font-size: 13px; color: var(--text-dim); }

/* Grain */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}

/* Bob logo avatar in hero */
.hero-bob-logo {
  width: 72px; height: 72px; border-radius: 50%;
  border: 2px solid rgba(212,139,58,0.5);
  box-shadow: 0 0 24px rgba(212,139,58,0.3);
  margin-bottom: 16px; object-fit: cover;
}
