:root {
  --bg: #0a0a0f;
  --surface: #111120;
  --surface-2: #1a1a2e;
  --border: #1e1e35;
  --cyan: #00f5ff;
  --purple: #bf5fff;
  --green: #00ff88;
  --amber: #f5a623;
  --text: #e8e8f0;
  --muted: #7a788a;
  --gradient: linear-gradient(135deg, var(--cyan), var(--purple));
  --font-sans: "Sora", system-ui, sans-serif;
  --font-mono: "Fira Code", monospace;
  --radius: 12px;
  --shadow-neon: 0 0 20px rgba(0, 245, 255, 0.15);
  --transition: 0.25s ease;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

section {
  padding: 100px 0;
}

a {
  text-decoration: none;
}

/* Navbar */
.site-navbar {
  padding: 18px 0;
  background: transparent;
  transition: var(--transition);
}

.site-navbar.navbar-scrolled {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-neon);
}

.logo-text,
.footer-brand {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 245, 255, 0.45);
}

.logo-text:hover,
.footer-brand:hover {
  color: var(--cyan);
}

.site-nav-link {
  color: var(--muted);
  font-weight: 500;
  transition: var(--transition);
}

.site-nav-link:hover,
.site-nav-link:focus {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.5);
}

.neon-btn {
  border: 1px solid var(--cyan);
  background: var(--gradient);
  color: #050508;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  box-shadow: var(--shadow-neon);
  transition: var(--transition);
}

.neon-btn:hover {
  transform: scale(1.05);
  color: #050508;
  box-shadow: 0 0 26px rgba(0, 245, 255, 0.35);
}

.ghost-btn {
  border: 1px solid rgba(0, 245, 255, 0.45);
  color: var(--cyan);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  transition: var(--transition);
}

.ghost-btn:hover {
  transform: scale(1.05);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--shadow-neon);
}

.custom-toggler {
  border: 1px solid rgba(0, 245, 255, 0.35);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(0, 245, 255, 0.2);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(0, 245, 255, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(191, 95, 255, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(0, 255, 136, 0.08),
      transparent 35%
    ),
    var(--bg);
  animation: pulse 8s ease-in-out infinite alternate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.eyebrow-badge {
  display: inline-flex;
  margin-bottom: 1.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(0, 245, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  box-shadow: var(--shadow-neon);
  animation: badgeGlow 2.8s ease-in-out infinite alternate;
}

.hero-title {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.08em;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin: 1.5rem 0 0;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
}

.hero-subtitle {
  max-width: 580px;
  margin: 1rem auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-btn {
  width: 100%;
}

.code-card {
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.18);
  border-radius: 22px;
  background: rgba(17, 17, 32, 0.82);
  box-shadow:
    0 0 50px rgba(0, 245, 255, 0.12),
    0 30px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.code-card-header {
  display: flex;
  gap: 0.6rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.code-card-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
}

.code-card-header span:nth-child(2) {
  background: var(--purple);
}

.code-card-header span:nth-child(3) {
  background: var(--green);
}

.code-card-body {
  padding: 1.5rem;
}

.code-line {
  height: 12px;
  margin-bottom: 1rem;
  border-radius: 999px;
}

.line-cyan {
  width: 85%;
  background: rgba(0, 245, 255, 0.75);
}

.line-purple {
  width: 70%;
  background: rgba(191, 95, 255, 0.75);
}

.line-green {
  width: 80%;
  background: rgba(0, 255, 136, 0.7);
}

.line-muted {
  width: 92%;
  background: rgba(122, 120, 138, 0.35);
}

.short {
  width: 55%;
}

.medium {
  width: 72%;
}

.tiny {
  width: 38%;
}

.terminal-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.terminal-cursor {
  width: 9px;
  height: 18px;
  background: var(--green);
  animation: blinkCursor 0.9s steps(2, start) infinite;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 540px;
  margin: 1.2rem auto 0;
}

.stat-card {
  padding: 1.2rem;
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(17, 17, 32, 0.72);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 245, 255, 0.45);
  box-shadow: var(--shadow-neon);
}

.stat-number,
.stat-label {
  display: block;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
}

.stat-label {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Section Headings */
.section-header {
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.section-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.section-subtitle {
  margin: 1rem auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.testimonials-disclaimer {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Services */
.services-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(191, 95, 255, 0.12),
      transparent 35%
    ),
    var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card,
.pricing-card,
.testimonial-card {
  height: 100%;
  padding: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(17, 17, 32, 0.82);
  transition: 0.3s ease;
}

.service-card:hover,
.pricing-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 245, 255, 0.45);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.16);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  background: rgba(0, 245, 255, 0.08);
  box-shadow: var(--shadow-neon);
  font-size: 1.8rem;
}

.service-card h3,
.pricing-card h3 {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-card a {
  color: var(--cyan);
  font-weight: 700;
  transition: var(--transition);
}

.service-card a:hover {
  text-shadow: 0 0 14px rgba(0, 245, 255, 0.65);
}

/* Pricing */
.pricing-section {
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 245, 255, 0.12),
      transparent 34%
    ),
    var(--bg);
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: -2rem 0 4rem;
}

.toggle-label {
  color: var(--muted);
  font-weight: 700;
  transition: var(--transition);
}

.toggle-label.active {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.45);
}

.toggle-label small {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.pricing-switch {
  position: relative;
  width: 64px;
  height: 34px;
  cursor: pointer;
}

.pricing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-slider {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 245, 255, 0.35);
  border-radius: 999px;
  background: rgba(17, 17, 32, 0.9);
  box-shadow: var(--shadow-neon);
  transition: var(--transition);
}

.pricing-slider::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  transition: var(--transition);
}

