/* Velora AI — Education Platform */
:root {
  --bg: #030712;
  --bg-alt: #0a0f1a;
  --surface: #0f172a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #22d3ee;          /* matches logo cyan */
  --accent-2: #3b82f6;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --accent-hover: #06b6d4;
  --green: #22c55e;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black, transparent);
}

.bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.bg__glow--1 {
  width: 520px;
  height: 520px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 70%);
}

.bg__glow--2 {
  width: 380px;
  height: 380px;
  bottom: 15%;
  right: -80px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #030712;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Container */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow {
  max-width: 680px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.brand__name {
  background: linear-gradient(135deg, #67e8f9, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: none;
  gap: 1.75rem;
}

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

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

.header__cta {
  display: inline-flex;
  padding: 0.5rem 1.05rem;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #030712;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.15s, transform 0.15s;
}

.header__cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, opacity 0.15s;
}

.btn--primary {
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #030712;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.35);
  opacity: 0.95;
  color: #030712;
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
}

.btn--full {
  width: 100%;
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 4rem 1.25rem 5rem;
  text-align: center;
}

.hero__content {
  max-width: 720px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1.15rem;
}

.hero__title span {
  background: linear-gradient(135deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 54ch;
  margin: 0 auto 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero__stats div {
  text-align: center;
}

.hero__stats strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.hero__stats span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section__header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section__header p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Products grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}

.product-card__icon {
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.benefit {
  padding: 0.5rem 0;
}

.benefit__num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.benefit h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.benefit p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Audience */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.audience__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.audience__item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.audience__item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.price-card:hover {
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateY(-2px);
}

.price-card--featured {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.1), 0 20px 40px rgba(0,0,0,0.3);
}

.price-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.28rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #030712;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  border-radius: 999px;
  white-space: nowrap;
}

.price-card__name {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  margin-top: 0.35rem;
}

.price-card__desc {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  min-height: 2.4em;
}

.price-card__price {
  text-align: center;
  margin-bottom: 1.25rem;
}

.price-card__amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #67e8f9, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-card__period {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.price-card__features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.price-card__features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
}

.price-card__features svg {
  color: var(--green);
  flex-shrink: 0;
}

/* Add-on */
.addon {
  max-width: 980px;
  margin: 1.75rem auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
}

.addon__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.addon h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.addon__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.addon p {
  font-size: 0.88rem;
  color: var(--muted);
}

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

.addon__price > span {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #67e8f9, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Final CTA */
.final-cta {
  position: relative;
  z-index: 1;
  padding: 5rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.final-cta__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.35));
}

.final-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.final-cta p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48ch;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer__brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.footer p {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 0.5rem 0;
}

.footer__links a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__support {
  font-size: 0.88rem !important;
}

.footer__support a {
  color: var(--accent);
  text-decoration: none;
}

.footer__support a:hover {
  text-decoration: underline;
}

.footer__copy {
  font-size: 0.8rem !important;
  opacity: 0.7;
}

/* Responsive */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .header {
    padding: 0.85rem 2rem;
  }

  .hero {
    padding: 5.5rem 1.5rem 6rem;
  }
}

@media (min-width: 480px) {
  .price-card {
    padding: 1.85rem 1.6rem;
  }
}
