:root {
  --primary: #10b981;
  --primary-hover: #059669;
  --bg-dark: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient-primary: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

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

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

/* Background Blobs for Glassmorphism */
.blob {
  position: absolute;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
  border-radius: 50%;
  animation: float 20s infinite alternate;
}
.blob-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(16, 185, 129, 0.3);
}
.blob-2 {
  top: 40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.3);
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
}
.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo span {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Glassmorphism Cards */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.glass::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: all 0.7s;
  z-index: -1;
}

.glass:hover::before {
  left: 150%;
}

.glass:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Features */
.features {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.feature-card p {
  color: var(--text-muted);
}

/* Terminal & Code */
.code-showcase, .cli-demo-section {
  padding: 5rem 2rem;
}
.code-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}
.code-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}
.mac-dots {
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.filename {
  margin-left: 1rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}
.terminal-body {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  background: #0d1117;
  min-height: 250px;
}
.term-line {
  margin-bottom: 0.5rem;
}
.term-prompt {
  color: #10b981;
  font-weight: bold;
}
.term-cmd {
  color: #f8fafc;
}
.term-output {
  color: #94a3b8;
}
.term-menu {
  color: #3b82f6;
  padding-left: 1rem;
}
.term-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: white;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Benchmarks */
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.bar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-light);
}
.bar-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.bar-track {
  flex-grow: 1;
  height: 24px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.bar-text {
  min-width: 90px;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--text-light);
}

/* Footer */
.footer {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero {
    padding: 8rem 2rem 4rem;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  .nav-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 0.9rem;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .hero {
    padding: 9rem 1.5rem 3rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
    max-width: 300px;
  }
  .glass {
    padding: 1.5rem !important;
  }
  .features, .code-showcase, .cli-demo-section {
    padding: 3rem 1rem;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .bar-wrapper {
    gap: 0.5rem;
  }
  .bar-text {
    min-width: 70px;
    font-size: 0.75rem;
    text-align: right;
  }
  .bar-label {
    font-size: 0.75rem;
  }
  .bar-track {
    height: 16px;
  }
  .features-grid, .docs-grid {
    grid-template-columns: 1fr !important;
  }
  .terminal-body {
    padding: 1rem !important;
    font-size: 0.85rem !important;
  }
  .terminal-body pre {
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .logo span {
    font-size: 1.25rem;
  }
}

.text-emerald {
  color: var(--primary);
  text-decoration: none;
}
