/* ==========================================================================
   randysinda.com — static clone (QA/QC sandbox)
   Faithful reproduction of the GHL funnel "Randy Sinda".
   Palette + fonts sampled from the live hydrated DOM (see CLONE-randysinda.md).
   ========================================================================== */

/* ---- Google Fonts (as GHL loads them) ---- */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --black: #000000;
  --offblack: #0b0b0b;
  --card-black: #090a0b;
  --white: #ffffff;
  --muted: #607179;
  --buybox-navy: #12224a;      /* baked banner navy backdrop */
  --form-blue: #004692;        /* My Links page bg */
  --form-card: #0f78d3;        /* form card bg */
  --cyan: #53e9f0;             /* form headings */
  --form-label: #1f2480;       /* rgb(31,36,128) indigo labels */
  --link-blue: #188bf6;
  --link-blue-2: #0f78d3;
  --purple: #757bbd;           /* linktree buttons */
  --purple-bg: #4b538e;        /* linktree page bg (approx) */
  --green: #37ca37;            /* linktree primary CTAs */
  /* DTA script colors (exact from live) */
  --dta-blue: rgb(0, 0, 255);
  --dta-green: rgb(56, 118, 29);
  --dta-red: rgb(255, 0, 0);
  --dta-orange: rgb(255, 153, 0);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ==========================================================================
   Global top nav (pages 1–5)
   Black bar, colored social icons left, nav links + About dropdown right.
   ========================================================================== */
.mc-nav {
  background: #000;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: relative;
  z-index: 50;
}
.mc-nav__social { display: flex; align-items: center; gap: 16px; }
.mc-nav__social a { display: inline-flex; padding: 4px; }
.mc-nav__social img { width: 34px; height: 34px; }

.mc-nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mc-nav__links a {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  transition: opacity .15s ease;
}
.mc-nav__links a:hover { opacity: .75; }

