/* =========================================
   TERAVOR — styles.css
   ========================================= */

/* ---------- Custom properties ---------- */

:root {
  /* Colors */
  --bg:           #08080b;
  --surface-1:    #0f0f14;
  --surface-2:    #16161e;
  --surface-3:    #1e1e28;
  --text-1:       #ededf4;
  --text-2:       #9494aa;
  --text-3:       #4a4a60;
  --accent:       #5e5ff5;
  --accent-2:     #8284f8;
  --accent-glow:  rgba(94, 95, 245, 0.16);
  --border:       rgba(255, 255, 255, 0.065);
  --border-med:   rgba(255, 255, 255, 0.115);
  --border-hi:    rgba(255, 255, 255, 0.22);

  /* Radius */
  --r-xs: 5px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Font */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Subtle noise texture ---------- */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Typography ---------- */

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.9rem;
}

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero-heading {
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 1.35rem;
  line-height: 1.08;
}

.hero-heading em {
  font-style: normal;
  color: var(--accent-2);
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 1rem;
}

.section-body {
  font-size: 1.025rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ---------- Layout ---------- */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-alt {
  background-color: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 580px;
  margin-bottom: clamp(2.75rem, 5.5vw, 4.5rem);
}

.section-header .section-body {
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--r-sm);
  padding: 0.65rem 1.3rem;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.8rem 1.65rem;
  font-size: 0.925rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(94, 95, 245, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-med);
}
.btn-outline:hover {
  border-color: var(--border-hi);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid transparent;
  padding: 0.65rem 1rem;
}
.btn-ghost:hover {
  color: var(--text-1);
}

.btn-card {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
}
.btn-card:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(94, 95, 245, 0.28);
}

