:root {
  --bg-primary: #0e1630;
  --bg-secondary: #171f38;
  --bg-card: #121a30;
  --bg-elevated: #1a2440;
  --accent: #01d293;
  --accent-light: #00d7c3;
  --accent-dark: #00b87d;
  --accent-glow: rgba(1, 210, 147, 0.35);
  --accent-subtle: rgba(1, 210, 147, 0.12);
  --text-primary: #ffffff;
  --text-secondary: #808dad;
  --text-muted: #c0d0f0;
  --border-subtle: rgba(1, 210, 147, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 12px 40px rgba(1, 210, 147, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --nav-height: 72px;
  --section-gap: 100px;
  --section-gap-mobile: 64px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  :root {
    --section-gap: var(--section-gap-mobile);
    --nav-height: 64px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Section header pattern */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 0.75rem auto 0;
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  margin-top: 1.25rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  padding: 0 0.5rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shared card base */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(1, 210, 147, 0.35);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--accent-light);
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--accent-subtle);
  box-shadow: 0 0 20px var(--accent-glow);
  color: var(--accent);
  border-color: var(--accent);
}

/* Decorative background blobs */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bg-blob--accent {
  background: rgba(1, 210, 147, 0.08);
}

.bg-blob--blue {
  background: rgba(0, 32, 87, 0.4);
}