.mc-nav__about {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.mc-nav__about > .about-toggle {
  color: #fff; font-size: 17px; padding: 8px 14px; cursor: default;
  display: inline-flex; align-items: center; gap: 6px;
}
.mc-nav__about .caret { font-size: 12px; }
.mc-nav__about .about-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #000;
  border: 1px solid #222;
  border-radius: 6px;
  min-width: 140px;
  padding: 6px 0;
}
.mc-nav__about:hover .about-menu { display: block; }
.mc-nav__about .about-menu a {
  display: block; color: #fff; padding: 8px 16px; font-size: 15px;
}
.mc-nav__about .about-menu a:hover { background: #151515; }

/* CSS-only hamburger (checkbox hack). Hidden on desktop; the live GHL site
   collapses the top nav into a hamburger on mobile — this matches that. */
.mc-nav__toggle-cb { display: none; }
.mc-nav__burger { display: none; }

@media (max-width: 720px) {
  .mc-nav { padding: 0 16px; height: 80px; }
  .mc-nav__social img { width: 28px; height: 28px; }

  /* show the burger, hide the desktop link row by default */
  .mc-nav__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    z-index: 60;
  }
  .mc-nav__burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }

  .mc-nav__links {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #000;
    border-top: 1px solid #1a1a1a;
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .25s ease, opacity .2s ease;
    z-index: 55;
  }
  .mc-nav__toggle-cb:checked ~ .mc-nav__links {
    max-height: 80vh;
    opacity: 1;
    pointer-events: auto;
  }
  .mc-nav__links a,
  .mc-nav__about > .about-toggle {
    font-size: 17px;
    padding: 14px 22px;
    width: 100%;
  }
  /* on mobile the About submenu just lists inline under the toggle */
  .mc-nav__about { display: block; width: 100%; }
  .mc-nav__about .about-menu {
    display: block;
    position: static;
    border: none;
    background: transparent;
    padding: 0;
    min-width: 0;
  }
  .mc-nav__about .about-menu a { padding: 12px 40px; font-size: 15px; color: #cfd6da; }

  /* animate burger → X when open */
  .mc-nav__toggle-cb:checked ~ .mc-nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .mc-nav__toggle-cb:checked ~ .mc-nav__burger span:nth-child(2) { opacity: 0; }
  .mc-nav__toggle-cb:checked ~ .mc-nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ==========================================================================
   HOME — /home
   ========================================================================== */
.home-page { background: #0b0b0b; min-height: 100vh; }
.home-hero {
  background: #0b0b0b;
  display: flex;
  justify-content: center;
  padding: 40px 20px 120px;
}
.home-hero img {
  width: 640px;
  max-width: 90vw;
  height: auto;
  border-radius: 50%;
}

/* ==========================================================================
   BUY BOX — /buybox  (two baked banner images stacked)
   ========================================================================== */
.buybox-page { background: #000; }
.buybox-stack {
  max-width: 1200px;
  margin: 0 auto;
  background: #12224a;
}
.buybox-stack img { width: 100%; height: auto; display: block; }

/* ==========================================================================
   ORBIT PROGRAM / JOIN — long-form, black bg, centered, white text
   ========================================================================== */
.orbit-page { background: #000; color: #fff; }
.orbit-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 100px;
  text-align: center;
  font-family: 'Lato', sans-serif;
}
.orbit-wrap h1 {
  font-size: 34px; font-weight: 900; margin: 40px 0 16px; line-height: 1.25;
}
.orbit-wrap h2 {
  font-size: 26px; font-weight: 700; margin: 36px 0 14px; line-height: 1.3;
}
.orbit-wrap p { font-size: 19px; line-height: 1.7; margin: 14px 0; }
.orbit-wrap .perks { list-style: none; padding: 0; margin: 14px 0; font-size: 19px; line-height: 2; }
.orbit-avatar {
  width: 320px; max-width: 80vw; border-radius: 50%; margin: 20px auto 10px;
}
.orbit-robot {
  width: 380px; max-width: 85vw; margin: 24px auto; border-radius: 12px;
}
.orbit-cta {
  display: inline-block;
  margin: 28px auto;
  background: #188bf6;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  padding: 16px 44px;
  border-radius: 8px;
  transition: filter .15s ease;
}
.orbit-cta:hover { filter: brightness(1.1); }
.orbit-muted { color: #cfd6da; }

/* ==========================================================================
   LINKTREE — /linktree
   ========================================================================== */
.linktree-page {
  background: #4b538e;
  min-height: 100vh;
  padding-bottom: 60px;
}
.linktree-card {
  max-width: 440px;
  margin: 44px auto 0;
  background: #0e0e12;
  border-radius: 44px;
  padding-bottom: 70px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.linktree-header {
  height: 200px;
  background: linear-gradient(115deg, #5a86c9 0%, #8367ad 42%, #c33e77 100%);
  position: relative;
}
.linktree-avatar {
  position: absolute;
  left: 50%;
  bottom: -46px;
  transform: translateX(-50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  background: #000;
}
.linktree-name {
  color: #fff;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin: 66px 0 24px;
  font-family: 'Lato', sans-serif;
}
.linktree-socials {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 34px;
}
.linktree-socials a {
  width: 52px; height: 52px;
  border: 1.5px solid #6b6b78;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.linktree-socials svg { width: 22px; height: 22px; }
.linktree-buttons {
  display: flex; flex-direction: column; gap: 20px;
  padding: 0 26px;
}
.lt-btn {
  display: block;
  text-align: center;
  border-radius: 10px;
  padding: 15px 14px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  box-shadow: 0 4px 0 rgba(0,0,0,.25);
  transition: transform .12s ease, filter .12s ease;
}
.lt-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.lt-btn--green { background: #37ca37; color: #0a0a0a; }
.lt-btn--purple { background: #757bbd; color: #fff; }
.lt-btn .lt-sub { display: block; font-weight: 400; font-size: 13px; opacity: .95; }

/* ==========================================================================
   MY LINKS — /my-links  (Orbit Team Application form, inert)
   ========================================================================== */
.mylinks-page {
  background: #004692;
  min-height: 100vh;
  padding: 40px 16px 80px;
  font-family: 'Lato', sans-serif;
}
.form-card {
  max-width: 690px;
  margin: 0 auto;
  background: #0f78d3;
  border-radius: 6px;
  padding: 26px 30px 40px;
}
.form-titlebar {
  background: #0a5bb0;
  border-radius: 4px;
  text-align: center;
  padding: 20px;
  margin-bottom: 22px;
}
.form-titlebar h1 { margin: 0; color: #53e9f0; font-size: 34px; font-weight: 700; letter-spacing: .5px; }
.form-header-img { width: 100%; border-radius: 4px; margin-bottom: 22px; }
.form-section {
  background: #0a5bb0;
  border-radius: 4px;
  text-align: center;
  padding: 14px;
  margin: 26px 0 20px;
}
.form-section h2 { margin: 0; color: #53e9f0; font-size: 22px; font-weight: 700; }
.form-row { display: flex; gap: 20px; margin-bottom: 18px; }
.form-row .form-field { flex: 1; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; color: #1f2480; font-size: 14px; font-weight: 600; margin-bottom: 6px;
}
.form-field .req { color: #1f2480; }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  border: 1px solid #d0d5da;
  border-radius: 4px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  background: #fff;
  color: #222;
}
.form-field .input-icon { position: relative; }
.form-field .input-icon input { padding-left: 38px; }
.form-field .input-icon svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; fill: #8a949c;
}
.form-field textarea { resize: vertical; min-height: 44px; }
.form-radio { display: flex; align-items: center; gap: 8px; margin: 8px 0; color: #1f2480; font-size: 15px; }
.form-radio input { width: 15px; height: 15px; }
.form-submit {
  width: 100%;
  background: #0a5bb0;
  color: #53e9f0;
  border: none;
  border-radius: 4px;
  padding: 20px;
  font-size: 22px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  margin-top: 24px;
  letter-spacing: .5px;
}
.form-submit:hover { filter: brightness(1.08); }
.stub-note {
  max-width: 690px; margin: 18px auto 0; text-align: center;
  color: #bcd6f2; font-size: 13px; font-style: italic;
}

@media (max-width: 620px) {
  .form-row { flex-direction: column; gap: 0; }
}

/* ==========================================================================
   START HERE — /opportunities/start-here  (no nav)
   ========================================================================== */
.starthere-page {
  background: #000; color: #fff; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 50px 20px 100px; text-align: center;
  font-family: 'Lato', sans-serif;
}
.video-embed {
  width: 860px; max-width: 92vw; aspect-ratio: 16 / 9;
  margin: 0 auto 34px; border-radius: 10px; overflow: hidden;
  background: #000;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.starthere-page h2 { font-size: 28px; font-weight: 900; margin: 18px 0; line-height: 1.35; }
.starthere-page p { font-size: 21px; margin: 12px 0; line-height: 1.5; }
.starthere-cta {
  color: #188bf6; font-size: 24px; font-weight: 700; margin-top: 26px;
  display: inline-block;
}
.starthere-cta:hover { text-decoration: underline; }

/* ==========================================================================
   DTA FRAMEWORK — /dta-framework  (white doc, 2-col, 4-color script, no nav)
   ========================================================================== */
.dta-page {
  background: #fff; color: #000; min-height: 100vh;
  padding: 30px 24px 80px;
  font-family: 'Lato', sans-serif;
}
.dta-page h1 {
  text-align: center; font-size: 32px; font-weight: 900; margin: 10px 0 30px;
}
.dta-cols {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.dta-col h2 { font-size: 24px; font-weight: 700; margin: 26px 0 10px; color: #000; }
.dta-col p, .dta-col li {
  font-size: 22px; font-weight: 700; line-height: 1.55; margin: 10px 0;
}
.dta-col .lvl2 { margin-left: 22px; }
.dta-col .lvl3 { margin-left: 44px; }
.c-blue { color: rgb(0,0,255); }
.c-green { color: rgb(56,118,29); }
.c-red { color: rgb(255,0,0); }
.c-orange { color: rgb(255,153,0); }
.c-black { color: #000; font-weight: 500; }
@media (max-width: 820px) {
  .dta-cols { grid-template-columns: 1fr; gap: 10px; }
}

/* ==========================================================================
   INDEX — clone directory (sandbox only, not part of live site)
   ========================================================================== */
.index-page {
  background: #0b0b0b; color: #fff; min-height: 100vh;
  font-family: 'Lato', sans-serif; padding: 50px 24px 80px;
}
.index-wrap { max-width: 900px; margin: 0 auto; }
.index-wrap h1 { font-size: 32px; font-weight: 900; }
.index-wrap .sub { color: #8a949c; margin-bottom: 30px; font-size: 15px; }
.index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.index-card {
  background: #16171b; border: 1px solid #26272c; border-radius: 10px;
  padding: 18px 20px; color: #fff; transition: border-color .15s ease;
}
.index-card:hover { border-color: #53e9f0; }
.index-card .name { font-size: 18px; font-weight: 700; }
.index-card .slug { color: #53e9f0; font-size: 13px; font-family: monospace; margin-top: 4px; }
.index-card .desc { color: #9aa4ac; font-size: 13px; margin-top: 8px; line-height: 1.5; }

/* ==========================================================================
   Clone-subtree isolation (Mission Control clone host).
   The clone is served inside our app whose Tailwind preflight sets
   html{line-height:1.5} + the app <body> sets its own font inline. Both are
   INHERITED into the clone subtree, shifting text metrics vs the standalone
   deploy. Re-assert the clone's own body font + the browser-default line-height
   on the wrapper so descendants inherit exactly what they do live. Scoped to
   .site-root only — does not touch the real <html>/<body> or the app.
   ========================================================================== */
.site-root {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  line-height: normal;
}

/* Tailwind preflight (the host app) zeroes UA margins on flow elements
   (h1–h6, p, ul, ol, blockquote, figure, hr, dl/dd). The standalone clone relies
   on those default margins. Roll them back inside the clone subtree only. Selector
   specificity is 0,0,1 (bare element; .site-root is inside :where = 0) — it ties
   Tailwind preflight's own `h1{margin:0}` reset and wins by load order, while any
   real clone rule (a class, >=0,1,0) still beats it. */
:where(.site-root) h1, :where(.site-root) h2, :where(.site-root) h3, :where(.site-root) h4, :where(.site-root) h5, :where(.site-root) h6, :where(.site-root) p, :where(.site-root) ul, :where(.site-root) ol, :where(.site-root) blockquote, :where(.site-root) figure, :where(.site-root) hr, :where(.site-root) dl, :where(.site-root) dd, :where(.site-root) pre {
  margin: revert;
}
