:root {
  --bg: #050506;
  --bg-alt: rgba(12, 12, 12, 0.96);
  --surface: rgba(18, 18, 18, 0.88);
  --surface-strong: rgba(25, 25, 25, 0.96);
  --border: rgba(255, 215, 155, 0.14);
  --text: #f7f5f0;
  --muted: #9a8f7f;
  --gold: #f0c170;
  --gold-soft: rgba(240, 193, 112, 0.22);
  --shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(240, 193, 112, 0.08), transparent 35%), #050506;
  overflow-x: hidden;
}
button, input, textarea, a {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(240, 193, 112, 0.08), transparent 20%),
              radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.06), transparent 18%);
  pointer-events: none;
}
.particles-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.star-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 25;
}
.star-trail .trail-star {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(240, 193, 112, 0.8));
  box-shadow: 0 0 16px rgba(240, 193, 112, 0.75);
  pointer-events: none;
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(0.8);
  animation: trailFade 0.8s forwards;
}
@keyframes trailFade {
  to { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

@keyframes burstFade {
  0% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  60% {
    transform: translate(calc(-50% + var(--vx) * 40px), calc(-50% + var(--vy) * 40px)) scale(0.6);
    opacity: 0.8;
  }
  100% { 
    transform: translate(calc(-50% + var(--vx) * 40px), calc(-50% + var(--vy) * 40px)) scale(0);
    opacity: 0;
  }
}

.burst-star {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 193, 112, 0.95), rgba(255, 255, 255, 0.9));
  box-shadow: 0 0 12px rgba(240, 193, 112, 0.8);
  pointer-events: none;
  opacity: 1;
  animation: burstFade 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem 2rem;
  backdrop-filter: blur(20px);
  background: rgba(5, 5, 6, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.04em;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.brand::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 193, 112, 0.7), transparent);
  transform: scaleX(0.6);
  opacity: 0.55;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.brand:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.brand-word {
  background: linear-gradient(135deg, #f7e9c4 0%, #f0c170 45%, #c9913a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 14px rgba(240, 193, 112, 0.22));
  transition: filter 0.4s ease;
}

.brand-dot {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
  margin-left: -0.06em;
  opacity: 0.9;
  transition: color 0.4s ease, opacity 0.4s ease;
}

.brand:hover .brand-word {
  filter: drop-shadow(0 0 22px rgba(240, 193, 112, 0.55));
}

.brand:hover .brand-dot {
  opacity: 1;
  color: #ffe8a0;
  -webkit-text-fill-color: #ffe8a0;
}

.brand:hover {
  transform: translateY(-1px);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* Primary nav links (exclude CTA button) */
.nav-links > a:not(.btn),
.nav-dropdown > a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  line-height: 1;
}

.nav-links > a:not(.btn):hover,
.nav-dropdown > a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.nav-links > a.active:not(.btn),
.nav-dropdown > a.active {
  color: var(--gold);
  background: rgba(240, 193, 112, 0.08);
  border-color: rgba(240, 193, 112, 0.35);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  padding-right: 0.2rem;
}

.dropdown-arrow {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-size: 0.65rem;
  opacity: 0.6;
  padding: 0.25rem 0.4rem;
  line-height: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  border-radius: 4px;
}

.dropdown-arrow:hover,
.nav-dropdown:hover .dropdown-arrow {
  opacity: 1;
  background: rgba(255,255,255,0.06);
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotateZ(180deg);
  opacity: 1;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.6rem;
  background: rgba(10, 10, 11, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(12px);
  overflow: hidden;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 0.9rem 1.2rem;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: rgba(240, 193, 112, 0.08);
  color: var(--gold);
  padding-left: 1.4rem;
}

.dropdown-menu a:focus-visible,
.nav-links a:focus-visible,
.nav-dropdown > a:focus-visible {
  outline: 2px solid rgba(240, 193, 112, 0.55);
  outline-offset: 2px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.015em;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(240, 193, 112, 0.3), inset 0 0 20px rgba(255,255,255,0.1);
  filter: brightness(1.1);
}
.btn-primary {
  background: linear-gradient(135deg, #f0c170, #eab55d);
  color: #111;
  box-shadow: 0 12px 32px rgba(240, 193, 112, 0.25), 0 0 20px rgba(240, 193, 112, 0.1);
  font-weight: 700;
}
.btn-primary:hover {
  box-shadow: 0 24px 56px rgba(240, 193, 112, 0.4), 0 0 30px rgba(240, 193, 112, 0.25);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(240, 193, 112, 0.4);
  box-shadow: inset 0 1px 12px rgba(255,255,255,0.05);
}
.btn-secondary:hover {
  background: rgba(240, 193, 112, 0.16);
  border-color: rgba(240, 193, 112, 0.7);
  box-shadow: 0 12px 32px rgba(240, 193, 112, 0.2), inset 0 1px 12px rgba(255,255,255,0.08);
}
.btn-tertiary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-sm {
  padding: 0.75rem 1.2rem;
  font-size: 0.95rem;
}
.btn-lg {
  padding: 1.2rem 2rem;
  font-size: 1.05rem;
}
main {
  position: relative;
  z-index: 1;
}
.fullscreen {
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.fullscreen::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 193, 112, 0.25) 0%, rgba(240, 193, 112, 0.1) 25%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatOrb 8s ease-in-out infinite;
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(-50%, -50%) scale(1) translateY(0); }
  50% { transform: translate(-50%, -50%) scale(1.08) translateY(-30px); }
}
.hero-copy,
.section-header,
.content-grid,
.services-grid,
.pricing-grid,
.demo-grid,
.testimonial-grid,
.contact-grid {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-copy {
  z-index: 2;
  max-width: 720px;
  margin: 0;
  padding: 0;
  width: 100%;
}
.eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.82rem;
  color: var(--gold);
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(240, 193, 112, 0.2);
}
h1, h2, h3 {
  margin: 0;
  line-height: 1.12;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  font-weight: 900;
  letter-spacing: -0.03em;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 1.5rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.08;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--text);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.8rem;
  line-height: 1.1;
}
h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.015em;
}
p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 1.6rem 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
  margin-bottom: 0;
}
.hero-visual {
  display: none;
  position: relative;
  max-width: 35rem;
  width: 100%;
  margin-top: 1.5rem;
}
.mockup-card {
  min-height: 300px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}
