:root {
  --bg-1: #050816;
  --bg-2: #0a1030;
  --bg-3: #12092d;

  --brand-logo: #22c55e;

  --text: #f7fbff;
  --muted: #c8d4f3;

  --cyan: #58f3ff;
  --blue: #5f8dff;
  --pink: #ff57d2;
  --lime: #8dff8a;
  --orange: #ffb25e;

  --border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(88, 243, 255, 0.10), transparent 22%),
    radial-gradient(circle at 86% 16%, rgba(255, 87, 210, 0.10), transparent 20%),
    radial-gradient(circle at 78% 78%, rgba(95, 141, 255, 0.08), transparent 24%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 48%, var(--bg-3));
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(8, 12, 26, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--brand-logo);
  font-weight: 700;
}

.site-mark {
  width: 36px;
  height: 36px;
  display: block;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 0 8px rgba(34, 197, 94, 0.30))
    drop-shadow(0 0 18px rgba(34, 197, 94, 0.14));
}

.brand-text {
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 10px 28px rgba(0,0,0,0.18);
}

.site-nav a {
  position: relative;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.14s ease,
    box-shadow 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.45rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 20px rgba(34, 197, 94, 0.10);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ================= HERO ================= */

.pricing-hero {
  position: relative;
  padding: 6rem 1.5rem 3.5rem;
  overflow: hidden;
}

.pricing-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pricing-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.20;
}

.pricing-glow-1 {
  width: 320px;
  height: 320px;
  top: 8%;
  left: 10%;
  background: rgba(34, 197, 94, 0.28);
}

.pricing-glow-2 {
  width: 280px;
  height: 280px;
  top: 15%;
  right: 12%;
  background: rgba(95, 141, 255, 0.18);
}

.pricing-grid {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 35%, rgba(0,0,0,1), rgba(0,0,0,0));
}

.pricing-hero-inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.pricing-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.pricing-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.pricing-hero-copy {
  margin: 1rem auto 0;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(1rem, 1.8vw, 1.08rem);
}

/* ================= BUTTONS ================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  transition: transform 0.45s ease;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255,255,255,0.22) 50%,
    transparent 80%
  );
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-primary {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #08111f;
  box-shadow:
    0 12px 28px rgba(88, 243, 255, 0.18),
    0 6px 20px rgba(95, 141, 255, 0.14);
}

.btn-primary:hover {
  box-shadow:
    0 16px 34px rgba(88, 243, 255, 0.24),
    0 10px 26px rgba(95, 141, 255, 0.18);
}

/* CTA button (reddish/pink-orange) */
.btn-cta-red{
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #14091f;
  box-shadow:
    0 12px 28px rgba(255, 87, 210, 0.16),
    0 6px 18px rgba(255, 178, 94, 0.14);
}

.btn-cta-red:hover{
  box-shadow:
    0 16px 34px rgba(255, 87, 210, 0.22),
    0 10px 24px rgba(255, 178, 94, 0.18);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
}

.btn-ghost:hover {
  border-color: rgba(88, 243, 255, 0.28);
  background: rgba(255,255,255,0.08);
  box-shadow:
    0 14px 28px rgba(0,0,0,0.18),
    0 0 22px rgba(88, 243, 255, 0.08);
}

.btn-cta-accent {
  background: linear-gradient(90deg, #22c55e, #8dff8a);
  color: #08111f;
  box-shadow:
    0 12px 28px rgba(34, 197, 94, 0.20),
    0 6px 20px rgba(141, 255, 138, 0.14);
}

.btn-cta-accent:hover {
  box-shadow:
    0 16px 34px rgba(34, 197, 94, 0.26),
    0 10px 26px rgba(141, 255, 138, 0.18);
}

/* ================= PRICING ================= */

.pricing-section {
  padding: 0 1.5rem 5.5rem;
}

.pricing-section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  min-height: 100%;
  padding: 1.55rem;
  border-radius: 1.3rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.02);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 40px var(--shadow),
    inset 0 1px 0 rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 180deg,
    transparent,
    rgba(88,243,255,0.08),
    transparent,
    rgba(255,87,210,0.06),
    transparent
  );
  filter: blur(24px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 243, 255, 0.16);
  box-shadow:
    0 24px 52px rgba(0,0,0,0.30),
    0 0 22px rgba(88, 243, 255, 0.06);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card.featured {
  border-color: rgba(88, 243, 255, 0.22);
  box-shadow:
    0 24px 56px rgba(0,0,0,0.34),
    0 0 26px rgba(88, 243, 255, 0.08);
}

.pricing-card.featured::before {
  opacity: 1;
}

.pricing-card-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 800;
}

.pricing-card h2 {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--text);
}

.pricing-price {
  margin: 0.2rem 0 0;
  font-size: 1.28rem;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #22c55e;
  text-shadow: 0 0 14px rgba(34, 197, 94, 0.12);
}

.pricing-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  min-height: 96px;
}

.pricing-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.78rem;
  min-height: 235px;
}

.pricing-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.55;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(88, 243, 255, 0.35);
}

.pricing-card-action {
  margin-top: auto;
  padding-top: 0.25rem;
}

.pricing-card .btn {
  width: 100%;
  font-size: 1rem;
}

.pricing-card {
  gap: 1.2rem;
}

/* ================= CTA ================= */

.pricing-cta {
  padding: 0 1.5rem 6rem;
}

.pricing-cta-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  border-radius: 1.35rem;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top center, rgba(88, 243, 255, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.02);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 20px 44px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.pricing-cta-inner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.1;
}

.pricing-cta-inner p:not(.pricing-kicker) {
  margin: 0.95rem auto 0;
  max-width: 700px;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-cta-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ================= FOOTER ================= */

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.82), rgba(5, 9, 20, 0.94));
  backdrop-filter: blur(12px);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2.25rem 0;
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 1.25rem;
  align-items: center;
}

.footer-left { min-width: 0; }

.footer-brand {
  margin: 0;
  font-weight: 800;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.footer-copy {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 420px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.footer-links a:hover { color: var(--text); }

.footer-socials {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.04);
  transition:
    transform 0.14s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.08);
}

.social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 980px) {
  .pricing-cards,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 1.4rem;
    text-align: center;
  }

  .footer-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links,
  .footer-socials {
    justify-content: center;
  }

  .pricing-list,
  .pricing-summary {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: auto;
    padding: 0.9rem 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .brand {
    justify-content: center;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-nav {
    gap: 0.4rem;
    padding: 0.3rem;
  }

  .site-nav a {
    padding: 0.58rem 0.78rem;
    font-size: 0.82rem;
  }

  .pricing-hero,
  .pricing-section,
  .pricing-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .pricing-cta-inner {
    padding: 1.35rem;
  }

  .pricing-card {
    padding: 1.25rem;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .pricing-card .btn {
    max-width: none;
  }
}