:root {
  --bg: #080a0f;
  --surface: #0f1218;
  --surface2: #151820;
  --border: rgba(255, 255, 255, 0.07);
  --cyan: #00d4ff;
  --blue: #4f6ef7;
  --purple: #7c3aed;
  --grad: linear-gradient(135deg, #4f6ef7, #00d4ff);
  --grad2: linear-gradient(135deg, #7c3aed, #4f6ef7, #00d4ff);
  --text: #e8eaf0;
  --muted: #6b7280;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-nav {
  background: var(--grad);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 50% 30%,
      rgba(79, 110, 247, 0.18) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 80% 60%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.hero-grid {
  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: 60px 60px;
  mask-image: radial-gradient(
    ellipse 80% 70% at 50% 40%,
    black 30%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}

.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 110, 247, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 13px 30px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  text-decoration: none;
  display: inline-block;
}

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

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}

.scroll-hint span {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: pulse 2s infinite;
}

/* ── SECTIONS ── */
section {
  padding: 100px 5%;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 1rem;
  text-align: center;
}

.section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 1.2rem;
}

.section-title .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 3.5rem;
  font-size: 1rem;
  line-height: 1.75;
}

/* ── ABOUT / FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  transition:
    border-color 0.3s,
    transform 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 14px;
}

.feature-card:hover {
  border-color: rgba(79, 110, 247, 0.4);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 0.04;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--grad);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.feature-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ── STATS ── */
.stats-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 80% at 50% 50%,
    rgba(79, 110, 247, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.stat-value {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.4rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}

/* ── PRICING ── */
.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.toggle-wrap {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
  gap: 0;
}

.toggle-btn {
  padding: 9px 24px;
  border-radius: 50px;
  border: none;
  background: none;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.toggle-btn.active {
  background: var(--grad2);
  color: #fff;
}

.toggle-btn .badge {
  display: inline-block;
  font-size: 0.72rem;
  background: rgba(0, 212, 255, 0.2);
  color: var(--cyan);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  font-weight: 600;
}

.toggle-btn.active .badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition:
    transform 0.3s,
    border-color 0.3s;
}

.plan-card.popular {
  border-color: rgba(79, 110, 247, 0.5);
  background: #0d1120;
}

.plan-card.popular:hover {
  transform: translateY(-6px);
}
.plan-card:not(.popular):hover {
  transform: translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.plan-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-price {
  margin-bottom: 0.3rem;
}

.plan-price .amount {
  font-family: "Outfit", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-price .period {
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-equiv {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 1.4rem;
  min-height: 1.2em;
}

.plan-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.plan-features li .check {
  width: 16px;
  height: 16px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-features li .check svg {
  width: 9px;
  height: 9px;
  stroke: var(--cyan);
}

.plan-cta {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.plan-cta.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.plan-cta.outline:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.plan-cta.gradient {
  background: var(--grad);
  color: #fff;
  border: none;
}

.plan-cta.gradient:hover {
  box-shadow: 0 8px 32px rgba(79, 110, 247, 0.45);
  transform: translateY(-1px);
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 2rem;
}

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
}

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

.footer-brand .logo {
  font-size: 1.3rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h4 {
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul a:hover {
  color: var(--text);
}

.footer-email a {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 100px 5%;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(79, 110, 247, 0.35);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 0.95rem;
}

.testimonial-text {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.75;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-plan {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ── FAQ ── */
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 80% at 50% 50%,
    rgba(79, 110, 247, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.faq-grid {
  display: flex;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
  align-items: flex-start;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(79, 110, 247, 0.35);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #fff;
  font-style: normal;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  padding: 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

@media (max-width: 768px) {
  .faq-grid {
    flex-direction: column;
  }
  .faq-col {
    width: 100%;
  }
}

/* ── LEGAL PAGES (Privacy / Terms) ── */
.page-hero {
  padding: 140px 5% 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(79, 110, 247, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.page-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Legal content */

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 5% 100px;
}

.intro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 36px;
  transition: border-color 0.3s;
}

.legal-section:hover {
  border-color: rgba(79, 110, 247, 0.25);
}

.legal-section h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.legal-section p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.legal-section ul li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.legal-section ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 8px;
  flex-shrink: 0;
}

.contact-link {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-section {
    padding: 24px 20px;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.6;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1156px) {
  nav {
    padding: 18px 5%;
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 786px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(8, 10, 15, 0.97);
    padding: 2rem 5%;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .hamburger {
    display: flex;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