.mockup-topbar {
  height: 18px;
  width: 45%;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}
.mockup-screen {
  flex: 1;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border-radius: 28px;
}

/* ── Slogan Section ────────────────────────────── */
.slogan-section {
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(240,193,112,0.12) 0%, rgba(240,193,112,0.04) 100%);
  border-top: 1px solid rgba(240,193,112,0.15);
  border-bottom: 1px solid rgba(240,193,112,0.15);
  text-align: center;
}

.slogan-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 0.6rem;
}

.slogan-main {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.slogan-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  font-style: italic;
  letter-spacing: 0.02em;
}

.section {
  padding: 7.5rem 2rem;
}
.section-header {
  margin-bottom: 3.5rem;
}
.cards-grid,
.stats-grid,
.demo-grid,
.testimonial-grid,
.services-grid,
.pricing-grid,
.contact-grid {
  display: grid;
  gap: 1.8rem;
}

.premium-intelligence .section-header {
  max-width: 900px;
}

.intelligence-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.8rem;
  align-items: stretch;
}

.intelligence-copy {
  display: grid;
  gap: 1rem;
}

.intelligence-copy h3 {
  font-size: 1.5rem;
}

.intelligence-copy p {
  margin-bottom: 0.8rem;
}

.intelligence-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.intelligence-points li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.intelligence-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(240, 193, 112, 0.45);
}

.intelligence-slogan {
  margin-top: 0.6rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
}

.intelligence-metrics {
  display: grid;
  gap: 1rem;
}

.metric-card {
  padding: 1.4rem;
  border-radius: 24px;
}

.metric-label {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.55);
}

.metric-value {
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.metric-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.graph {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.graph-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.95rem;
  min-height: 140px;
  align-items: end;
}

.graph-bars span {
  display: block;
  height: var(--bar);
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(240, 193, 112, 0.95), rgba(240, 193, 112, 0.35));
  box-shadow: 0 10px 24px rgba(240, 193, 112, 0.25);
  transform-origin: bottom;
  animation: graphGrow 1s ease forwards;
}

.graph-line {
  padding: 0.85rem;
}

.graph-line svg {
  width: 100%;
  height: auto;
  display: block;
}

.graph-line path {
  fill: none;
  stroke: rgba(240, 193, 112, 0.96);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  filter: drop-shadow(0 0 8px rgba(240, 193, 112, 0.42));
  animation: drawLine 1.8s ease forwards;
}

