/* ==========================================================================
   ZERODLC — ZERO EXECUTOR MINIMALIST BLACK & WHITE THEME
   Inspired by Project Real / Linear / Vercel Ultra-Dark Aesthetics
   ========================================================================== */

:root {
  --bg-black: #000000;
  --bg-card: #080808;
  --bg-card-hover: #0e0e0e;
  --bg-subtle: #121212;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --border-highlight: rgba(255, 255, 255, 0.35);

  --text-primary: #ffffff;
  --text-secondary: #999999;
  --text-muted: #555555;

  --accent-white: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.12);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Selection */
::selection {
  background: #ffffff;
  color: #000000;
}

/* Background Ambient Grid & Spotlight */
.ambient-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 25%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 25%, #000 60%, transparent 100%);
}

.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease, transform 0.08s ease-out;
  opacity: 0.8;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 24px;
}

.navbar {
  max-width: 1160px;
  margin: 0 auto;
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.navbar:hover {
  border-color: var(--border-hover);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.08) rotate(4deg);
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-nav {
  background: #ffffff;
  color: #000000;
  padding: 8px 16px;
  font-size: 13px;
}

.btn-nav:hover {
  background: #e6e6e6;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 120px 0 80px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  transition: var(--transition);
}

.hero-badge:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 900px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.6;
}

/* Release Status Alert Banner */
.release-alert {
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  max-width: 720px;
  margin-bottom: 38px;
  text-align: left;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.release-alert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #ffffff;
}

.release-alert:hover {
  border-color: var(--border-highlight);
  background: rgba(22, 22, 22, 0.95);
  transform: translateY(-2px);
}

.release-alert-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
  box-shadow: 0 0 12px #ffffff;
  animation: pulseIndicator 1.8s infinite;
}

@keyframes pulseIndicator {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.release-alert-text {
  font-size: 13.5px;
  color: #bbbbbb;
  line-height: 1.55;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  padding: 13px 28px;
  font-size: 15px;
}

.btn-primary:hover {
  background: #e6e6e6;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 13px 26px;
  font-size: 15px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 36px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

/* --------------------------------------------------------------------------
   IDE WORKSPACE PREVIEW
   -------------------------------------------------------------------------- */
.preview-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

.ide-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.ide-frame:hover {
  border-color: var(--border-hover);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.05);
}

.ide-topbar {
  background: #0d0d0d;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ide-traffic-lights {
  display: flex;
  align-items: center;
  gap: 7px;
}

.light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a2a2a;
}

.light.close { background: #ff5f56; }
.light.min { background: #ffbd2e; }
.light.max { background: #27c93f; }

.ide-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ide-tab {
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  background: transparent;
  cursor: pointer;
}

.ide-tab.active {
  background: #181818;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-close {
  opacity: 0.6;
  font-size: 14px;
}

.ide-tab-plus {
  color: var(--text-muted);
  font-size: 16px;
  padding: 0 8px;
  cursor: pointer;
}

.ide-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.ide-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.ide-content {
  display: flex;
  background: #050505;
  padding: 24px 0;
  min-height: 280px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
}

.ide-gutter {
  padding: 0 16px 0 20px;
  color: #333333;
  display: flex;
  flex-direction: column;
  user-select: none;
  text-align: right;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.ide-code {
  padding: 0 24px;
  color: #d1d1d1;
  overflow-x: auto;
  white-space: pre;
}

.code-comment { color: #555555; font-style: italic; }
.code-keyword { color: #ffffff; font-weight: 600; }
.code-global { color: #cccccc; }
.code-func { color: #ffffff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.2); }
.code-def { color: #e6e6e6; }
.code-prop { color: #a3a3a3; }
.code-str { color: #999999; }

.ide-bottom-bar {
  background: #0a0a0a;
  border-top: 1px solid var(--border-subtle);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ide-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: #141414;
  color: #ffffff;
  transition: var(--transition);
}

.ide-btn:hover {
  background: #202020;
  border-color: var(--border-hover);
}

.ide-btn.execute {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.ide-btn.execute:hover {
  background: #e6e6e6;
}

.ide-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   BENTO GRID FEATURES
   -------------------------------------------------------------------------- */
.features-section {
  padding: 100px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.bento-large {
  grid-column: span 2;
}

.bento-wide {
  grid-column: span 3;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-terminal {
  margin-top: 24px;
  background: #030303;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #888888;
  line-height: 1.6;
}

.card-terminal code {
  color: #bbbbbb;
}

.card-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.card-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tech-pill {
  padding: 6px 12px;
  background: #141414;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-family: var(--font-mono);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   ARCHITECTURE SECTION
   -------------------------------------------------------------------------- */
.architecture-section {
  padding: 80px 0;
}

.pipeline-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

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

.step-num {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 14px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.step-arrow {
  color: var(--text-muted);
  font-size: 24px;
  user-select: none;
}

/* --------------------------------------------------------------------------
   FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 90px 0;
}

.faq-container {
  max-width: 820px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-sans);
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-item.open .faq-body {
  padding-bottom: 20px;
}

/* --------------------------------------------------------------------------
   CTA BANNER SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 80px 0 120px;
}

.cta-container {
  background: linear-gradient(180deg, #101010 0%, #060606 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.cta-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 34px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: #020202;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-left: 12px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-right a {
  color: var(--text-secondary);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   ANIMATIONS & REVEAL EFFECTS
   -------------------------------------------------------------------------- */
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-title { font-size: 44px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-wide { grid-column: span 1; }
  .card-flex { flex-direction: column; align-items: flex-start; }
  .pipeline-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); margin: 6px 0; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 18px; border-radius: var(--radius-md); }
  .stat-divider { display: none; }
  .nav-links { display: none; }
}
