:root {
  --bg-color: #0f172a;
  --text-color: #f8fafc;
  --primary: #3b82f6;
  --accent: #8b5cf6;
  --glass: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Blobs */
.blob-1,
.blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: -1;
}
.blob-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--primary);
}
.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--accent);
}

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  backdrop-filter: blur(10px);
}
.logo {
  font-weight: 700;
  font-size: 1.5rem;
}
.btn-github {
  text-decoration: none;
  color: white;
  background: var(--glass);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: 0.3s;
}
.btn-github:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 4rem 5%;
  gap: 4rem;
}
.hero-content {
  flex: 1;
  min-width: 300px;
}
.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

/* Buttons */
.cta-group {
  display: flex;
  gap: 1rem;
}
.btn-primary {
  text-decoration: none;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}
.btn-secondary {
  text-decoration: none;
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  border: 1px solid var(--border);
}

/* Code Card */
.hero-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}
.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.code-header {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

pre {
  font-family: "Consolas", monospace;
  color: #e2e8f0;
  overflow-x: auto;
}
.keyword {
  color: #ff79c6;
}
.string {
  color: #f1fa8c;
}
.attr {
  color: #8be9fd;
}
.var {
  color: #bd93f9;
}
.comment {
  color: #6272a4;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 5%;
}
.feature-card {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 15px;
  transition: 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}
.icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  color: #64748b;
  margin-top: auto;
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .cta-group {
    justify-content: center;
  }
}