@keyframes graphGrow {
  from {
    transform: scaleY(0.2);
    opacity: 0.45;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
.cards-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}
.glass-card,
.service-card,
.pricing-card,
.testimonial-grid article,
.contact-card,
.contact-info,
.demo-card,
.stat-card {
  background: linear-gradient(135deg, rgba(25, 25, 25, 0.5), rgba(20, 20, 20, 0.25));
  border: 1px solid rgba(240, 193, 112, 0.15);
  border-radius: 32px;
  padding: 2.2rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before,
.service-card::before,
.pricing-card::before,
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(240, 193, 112, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 32px;
}
.glass-card p,
.service-card p,
.pricing-card p,
.testimonial-grid p,
.contact-card p,
.contact-info p {
  color: var(--muted);
}
.service-card {
  display: grid;
  gap: 1rem;
}
.service-card-interactive {
  position: relative;
  overflow: hidden;
}
.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-number {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.42);
  font-weight: 600;
}
.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}
.service-short {
  margin: 0;
}
.service-expand {
  margin: 0;
  font-size: 0.95rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height 0.35s ease-out, opacity 0.3s ease-out, transform 0.3s ease-out;
}
.service-arrow {
  font-size: 1rem;
  color: var(--gold);
  opacity: 0.9;
  transform: translateY(-2px);
  transition: transform 0.3s ease-out, opacity 0.25s ease-out;
}
.service-card-interactive:hover .service-arrow {
  opacity: 1;
  transform: translateY(6px);
}
.service-card-interactive:hover .service-expand {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
}
.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(240, 193, 112, 0.15);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.25rem;
}
.stats-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stat-card span {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}
.stat-card p {
  margin: 0;
}
.demo-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 1.5rem;
}
/* Homepage featured layout */
.demo-preview-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.demo-card--featured {
  grid-row: span 2;
}
.demo-card--featured .demo-image {
  height: 100%;
  min-height: 460px;
}
/* Card base */
.demo-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
}
.demo-image {
  width: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1), filter 0.55s ease;
}
/* Overlay */
.demo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem 1.2rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.18) 50%, transparent 100%);
}
.demo-tag {
  align-self: flex-start;
  background: rgba(240, 193, 112, 0.12);
  border: 1px solid rgba(240, 193, 112, 0.35);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 0.25rem 0.72rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.demo-overlay-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transform: translateY(12px);
  opacity: 0.85;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
}
.demo-overlay-body h3 {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.demo-overlay-body p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.4;
}
.demo-card:hover .demo-image {
  transform: scale(1.05);
  filter: brightness(0.85) saturate(1.15);
}
.demo-card:hover .demo-overlay-body {
  transform: translateY(0);
  opacity: 1;
}
.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
}
.testimonial-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}
.testimonial-grid article {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.testimonial-grid footer {
  color: var(--text);
  font-weight: 600;
}
.process-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
}
.process-table-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.process-table-wrap h3 {
  margin-bottom: 0;
}
.process-dropdown-label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.process-dropdown {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 193, 112, 0.3);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
  outline: none;
  cursor: pointer;
}
.process-dropdown:focus {
  border-color: rgba(240, 193, 112, 0.55);
}
}
.process-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.process-table th,
.process-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.95rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.process-table th {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.process-table td {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}
.process-table tbody tr:last-child td {
  border-bottom: none;
}
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(240, 193, 112, 0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
}
.cta-copy h2 {
  margin-bottom: 1rem;
}
.pricing-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pricing-highlight {
  transform: translateY(-10px);
  border-color: rgba(240, 193, 112, 0.35);
  background: linear-gradient(135deg, rgba(240, 193, 112, 0.08), rgba(25, 25, 25, 0.5));
  box-shadow: 0 40px 100px rgba(240, 193, 112, 0.2), inset 0 1px 0 rgba(255,255,255,0.12);
}
.plan-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}
.pricing-card h2 {
  font-size: 2.8rem;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.pricing-card li {
  color: var(--muted);
}
.contact-grid {
  grid-template-columns: 1.3fr 0.9fr;
}
.contact-card form {
  display: grid;
  gap: 1.2rem;
}
.contact-card label {
  font-size: 0.9rem;
  color: var(--text);
}
.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  outline: none;
}
.contact-card input:focus,
.contact-card textarea:focus {
  border-color: rgba(240, 193, 112, 0.4);
}
.contact-info {
  display: grid;
  gap: 1.6rem;
}
.page-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
}
.content-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}
.site-footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.footer-terms-btn {
  min-width: 210px;
}

