:root {
  --bg: #0b1220;
  --bg-soft: #121b2f;
  --card: #18243a;
  --border: #2f415f;
  --text: #e8eefc;
  --muted: #a9bad8;
  --cyan: #22d3ee;
  --indigo: #818cf8;
  --violet: #c084fc;
  --success: #22c55e;
}

html, body {
  min-height: 100%;
}

body.theme-body {
  margin: 0;
  background: radial-gradient(circle at top right, rgba(129, 140, 248, 0.2), transparent 35%),
              radial-gradient(circle at left bottom, rgba(34, 211, 238, 0.16), transparent 35%),
              var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: #94f4ff;
}

.container-xl {
  max-width: 1120px;
}

.top-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(11, 18, 32, 0.86);
  border-bottom: 1px solid rgba(47, 65, 95, 0.72);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
}

.brand:hover {
  color: #fff;
}

.brand-dot {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--indigo), var(--violet));
  box-shadow: 0 0 22px rgba(129, 140, 248, 0.45);
}

.nav-links .nav-link {
  color: var(--muted);
  font-weight: 600;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.show {
  color: #fff;
}

/* ── Nav dropdown ─────────────────────────────────────── */
.nav-dropdown-menu {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  min-width: 160px;
  margin-top: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.nav-dropdown-item {
  color: var(--muted) !important;
  font-weight: 600;
  border-radius: 7px;
  padding: 8px 14px;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus {
  background: rgba(129, 140, 248, 0.12) !important;
  color: #fff !important;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #06b6d4, #6366f1, #8b5cf6);
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.22);
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.96;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}

.btn-ghost:hover {
  color: #fff;
  border-color: #4b6288;
}

.btn-nav {
  padding: 8px 14px;
  font-size: 14px;
}

.section-pad {
  padding: 64px 0 24px;
}

.hero {
  padding-top: 80px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.5);
}

h1, h2, h3 {
  color: #f6f9ff;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.accent-text {
  background: linear-gradient(135deg, #22d3ee, #818cf8, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy,
.section-lead {
  color: var(--muted);
  line-height: 1.7;
  max-width: 820px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.check-row {
  margin-top: 22px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.check-row li::marker {
  color: var(--success);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.pricing-card,
.lead-form,
.section-band,
.timeline div {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(24, 36, 58, 0.92), rgba(11, 18, 32, 0.92));
}

.card,
.pricing-card,
.timeline div,
.lead-form {
  padding: 20px;
}

.card p,
.card li,
.pricing-card li,
.timeline p {
  color: var(--muted);
}

.section-band {
  padding: 26px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline strong {
  display: block;
  margin-bottom: 4px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card .price {
  margin: 8px 0 10px;
  font-size: 2rem;
  font-weight: 800;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.pricing-card.highlight {
  border-color: #5d75a1;
  box-shadow: 0 12px 34px rgba(129, 140, 248, 0.2);
}

/* ── Pricing Note Box ────────────────────────────────── */
.pricing-note {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 28px;
  max-width: 100%;
}

.pricing-note h4 {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

.narrow {
  max-width: 760px;
}

.lead-form {
  display: grid;
  gap: 8px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  color: #f8fbff;
  background: #0f1728;
  border: 1px solid #31415c;
  border-radius: 10px;
  padding: 11px 12px;
}

.lead-form label {
  margin-top: 8px;
  font-weight: 600;
}

.validation {
  color: #fda4af;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(47, 65, 95, 0.82);
  margin-top: 48px;
  padding: 20px 0 36px;
}

.footer-content {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: #fff;
}

/* ── Product tags ─────────────────────────────────────── */
.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.tag-alfred {
  background: rgba(129, 140, 248, 0.18);
  color: var(--indigo);
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.tag-groove {
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

/* ── Product priority label ───────────────────────────── */
.product-priority-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 18px;
}

/* ── Product split layout ────────────────────────────── */
.product-split {
  align-items: start;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-info h2 {
  margin-top: 0;
}

.product-info p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* ── Vertical check list ──────────────────────────────── */
.check-col {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-col li::before {
  content: "\2713\0020";
  color: var(--cyan);
  font-weight: 700;
  margin-right: 4px;
}

/* ── Product stat card ────────────────────────────────── */
.product-stat-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 28px;
}

.product-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 1.45rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Product cards on About page ─────────────────────── */
.product-card-about {
  display: flex;
  flex-direction: column;
}

.product-card-about h3 {
  margin-top: 8px;
}

/* ── Reverse split (image left, text right) ──────────── */
.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

/* ── 2-column pricing grid (Alfred tiers) ────────────── */
.pricing-grid.pricing-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
}

/* ── 3-column pricing grid (Free/Plus/Pro) ──────────────── */
.pricing-grid.pricing-three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
}

/* ── Utility ──────────────────────────────────────────── */
.mt-3 {
  margin-top: 1.25rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.text-center {
  text-justify: auto;
  display: flex;
  justify-content: center;
}

/* ── GrooVe IP section layout (sidebar + content) ───────── */
.grooveip-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.grooveip-sidenav {
  position: sticky;
  top: 90px;
  background: linear-gradient(180deg, rgba(24, 36, 58, 0.95), rgba(11, 18, 32, 0.95));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 12px;
}

.grooveip-sidenav-head {
  padding: 0 8px 10px;
  border-bottom: 1px solid rgba(47, 65, 95, 0.5);
  margin-bottom: 8px;
}

.grooveip-sidenav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.grooveip-sidenav ul li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.grooveip-sidenav ul li a:hover {
  background: rgba(34, 211, 238, 0.08);
  color: #fff;
}

.grooveip-sidenav ul li.active a {
  background: rgba(34, 211, 238, 0.13);
  color: var(--cyan);
  border-left: 2px solid var(--cyan);
  padding-left: 10px;
}

.grooveip-sidenav-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(47, 65, 95, 0.5);
}

.grooveip-content {
  min-width: 0;
}

.grooveip-content h2 {
  font-size: 1.25rem;
  margin-top: 24px;
}

.grooveip-content h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  color: var(--cyan);
}

.grooveip-content p,
.grooveip-content li {
  color: var(--muted);
  line-height: 1.75;
}

.grooveip-content ul,
.grooveip-content ol {
  padding-left: 22px;
}

/* ── FAQ items ────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(47, 65, 95, 0.45);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #f0f5ff;
}

/* ── Testimonials ─────────────────────────────────────── */
.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-card {
  padding: 20px;
}

.testimonial-source {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 6px;
}

.testimonial-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #f0f5ff;
}

/* ── Purchase result alerts ───────────────────────────── */
.result-alert {
  max-width: 560px;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid;
  margin-top: 24px;
}

.result-alert strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.result-alert p {
  margin: 0;
  color: inherit;
  opacity: 0.88;
}

.result-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.result-warning {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.35);
  color: #fde68a;
}

.result-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* ── Rate tables (GrooVe IP pricing) ─────────────────── */
.rate-section-head {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.rate-table-wrap {
  overflow-x: auto;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.rate-table th {
  text-align: left;
  padding: 10px 14px;
  background: rgba(129, 140, 248, 0.1);
  color: var(--indigo);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.rate-table td {
  padding: 10px 14px;
  color: var(--muted);
  border-bottom: 1px solid rgba(47, 65, 95, 0.45);
}

.rate-table tr:last-child td {
  border-bottom: none;
}

.rate-table tr:hover td {
  background: rgba(129, 140, 248, 0.05);
  color: var(--text);
}

.rate-notes {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.87rem;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 992px) {
  .card-grid,
  .card-grid.two-up,
  .pricing-grid,
  .pricing-grid.pricing-two,
  .pricing-grid.pricing-three,
  .split,
  .product-stat-card {
    grid-template-columns: 1fr;
  }

  .split.reverse {
    direction: ltr;
  }

  .grooveip-layout {
    grid-template-columns: 1fr;
  }

  .grooveip-sidenav {
    position: static;
  }
}