/* =========================================================================
   TECH TATWA — Site components
   Header, footer, buttons, cards, sections, animations.
   ========================================================================= */

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container.wide { max-width: var(--container-wide); }

section { position: relative; }
.section { padding-block: var(--section-y); }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--navy); color: var(--ice); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .muted { color: rgba(202, 220, 252, 0.72); }

.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .grid-3.md-2, .grid-4.md-2, .grid-5.md-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3.md-2, .grid-4.md-2, .grid-5.md-2 { grid-template-columns: 1fr; }
}

.stack > * + * { margin-top: var(--stack, 24px); }
.center { text-align: center; }
.max-prose { max-width: 62ch; }
.mx-auto { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: 0.005em;
  text-decoration: none;
  transition:
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: #1a1408;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-deep); color: #fff; box-shadow: 0 14px 32px rgba(201, 127, 14, 0.4); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-outline.on-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-outline.on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-card); box-shadow: var(--shadow-lg); }

.btn-ghost { padding-inline: 4px; color: var(--gold-deep); font-weight: 600; }
.btn-ghost:hover { color: var(--gold); }
.btn-ghost .arrow { transition: transform var(--dur) var(--ease-out); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* Pills & chips */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-deep);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill.on-dark {
  background: rgba(245, 166, 35, 0.18);
  color: var(--gold);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.3); } }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(202, 220, 252, 0.18);
  color: var(--ice);
  font-size: var(--step--1);
  font-weight: 500;
}
.chip svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
.chip.on-light {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(30, 39, 97, 0.85);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid rgba(202, 220, 252, 0.08);
  transition:
    height var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}
.header.scrolled {
  height: var(--header-h-scrolled);
  background: rgba(22, 28, 74, 0.94);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff;
}
.brand img { height: 40px; width: auto; transition: height var(--dur) var(--ease-out); }
.header.scrolled .brand img { height: 32px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 10px 14px;
  color: var(--ice);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav a:hover { color: #fff; }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }

.header .btn { padding: 10px 18px; font-size: var(--step--1); }

/* Mobile menu */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: #fff;
}
.hamburger .bars, .hamburger .bars::before, .hamburger .bars::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.hamburger .bars { position: relative; }
.hamburger .bars::before { position: absolute; top: -7px; left: 0; }
.hamburger .bars::after  { position: absolute; top:  7px; left: 0; }
body.menu-open .hamburger .bars { background: transparent; }
body.menu-open .hamburger .bars::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger .bars::after  { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy-deep);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
body.menu-open .mobile-menu {
  opacity: 1; visibility: visible;
  transition: opacity var(--dur) var(--ease-out), visibility 0s;
}
.mobile-menu a {
  display: block;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(202,220,252,0.12);
  color: #fff;
  font-family: var(--font-serif);
  font-size: var(--step-3);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
body.menu-open .mobile-menu a { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: 100ms; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: 150ms; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: 200ms; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: 250ms; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: 300ms; }
body.menu-open .mobile-menu a:nth-child(6) { transition-delay: 350ms; }
body.menu-open .mobile-menu a:nth-child(7) { transition-delay: 400ms; }
body.menu-open .mobile-menu a:nth-child(8) { transition-delay: 450ms; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

@media (max-width: 900px) {
  .nav, .header > .container > .btn { display: none; }
  .hamburger { display: inline-flex; }
}


/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: var(--ice);
  padding-block: 80px 32px;
}
.footer a { color: var(--ice); text-decoration: none; transition: color var(--dur) var(--ease-out); }
.footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}
.footer-grid h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-brand img { height: 44px; }
.footer-brand p { color: rgba(202,220,252,0.7); margin-top: 20px; max-width: 30ch; font-size: var(--step--1); }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(202,220,252,0.2);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(202,220,252,0.14);
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(202,220,252,0.6);
  font-size: var(--step--1);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ---------- Decorative circles (parallax bg) ---------- */
.circles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.circles .circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.55;
}
.circles .circle.gold { background: radial-gradient(circle at 30% 30%, rgba(245,166,35,0.55), rgba(245,166,35,0) 70%); }
.circles .circle.coral { background: radial-gradient(circle at 30% 30%, rgba(255,111,81,0.5), rgba(255,111,81,0) 70%); }
.circles .circle.teal { background: radial-gradient(circle at 30% 30%, rgba(14,165,160,0.45), rgba(14,165,160,0) 70%); }
.circles .circle.ice { background: radial-gradient(circle at 30% 30%, rgba(202,220,252,0.35), rgba(202,220,252,0) 70%); }