.legal-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.legal-meta {
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-card {
  display: grid;
  gap: 1rem;
}

.legal-card h3 {
  margin-top: 0.9rem;
  font-size: 1.24rem;
}

.legal-card ul {
  margin: 0 0 0.8rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.legal-card li {
  color: var(--text);
  line-height: 1.65;
}

.legal-final-line {
  margin-top: 1.4rem;
  color: var(--text);
  font-weight: 600;
}

/* ── Affiliate Program Page ─────────────────────────────── */
.affiliate-hero-sub {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.75;
}

.affiliate-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

/* 3-step row */
.affiliate-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.affiliate-step {
  text-align: center;
  padding: 2rem 1.6rem;
}

.affiliate-step-num {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.affiliate-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.affiliate-step p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.65;
}

.affiliate-step-arrow {
  font-size: 1.6rem;
  color: rgba(240, 193, 112, 0.45);
  text-align: center;
  user-select: none;
}

/* Commission + Terms */
.affiliate-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.affiliate-info-card {
  display: grid;
  gap: 1rem;
}

.affiliate-card-icon {
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}

.affiliate-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.affiliate-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.affiliate-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(240, 193, 112, 0.4);
}

/* Why Join */
.affiliate-why {
  display: grid;
  gap: 1.8rem;
}

.affiliate-why-header h3 {
  margin-bottom: 0.5rem;
}

.affiliate-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.affiliate-why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.affiliate-why-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(240, 193, 112, 0.12);
  border: 1px solid rgba(240, 193, 112, 0.3);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.affiliate-why-item strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.affiliate-why-item p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
}

/* CTA block */
.affiliate-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, rgba(240, 193, 112, 0.1), rgba(25,25,25,0.4));
  border-color: rgba(240, 193, 112, 0.25);
  flex-wrap: wrap;
}

.affiliate-cta-copy h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.affiliate-cta-copy p {
  margin: 0;
  max-width: 500px;
}

.affiliate-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Homepage affiliate teaser section */
.affiliate-teaser {
  background: linear-gradient(135deg, rgba(240,193,112,0.07) 0%, rgba(15,15,15,0) 60%);
  border: 1px solid rgba(240,193,112,0.13);
  border-radius: 32px;
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.affiliate-teaser-copy .eyebrow {
  margin-bottom: 1rem;
}

.affiliate-teaser-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  margin-bottom: 1rem;
}

.affiliate-teaser-copy p {
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.affiliate-teaser-steps {
  display: grid;
  gap: 1.2rem;
}

.affiliate-teaser-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.affiliate-teaser-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(240,193,112,0.12);
  border: 1px solid rgba(240,193,112,0.3);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

.affiliate-teaser-step strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.affiliate-teaser-step p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 860px) {
  .affiliate-steps {
    grid-template-columns: 1fr;
  }
  .affiliate-step-arrow {
    transform: rotate(90deg);
    font-size: 1.2rem;
  }
  .affiliate-two-col,
  .affiliate-why-grid {
    grid-template-columns: 1fr;
  }
  .affiliate-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .affiliate-teaser {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }
}
.fade-on-scroll {
  opacity: 0;
  transform: translateY(32px) scale(0.95);
  transition: opacity 0.85s cubic-bezier(0.23, 1, 0.32, 1), transform 0.85s cubic-bezier(0.23, 1, 0.32, 1);
}
.fade-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.depth-card {
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}
.depth-card:hover {
  transform: translateY(-4px) rotateX(0.4deg) rotateY(-0.4deg);
}

@keyframes peekIn {
  0% {
    transform: translateX(120px) translateY(120px) scale(0.6) rotateZ(-45deg);
    opacity: 0;
  }
  50% {
    transform: translateX(20px) translateY(20px) scale(1.05) rotateZ(5deg);
  }
  100% {
    transform: translateX(0) translateY(0) scale(1) rotateZ(0deg);
    opacity: 1;
  }
}

.chatbot {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 35;
  perspective: 1200px;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, #f0c170, #e5aa4a);
  color: #18120a;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  animation: peekIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-toggle:hover {
  transform: translateZ(10px) scale(1.08);
  box-shadow: 0 20px 45px rgba(240, 193, 112, 0.25);
}

.chatbot-toggle:active {
  transform: translateZ(5px) scale(0.98);
}
.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(360px, calc(100vw - 2.4rem));
  max-height: min(520px, 72vh);
  display: none;
  grid-template-rows: auto 1fr auto;
  background: rgba(10, 10, 11, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}
