:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: rgba(15, 23, 42, 0.06);
  --border-focus: rgba(15, 23, 42, 0.12);
  --accent-cyan: #0891b2;
  --accent-violet: #7c3aed;
  --accent-green: #16a34a;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Faint Grid Overlay */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Premium Mesh Glow Effects */
.mesh-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.mesh-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 300px;
  left: -200px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

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

/* Navigation */
.nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-bold {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.version-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-violet);
  background: rgba(124, 58, 237, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.github-link {
  color: var(--text-main);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.github-link:hover {
  color: var(--accent-violet);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2.5px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-weight: 400;
}

/* Two consoles side-by-side */
.consoles-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}

@media (max-width: 968px) {
  .consoles-container {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 48px auto 0;
  }
}

/* Console Box */
.console-wrapper {
  width: 100%;
  background: #0b0f17;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
  overflow: hidden;
  text-align: left;
}

.console-header {
  background: #111827;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.console-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9ca3af;
  margin-right: 32px;
}

.console-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comment {
  color: #6b7280;
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
}

.code-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 16px;
}

.prompt {
  color: #10b981;
  margin-right: 10px;
  user-select: none;
}

.cmd {
  color: #38bdf8;
  flex: 1;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.copy-btn.copied {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #ffffff;
}

/* Showcase Section (Light) */
.showcase-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.showcase-section .section-title {
  text-align: center;
  margin-bottom: 20px;
}

.showcase-section .section-title h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
}

.showcase-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.showcase-visual {
  display: flex;
  justify-content: center;
}

.showcase-img {
  width: 100%;
  max-width: 780px;
  height: auto;
  border-radius: 16px;
  display: block;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

/* Features */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-violet);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.02);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.feature-icon-wrapper.cyan {
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid rgba(8, 145, 178, 0.15);
}

.feature-icon-wrapper.violet {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.feature-icon-wrapper.green {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.15);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
}

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

@media (max-width: 640px) {
  .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

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

.footer-left .logo-bold {
  font-size: 18px;
}

.footer-left p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-right p {
  font-size: 13px;
  color: var(--text-muted);
}