section > .container { position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card-dark {
  background: var(--navy-card);
  color: var(--ice);
  border-color: rgba(202, 220, 252, 0.1);
}
.card-dark h3, .card-dark h4 { color: #fff; }

.step-badge {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--step-1);
  background: rgba(245,166,35,0.12);
  color: var(--gold-deep);
  border: 1.5px solid rgba(245,166,35,0.35);
  flex: none;
}
.step-badge.on-dark {
  background: rgba(245,166,35,0.18);
  color: var(--gold);
  border-color: rgba(245,166,35,0.4);
}
.step-badge.filled {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Image placeholder — designed, not lazy */
.img-placeholder {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(30, 39, 97, 0.04) 0 12px,
      rgba(30, 39, 97, 0.08) 12px 24px);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.img-placeholder.on-dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(202, 220, 252, 0.08) 0 12px,
      rgba(202, 220, 252, 0.14) 12px 24px);
  border-color: rgba(202,220,252,0.18);
}
.img-placeholder .label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 1.4;
  max-width: 100%;
}
.img-placeholder.on-dark .label {
  background: var(--navy-card);
  border-color: rgba(202,220,252,0.2);
  color: var(--ice);
}

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 12px; }
.accordion details {
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.accordion details[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.accordion summary {
  list-style: none;
  padding: 22px 24px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--step-1);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--text);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 32px;
  color: var(--gold-deep);
  transition: transform var(--dur) var(--ease-out);
  line-height: 1;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .content { padding: 0 24px 24px; color: var(--text-muted); line-height: 1.7; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }

/* Word-by-word reveal for hero */
.word-reveal .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.word-reveal.in .w { opacity: 1; transform: none; }
.word-reveal.in .w:nth-child(1) { transition-delay: 60ms; }
.word-reveal.in .w:nth-child(2) { transition-delay: 140ms; }
.word-reveal.in .w:nth-child(3) { transition-delay: 220ms; }
.word-reveal.in .w:nth-child(4) { transition-delay: 320ms; }
.word-reveal.in .w:nth-child(5) { transition-delay: 400ms; }
.word-reveal.in .w:nth-child(6) { transition-delay: 480ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .word-reveal .w { opacity: 1; transform: none; }
}

/* ---------- Forms ---------- */
.form-field { display: grid; gap: 6px; }
.form-field label {
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--text);
}
.form-field .req { color: var(--coral); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.18);
}
.form-field textarea { min-height: 128px; resize: vertical; }

.form-on-dark .form-field label { color: #fff; }
.form-on-dark .form-field input,
.form-on-dark .form-field select,
.form-on-dark .form-field textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(202,220,252,0.22);
  color: #fff;
}
.form-on-dark .form-field input::placeholder,
.form-on-dark .form-field textarea::placeholder { color: rgba(202,220,252,0.55); }
.form-on-dark .form-field input:focus,
.form-on-dark .form-field select:focus,
.form-on-dark .form-field textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.1); }

/* ---------- Popup ---------- */
.popup-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(22, 28, 74, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.popup-backdrop.open { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease-out), visibility 0s; }
.popup {
  background: #fff;
  border-radius: var(--r-xl);
  max-width: 480px;
  width: 100%;
  padding: 40px 32px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--dur-slow) var(--ease-out);
}
.popup-backdrop.open .popup { transform: translateY(0) scale(1); }
.popup .close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.popup .close:hover { background: var(--bg-tint); color: var(--text); }

