:root {
  --color-bg: #030014;
  --color-bg-alt: #0a0520;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-primary: #8b5cf6;
  --color-primary-hover: #7c3aed;
  --color-secondary: #06b6d4;
  --color-secondary-hover: #0891b2;
  --color-accent: #d946ef;
  --color-border: #1e293b;

  --font-sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-display: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  /*--font-display: 'JetBrains Mono', monospace;*/

  --container-width: 1200px;
  --header-height: 80px;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: #fff;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(to right, #fff, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* Buttons */
.callout {
  color: var(--color-primary);
}

.callout-secondary {
  color: var(--color-secondary);
}

.callout-secondary:hover {
  color: var(--color-secondary-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background-color: rgba(3, 0, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.header .logo-img {
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
}

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav a:hover {
  color: #fff;
}

.github-link {
  display: flex;
  align-items: center;
  color: #fff !important;
}

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3rem;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero.short {
  min-height: 30vh;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.15), transparent 25%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Features */
.features {
  padding: 6rem 0;
  background-color: var(--color-bg-alt);
}

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

.features-grid.one {
  grid-template-columns: minmax(300px, 800px);
  justify-content: center;
  align-items: center;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 16px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.3);
}

.feature-card a {
  /*font-size: 0.9rem;
  font-weight: 500;*/
  color: var(--color-primary);
}

.feature-card a:hover {
  color: #fff;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.feature-horiz {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.feature-desc {
  max-width: 400px;
}

.feature-image {
  width: 200px;
  height: 200px;
  margin: 0 2rem;
}

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  background: linear-gradient(to bottom, var(--color-bg), var(--color-bg-alt));
}

.cta-buttons {
  margin-top: 2rem;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: var(--color-bg);
}

.footer .logo-img {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-col a {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .header {
    height: auto;
    position: relative;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero {
    padding-top: 4rem;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}
