/* =====================================================
   CIRCLUM — PREMIUM DARK STYLESHEET
   Evolved from Creative Circle visual DNA
   ===================================================== */

/* ── IMPORTS ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Mono:wght@400;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Colours */
  --bg:           hsl(0, 0%, 4%);
  --bg-raised:    hsl(0, 0%, 7%);
  --bg-card:      hsl(0, 0%, 9%);
  --bg-card-hover:hsl(0, 0%, 11%);
  --border:       hsl(0, 0%, 14%);
  --border-light: hsl(0, 0%, 18%);

  --text-primary:   hsl(0, 0%, 96%);
  --text-secondary: hsl(0, 0%, 58%);
  --text-muted:     hsl(0, 0%, 38%);

  --accent:       hsl(0, 0%, 92%);
  --accent-dim:   hsl(0, 0%, 60%);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Spacing scale */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  7rem;
  --sp-2xl: 10rem;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  /* Transitions */
  --t-fast: 0.18s ease;
  --t-med:  0.32s ease;
  --t-slow: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 2px; }

/* ── UTILITY ── */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.section {
  padding: var(--sp-xl) var(--sp-md);
  max-width: 1200px;
  margin: 0 auto;
}

.section-wide {
  padding: var(--sp-xl) var(--sp-md);
  max-width: 1400px;
  margin: 0 auto;
}

.section-full {
  padding: var(--sp-xl) var(--sp-md);
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-h2 .stroke {
  -webkit-text-stroke: 1.5px var(--text-primary);
  color: transparent;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-top: 1rem;
  line-height: 1.75;
}

/* Divider line */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: hsla(0, 0%, 4%, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med);
}

nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  /* Logo is already white-on-dark — no filter needed */
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--t-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width var(--t-med);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text-primary);
  padding: 0.55rem 1.4rem;
  border-radius: var(--r-sm);
  transition: background var(--t-fast), transform var(--t-fast);
}

.nav-cta:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--t-fast);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(0,0%,100%,0.045) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 1.6rem;
}

.hero h1 .stroke {
  -webkit-text-stroke: 2px var(--text-primary);
  color: transparent;
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 2.4rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text-primary);
  padding: 0.85rem 2rem;
  border-radius: var(--r-sm);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  border: 1px solid var(--text-primary);
}

.btn-solid:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsla(0,0%,0%,0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  padding: 0.85rem 2rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-light);
  transition: all var(--t-fast);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

/* Hero visual side */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-wrap {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle halo — replaces the busy rotating rings */
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(0,0%,100%,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo-wrap img {
  width: 6000px;
  height: 6000px;
  object-fit: contain;
  /* Logo PNG is already white-on-dark — no filter needed */
  position: relative;
  z-index: 2;
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* orbit dots hidden — not needed */
.hero-orbit-dot { display: none; }

/* ── WHAT WE DO ── */
.what-wrap {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.flow-pills {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  row-gap: 0.75rem;
}

.flow-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.65rem 1.2rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 0 0.6rem;
  flex-shrink: 0;
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  margin-top: 4rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.what-item {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  transition: background var(--t-med);
  position: relative;
}

.what-item:hover {
  background: var(--bg-card-hover);
}

.what-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}

.what-item:hover::after {
  transform: scaleX(1);
}

.what-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.what-item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.what-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── CIRCLUM SYSTEM ── */
.system-wrap {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.system-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.sys-path {
  background: var(--bg-card);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.sys-path-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sys-path-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text-primary);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.sys-path-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.sys-path-steps {
  padding: 2rem;
  flex: 1;
}

.sys-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  border-radius: var(--r-sm);
  padding: 0.8rem;
  transition: background var(--t-fast);
  position: relative;
}

.sys-step:hover {
  background: var(--bg-card-hover);
}

.sys-step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 2px;
}

.sys-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: var(--bg);
  transition: border-color var(--t-fast), background var(--t-fast);
  flex-shrink: 0;
}

.sys-step.active .sys-step-dot,
.sys-step:hover .sys-step-dot {
  border-color: var(--text-primary);
  background: var(--text-primary);
}

.sys-step-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  min-height: 24px;
  margin-top: 4px;
}

.sys-step-body {
  flex: 1;
}

.sys-step-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--t-fast);
}

.sys-step-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  line-height: 1.5;
  display: none;
}

.sys-step.expanded .sys-step-sub {
  display: block;
}

.sys-step-expand {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--t-fast), color var(--t-fast);
}