/* Utility */
.text-gold { color: var(--gold-deep); }
.text-teal { color: var(--teal); }
.text-coral { color: var(--coral); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Remove any remaining white gaps at the top */
main { 
  padding-top: 0 !important; 
}

/* Let the background go under the header, but push the text down so it's readable */
main > *:first-child {
  padding-top: calc(var(--header-h) + 40px) !important;
}
/* --- HEADLINE RESIZE FOR PC --- */
@media (min-width: 992px) {
    .hero-headline {
        font-size: 4.5rem !important; /* Reduces the massive font size on desktop */
        line-height: 1.05 !important;
    }
}

/* --- HERO COLLAGE: PREMIUM SCATTERED DESIGN --- */

/* 1. The invisible canvas */
.hero-collage {
    position: relative !important;
    width: 100% !important;
    height: 520px !important; 
    display: block !important;
}

/* Base floating rules + premium shadow */
.hero-collage .collage-card {
    position: absolute !important;
    margin: 0 !important;
    box-shadow: 0 24px 48px rgba(30, 39, 97, 0.25) !important; /* Deeper, richer shadow */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

/* 2. White Store Card (Pinned Top Left, tightly cropped) */
.hero-collage .store-card {
    top: 0 !important;
    left: 0 !important;
    width: 320px !important;
    height: max-content !important; /* Forces the box to end exactly after the button */
    min-height: 0 !important;
    padding-bottom: 24px !important;
    z-index: 2 !important;
}

/* 3. Money Card (Scattered Middle Right) */
.hero-collage .money-card {
    top: 180px !important;
    right: -10% !important; /* Pushes it out into the negative space */
    left: auto !important;
    width: 320px !important;
    z-index: 3 !important;
}

/* 4. Shipping Box Card (Scattered Bottom Center-Left) */
.hero-collage .box-card {
    top: 330px !important;
    left: 5% !important;
    width: 340px !important;
    z-index: 4 !important;
}

/* Subtle premium lift on hover */
.hero-collage .collage-card:hover {
    transform: translateY(-12px) !important;
    z-index: 10 !important;
}

/* Mobile & Tablet Handling */
@media (max-width: 1024px) {
    .hero-collage {
        height: 420px !important;
        transform: scale(0.85);
        transform-origin: top left;
    }
    .hero-collage .money-card { right: 0 !important; }
}

@media (max-width: 600px) {
    /* Stack cleanly on phones */
    .hero-collage {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        transform: none !important;
        gap: 24px !important;
        align-items: center !important;
    }
    .hero-collage .collage-card {
        position: relative !important;
        top: auto !important; left: auto !important; right: auto !important;
        width: 100% !important;
        max-width: 340px !important;
    }
}

/* --- MOBILE HEADER GAP FIX --- */
main > *:first-child {
    margin-top: -2px !important;
}
/* --- SECTION TYPOGRAPHY RESIZE FOR PC --- */
@media (min-width: 992px) {
    /* Shrinks the main "Entrepreneurship education..." heading */
    .section-head .h2 {
        font-size: 3rem !important; 
        line-height: 1.1 !important;
    }
    
    /* Adjusts the sub-paragraph text just below the heading */
    .section-head .lede {
        font-size: 1.15rem !important;
        max-width: 65ch !important;
    }

    /* Shrinks the bullet point titles (e.g., "Zero real business experience") */
    .problem-item .h4 {
        font-size: 1.35rem !important;
    }
    
    /* Shrinks the bullet point descriptions */
    .problem-item .muted {
        font-size: 1rem !important;
    }
}
/* --- FAQ OPEN COLOR CHANGE --- */
.accordion summary {
    transition: color 0.3s ease !important;
}

.accordion details[open] summary {
    color: #F5A623 !important; /* Hardcoded tech-tatwa gold */
}

/* Also turn the plus/x icon gold when open */
.accordion details[open] summary::after {
    color: #F5A623 !important;
}
/* --- HIDE FORM SPAM TRAP --- */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* --- HERO OUTCOME CARDS (PREMIUM SCATTERED DESIGN) --- */

.hero-stage {
    position: relative !important;
    width: 100% !important;
    height: 520px !important;
    display: block !important;
    z-index: 10 !important;
}

.outcome-stage {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.outcome-card {
    position: absolute !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 48px rgba(30, 39, 97, 0.25) !important;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.outcome-card:hover {
    transform: translateY(-12px) !important;
    z-index: 20 !important;
}

/* 1. Store Card (Top Left) */
.outcome-store {
    top: 0 !important;
    left: 0 !important;
    width: 320px !important;
    padding: 24px !important;
    z-index: 2 !important;
}
.oc-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-family: var(--font-mono); font-size: 12px; color: #888; }
.oc-dots span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.oc-dots span:nth-child(1) { background: #ff5f56; }
.oc-dots span:nth-child(2) { background: #ffbd2e; }
.oc-dots span:nth-child(3) { background: #27c93f; }
.oc-live { color: #10B981; font-weight: 700; font-size: 10px; letter-spacing: 0.1em; }
.oc-eyebrow { font-size: 10px; font-weight: 700; color: #d4a574; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.oc-title { font-size: 22px; font-weight: 700; font-family: var(--font-serif); color: #1a1a1a; margin-bottom: 12px; line-height: 1.2; }
.oc-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.oc-price { font-size: 20px; font-weight: 700; color: #1a1a1a; }
.oc-strike { text-decoration: line-through; color: #888; font-size: 14px; }
.oc-store-swatch { display: flex; gap: 8px; }
.oc-swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #ddd; }

/* 2. Payout Card (Middle Right) */
.outcome-payout {
    top: 180px !important;
    right: -5% !important;
    left: auto !important;
    width: 320px !important;
    background: #1e2761 !important;
    color: #fff !important;
    padding: 24px !important;
    z-index: 3 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}
.oc-payout-header { display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #d4a574; margin-bottom: 16px; font-weight: 700; font-family: var(--font-mono); }
.oc-payout-date { color: rgba(202, 220, 252, 0.6); }
.oc-payout-amount { font-size: 42px; font-family: var(--font-serif); font-weight: 700; color: #ffbd2e; margin-bottom: 8px; line-height: 1; }
.oc-currency { font-size: 24px; vertical-align: top; margin-right: 4px; color: #ffbd2e; }
.oc-payout-detail { display: flex; justify-content: space-between; font-size: 12px; color: rgba(202, 220, 252, 0.8); margin-bottom: 16px; }
.oc-arrow-up { color: #10B981; font-weight: 600; }
.oc-payout-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.oc-payout-bar-fill { width: 75%; height: 100%; background: #ff5f56; border-radius: 2px; }

/* 3. Order Card (Bottom Left) */
.outcome-order {
    top: 360px !important;
    left: 10% !important;
    width: 340px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px 24px !important;
    z-index: 4 !important;
}
.oc-order-check { width: 32px; height: 32px; border-radius: 50%; background: #e6f6f4; color: #10B981; display: flex; align-items: center; justify-content: center; flex: none; }
.oc-order-check svg { width: 16px; height: 16px; }
.oc-order-title { font-weight: 600; color: #1a1a1a; font-size: 14px; margin-bottom: 4px; }
.oc-order-meta { font-size: 11px; color: #888; font-family: var(--font-mono); }

/* Outcome Caption (Information text below cards) */
.outcome-caption {
    position: absolute !important;
    bottom: -60px !important;
    left: 5% !important;
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    padding: 16px !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    width: 380px !important;
    z-index: 1 !important;
}
.outcome-dot { width: 8px; height: 8px; background: #ffbd2e; border-radius: 50%; margin-top: 4px; box-shadow: 0 0 8px rgba(255,189,46,0.6); flex: none; }

/* Mobile Formatting */
@media (max-width: 1024px) {
    .hero-stage { height: 420px !important; transform: scale(0.85); transform-origin: top left; }
    .outcome-payout { right: 0 !important; }
}

@media (max-width: 600px) {
    .hero-stage { display: flex !important; flex-direction: column !important; height: auto !important; transform: none !important; gap: 24px !important; align-items: center !important; }
    .outcome-stage { display: flex !important; flex-direction: column !important; gap: 24px !important; }
    .outcome-card, .outcome-caption { position: relative !important; top: auto !important; left: auto !important; right: auto !important; width: 100% !important; max-width: 340px !important; bottom: auto !important; }
}
/* --- COUNTDOWN STRIP --- */
.countdown-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 32px;
    max-width: 580px;
}

.countdown-strip .label {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    color: var(--gold, #ffbd2e);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.countdown-strip .title {
    font-family: var(--font-serif, serif);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.countdown {
    display: flex;
    gap: 8px;
}

.cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.cd-unit .n {
    font-family: var(--font-serif, serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold, #ffbd2e);
    line-height: 1;
}

.cd-unit .l {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* --- TRUST CHIPS --- */
.trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.trust-chips .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
}

.trust-chips .chip svg {
    width: 16px;
    height: 16px;
    color: var(--teal, #10B981); /* Turns the checkmark green */
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .countdown-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 16px;
    }
}
/* --- COMPARISON TABLE --- */
.compare-table {
    background: #ffffff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(30, 39, 97, 0.08);
    overflow: hidden;
}

.compare-header, .compare-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: 24px;
    padding: 24px 32px;
    border-bottom: 1px solid var(--line, #e2e8f0);
    align-items: center;
}

.compare-header {
    background: var(--bg-tint, #f8fafc);
    align-items: flex-end;
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-header .ch-them {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-muted, #64748b);
}

.compare-header .ch-us {
    font-family: var(--font-serif, serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy, #1e2761);
}

.ch-metric {
    font-weight: 600;
    color: var(--navy, #1e2761);
}

.ch-them {
    color: var(--text-muted, #64748b);
    line-height: 1.5;
}

.ch-us {
    color: var(--navy, #1e2761);
    line-height: 1.5;
}

.ch-us strong {
    color: var(--gold-deep, #d4a574);
    font-weight: 700;
}

.ch-note {
    display: inline-block;
    font-size: 11px;
    background: rgba(212, 165, 116, 0.15);
    color: var(--gold-deep, #d4a574);
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* The dark blue summary row at the bottom */
.compare-summary {
    background: var(--navy, #1e2761);
    color: #ffffff;
}

.compare-summary .ch-metric,
.compare-summary .ch-them {
    color: rgba(255,255,255,0.7);
}

.compare-summary .ch-us {
    color: #ffffff;
}

/* Mobile responsiveness: turn the grid into stacked cards */
@media (max-width: 768px) {
    .compare-header {
        display: none;
    }
    .compare-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 24px;
        border-bottom: 8px solid var(--bg-tint, #f8fafc);
    }
    .compare-summary {
        border-bottom: none;
    }
    .ch-metric {
        font-size: 18px;
        margin-bottom: 4px;
    }
    .ch-them::before {
        content: "Generic: ";
        font-weight: 600;
        opacity: 0.6;
    }
    .ch-us::before {
        content: "Tech Tatwa: ";
        font-weight: 600;
        color: var(--gold-deep, #d4a574);
    }
    .compare-summary .ch-us::before {
        color: #ffffff;
    }
}
/* --- FOUNDER NOTE BLOCK --- */
.founder-note-block {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #ffffff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(30, 39, 97, 0.08);
    border-left: 6px solid var(--gold, #ffbd2e);
}

.founder-note-photo {
    flex: 0 0 240px;
}

.founder-note-photo img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.founder-note-body {
    flex: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .founder-note-block {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        gap: 24px;
    }
    
    .founder-note-photo {
        flex: 0 0 auto;
        max-width: 200px;
    }
}
/* ==========================================================================
   PARENTS PAGE STYLES
   ========================================================================== */

/* --- THE LETTER --- */
.letter {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text, #334155);
    max-width: 800px;
    margin: 0 auto;
}

.letter p {
    margin-bottom: 24px;
}

.letter .signoff {
    font-family: var(--font-serif, serif);
    font-style: italic;
    color: var(--gold-deep, #d4a574);
    font-weight: 600;
    font-size: 20px;
    margin-top: 40px;
}

/* --- PARENTS GRID (Split Layout) --- */
.parents-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 64px;
    align-items: start;
}

/* --- THE TRUST PANEL (Floating Card on Left) --- */
.trust-panel {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(30, 39, 97, 0.08);
    border-top: 4px solid var(--gold, #ffbd2e);
    padding: 40px 32px;
    position: sticky;
    top: 100px; /* Makes the card stick while scrolling the right column */
}

.trust-panel-header {
    margin-bottom: 32px;
}

.trust-eyebrow {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    color: var(--teal, #10B981);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.trust-title {
    font-family: var(--font-serif, serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy, #1e2761);
    line-height: 1.2;
}

/* Trust Panel List Items */
.trust-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

/* Fix for the Giant Logos */
.trust-item .ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none; /* Prevents icon from shrinking or growing */
}

.trust-item .ico svg {
    width: 20px;
    height: 20px;
}

/* Icon specific background colors */
.ico-legal { background: rgba(30, 39, 97, 0.05); color: var(--navy, #1e2761); }
.ico-money { background: rgba(255, 189, 46, 0.15); color: var(--gold-deep, #d4a574); }
.ico-inventory { background: rgba(255, 95, 86, 0.1); color: #ff5f56; }
.ico-mentor { background: rgba(16, 185, 129, 0.1); color: var(--teal, #10B981); }
.ico-fallback { background: rgba(30, 39, 97, 0.05); color: var(--navy, #1e2761); }

.trust-item .txt .k {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.trust-item .txt .v {
    font-size: 13px;
    color: var(--navy, #1e2761);
    line-height: 1.5;
}

/* Trust Panel Footer */
.trust-panel-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed var(--line, #e2e8f0);
    display: flex;
    gap: 16px;
    align-items: center;
}

.tt-mark {
    width: 40px;
    height: 40px;
    background: var(--navy, #1e2761);
    color: var(--gold, #ffbd2e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif, serif);
    font-weight: 700;
    font-size: 18px;
    flex: none;
}

.foot-txt .fk {
    font-weight: 700;
    font-size: 13px;
    color: var(--navy, #1e2761);
    margin-bottom: 2px;
}

.foot-txt .fv {
    font-size: 11px;
    color: var(--text-muted, #64748b);
}

/* --- Q&A ACCORDION BLOCK --- */
.qa-block details {
    background: #ffffff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.qa-block summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 18px;
    color: var(--navy, #1e2761);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color 0.2s ease;
}

.qa-block summary::-webkit-details-marker {
    display: none;
}

.qa-block summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--gold-deep, #d4a574);
}

.qa-block details[open] summary {
    color: var(--gold-deep, #d4a574);
}

.qa-block details[open] summary::after {
    content: "−";
}

.qa-block .a {
    padding: 0 24px 24px;
    color: var(--text, #334155);
    line-height: 1.7;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
    .parents-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .trust-panel {
        position: relative;
        top: 0;
    }
}
/* --- PARENTS CHECKS (Right Panel) --- */
.parents-checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.parents-checks li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text, #334155);
}

.parents-checks .check {
    width: 32px;
    height: 32px;
    background: rgba(14, 165, 160, 0.15); /* Teal tint */
    color: var(--teal, #10B981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none; /* Dis de stɔp di tchek-mak fɔ gro ɔ shrink */
}

.parents-checks .check svg {
    width: 16px;
    height: 16px;
}
/* --- FIX INVISIBLE NATIVE DROPDOWN OPTIONS --- */
select option {
    color: #1e2761 !important; /* Dark navy text */
    background-color: #ffffff !important; /* White background */
}