.chatbot.open .chatbot-panel {
  display: grid;
}
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
}
.chatbot-header strong {
  color: var(--text);
  font-size: 0.95rem;
}
.chatbot-header button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
}
.chatbot-messages {
  padding: 0.9rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.chatbot-msg {
  max-width: 85%;
  border-radius: 14px;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.chatbot-msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.chatbot-msg.user {
  align-self: flex-end;
  background: rgba(240, 193, 112, 0.2);
  color: #fff;
}
.chatbot-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.chatbot-option-btn {
  background: rgba(240, 193, 112, 0.06);
  border: 1px solid rgba(240, 193, 112, 0.28);
  color: var(--gold);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.chatbot-option-btn:hover {
  background: rgba(240, 193, 112, 0.14);
  border-color: rgba(240, 193, 112, 0.55);
}
/* 3D Effects and Transforms */
.glass-card,
.depth-card {
  perspective: 1200px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1), box-shadow 0.5s ease;
}

.glass-card:hover,
.depth-card:hover {
  transform: rotateX(2deg) rotateY(-2deg) translateZ(8px) translateY(-3px);
  box-shadow: 0 28px 64px rgba(240, 193, 112, 0.16), 0 0 18px rgba(240, 193, 112, 0.1), inset 0 1px 0 rgba(255,255,255,0.12);
  border-color: rgba(240, 193, 112, 0.35);
}

.glass-card:hover::before,
.service-card:hover::before,
.pricing-card:hover::before,
.stat-card:hover::before {
  opacity: 1;
}

/* Service icon 3D rotate */
.service-icon {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.glass-card:hover .service-icon {
  transform: rotateZ(360deg) scale(1.15);
}

/* Demo card 3D tilt */
.demo-card {
  perspective: 1000px;
  transform-style: preserve-3d;
}
.demo-card:hover {
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.5), 0 0 40px rgba(240, 193, 112, 0.2);
  border-color: rgba(240, 193, 112, 0.25);
}

/* Pricing card 3D effect */
.pricing-card {
  perspective: 1000px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.pricing-card:hover {
  transform: rotateX(1.4deg) rotateY(-1.4deg) translateZ(8px);
}

.pricing-highlight:hover {
  transform: rotateX(2deg) rotateY(-2deg) translateZ(12px) translateY(-6px);
  box-shadow: 0 36px 88px rgba(240, 193, 112, 0.24), 0 0 24px rgba(240, 193, 112, 0.14), inset 0 1px 0 rgba(255,255,255,0.15);
  border-color: rgba(240, 193, 112, 0.5);
}

/* Stat card 3D effect */
.stat-card {
  perspective: 1000px;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.stat-card:hover {
  transform: rotateX(8deg) rotateY(8deg) translateZ(25px);
}

.stat-card:hover span {
  text-shadow: 0 10px 25px rgba(240, 193, 112, 0.3);
}

/* Section perspective */
.section {
  perspective: 1200px;
}

/* Floating cards with 3D depth */
@keyframes float3d {
  0%, 100% { transform: translateY(0) rotateX(5deg); }
  50% { transform: translateY(-12px) rotateX(5deg); }
}

.depth-card {
  animation: float3d 6s ease-in-out infinite;
  animation-delay: calc(var(--card-index, 0) * 0.2s);
}

/* CTA banner 3D effect */
.cta-banner {
  perspective: 1000px;
  transition: transform 0.5s ease;
}

.cta-banner:hover {
  transform: rotateX(2deg) rotateY(-2deg);
}

@media (max-width: 1100px) {
  .cards-grid,
  .stats-grid,
  .demo-grid,
  .demo-preview-grid,
  .testimonial-grid,
  .services-grid,
  .pricing-grid,
  .contact-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
  .demo-card--featured {
    grid-row: span 1;
  }
  .demo-card--featured .demo-image {
    min-height: 340px;
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-visual {
    order: -1;
  }
  .service-expand {
    max-height: 100px;
    opacity: 1;
    transform: translateY(0);
  }
  .service-arrow {
    opacity: 0.9;
    transform: translateY(-2px);
  }
  .process-table {
    min-width: 640px;
  }
}

/* ─── Pricing v2 ─── */
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.price-main {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
}
.price-old {
  font-size: 1.05rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
}
.popular-badge {
  font-size: 0.75rem;
  color: var(--gold);
  background: rgba(240, 193, 112, 0.08);
  border: 1px solid rgba(240, 193, 112, 0.25);
  border-radius: 100px;
  padding: 0.28rem 0.8rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}
.addons-note {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.9rem;
  margin-top: 0.2rem;
}
.pricing-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(154, 143, 127, 0.6);
  line-height: 1.6;
  max-width: 640px;
  margin: 2rem auto 0;
  padding: 0 1rem;
  letter-spacing: 0.01em;
}
.pricing-disclaimer strong {
  color: rgba(154, 143, 127, 0.85);
  font-weight: 500;
}
.card-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(240, 193, 112, 0.3);
  color: var(--gold);
  padding: 0.65rem 1.2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.02em;
}
.btn-ghost:hover {
  background: rgba(240, 193, 112, 0.08);
  border-color: rgba(240, 193, 112, 0.6);
}

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: linear-gradient(135deg, rgba(22, 22, 22, 0.97), rgba(12, 12, 12, 0.95));
  border: 1px solid rgba(240, 193, 112, 0.18);
  border-radius: 28px;
  padding: 2.8rem;
  max-width: 500px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 0 80px rgba(240, 193, 112, 0.07), 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(28px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: var(--muted);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}
.plan-badge {
  font-size: 0.75rem;
  color: var(--gold);
  background: rgba(240, 193, 112, 0.08);
  border: 1px solid rgba(240, 193, 112, 0.25);
  border-radius: 100px;
  padding: 0.28rem 0.8rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}
.modal-plan-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  margin-bottom: 0.4rem;
}
.modal-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}
.modal-price span {
  font-size: 2.4rem;
  font-weight: 700;
}
.modal-price s {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
}
.modal-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin: 1.4rem 0 0.8rem;
}
.modal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.modal li {
  color: var(--muted);
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.modal li::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.18rem;
}
.modal-addon li::before {
  content: '+';
}
.modal-note {
  margin-top: 1.4rem;
  font-size: 0.83rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1rem;
  font-style: italic;
}
.modal-cta {
  margin-top: 2rem;
}
.modal-cta .btn {
  display: block;
  text-align: center;
}

