:root {
  --bg: #05060a;
  --surface: #0f1117;
  --primary: #00f5a0;
  --accent: #00d9ff;
  --text: #ffffff;
  --muted: #a0a4b8;
  --border: #1e2230;
  --danger: #ff4d4d;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;
  background: radial-gradient(circle at top, #101321 0%, #05060a 40%, #020309 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

body {
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 96px 0;
}

.section-heading {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.96), rgba(5, 6, 10, 0.88));
  border-bottom: 1px solid rgba(46, 51, 76, 0.7);
  transition: height 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.2s ease;
}

body.nav-scrolled .nav-inner {
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: radial-gradient(circle at 30% 0%, var(--accent), transparent 55%),
              radial-gradient(circle at 80% 100%, var(--primary), transparent 55%),
              #05060a;
  box-shadow: 0 0 24px rgba(0, 245, 160, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  width: 100%;
}

/* Buttons */
.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 32px rgba(0, 245, 160, 0.25);
  color: #05060a;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(0, 245, 160, 0.4);
}

.btn-ghost {
  background: rgba(15, 17, 23, 0.9);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(34, 38, 54, 0.9);
  transform: translateY(-1px);
}

/* Hero (home only) */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.18rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.5);
  background: radial-gradient(circle at top left, rgba(0, 245, 160, 0.16), transparent 60%);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--primary), transparent);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.7);
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-title span {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  color: #6b7085;
}

.hero-meta-value {
  font-weight: 500;
  color: var(--text);
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(0, 217, 255, 0.25), transparent 60%),
              radial-gradient(circle at bottom right, rgba(0, 245, 160, 0.2), transparent 60%),
              var(--surface);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 217, 255, 0.4);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 500;
}

.badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 10, 0.4);
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stat-card {
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 6, 10, 0.4);
  font-size: 0.8rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.75rem;
}

.stat-value {
  margin-top: 0.15rem;
  font-weight: 600;
}

.stat-good {
  color: var(--primary);
}

.stat-badge {
  font-size: 0.68rem;
  color: var(--muted);
}

.hero-card-footer {
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.9rem;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Grids & cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 245, 160, 0.5);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.pill {
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

/* Steps / process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.5), rgba(15, 17, 23, 0.9));
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  color: #05060a;
  margin-bottom: 0.6rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Testimonials */
.testimonial {
  background: radial-gradient(circle at top left, rgba(0, 245, 160, 0.18), transparent 60%),
              var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  border: 1px solid rgba(0, 245, 160, 0.35);
  font-size: 0.95rem;
}

.testimonial-quote {
  margin-bottom: 0.8rem;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.plan {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.plan.featured {
  border-color: rgba(0, 245, 160, 0.7);
  box-shadow: 0 0 40px rgba(0, 245, 160, 0.35);
}

.plan-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.plan-list {
  list-style: none;
  margin: 0.5rem 0 1.1rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-list li {
  margin-bottom: 0.3rem;
  position: relative;
  padding-left: 1rem;
}

.plan-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* About grid */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.badge-chip {
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #747994;
  margin-bottom: 0.25rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #05060d;
  padding: 0.65rem 0.7rem;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
  resize: vertical;
  min-height: 44px;
}

.field textarea {
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 217, 255, 0.3);
}

.help-text {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0 1.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: var(--text);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Back-to-top button */
#backToTop {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#backToTop.visible {
  display: inline-flex;
}

#backToTop:hover {
  background: rgba(15, 17, 23, 0.95);
  color: var(--text);
}
