/* ============================================================
   HASSANHASHIM.COM — Premium Ecosystem
   ============================================================ */
/* Font loaded via <link> in HTML for better performance */

/* ---- Design Tokens ---- */
:root {
  --bg:          #07070b;
  --bg-2:        #0a0a10;
  --bg-3:        #0e0e16;
  --card:        #0d0d14;
  --card-2:      #111119;
  --border:      rgba(255,255,255,0.06);
  --border-md:   rgba(255,255,255,0.10);
  --border-hi:   rgba(255,255,255,0.16);
  --text:        #ebebf2;
  --text-2:      #8a8a9c;
  --text-3:      #484858;
  --accent:      #4a78f5;
  --accent-dim:  rgba(74,120,245,0.12);
  --accent-glow: rgba(74,120,245,0.20);
  --white:       #ffffff;
  --green:       #4ade80;
  --red:         #f87171;
  --amber:       #fbbf24;

  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --nav-h:       62px;
  --max-w:       1160px;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 120px 0; }

/* ---- Fade-up animation ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn-white { background: var(--white); color: #09090f; border-color: transparent; }
.btn-white:hover { background: #e6e6f0; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-md);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--border-hi); }
.btn-ghost { background: transparent; color: var(--text-2); border: none; padding: 10px 0; }
.btn-ghost:hover { color: var(--text); }
.btn-accent { background: var(--accent); color: #fff; border-color: transparent; }
.btn-accent:hover { background: #3a68e5; box-shadow: 0 0 24px var(--accent-glow); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }

/* ---- Label / Badge ---- */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border-md);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  color: var(--text-2);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2.5s infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

/* ===========================================================
   NAVIGATION
   =========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,7,11,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo .accent { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--text-2);
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border-md);
  color: var(--text);
  border-radius: 7px;
  padding: 8px;
  line-height: 0;
}
/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(7,7,11,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 199;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-2);
  transition: all 0.15s;
}
.nav-mobile a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-mobile .btn { margin-top: 8px; width: 100%; justify-content: center; }

/* ===========================================================
   HERO SECTION
   =========================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 40px 60px;
}

/* ── SPLIT HERO GRID ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}
.hero-left  { position: relative; z-index: 2; }
.hero-right { position: relative; z-index: 2; display: flex; justify-content: flex-end; }

/* override centred defaults for split layout */
.hero-left .hero-sub  { margin: 0 0 36px; }
.hero-left .hero-ctas { justify-content: flex-start; }

/* ── PHOTO WRAPPER: float animation ── */
.hero-photo-floater {
  animation: heroFloat 7s ease-in-out 2.2s infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-12px); }
}