.pricing-switch input:checked + .pricing-slider::before {
  transform: translateX(29px);
}

.pricing-card {
  position: relative;
  padding: 2rem;
}

.pricing-card-popular {
  border-color: rgba(0, 245, 255, 0.5);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.18);
  z-index: 2;
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #050508;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: end;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.price-value {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.price-period {
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.pricing-features {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  color: var(--muted);
}

.pricing-features li::before {
  content: "✓";
  margin-right: 0.6rem;
  color: var(--green);
}

/* Testimonials */
.testimonials-section {
  background:
    radial-gradient(circle at center, rgba(191, 95, 255, 0.1), transparent 38%),
    var(--bg);
}

.testimonial-card:hover {
  border-color: rgba(191, 95, 255, 0.45);
  box-shadow: 0 0 30px rgba(191, 95, 255, 0.16);
}

.testimonial-quote {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-circle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: #050508;
  font-family: var(--font-mono);
  font-weight: 800;
}

.testimonial-user h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.testimonial-user p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA */
.cta-section {
  padding: 90px 0;
  background:
    linear-gradient(135deg, rgba(0, 245, 255, 0.12), rgba(191, 95, 255, 0.16)),
    var(--surface);
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: 28px;
  background: rgba(10, 10, 15, 0.65);
  box-shadow: 0 0 55px rgba(0, 245, 255, 0.12);
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.cta-box p {
  margin: 1rem 0 2rem;
  color: var(--muted);
}

.cta-button {
  padding-inline: 2rem;
}

/* Footer */
.site-footer {
  padding: 70px 0 24px;
  background: #07070b;
  border-top: 1px solid var(--border);
}

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

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.site-footer a {
  display: block;
  margin-bottom: 0.7rem;
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--cyan);
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: 50%;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--cyan);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* Reveal Animation */
.reveal-card {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

/* Animations */
@keyframes pulse {
  from {
    background-position: 0 0;
    filter: brightness(1);
  }

  to {
    background-position: 80px 60px;
    filter: brightness(1.15);
  }
}

@keyframes badgeGlow {
  from {
    box-shadow: 0 0 12px rgba(0, 245, 255, 0.16);
  }

  to {
    box-shadow: 0 0 28px rgba(0, 245, 255, 0.42);
  }
}

@keyframes blinkCursor {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

/* Responsive */
@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .hero-btn {
    width: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    padding: 4rem 2rem;
  }
}

@media (min-width: 992px) {
  .hero-title {
    margin: 0;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-card-popular {
    transform: scale(1.05);
  }

  .pricing-card-popular:hover {
    transform: scale(1.05) translateY(-8px);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