.sys-step.expanded .sys-step-expand {
  transform: rotate(45deg);
  color: var(--text-primary);
}

/* Merge bar */
.sys-merge {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
}

.sys-merge-bar {
  flex: 1;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 2rem;
  text-align: center;
  margin-top: 0;
}

.sys-merge-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.sys-merge-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

/* System diagram — big picture */
.ecosystem-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.eco-node {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.2rem 2.5rem;
  min-width: 240px;
  text-align: center;
  position: relative;
  transition: border-color var(--t-med), background var(--t-med);
  cursor: default;
}

.eco-node:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.eco-node-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.eco-node-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.eco-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.5rem 0;
}

.eco-arrow-line {
  width: 1px;
  height: 28px;
  background: var(--border-light);
  position: relative;
  overflow: visible;
}

.eco-arrow-line::after {
  content: '↓';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.eco-node.highlight {
  border-color: var(--text-primary);
  background: var(--bg-raised);
}

.eco-node.highlight .eco-node-title {
  color: var(--text-primary);
}

.eco-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 680px;
}

.eco-row-node {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eco-connector {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 0.5rem;
  white-space: nowrap;
}

/* ── ORGANIC SYSTEM ── */
.organic-wrap {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.process-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.process-step {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  min-width: 120px;
  padding: 0 0.5rem;
  text-align: center;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 1px;
  background: var(--border-light);
}

.process-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--t-med), border-color var(--t-med);
  position: relative;
  z-index: 1;
}

.process-step:hover .process-icon {
  background: var(--bg-card-hover);
  border-color: var(--text-secondary);
}

.process-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Platforms row */
.platforms-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  transition: all var(--t-fast);
}

.platform-chip:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

/* ── PAID GROWTH ── */
.paid-wrap {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.paid-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.paid-path {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
}

.paid-path-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.paid-path h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.8rem;
}

.paid-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.paid-flow-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

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

.paid-flow-idx {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  width: 20px;
  flex-shrink: 0;
}

.paid-flow-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.paid-flow-item:hover .paid-flow-label {
  color: var(--text-primary);
}

/* ── WHATSAPP AUTOMATION ── */
.wa-wrap {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.wa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.wa-automation-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.wa-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}

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

.wa-item:hover {
  background: var(--bg-card-hover);
}

.wa-item-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.6rem;
  transition: all var(--t-fast);
}

.wa-item:hover .wa-item-check {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.wa-item-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.wa-item:hover .wa-item-text {
  color: var(--text-primary);
}

.wa-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wa-flow-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}

.wa-flow-node::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--text-muted);
  transition: background var(--t-med);
}

.wa-flow-node:hover::before {
  background: var(--text-primary);
}

.wa-flow-node-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.wa-flow-node-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.wa-connector {
  width: 1px;
  height: 16px;
  background: var(--border);
  margin: 0 auto;
}

/* ── WHO IT'S FOR ── */
.for-wrap {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.for-item {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  transition: background var(--t-fast);
  position: relative;
}

.for-item:hover {
  background: var(--bg-card-hover);
}

.for-item-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.for-item-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

/* ── ABOUT / FOUNDER ── */
.about-wrap {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start; /* carousel shouldn't stretch to text height */
}

.about-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.founder-img-wrap {
  aspect-ratio: 1/1; /* square — portrait photos look better framed this way */
  background: var(--bg-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* keep face in frame */
}

.founder-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
}

.founder-img-placeholder-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.founder-img-placeholder p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.founder-info {
  padding: 1.75rem;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.founder-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── CONSULTATION CTA ── */
.cta-wrap {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.25;
}

/* ── FAQ SECTION ── */
.faq-wrap {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.6rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color var(--t-fast);
}

.faq-question:hover {
  color: var(--text-secondary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--t-med);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  opacity: 1;
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 0.5rem 1.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-md);
  text-align: center;
}

.cta-inner .section-h2 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.cta-inner .section-lead {
  max-width: 100%;
  text-align: center;
  margin: 1rem auto 2.5rem;
}

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

/* ── CONSULTATION PAGE FORM ── */
.consult-page {
  min-height: 100vh;
  padding-top: 100px;
  background: var(--bg);
}

.consult-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.consult-header {
  margin-bottom: 3rem;
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.fgrp {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fgrp label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fgrp input,
.fgrp select,
.fgrp textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  width: 100%;
  transition: border-color var(--t-fast);
  outline: none;
  resize: none;
}

.fgrp input::placeholder,
.fgrp textarea::placeholder {
  color: var(--text-muted);
}

.fgrp input:focus,
.fgrp select:focus,
.fgrp textarea:focus {
  border-color: var(--text-secondary);
}

.fgrp select {
  appearance: none;
  cursor: pointer;
}

.fgrp textarea {
  min-height: 130px;
}

.form-submit {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3.5rem 2.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand-col {}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  /* Logo is already white-on-dark — no filter needed */
  opacity: 0.7;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 220px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-body); /* body font so © renders at proper size */
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ── WA FLOAT BUTTON ── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: hsl(142, 70%, 45%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px hsla(142,70%,45%,0.35);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px hsla(142,70%,45%,0.5);
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: white;
}

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--t-slow);
}