/* ── PHOTO FRAME: reveal animation + glow ── */
.hero-photo-frame {
  position: relative;
  width: 340px;
  animation: heroPhotoReveal 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
@keyframes heroPhotoReveal {
  from { opacity: 0; transform: translateX(36px) scale(0.94); }
  to   { opacity: 1; transform: translateX(0)    scale(1);    }
}
.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 60% 35%, rgba(74,120,245,0.13), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── PHOTO IMAGE ── */
.hero-photo-img {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  object-position: center top;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 28px 70px rgba(0,0,0,0.55),
    0 0 50px rgba(74,120,245,0.07);
  mask-image: linear-gradient(to bottom, black 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 62%, transparent 100%);
}

/* ── FLOATING BADGE ON PHOTO ── */
.photo-badge {
  position: absolute;
  bottom: 68px;
  left: -18px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15,15,20,0.92);
  border: 1px solid var(--border-md);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  animation: badgePop 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.6s both;
}
.photo-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(74,222,128,0.7);
  flex-shrink: 0;
  animation: pulseGreen 2s ease-in-out infinite;
}
@keyframes badgePop {
  from { opacity: 0; transform: translateY(8px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 8px rgba(74,222,128,0.7); }
  50%       { box-shadow: 0 0 14px rgba(74,222,128,0.3); }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero { padding: calc(var(--nav-h) + 50px) 24px 60px; }
  .hero-split { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { justify-content: center; order: -1; }
  .hero-photo-frame { width: 260px; }
  .hero-photo-img   { height: 340px; }
  .hero-left .hero-sub  { margin: 0 auto 36px; }
  .hero-left .hero-ctas { justify-content: center; }
  .hero-left { text-align: center; }
  .photo-badge { left: 50%; transform: translateX(-50%); bottom: 50px; }
}
/* Signal canvas — sits behind everything in the hero */
#signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* subtle colour wash that complements the canvas — don't overpower it */
  background: radial-gradient(ellipse 80% 45% at 50% -5%, rgba(74,120,245,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
/* .hero-grid replaced by signal canvas animation */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}
.hero-terminal {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 600;
  letter-spacing: -3px;
  line-height: 1.02;
  margin: 20px 0 22px;
  color: var(--white);
}
.hero h1 .grad {
  background: linear-gradient(135deg, #fff 20%, #6e6e8a 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Terminal preview — sits below hero as its own band */
.hero-terminal {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 0 40px 80px;
}
.hero-terminal::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.terminal-win {
  background: var(--card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 24px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(74,120,245,0.06);
}
.terminal-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.t-dots { display: flex; gap: 6px; }
.t-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.t-dots span:nth-child(1) { background: #ff5f56; }
.t-dots span:nth-child(2) { background: #ffbd2e; }
.t-dots span:nth-child(3) { background: #27c93f; }
.t-title {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  flex: 1;
  text-align: center;
}
.t-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
}
.t-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.8s infinite;
}
.terminal-body {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.t-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.t-card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.t-regime-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.t-regime-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(74,222,128,0.12);
  color: var(--green);
}
.t-sector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12px;
}
.t-sector-name { color: var(--text-2); }
.t-bar-wrap {
  flex: 1;
  margin: 0 10px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.t-bar { height: 100%; border-radius: 2px; }
.t-bar.up { background: var(--green); }
.t-bar.down { background: var(--red); }
.t-pct { font-size: 11px; font-weight: 500; }
.t-pct.up { color: var(--green); }
.t-pct.down { color: var(--red); }
.t-brief-text {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.6;
}
.t-brief-text strong { color: var(--text); font-weight: 500; }
.t-momentum {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-top: 8px;
}
.t-bar-v {
  width: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* ===========================================================
   ECOSYSTEM SECTION
   =========================================================== */
.ecosystem { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.eco-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.22s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.eco-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(74,120,245,0.07), transparent 65%);
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}
.eco-card:hover {
  border-color: var(--border-md);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.eco-card:hover::after { opacity: 1; }
.eco-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.03);
  color: var(--text-2);
  flex-shrink: 0;
}
.eco-icon svg { width: 18px; height: 18px; }
.eco-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 9px;
}
.eco-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.68;
  flex: 1;
  margin-bottom: 22px;
}
.eco-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
}
.eco-link:hover { color: var(--white); }
.eco-link svg { width: 14px; height: 14px; }

/* ===========================================================
   EMC PREVIEW SECTION
   =========================================================== */
.emc-preview { background: var(--bg-2); overflow: hidden; }
.emc-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.emc-text .section-sub { max-width: 100%; margin: 0 0 32px; }
.emc-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.emc-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.emc-feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}
.emc-feature span {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
}
.emc-mock {
  position: relative;
}
.emc-mock-win {
  background: var(--card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 40px rgba(74,120,245,0.05);
}
.emc-mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.emc-mock-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.emc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.emc-data-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.emc-data-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.emc-data-val { font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.emc-data-sub { font-size: 11px; color: var(--text-2); }
.emc-full-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.emc-brief-lines { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.emc-brief-line {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
}
.emc-brief-line:nth-child(1) { width: 95%; }
.emc-brief-line:nth-child(2) { width: 80%; }
.emc-brief-line:nth-child(3) { width: 65%; }
.emc-sectors { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.emc-s-row { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.emc-s-name { color: var(--text-2); width: 80px; }
.emc-s-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.emc-s-fill { height: 100%; background: var(--accent); border-radius: 2px; }

/* ===========================================================
   PHILOSOPHY SECTION
   =========================================================== */
.philosophy {
  background: var(--bg);
  text-align: center;
}
.philosophy-inner { max-width: 680px; margin: 0 auto; }
.philosophy-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
}
.philosophy-body {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.philosophy-list {
  font-size: 16px;
  color: var(--text-2);
  line-height: 2;
  text-align: left;
  display: inline-block;
}
.philosophy-list li::before { content: '→  '; color: var(--accent); }
.philosophy-divider {
  width: 48px;
  height: 1px;
  background: var(--border-md);
  margin: 40px auto;
}

/* ===========================================================
   STACK SECTION (dausdk-inspired)
   =========================================================== */
.stack-section { background: var(--bg-2); }

/* ---- Stack Search + Filter ---- */
.stack-search-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.stack-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border-md);
  border-radius: 40px;
  padding: 10px 18px;
  width: 100%;
  max-width: 420px;
  transition: border-color 0.2s;
}
.stack-search-bar:focus-within {
  border-color: var(--border-hi);
}
.stack-search-bar input {
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
  width: 100%;
  font-family: inherit;
}
.stack-search-bar input::placeholder { color: var(--text-3); }
.stack-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-pill {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--text-3);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.filter-pill:hover {
  border-color: var(--border-md);
  color: var(--text-2);
}
.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.stack-card.hidden {
  display: none;
}
.stack-no-results {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0;
  color: var(--text-3);
  font-size: 14px;
}
.stack-no-results.visible { display: block; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stack-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.22s var(--ease);
}
.stack-card:hover {
  border-color: var(--border-md);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.stack-card-top {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--border);
}
.stack-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
  overflow: hidden;
}
.stack-logo img { width: 100%; height: 100%; object-fit: cover; }
.stack-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}
.stack-tagline { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.stack-rewards {
  padding: 16px 22px;
  flex: 1;
}
.stack-rewards-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.reward-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.45;
}
.reward-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(74,222,128,0.12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 9px;
}
.stack-card-cta {
  padding: 14px 22px 20px;
}
.stack-card-cta .btn { width: 100%; justify-content: center; font-size: 13px; }
.stack-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.stack-tag {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--text-3);
  border: 1px solid var(--border);
}
.stack-tag.green {
  background: rgba(74,222,128,0.08);
  color: #4ade80;
  border-color: rgba(74,222,128,0.15);
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 40px;
}
.footer-brand { }
.footer-logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo .accent { color: var(--accent); }
.footer-tagline { font-size: 13px; color: var(--text-3); line-height: 1.6; max-width: 220px; }
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: all 0.15s;
  font-size: 14px;
}
.social-btn:hover { color: var(--text); border-color: var(--border-hi); background: rgba(255,255,255,0.05); }
.social-btn svg { width: 14px; height: 14px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-2); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 12px; color: var(--text-3); }