/* ─── Hamburger Toggle Button ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  z-index: 30;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
  .particles-bg,
  .star-trail {
    display: none;
  }

  .site-header {
    padding: 0.9rem 1.2rem;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .brand {
    font-size: 1.3rem;
    letter-spacing: 0.18em;
  }
  .brand-dot {
    font-size: 1.65rem;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 0.5rem;
  }
  .nav-links.open {
    display: flex;
    animation: mobileNavOpen 0.28s ease forwards;
  }
  @keyframes mobileNavOpen {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-links.open > * {
    opacity: 0;
    animation: navItemSlideIn 0.26s ease forwards;
  }
  @keyframes navItemSlideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .nav-links.open > *:nth-child(1) { animation-delay: 0.04s; }
  .nav-links.open > *:nth-child(2) { animation-delay: 0.09s; }
  .nav-links.open > *:nth-child(3) { animation-delay: 0.14s; }
  .nav-links.open > *:nth-child(4) { animation-delay: 0.19s; }
  .nav-links.open > *:nth-child(5) { animation-delay: 0.24s; }
  .nav-links.open > *:nth-child(6) { animation-delay: 0.28s; }
  .nav-links > a:not(.btn),
  .nav-dropdown > a {
    width: 100%;
    padding: 0.75rem 0.8rem;
    font-size: 1rem;
    border-radius: 10px;
    white-space: nowrap;
    background: transparent;
    border-color: transparent;
  }
  .nav-links > a:not(.btn):hover,
  .nav-dropdown > a:hover {
    background: rgba(255,255,255,0.05);
  }
  /* Contact button always visible full-width */
  .nav-links .btn-sm {
    width: 100%;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    text-align: center;
    border-radius: 12px;
    margin-top: 0.4rem;
  }
  /* Dropdown on mobile — tap arrow to open with smooth expand */
  .nav-dropdown {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .nav-dropdown > a {
    flex: 1;
  }
  .dropdown-arrow {
    padding: 0.5rem 0.7rem;
    font-size: 0.75rem;
  }
  .nav-dropdown .dropdown-menu {
    flex: 0 0 100%;
    position: static;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,0.03);
    border: none;
    border-radius: 10px;
    margin: 0.25rem 0 0 0.8rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
  }
  .nav-dropdown.open .dropdown-menu {
    max-height: 220px;
  }
  /* Sections */
  .hero-copy {
    max-width: 100%;
  }
  .slogan-section {
    padding: 1.8rem 1.2rem;
  }
  .slogan-main {
    font-size: 1.2rem;
  }
  .slogan-note {
    font-size: 0.8rem;
  }
  .section {
    padding: 3.5rem 1.2rem;
  }

  .intelligence-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .metric-card {
    padding: 1.15rem;
  }

  .graph-bars {
    min-height: 120px;
    padding: 0.8rem;
  }
  .fullscreen {
    padding: 2rem 1.2rem;
    min-height: calc(100dvh - 70px);
  }
  .fullscreen::before {
    width: 300px;
    height: 300px;
  }
  .mockup-card {
    min-height: 220px;
    border-radius: 20px;
  }
  .demo-image {
    min-height: 240px;
  }
  .cta-banner {
    padding: 2rem 1.2rem;
    text-align: center;
    align-items: center;
  }
  .pricing-card h2 {
    font-size: 2.2rem;
  }

  .footer-terms-btn {
    width: 100%;
    max-width: 340px;
  }

  .legal-card {
    padding: 1.4rem;
  }
  /* Disable 3D tilt on touch — causes jank */
  .glass-card:hover,
  .depth-card:hover,
  .pricing-card:hover,
  .pricing-highlight:hover,
  .stat-card:hover,
  .demo-card:hover .demo-image {
    transform: none !important;
  }
  /* Demo overlay: always show body + button on touch (no hover available) */
  .demo-overlay-body {
    transform: none !important;
    opacity: 1 !important;
  }
  /* Simpler lift hover for touch */
  .glass-card:active,
  .service-card:active,
  .pricing-card:active {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(240, 193, 112, 0.15);
  }
}