.mobile-nav-overlay.open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast);
}

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

.mobile-nav-cta {
  margin-top: 2.5rem;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── ECOSYSTEM BIG PICTURE ── */
.ecosystem-wrap {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.big-picture {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.bp-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
  position: relative;
}

.bp-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--t-med), background var(--t-med);
}

.bp-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.bp-card.final {
  border-color: var(--text-primary);
  background: var(--bg-raised);
}

.bp-card-left {
  display: flex;
  flex-direction: column;
}

.bp-card-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.bp-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.bp-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.bp-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  position: relative;
}

.bp-arrow::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 100%;
  background: var(--border-light);
}

.bp-arrow::after {
  content: '↓';
  color: var(--text-muted);
  font-size: 0.75rem;
  position: relative;
  z-index: 1;
  background: var(--bg-raised);
  padding: 2px 4px;
}

.bp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin: 0;
}

.bp-split-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
}

.bp-split-card-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.bp-split-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

/* ── ANIMATED LINE ── */
@keyframes flowLine {
  0%   { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

/* ── SUCCESS MSG ── */
.success-msg {
  display: none;
  text-align: center;
  padding: 3rem;
}

.success-msg.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-msg h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.04em;
}

.success-msg p {
  color: var(--text-secondary);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
  }
  .hero-desc { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-body { order: 2; }
  .founder-card { max-width: 440px; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --sp-xl: 4rem;
  }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }

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

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

  .process-track {
    padding-bottom: 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .bp-split {
    grid-template-columns: 1fr;
  }

  .cta-inner { padding: 4rem 1.5rem; }

  .section, .section-wide {
    padding: var(--sp-xl) 1.5rem;
  }
}

@media (max-width: 480px) {
  nav { padding: 1rem 1.25rem; }
  .hero-inner { padding: 3rem 1.25rem; }
  .hero h1 { font-size: clamp(2.8rem, 16vw, 4.2rem); }
  .section-h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .what-grid { grid-template-columns: 1fr; }
  .for-grid  { grid-template-columns: 1fr 1fr; }
}

/* ── TEAM STACK (Scroll & Interactive) ── */
.team-stack-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

/* Tabs switcher */
.team-toggle-bar {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px;
  gap: 4px;
  align-self: flex-start;
}

.team-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--t-fast);
}

.team-tab .tab-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: background var(--t-fast);
}

.team-tab:hover {
  color: var(--text-primary);
}

.team-tab.active {
  background: var(--bg-raised);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.team-tab.active .tab-dot {
  background: var(--text-primary);
  box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

/* Cards Viewport & 3D Stack */
.team-cards-viewport {
  position: relative;
  width: 100%;
  min-height: 540px;
  perspective: 1200px;
}

.team-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.55s ease,
              filter 0.55s ease;
  will-change: transform, opacity, filter;
  cursor: pointer;
}

/* Front card (Active) */
.team-card.is-front {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,0.5));
}

/* Back card (Behind) */
.team-card.is-back {
  transform: translate3d(0, 22px, -30px) scale(0.95);
  opacity: 0.38;
  z-index: 1;
  pointer-events: auto;
  filter: brightness(0.6) blur(0.5px);
}

.team-card.is-back:hover {
  opacity: 0.65;
  transform: translate3d(0, 16px, -20px) scale(0.96);
  filter: brightness(0.8);
}

/* Transition sliding down animation state */
.team-card.slide-down-out {
  transform: translate3d(0, 80px, 0) scale(0.92);
  opacity: 0;
  z-index: 4;
}

.team-card.slide-up-in {
  transform: translate3d(0, -60px, 0) scale(0.92);
  opacity: 0;
}

@media (max-width: 800px) {
  .team-cards-viewport {
    min-height: 520px;
  }
}



