:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --secondary: #8b5cf6;
  --secondary-hover: #7c3aed;
  --background: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.7);
  --text-main: #f1f5f9;
  --text-dim: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(15, 23, 42, 0.8);
  --accent: #10b981;
  --ai-primary: #8b5cf6;
  --ai-glow: rgba(139, 92, 246, 0.3);
}

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

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

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 40%
    );
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: var(--glass);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 32px;
  width: auto;
}

.logo span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.hero {
  padding: 12rem 0 8rem;
  text-align: center;
}

.hero-tagline {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 3rem;
}

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

.btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.features {
  padding: 8rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-dim);
}

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

.feature-card {
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  background: rgba(30, 41, 59, 0.9);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 1rem;
}

/* AI Section Specifics */
.ai-section {
  padding: 8rem 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(139, 92, 246, 0.05) 0%,
    transparent 70%
  );
}

.ai-card {
  border-color: rgba(139, 92, 246, 0.2);
}

.ai-card:hover {
  border-color: var(--ai-primary);
  box-shadow: 0 0 30px var(--ai-glow);
}

.ai-badge {
  background: linear-gradient(135deg, var(--ai-primary), var(--secondary));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.how-it-works {
  padding: 8rem 0;
  background: rgba(30, 41, 59, 0.3);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.releases {
  padding: 8rem 0;
}

#releases-list {
  display: grid;
  gap: 1.5rem;
}

.release-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  cursor: pointer;
  overflow: hidden;
}

.release-card:hover {
  border-color: var(--accent);
  background: rgba(30, 41, 59, 0.85);
  transform: translateY(-2px);
}

.release-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  transition: all 0.3s ease;
}

.release-card.active .release-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.release-version {
  font-family: "Outfit", sans-serif;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.release-chevron {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
  opacity: 0.5;
}

.release-card.active .release-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.release-version::before {
  content: "v";
  font-size: 0.875rem;
  opacity: 0.6;
}

.release-date {
  font-size: 0.875rem;
  color: var(--text-dim);
  font-weight: 500;
}

.release-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.release-card.active .release-content {
  max-height: 2000px;
  transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

.release-body {
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.7;
}

.release-body h1,
.release-body h2,
.release-body h3 {
  color: #fff;
  margin: 1.5rem 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.release-body p {
  margin-bottom: 1rem;
  color: var(--text-dim);
}

.release-body ul,
.release-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.release-body li {
  margin-bottom: 0.5rem;
  color: var(--text-dim);
}

.release-body li strong {
  color: #fff;
}

.release-body code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  font-family: "Cascadia Code", "Fira Code", monospace;
  font-size: 0.85rem;
  color: var(--primary);
}

.release-body pre {
  background: #000;
  padding: 1.25rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid var(--border);
}

.release-body pre code {
  background: transparent;
  padding: 0;
  color: #fff;
  font-size: 0.875rem;
}

.release-body a {
  color: var(--primary);
  text-decoration: none;
}

.release-body a:hover {
  text-decoration: underline;
}

.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-links a {
  color: var(--text-dim);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: white;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 8rem 0 4rem;
  }
}
