:root {
  --bg-pure: #000000;
  --bg-surface: #09090B;
  --bg-card: #0E0E11;
  --text-primary: #FAFAFA;
  --text-secondary: #A1A1AA;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --aurora-1: #F6821F;
  --aurora-2: #8B5CF6;
  --aurora-3: #06B6D4;
  --success: #22c55e;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg-pure); color: var(--text-primary); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden; }

/* Grid texture */
body::before {
  content: ""; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black, transparent 80%);
  z-index: 0; pointer-events: none;
}
a { text-decoration: none; color: var(--aurora-3); }
a:hover { text-decoration: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 40px; background: rgba(0,0,0,0.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle); z-index: 100;
}
.nav-brand { display: flex; align-items: center; width: 160px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-secondary); font-weight: 500; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; gap: 14px; align-items: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  transition: all 0.25s ease; cursor: pointer; border: none; text-decoration: none;
}
.btn-primary {
  background: var(--text-primary); color: var(--bg-pure); border: 1px solid var(--text-primary);
  box-shadow: 0 0 20px rgba(255,255,255,0.08);
}
.btn-primary:hover { background: #E4E4E7; transform: translateY(-1px); box-shadow: 0 0 30px rgba(255,255,255,0.15); }
.btn-outline {
  background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ===== HERO ===== */
.hero-section {
  position: relative; padding: 160px 40px 80px; min-height: 100vh;
  display: flex; align-items: center; z-index: 1;
}
.hero-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; width: 100%; }
.hero-content { flex: 1.1; position: relative; z-index: 10; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle); border-radius: 99px;
  font-size: 0.85rem; font-weight: 500; margin-bottom: 24px; color: var(--text-secondary); backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 8px; height: 8px; background: var(--aurora-1); border-radius: 50%;
  box-shadow: 0 0 10px var(--aurora-1); animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1.05; margin-bottom: 24px;
  font-weight: 800; letter-spacing: -0.04em;
}
.text-metallic {
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-word {
  background: linear-gradient(135deg, var(--aurora-3), var(--aurora-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero animation */
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; height: 550px; }
.abstract-container { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; mix-blend-mode: screen; z-index: 1; }
.orb-1 { width: 320px; height: 320px; background: var(--aurora-2); top: 10%; right: 10%; animation: drift 12s ease-in-out infinite alternate; }
.orb-2 { width: 280px; height: 280px; background: var(--aurora-1); bottom: 10%; left: 10%; animation: drift 16s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 220px; height: 220px; background: var(--aurora-3); top: 40%; left: 30%; animation: drift 14s ease-in-out infinite alternate; opacity: 0.35; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--border-subtle); z-index: 2; }
.ring-1 { width: 420px; height: 420px; border: 1px dashed rgba(255,255,255,0.12); animation: spin 60s linear infinite; }
.ring-2 { width: 280px; height: 280px; backdrop-filter: blur(2px); animation: spin 40s linear infinite reverse; }
.glass-panel {
  position: absolute; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.5); z-index: 3;
}
.panel-1 { width: 210px; height: 270px; top: 12%; left: 8%; transform: rotate(-8deg); animation: float 8s ease-in-out infinite; --rot: -8deg; padding: 20px; overflow: hidden; }
.panel-2 { width: 200px; height: 200px; bottom: 18%; right: 5%; transform: rotate(5deg); animation: float 10s ease-in-out infinite 1s; --rot: 5deg; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* Sign-in panel inner elements */
.panel-logo { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.panel-heading { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.fake-input {
  width: 100%; height: 30px; border-radius: 6px; margin-bottom: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
}
.fake-input.short { width: 100%; height: 30px; }
.fake-btn {
  width: 100%; height: 32px; border-radius: 6px; margin-top: 6px;
  background: linear-gradient(135deg, var(--aurora-3), var(--aurora-2)); opacity: 0.8;
}
.fake-divider { width: 100%; text-align: center; font-size: 10px; color: rgba(255,255,255,0.25); margin: 8px 0; }
.fake-social { display: flex; gap: 8px; width: 100%; }
.fake-social-btn {
  flex: 1; height: 28px; border-radius: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: rgba(255,255,255,0.4);
}

/* Fingerprint panel */
.fp-icon { font-size: 48px; color: var(--aurora-3); opacity: 0.8; margin-bottom: 10px; filter: drop-shadow(0 0 12px rgba(6,182,212,0.4)); }
.fp-ring {
  position: absolute; width: 100px; height: 100px; border-radius: 50%;
  border: 2px solid rgba(6,182,212,0.15); top: 50%; left: 50%;
  transform: translate(-50%,-55%); animation: fp-pulse 3s ease-in-out infinite;
}
.fp-ring-2 { width: 140px; height: 140px; border-color: rgba(6,182,212,0.08); animation-delay: 0.5s; }
.fp-label { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; }
@keyframes fp-pulse {
  0%,100% { transform: translate(-50%,-55%) scale(1); opacity: 1; }
  50% { transform: translate(-50%,-55%) scale(1.15); opacity: 0.5; }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 24px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.section-label {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  background: linear-gradient(90deg, var(--aurora-3), var(--aurora-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 12px;
}
.section h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; margin-bottom: 16px; }
.section .subtitle { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin-bottom: 48px; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 20px;
}
.feature-icon.cyan { background: rgba(6,182,212,0.12); color: var(--aurora-3); }
.feature-icon.violet { background: rgba(139,92,246,0.12); color: var(--aurora-2); }
.feature-icon.orange { background: rgba(246,130,31,0.12); color: var(--aurora-1); }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== CODE SECTION ===== */
.code-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.code-block {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; overflow: hidden;
}
.code-header {
  padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); display: flex; align-items: center; gap: 8px;
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot:nth-child(1) { background: #ef4444; }
.code-dot:nth-child(2) { background: #f59e0b; }
.code-dot:nth-child(3) { background: #22c55e; }
.code-body {
  padding: 20px; font-family: 'SF Mono', Monaco, Consolas, monospace; font-size: 13px;
  line-height: 1.7; overflow-x: auto; color: #e2e8f0;
}
.code-body .kw { color: #c084fc; }
.code-body .str { color: #34d399; }
.code-body .cm { color: #52525B; }
.code-body .fn { color: var(--aurora-3); }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px;
  padding: 32px; position: relative; transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.price-card.popular { border-color: var(--aurora-2); }
.price-card.popular::before {
  content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--aurora-2), var(--aurora-3)); color: white;
  font-size: 12px; font-weight: 600; padding: 4px 16px; border-radius: 999px;
}
.price-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.price-amount { font-size: 40px; font-weight: 800; margin-bottom: 4px; }
.price-amount span { font-size: 16px; font-weight: 400; color: var(--text-secondary); }
.price-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li { font-size: 14px; color: var(--text-secondary); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.price-features li i { color: var(--success); }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border-subtle); padding: 48px 24px; position: relative; z-index: 1; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }

/* ===== KEYFRAMES ===== */
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-30px) scale(1.1); } 100% { transform: translate(-20px,20px) scale(0.9); } }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-20px) rotate(var(--rot,0deg)); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(246,130,31,0.4); } 70% { box-shadow: 0 0 0 6px rgba(246,130,31,0); } 100% { box-shadow: 0 0 0 0 rgba(246,130,31,0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-container { flex-direction: column; text-align: center; gap: 0; }
  .hero-badge { margin: 0 auto 24px; }
  .hero-subtitle { margin: 0 auto 30px; }
  .hero-ctas { justify-content: center; }
  .hero-visual { height: 380px; transform: scale(0.75); }
  .nav-links { display: none; }
  .code-section { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .hero-section { padding: 130px 20px 60px; }
  .hero-ctas { flex-direction: column; }
  .hero-visual { transform: scale(0.55); }
  .navbar { padding: 12px 20px; }
}