/* ===========================================================
   PAGE HEADER (inner pages)
   =========================================================== */
.page-header {
  padding: calc(var(--nav-h) + 80px) 24px 80px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(74,120,245,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.page-header h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 600;
  letter-spacing: -1.8px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.page-header p {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ===========================================================
   PRIVATE COACHING PAGE
   =========================================================== */
.coaching-includes { background: var(--bg-2); }
.coaching-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.coaching-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s var(--ease);
}
.coaching-card:hover { border-color: var(--border-md); transform: translateY(-2px); }
.coaching-card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.coaching-card h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 9px; }
.coaching-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.coaching-who { background: var(--bg); }
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 700px;
  margin: 48px auto 0;
}
.who-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.who-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 10px;
}
.coaching-process { background: var(--bg-2); }
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 600px;
  margin: 48px auto 0;
}
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.18s;
}
.process-step:hover { border-color: var(--border-md); }
.step-num {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  flex-shrink: 0;
}
.step-content h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 5px; }
.step-content p { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.coaching-style { background: var(--bg); }
.style-box {
  max-width: 640px;
  margin: 48px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.style-box p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
}
.style-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  max-width: 280px;
  margin: 0 auto 32px;
}
.style-box li {
  font-size: 15px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.style-box li::before { content: '→'; color: var(--accent); font-size: 14px; }
.coaching-cta {
  background: var(--bg-2);
  text-align: center;
  padding: 100px 0;
}
.cta-box {
  max-width: 560px;
  margin: 0 auto;
}
.cta-box .section-title { margin-bottom: 14px; }
.cta-box .section-sub { margin: 0 auto 36px; }

/* ===========================================================
   STACK SUB-PAGES
   =========================================================== */
.stack-page-body { background: var(--bg); }
.stack-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-start;
}
.stack-page-main {}
.stack-page-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.sidebar-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.sidebar-name { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.sidebar-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }
.sidebar-meta { margin-bottom: 20px; }
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.meta-row:last-child { border-bottom: none; }
.meta-key { color: var(--text-3); }
.meta-val { color: var(--text); font-weight: 500; }
.difficulty-easy { color: var(--green); }
.difficulty-moderate { color: var(--amber); }
.sidebar-cta { width: 100%; justify-content: center; }
.stack-page-section { margin-bottom: 48px; }
.stack-page-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.benefit-list { display: flex; flex-direction: column; gap: 12px; }
.benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.benefit-icon {
  width: 20px; height: 20px;
  border-radius: 5px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 1px;
}
.benefit-text { font-size: 15px; color: var(--text-2); line-height: 1.55; }
.best-for-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.best-tag {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--card-2);
  border: 1px solid var(--border-md);
  font-size: 13px;
  color: var(--text-2);
}
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.reward-card {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.reward-card-icon { font-size: 22px; margin-bottom: 8px; }
.reward-card-label { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.reward-card-note { font-size: 12px; color: var(--text-3); }
.setup-steps { display: flex; flex-direction: column; gap: 10px; }
.setup-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.setup-step-num {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.setup-step-text h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.setup-step-text p { font-size: 13px; color: var(--text-2); }
.guide-box {
  background: var(--accent-dim);
  border: 1px solid rgba(74,120,245,0.2);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.guide-box-icon { font-size: 24px; }
.guide-box-text h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.guide-box-text p { font-size: 12px; color: var(--text-2); }
.guide-box-text a { color: var(--accent); text-decoration: underline; font-size: 12px; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .emc-preview-inner { grid-template-columns: 1fr; gap: 48px; }
  .stack-page-layout { grid-template-columns: 1fr; }
  .stack-page-sidebar { position: static; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .nav-links, .nav-right .btn:not(.btn-sm) { display: none; }
  .nav-hamburger { display: flex; }
  .eco-grid { grid-template-columns: 1fr; }
  .terminal-body { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .coaching-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .rewards-grid { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -2px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ===========================================================
   MARQUEE / TRUST STRIP
   =========================================================== */
.marquee-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: uppercase;
}
.marquee-item .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===========================================================
   STATS BAR
   =========================================================== */
.stats-bar {
  background: var(--bg);
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--card);
  padding: 28px 24px;
  text-align: center;
  transition: background 0.18s;
}
.stat-item:hover { background: var(--card-2); }
.stat-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ===========================================================
   FAQ ACCORDION
   =========================================================== */
.faq-section { background: var(--bg); }
.faq-list {
  max-width: 700px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item.open { border-color: var(--border-md); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s;
  font-family: inherit;
}
.faq-q:hover { color: var(--white); }
.faq-chevron {
  width: 18px; height: 18px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), color 0.15s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  padding: 0 22px;
}
.faq-item.open .faq-a-inner { padding-bottom: 20px; }
.faq-a-inner p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ===========================================================
   SOCIAL PROOF / TESTIMONIALS (placeholder)
   =========================================================== */
.testimonials-section { background: var(--bg-2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all 0.2s var(--ease);
}
.testimonial-card:hover { border-color: var(--border-md); transform: translateY(-2px); }
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.testimonial-stars span { color: var(--amber); font-size: 13px; }
.testimonial-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  flex-shrink: 0;
}
.testimonial-name { font-size: 13px; font-weight: 600; color: var(--white); }
.testimonial-role { font-size: 11px; color: var(--text-3); }

/* ===========================================================
   SCROLL-TO-TOP BUTTON
   =========================================================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card-2);
  border: 1px solid var(--border-md);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.22s var(--ease);
  backdrop-filter: blur(10px);
}
.scroll-top.visible { opacity: 1; transform: none; }
.scroll-top:hover { background: var(--border-md); color: var(--white); border-color: var(--border-hi); }
.scroll-top svg { width: 16px; height: 16px; }

/* ===========================================================
   RESPONSIVE — new components
   =========================================================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 26px; }
}

/* ===========================================================
   PAIN POINTS SECTION
   =========================================================== */
.pain-section { background: var(--bg-2); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(248,113,113,0.4);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: all 0.2s var(--ease);
}
.pain-card:hover { border-color: rgba(248,113,113,0.6); background: var(--card-2); }
.pain-emoji { font-size: 20px; margin-bottom: 10px; }
.pain-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 7px;
  line-height: 1.4;
}
.pain-desc { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ===========================================================
   MODULE CARDS — ENHANCED
   =========================================================== */
.module-enhanced {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.22s var(--ease);
}
.module-enhanced:hover { border-color: var(--border-md); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.module-head {
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(74,120,245,0.04), transparent);
}
.module-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.module-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.module-phase {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
}
.module-head h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.module-head p { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.module-topics {
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.topic-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.topic-row:last-child { border-bottom: none; }
.topic-icon {
  width: 20px; height: 20px;
  border-radius: 5px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  margin-top: 1px;
}
.topic-row strong { color: var(--text); font-weight: 500; }
.module-outcome {
  padding: 14px 26px;
  background: rgba(74,222,128,0.04);
  border-top: 1px solid rgba(74,222,128,0.1);
  font-size: 12.5px;
  color: var(--green);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.55;
}
.module-outcome-icon { flex-shrink: 0; margin-top: 1px; }

.enhanced-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

/* ===========================================================
   SPECIFIC OUTCOMES CHECKLIST
   =========================================================== */
.outcomes-section { background: var(--bg); }
.outcomes-wrap {
  max-width: 760px;
  margin: 48px auto 0;
}
.outcomes-intro {
  text-align: center;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 36px;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.outcome-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.18s;
}
.outcome-item:hover { border-color: var(--border-md); }
.outcome-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(74,222,128,0.1);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  margin-top: 1px;
}
.outcome-text { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.outcome-text strong { color: var(--text); font-weight: 500; }

/* ===========================================================
   TRANSFORMATION CALLOUT
   =========================================================== */
.transform-box {
  max-width: 680px;
  margin: 48px auto 0;
  background: var(--card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.transform-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}
.transform-col {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.transform-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.transform-col.before .transform-col-label { color: rgba(248,113,113,0.7); }
.transform-col.after .transform-col-label { color: var(--green); }
.transform-item {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.transform-item .x { color: var(--red); flex-shrink: 0; }
.transform-item .c { color: var(--green); flex-shrink: 0; }
.transform-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: rgba(74,120,245,0.04);
  color: var(--accent);
  font-size: 20px;
  writing-mode: vertical-lr;
  font-weight: 300;
  letter-spacing: 4px;
}

/* ---- Testimonials ---- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}
.testi-card:hover { border-color: var(--border-md); }
.testi-stars { color: var(--amber); font-size: 13px; letter-spacing: 2px; }
.testi-quote {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.testi-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.testi-meta {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}
/* placeholder shimmer state */
.testi-card.placeholder {
  opacity: 0.45;
  pointer-events: none;
}
.testi-placeholder-bar {
  height: 10px;
  border-radius: 6px;
  background: var(--bg-3);
}
.testi-placeholder-bar.w60 { width: 60%; }
.testi-placeholder-bar.w80 { width: 80%; }
.testi-placeholder-bar.w50 { width: 50%; }
.testi-collecting {
  text-align: center;
  margin-top: 28px;
  padding: 14px 20px;
  background: rgba(74,120,245,0.05);
  border: 1px dashed rgba(74,120,245,0.2);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-3);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .pain-grid { grid-template-columns: 1fr; }
  .enhanced-modules-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .transform-row { grid-template-columns: 1fr; }
  .transform-arrow { writing-mode: horizontal-tb; padding: 12px 24px; border: none; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); letter-spacing: 0; }
}

/* ============================================================
   COMMUNITIES SECTION
   ============================================================ */
.communities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1060px;
  margin: 0 auto;
}
.community-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.22s var(--ease);
}
.community-card:hover { border-color: var(--border-md); transform: translateY(-2px); }
.community-card.premium {
  background: var(--card-2);
  border-color: var(--border-md);
  box-shadow: 0 0 0 1px rgba(74,120,245,0.14), 0 20px 48px rgba(0,0,0,0.35);
}
.community-top-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.community-tier {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 16px;
}
.community-tier.tier-free   { background: rgba(74,222,128,0.08); color: var(--green); border: 1px solid rgba(74,222,128,0.2); }
.community-tier.tier-market { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(74,120,245,0.22); }
.community-tier.tier-group  { background: rgba(251,191,36,0.08); color: var(--amber); border: 1px solid rgba(251,191,36,0.22); }
.community-tier.tier-inner  { background: rgba(74,120,245,0.14); color: var(--accent); border: 1px solid rgba(74,120,245,0.28); }
.community-icon { font-size: 26px; margin-bottom: 12px; }
.community-name { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.community-handle { font-size: 12px; color: var(--text-3); margin-bottom: 14px; }
.community-desc { font-size: 13px; color: var(--text-2); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.community-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  transition: gap 0.15s var(--ease);
}
.community-cta:hover { gap: 9px; }
.community-cta.disabled { color: var(--text-3); pointer-events: none; cursor: default; }

/* Offer banner */
.offer-banner {
  background: linear-gradient(135deg, rgba(74,120,245,0.08) 0%, rgba(74,120,245,0.04) 100%);
  border: 1px solid rgba(74,120,245,0.18);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.offer-banner-left { flex: 1; }
.offer-code-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-dim);
  border: 1px solid rgba(74,120,245,0.3);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.offer-title { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 6px; line-height: 1.3; }
.offer-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.offer-expiry { font-size: 12px; color: var(--amber); margin-top: 8px; font-weight: 600; }
.offer-banner-right { flex-shrink: 0; }

@media (max-width: 900px) {
  .communities-grid { grid-template-columns: 1fr 1fr; }
  .offer-banner { flex-direction: column; text-align: center; }
  .offer-banner-right { width: 100%; }
  .offer-banner-right .btn { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .communities-grid { grid-template-columns: 1fr; }
}