.btn-card-outline {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-med);
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
}
.btn-card-outline:hover {
  border-color: var(--border-hi);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 200;
  transition: background 0.3s ease, border-bottom 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
  background: rgba(8, 8, 11, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.025rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.logo-name {
  color: var(--text-1);
}

#site-nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-sm);
  transition: color 0.15s;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(94, 95, 245, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.hero-content {
  padding-top: 0.5rem;
}

.hero-body {
  font-size: clamp(1rem, 2vw, 1.075rem);
  color: var(--text-2);
  max-width: 52ch;
  line-height: 1.85;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-meta {
  font-size: 0.77rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-meta a {
  color: var(--text-3);
  transition: color 0.15s;
}

.hero-meta a:hover {
  color: var(--text-2);
}

.dot {
  opacity: 0.4;
}

.hero-aside {
  position: relative;
  padding-top: 0.5rem;
}

.hero-card {
  background: var(--surface-1);
  border: 1px solid var(--border-med);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  position: sticky;
  top: 88px;
}

.hero-card-label {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.1rem;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.hero-card-list li {
  font-size: 0.85rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.check {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.hero-card-note {
  font-size: 0.74rem;
  color: var(--text-3);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  line-height: 1.65;
}

/* ---------- Category strip ---------- */

.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
  padding: 0.9rem 0;
}

.proof-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-inner span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.proof-sep {
  opacity: 0.3;
}

/* ---------- Catalog grid ---------- */

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--border);
}

.catalog-card {
  background: var(--surface-1);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background 0.2s ease;
}

.catalog-card:hover {
  background: var(--surface-2);
}

.catalog-card--bespoke {
  background: linear-gradient(140deg, rgba(94, 95, 245, 0.06) 0%, var(--surface-1) 50%);
}

.catalog-card--bespoke:hover {
  background: linear-gradient(140deg, rgba(94, 95, 245, 0.09) 0%, var(--surface-2) 50%);
}

.card-top {
  flex: 1;
}

.card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(94, 95, 245, 0.1);
  border: 1px solid rgba(94, 95, 245, 0.2);
  border-radius: var(--r-xs);
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.85rem;
}

.card-tag--bespoke {
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-med);
}

.card-name {
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
}

.card-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.card-outcome {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.catalog-card--bespoke .card-outcome {
  background: rgba(94, 95, 245, 0.05);
  border-color: rgba(94, 95, 245, 0.15);
}

.outcome-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.outcome-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.5;
}

/* ---------- Checkout section ---------- */

.checkout-section {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.checkout-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.5rem 0 2rem;
}

.checkout-list li {
  font-size: 0.9rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chk-icon {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.checkout-card {
  background: var(--surface-2);
  border: 1px solid var(--border-med);
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-placeholder-panel {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.checkout-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(94, 95, 245, 0.1);
  border: 1px solid rgba(94, 95, 245, 0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

.checkout-placeholder-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
}

.checkout-placeholder-sub {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 28ch;
}

/* ---------- Custom work section ---------- */

.custom-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.custom-content .section-title {
  margin-bottom: 0.75rem;
}

.custom-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.5rem 0 2rem;
}

.custom-list li {
  font-size: 0.9rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.custom-list li::before {
  content: '→';
  color: var(--accent-2);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.custom-aside {
  padding-top: 0.25rem;
}

.custom-card {
  background: var(--surface-2);
  border: 1px solid var(--border-med);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: sticky;
  top: 88px;
}

.custom-card-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-1);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.custom-card-attr {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ---------- Principles grid ---------- */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--border);
}

.principle-card {
  padding: 1.75rem;
  background: var(--surface-1);
  transition: background 0.18s;
}

.principle-card:hover {
  background: var(--surface-2);
}

.principle-num {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: 1.25rem;
}

.principle-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}

.principle-body {
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---------- How it works ---------- */

.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.path-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 2rem 2.5rem;
}

.path-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.path-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(94, 95, 245, 0.1);
  border: 1px solid rgba(94, 95, 245, 0.25);
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.path-steps strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.35rem;
}

.path-steps p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  transition: background 0.15s;
  user-select: none;
}

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

.faq-q::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

details[open] .faq-q {
  background: var(--surface-1);
}

details[open] .faq-q::after {
  transform: rotate(45deg);
  color: var(--accent-2);
}

.faq-item:hover .faq-q {
  background: var(--surface-1);
}

.faq-a {
  padding: 0 1.5rem 1.35rem;
  background: var(--surface-1);
}

.faq-a p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.8;
}

/* ---------- CTA section ---------- */

.cta-section {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cta-card {
  border-radius: var(--r-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-card--primary {
  background: linear-gradient(140deg, rgba(94, 95, 245, 0.13) 0%, rgba(94, 95, 245, 0.04) 100%);
  border: 1px solid rgba(94, 95, 245, 0.22);
}

.cta-card--secondary {
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.cta-eyebrow {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.cta-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.025em;
}

.cta-body {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  flex-shrink: 0;
}

.footer-tagline {
  font-size: 0.76rem;
  color: var(--text-3);
  margin-top: 0.45rem;
}

.footer-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-3);
  padding: 0.3rem 0.5rem;
  transition: color 0.15s;
}

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

.footer-copy {
  font-size: 0.73rem;
  color: var(--text-3);
  width: 100%;
  margin-top: 0.25rem;
}

/* ---------- Checkout modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  background: var(--surface-1);
  border: 1px solid var(--border-med);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}

.modal-overlay.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.modal-label {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 0.3rem;
}

.modal-product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-med);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.modal-close:hover {
  background: var(--surface-2);
  color: var(--text-1);
  border-color: var(--border-hi);
}

.modal-body {
  flex: 1;
  overflow: auto;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.modal-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  text-align: center;
  gap: 0.75rem;
}

.modal-placeholder-icon {
  width: 60px;
  height: 60px;
  background: rgba(94, 95, 245, 0.1);
  border: 1px solid rgba(94, 95, 245, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  margin-bottom: 0.25rem;
}

.modal-placeholder-title {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-1);
}

.modal-placeholder-sub {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 30ch;
}

.whop-checkout-frame {
  flex: 1;
  width: 100%;
  min-height: 480px;
  border: none;
}

.hidden {
  display: none !important;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    display: none;
  }

  .custom-grid {
    grid-template-columns: 1fr;
  }

  .custom-aside {
    display: none;
  }

  .paths-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    display: none;
  }

  #site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile nav open state */
  #site-nav.open {
    display: flex;
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(8, 8, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    z-index: 199;
    overflow-y: auto;
  }

  #site-nav.open .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: flex-start;
  }

  #site-nav.open .nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    color: var(--text-1);
    width: 100%;
    display: block;
    border-radius: var(--r-md);
  }

  #site-nav.open .nav-links a:hover {
    background: var(--surface-2);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-card {
    padding: 1.75rem;
  }

  .modal-panel {
    max-height: 95vh;
  }
}


/* ===== Premium refresh overrides ===== */
body {
  background:
    radial-gradient(circle at 18% 12%, rgba(94,95,245,0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(130,132,248,0.10), transparent 24%),
    linear-gradient(180deg, #050507 0%, #09090c 55%, #070709 100%);
}

body::before {
  opacity: 0.035;
}

.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero-inner {
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero-content {
  max-width: 620px;
}

.hero-heading {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-body,
.section-body {
  max-width: 62ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.hero-card {
  background: linear-gradient(180deg, rgba(22,22,30,0.95), rgba(14,14,20,0.94));
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  padding: 1.7rem;
  backdrop-filter: blur(12px);
}

.hero-card-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero-card-list li {
  padding: 0.62rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-card-list li:last-child {
  border-bottom: 0;
}

.section-header {
  max-width: 680px;
}

.catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border: none;
  background: transparent;
  overflow: visible;
}

.catalog-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18,18,24,0.95), rgba(14,14,19,0.95));
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  padding: 1.9rem;
}

.catalog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(130,132,248,0.30);
}

.card-name {
  font-size: 1.35rem;
}

.card-desc {
  color: var(--text-2);
}

.card-outcome {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.checkout-layout,
.custom-grid,
.paths-grid,
.cta-grid,
.footer-inner {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.checkout-layout {
  gap: 1.25rem;
}

.custom-card,
.path-card,
.principle-card,
.cta-card,
.checkout-placeholder-panel {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(18,18,24,0.95), rgba(12,12,16,0.95));
  box-shadow: 0 18px 45px rgba(0,0,0,0.20);
}

.footer {
  background: rgba(6,6,8,0.8);
  border-top: 1px solid rgba(255,255,255,0.08);
}


.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.signal-strip {
  padding: 0 0 1rem;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.signal-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16,16,21,0.96), rgba(12,12,16,0.96));
  padding: 1.2rem 1.35rem;
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}

.signal-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.55rem;
}

.signal-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.signal-card p {
  color: var(--text-2);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .signal-grid {
    grid-template-columns: 1fr;
  }
}


.section {
  padding: clamp(2.5rem, 4.5vw, 4.25rem) 0;
}

.section-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.catalog-card,
.custom-card,
.path-card,
.principle-card,
.cta-card,
.checkout-placeholder-panel,
.signal-card {
  padding: 1.4rem;
}

.paths-grid,
.principles-grid,
.cta-grid,
.custom-grid,
.checkout-layout {
  gap: 1rem;
}

.faq-list {
  gap: 0.85rem;
}

.faq-item {
  padding: 1rem 1.1rem;
}

.footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
