:root {
  --bg-dark: #0a0a0a;
  --text-main: #e0e0e0;
  --primary: #00ff99; /* Neon Green */
  --primary-dim: rgba(0, 255, 153, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 16px;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Background Effects */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.07;
  z-index: 0;
}

.glass-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% -20%, #00ff9922, transparent 40%),
    radial-gradient(circle at 80% 80%, #00ccff11, transparent 40%);
  z-index: -1;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.4s var(--transition),
    border-color 0.4s var(--transition);
}

.glass-panel:hover {
  border-color: rgba(0, 255, 153, 0.3);
  transform: translateY(-4px);
}

/* Typography */
h1,
h2,
h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #fff;
}

h1.glitch-text {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-dim);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.slash-anim {
  animation: slashFlash 3s infinite;
}

@keyframes slashFlash {
  0%,
  90% {
    stroke: #00ff99;
    stroke-width: 3;
  }
  95% {
    stroke: #fff;
    stroke-width: 5;
    filter: drop-shadow(0 0 8px #fff);
  }
  100% {
    stroke: #00ff99;
    stroke-width: 3;
  }
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: #aaa;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: #fff;
}

/* Buttons */
.btn-primary,
.btn-primary-sm,
.btn-primary-full {
  background: var(--primary);
  color: #000;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s var(--transition), box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover,
.btn-primary-sm:hover,
.btn-primary-full:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.4);
}

.btn-primary-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-secondary,
.btn-secondary-full {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-secondary:hover,
.btn-secondary-full:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

.btn-primary-full,
.btn-secondary-full {
  display: block;
  text-align: center;
  margin-top: 16px;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.subtitle {
  font-size: 1.1rem;
  color: #aaa;
  margin: 24px 0 32px 0;
  max-width: 500px;
}

.hero-visual {
  perspective: 1000px;
}

.terminal-window {
  background: #000; /* Deep black for terminal */
  font-family: "JetBrains Mono", monospace;
  border: 1px solid #333;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s var(--transition);
  min-height: 400px;
}

.terminal-window:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid #222;
  background: #111;
  border-radius: 16px 16px 0 0;
}

.dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

.terminal-body {
  padding: 16px;
  color: #0f0;
  font-size: 0.9rem;
}

/* Typewriter Cursor */
.cursor::after {
  content: "▋";
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Features */
.features {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 64px;
}

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

.icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* Pricing */
.pricing {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  position: relative;
}

.price-card.featured {
  border-color: var(--primary);
  background: rgba(0, 255, 153, 0.05);
}

.badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 16px 0;
}

.price span {
  font-size: 1rem;
  color: #888;
  font-weight: 400;
}

/* Download CTA */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.centered-panel {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px;
}

/* Install Widget */
.install-widget {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    display: inline-block;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.os-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    justify-content: center;
}

.os-tab {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    padding-bottom: 0.2rem;
    transition: all 0.3s ease;
}

.os-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.code-block {
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: border 0.3s;
}

.code-block:hover {
    border-color: var(--primary);
}

.code-block code {
  font-family: "JetBrains Mono", monospace;
  color: var(--primary);
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.copy-btn:hover {
  opacity: 1;
}

.os-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    margin-top: 48px;
  }

  .subtitle {
    margin: 24px auto;
  }

  h1.glitch-text {
    font-size: 2.5rem;
  }
}