@media (max-width: 460px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .site-footer {
    padding: 1.6rem 1.2rem;
  }
  .chatbot {
    right: 0.8rem;
    bottom: 0.8rem;
  }
  .chatbot-toggle {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }
  .chatbot-panel {
    width: calc(100vw - 1.6rem);
    bottom: 64px;
    right: 0;
    max-height: 68vh;
  }
}

/* ── Plan Detail Pages (Starter, Premium, Pro) ──────────── */
.plan-page-hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, rgba(240,193,112,0.08) 0%, rgba(15,15,15,0) 60%);
  border-bottom: 1px solid rgba(240,193,112,0.13);
  text-align: center;
  overflow: hidden;
}

.plan-page-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-page-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 0 0 1.2rem;
  line-height: 1.1;
}

.plan-page-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}

.plan-details-wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  padding: 4.5rem 2rem;
}

.plan-section {
  display: grid;
  gap: 1.5rem;
}

.plan-section h3 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
}

.plan-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.plan-cta-group {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: stretch;
}

.plan-cta-group .btn {
  padding: 1.1rem 2rem;
  font-size: 1rem;
  width: 100%;
  text-align: center;
}

.plan-disclaimer {
  background: rgba(240,193,112,0.06);
  border: 1px solid rgba(240,193,112,0.2);
  border-radius: 16px;
  padding: 2rem;
}

.plan-disclaimer h3 {
  font-size: 1.2rem;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--text);
}

.plan-disclaimer p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0.8rem 0;
  color: var(--muted);
}

.plan-disclaimer strong {
  color: var(--text);
  font-weight: 600;
}

.disclaimer-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.8rem;
}

.disclaimer-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.disclaimer-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ── Comparison Table Enhanced ──────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(240,193,112,0.15);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table thead {
  background: linear-gradient(135deg, rgba(240,193,112,0.12) 0%, rgba(240,193,112,0.06) 100%);
}

.comparison-table th {
  padding: 1.4rem;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 2px solid rgba(240,193,112,0.2);
}

.comparison-table th.active-col {
  background: rgba(240,193,112,0.2);
  color: var(--gold);
  position: relative;
}

.comparison-table td {
  padding: 1.2rem 1.4rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(240,193,112,0.1);
  color: var(--muted);
}

.comparison-table tbody tr:hover td {
  background: rgba(240,193,112,0.04);
}

.comparison-table td.active-col {
  background: rgba(240,193,112,0.08);
  color: var(--text);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .plan-two-col {
    grid-template-columns: 1fr;
  }
  
  .plan-cta-group {
    flex-direction: column;
  }
  
  .plan-cta-group .btn {
    width: 100%;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
    font-size: 0.85rem;
  }
}


.plan-price-section {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.plan-price-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.plan-price-display {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}

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

.plan-cta-section {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.plan-discount-note {
  font-size: 0.9rem;
  color: var(--gold);
  margin-top: 0.8rem;
  font-weight: 500;
}

/* ── Plan Features ──────────────────────────── */
.plan-features {
  display: grid;
  gap: 2rem;
}

.plan-features-title {
  font-size: 1.8rem;
  margin: 0 0 2rem;
}

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

.plan-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.plan-feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(240, 193, 112, 0.12);
  border: 1px solid rgba(240, 193, 112, 0.3);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.plan-feature h4 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
  font-weight: 600;
}

.plan-feature p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Plan Add-ons ──────────────────────────── */
.plan-addons {
  border-top: 1px solid rgba(240,193,112,0.13);
  border-bottom: 1px solid rgba(240,193,112,0.13);
  padding: 2.5rem 0;
  display: grid;
  gap: 1.5rem;
}

.plan-addons-title {
  font-size: 1.5rem;
  margin: 0;
}

.plan-addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.plan-addon-item {
  padding: 1rem 1.2rem;
  background: rgba(240,193,112,0.05);
  border: 1px solid rgba(240,193,112,0.15);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-addon-name {
  font-size: 0.95rem;
  font-weight: 500;
}

.plan-addon-cost {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

/* ── Plan Timeline ──────────────────────────── */
.plan-timeline {
  display: grid;
  gap: 1.5rem;
}

.plan-timeline-title {
  font-size: 1.5rem;
  margin: 0;
}

.plan-timeline-item {
  padding: 1.3rem;
  background: rgba(240,193,112,0.04);
  border: 1px solid rgba(240,193,112,0.15);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
}

.plan-timeline-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-timeline-item h4 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.plan-timeline-item p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* ── Plan Support ──────────────────────────── */
.plan-support {
  display: grid;
  gap: 1.5rem;
}

.plan-support-title {
  font-size: 1.5rem;
  margin: 0;
}

.plan-support-item {
  display: flex;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(240,193,112,0.1);
  align-items: flex-start;
}

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

.plan-support-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(240, 193, 112, 0.1);
  border: 1px solid rgba(240, 193, 112, 0.25);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.plan-support-content h4 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
  font-weight: 600;
}

.plan-support-content p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* ── Plan Comparison ──────────────────────────── */
.plan-comparison {
  display: grid;
  gap: 2rem;
  overflow-x: auto;
}

.plan-comparison-title {
  font-size: 1.5rem;
  margin: 0;
}

.plan-comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(240,193,112,0.13);
  border-radius: 12px;
  overflow: hidden;
}

.plan-comparison-table th,
.plan-comparison-table td {
  padding: 1.2rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(240,193,112,0.1);
}

.plan-comparison-table th {
  background: rgba(240,193,112,0.07);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.plan-comparison-table tr:last-child td {
  border-bottom: none;
}

.plan-comparison-table td {
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-comparison-check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

.plan-comparison-cross {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

/* ── Plan FAQ ──────────────────────────── */
.plan-faq {
  display: grid;
  gap: 1.5rem;
}

.plan-faq-title {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.plan-faq-item {
  border: 1px solid rgba(240,193,112,0.13);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.plan-faq-item.active {
  border-color: rgba(240,193,112,0.4);
  background: rgba(240,193,112,0.06);
}

.plan-faq-question {
  padding: 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.plan-faq-item:hover .plan-faq-question {
  color: var(--gold);
}

.plan-faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.plan-faq-item.active .plan-faq-toggle {
  transform: rotate(180deg);
}

.plan-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.plan-faq-item.active .plan-faq-answer {
  max-height: 400px;
  padding: 0 1.3rem 1.3rem;
}

.plan-faq-answer p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Plan Featured Callout ──────────────────────────── */
.plan-featured-callout {
  background: linear-gradient(135deg, rgba(240,193,112,0.15) 0%, rgba(240,193,112,0.05) 100%);
  border: 2px solid rgba(240,193,112,0.3);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.plan-featured-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(240, 193, 112, 0.2);
  border: 1px solid rgba(240, 193, 112, 0.4);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.plan-featured-copy h4 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: var(--text);
}

.plan-featured-copy p {
  font-size: 0.93rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Plan Switcher (Pricing Page) ──────────────────────────── */
.plan-switcher-section {
  padding: 2.5rem 2rem;
  background: rgba(240,193,112,0.05);
  border-top: 1px solid rgba(240,193,112,0.13);
  border-bottom: 1px solid rgba(240,193,112,0.13);
  text-align: center;
}

.plan-switcher-wrap {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.switcher-label {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0;
}

.plan-switcher {
  display: flex;
  justify-content: center;
}

.plan-dropdown {
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, rgba(240,193,112,0.1), rgba(25,25,25,0.3));
  border: 1px solid rgba(240,193,112,0.3);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 280px;
}

.plan-dropdown:hover {
  border-color: rgba(240,193,112,0.5);
  background: linear-gradient(135deg, rgba(240,193,112,0.15), rgba(25,25,25,0.4));
}

.plan-dropdown:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(240, 193, 112, 0.2);
}

.plan-dropdown option {
  background: var(--bg);
  color: var(--text);
}

.switcher-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .plan-switcher-section {
    padding: 1.8rem 1.2rem;
  }

  .plan-dropdown {
    min-width: 240px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }
}


@media (max-width: 768px) {
  .plan-page-hero {
    padding: 5rem 1.5rem 3rem;
  }

  .plan-details-wrap {
    padding: 3rem 1.5rem;
    gap: 2.5rem;
  }

  .plan-features-grid {
    grid-template-columns: 1fr;
  }

  .plan-addons-grid {
    grid-template-columns: 1fr;
  }

  .plan-comparison-table th,
  .plan-comparison-table td {
    padding: 0.9rem 0.7rem;
    font-size: 0.85rem;
  }

  .plan-featured-callout {
    flex-direction: column;
    text-align: center;
  }

  .plan-featured-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

/* Disable heavy animations on touch / reduced-motion */
@media (hover: none) {
  .depth-card {
    animation: none !important;
  }
  .glass-card,
  .service-card,
  .pricing-card,
  .stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .glass-card:hover,
  .depth-card:hover,
  .pricing-card:hover,
  .stat-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 40px rgba(240, 193, 112, 0.12) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.2s !important;
  }
  .fade-on-scroll {
    opacity: 1;
    transform: none;
  }
}
