/* ============================================================
   CreatorTax homepage — ported from the reference, used as the
   source of truth (don't reinterpret):
     _handoff_creatortax_site/source/ui_kits/marketing/marketing.css
     _handoff_creatortax_site/source/ui_kits/marketing/Sections.jsx
   Component inline styles (Button/Card/Badge/FeatureList/Stars) are
   reproduced as .rbtn / .rprice classes with the exact values.

   Linked only on index.html, AFTER creator-refresh.css. Selectors are
   scoped under .home so they win over each page's old inline <style>;
   !important appears only where creator-refresh.css already uses it on
   a shared class. Values are copied verbatim from the reference.
   ============================================================ */
:root {
  --font-sans:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-extrabold: 800;
  --fs-display: 4.5rem; --fs-h1: 2.9rem; --fs-h3: 1.5rem; --fs-lead: 1.3rem; --fs-body-lg: 1.15rem; --fs-body: 1.0625rem;
  --ls-tight: -2px; --ls-heading: -0.6px; --ls-label: 0.3px; --ls-wide: 0.8px; --ls-eyebrow: 1.8px;
  --lh-body: 1.6;
  --container: 1140px; --container-wide: 1280px;
  --radius-md: 14px; --radius-lg: 18px; --radius-xl: 24px; --radius-pill: 100px;
  --space-12: 6.5rem;
  --shadow-card: 0 2px 6px rgba(27,20,16,0.05); --shadow-raised: 0 8px 24px rgba(27,20,16,0.08);
  --shadow-hover: 0 16px 40px rgba(27,20,16,0.12); --shadow-orange: 0 8px 22px rgba(255,107,53,0.28);
  --ease: cubic-bezier(0.4,0,0.2,1); --dur: 0.25s; --dur-slow: 0.35s;
  --lift-sm: translateY(-2px); --lift-md: translateY(-4px);
}

.home { background: var(--ct-off-white); color: var(--ct-black); line-height: var(--lh-body); }
.home .container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

/* ---------- Section scaffolding ---------- */
.home .section { padding: var(--space-12) 2rem; }
.home .section-inner { max-width: var(--container); margin: 0 auto; }
.home .section-head { max-width: none; margin-bottom: 3.25rem; text-align: left; }
.home .section-head .pill-eyebrow, .home .section-sub { text-align: left; }
.home .section-title { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-tight); line-height: 1.05; color: var(--ct-black); margin: 0.9rem 0 0; text-align: left; }
.home .section-title em { font-style: normal; color: var(--ct-orange-deep); }
.home .section-sub { font-size: var(--fs-body-lg); color: var(--ct-dark-gray); margin-top: 1rem; max-width: 560px; line-height: 1.5; }
.home .pill-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); font-family: var(--font-sans); font-size: 0.72rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-eyebrow); }

/* ---------- Buttons (Button.jsx — exact inline values) ---------- */
.home .rbtn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; font-family: var(--font-sans); font-weight: var(--fw-semibold); letter-spacing: 0.01em; line-height: 1; text-decoration: none; border-radius: var(--radius-pill); cursor: pointer; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.home .rbtn-lg { padding: 1.05rem 2.4rem; font-size: 1.05rem; }
.home .rbtn-primary { background: var(--ct-orange); color: #fff; border: 1px solid transparent; box-shadow: var(--shadow-orange); }
.home .rbtn-primary:hover { background: var(--ct-orange-deep); transform: var(--lift-sm); }
.home .rbtn-ghost { background: transparent; color: var(--ct-black); border: 1.5px solid var(--ct-black); }
.home .rbtn-ghost:hover { background: var(--ct-black); color: #fff; }
.home .rbtn-dark { background: var(--ct-black); color: #fff; border: 1px solid transparent; }
.home .rbtn-dark:hover { background: #000; transform: var(--lift-sm); }

/* ---------- Hero ---------- */
.home .hero { padding: 5.5rem 2rem 4.5rem !important; position: relative; overflow: hidden; }
.home .hero-inner { max-width: var(--container); margin: 0 auto; padding: 0 !important; display: grid !important; grid-template-columns: 1.25fr 1fr !important; gap: 3.5rem !important; align-items: center; position: relative; z-index: 1; text-align: left; }
.home .hero h1 { font-family: var(--font-display); font-size: var(--fs-display) !important; font-weight: 800 !important; color: var(--ct-black); margin: 1.2rem 0 0 !important; line-height: 1.04 !important; letter-spacing: var(--ls-tight) !important; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; }
.home .hero h1 .hl { color: var(--ct-orange); -webkit-text-fill-color: var(--ct-orange); }
.home .hero-sub { font-size: var(--fs-lead) !important; color: var(--ct-dark-gray); margin: 1.4rem 0 2.2rem !important; max-width: 500px !important; line-height: 1.5 !important; }
.home .hero-cta-row { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; }
.home .hero-badges { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.home .hero-badges img { height: 42px; width: auto; }
.home .hero-badges .ca { height: 24px; }
.home .hero-badges span { font-size: 0.82rem; color: var(--ct-muted); font-weight: var(--fw-semibold); }
.home .hero-photo { position: relative; }
.home .hero-photo .hero-img { width: 100%; height: 540px; object-fit: cover; border-radius: 24px; display: block; box-shadow: var(--shadow-raised); position: relative; z-index: 1; }
.home .hero-stat { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,0.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: var(--radius-lg); padding: 0.9rem 1.2rem; box-shadow: var(--shadow-raised); z-index: 3; }
.home .hs-fig { font-family: var(--font-display); font-size: 2rem; font-weight: var(--fw-extrabold); color: var(--ct-black); line-height: 1; letter-spacing: var(--ls-tight); }
.home .hs-fig span { color: var(--ct-orange); font-size: 1.1rem; vertical-align: super; }
.home .hs-lab { font-size: 0.72rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--ct-muted); margin-top: 0.25rem; }

/* Signature rotating stamp + hero ring (marketing.css verbatim) */
.home .hero-ring { position: absolute; width: 380px; height: 380px; border: 2.5px solid var(--ct-orange); border-radius: 50%; right: -42px; bottom: -50px; z-index: 0; pointer-events: none; }
.home .stamp { position: absolute; top: -30px; right: -26px; width: 110px; height: 110px; z-index: 4; animation: ct-spin 20s linear infinite; filter: drop-shadow(0 6px 14px rgba(22,22,28,0.18)); }
@keyframes ct-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .home .stamp { animation: none; } }
.home .stamp circle.bg { fill: var(--ct-orange); }
.home .stamp text { fill: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 8.4px; letter-spacing: 1px; text-transform: uppercase; }
.home .stamp .ctr { font-family: var(--font-display); font-weight: 800; font-size: 21px; fill: #fff; letter-spacing: -0.5px; }

/* ---------- Marquee ticker ---------- */
.home .marquee { background: var(--ct-black) !important; overflow: hidden; padding: 1.05rem 0; border: none !important; }
.home .marquee-track { display: inline-flex; white-space: nowrap; animation: ct-marquee 32s linear infinite; }
.home .marquee:hover .marquee-track { animation-play-state: paused; }
.home .marquee-item { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 1.3rem; color: #fff; display: inline-flex; align-items: center; gap: 1.6rem; padding-left: 1.6rem; }
.home .marquee-item .sep { color: var(--ct-orange); font-size: 1rem; }
@keyframes ct-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .home .marquee-track { animation: none; } }

/* ---------- Steps ---------- */
.home .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.home .step { background: #fff; border: 1px solid var(--ct-line); border-top: 3px solid var(--ct-orange); border-radius: var(--radius-xl); padding: 2.25rem 2rem; box-shadow: var(--shadow-card); }
.home .step-num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ct-orange-soft); color: var(--ct-orange-deep); font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--fw-extrabold); margin-bottom: 1.4rem; }
.home .step h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--ct-black); margin: 0 0 0.7rem; letter-spacing: var(--ls-heading); }
.home .step p { color: var(--ct-dark-gray); font-size: var(--fs-body); line-height: 1.6; }

/* ---------- Platform strip ---------- */
.home .platforms { background: var(--ct-plum) !important; padding: 0 !important; }
.home .platforms-inner { max-width: var(--container); margin: 0 auto; padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; }
.home .platforms-label { font-size: 0.74rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-eyebrow); color: rgba(255,255,255,0.55); }
.home .platforms-list { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.home .platform-pill { padding: 0.42rem 1rem; border-radius: var(--radius-pill); font-weight: var(--fw-bold); font-size: 0.92rem; color: #fff; }

/* ---------- Gallery ---------- */
.home .gallery { background: var(--ct-off-white); }
.home .ggrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.home .gtile { position: relative; height: 340px; border-radius: var(--radius-xl); overflow: hidden; }
.home .gtile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home .gtag { position: absolute; top: 12px; left: 12px; color: #fff; font-size: 0.72rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-label); padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); }
.home .gref { position: absolute; bottom: 12px; left: 12px; background: var(--ct-orange); color: #fff; padding: 0.4rem 0.8rem; border-radius: var(--radius-pill); display: flex; align-items: baseline; gap: 0.35rem; }
.home .gref b { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 1rem; }
.home .gref span { font-size: 0.64rem; text-transform: uppercase; letter-spacing: var(--ls-label); opacity: 0.9; }

/* ---------- Testimonials ---------- */
.home .testimonials { background: var(--ct-plum) !important; }
.home .testimonials .section-title { color: #fff; }
.home .testimonials .section-title em { color: var(--ct-orange); }
.home .tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1100px) { .home .tgrid { grid-template-columns: repeat(2, 1fr); } }
.home .tcard p em { color: var(--ct-orange); font-style: normal; }
.home .tcard { background: #fff; border-radius: var(--radius-xl); padding: 2rem; display: flex; flex-direction: column; box-shadow: var(--shadow-raised); transition: transform var(--dur-slow) var(--ease); }
.home .tcard:hover { transform: var(--lift-md); }
.home .tcard .stars { color: var(--ct-orange); letter-spacing: 3px; font-size: 0.95rem; }
.home .tcard p { color: var(--ct-black); font-family: var(--font-display); font-size: 1.18rem; font-weight: var(--fw-semibold); line-height: 1.45; margin: 1rem 0 1.6rem; flex: 1; letter-spacing: var(--ls-heading); }
.home .tauthor { display: flex; align-items: center; gap: 0.8rem; padding-top: 1.3rem; border-top: 1px solid var(--ct-line); }
.home .tavatar { width: 54px; height: 54px; border-radius: 50%; background: var(--ct-orange); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.3rem; flex-shrink: 0; }
.home .tname { font-family: var(--font-sans); font-weight: var(--fw-bold); color: var(--ct-black); font-size: 0.95rem; }
.home .tplat { font-size: 0.82rem; color: var(--ct-muted); font-weight: var(--fw-medium); margin-top: 0.1rem; }
.home .trefund { margin-left: auto; text-align: right; }
.home .trefund b { font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--fw-extrabold); color: var(--ct-orange-deep); display: block; line-height: 1; }
.home .trefund span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--ct-muted); font-weight: var(--fw-semibold); }

/* ---------- Pricing (PriceCard.jsx — exact inline values) ---------- */
.home .pricing { background: var(--ct-off-white); }
.home .pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 1100px) { .home .pgrid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; } }
.home .rprice { position: relative; border-radius: var(--radius-xl); padding: 2.75rem 2.5rem; overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease); font-family: var(--font-sans); background: var(--ct-white); border: 1px solid var(--ct-line); color: var(--ct-black); display: flex; flex-direction: column; -webkit-text-fill-color: initial; }
.home .rprice:hover { transform: var(--lift-md); box-shadow: var(--shadow-hover); border-color: var(--ct-orange); }
.home .rprice.popular { border: 2px solid var(--ct-orange); box-shadow: var(--shadow-orange); overflow: visible; }
.home .rprice .rbadge { position: absolute; top: -12px; left: 2.5rem; display: inline-block; white-space: nowrap; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); font-family: var(--font-sans); font-size: 0.68rem; font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: var(--ls-wide); background: var(--ct-orange); color: #fff; }
.home .rprice .rpname { font-family: var(--font-sans); font-size: 0.8rem; font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: var(--ls-eyebrow); margin: 0 0 1.25rem; color: var(--ct-muted); }
.home .rprice .rpamt { font-family: var(--font-display); font-size: 3.25rem; font-weight: var(--fw-regular); line-height: 1; color: var(--ct-black); letter-spacing: var(--ls-heading); }
.home .rprice .rpper { color: var(--ct-muted); font-size: 0.9rem; font-weight: var(--fw-medium); margin-top: 0.5rem; margin-bottom: 2rem; }
.home .rprice .rpdiv { height: 1px; background: var(--ct-line); margin-bottom: 0.5rem; }
.home .rprice ul { list-style: none; margin: 0 0 2rem; padding: 0; flex: 1; }
.home .rprice li { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.8rem 0; color: var(--ct-dark-gray); font-family: var(--font-sans); font-weight: var(--fw-regular); font-size: 1rem; line-height: 1.4; border-bottom: 1px solid var(--ct-line); }
.home .rprice li:last-child { border-bottom: none; }
.home .rprice li .ck { color: var(--ct-orange); font-weight: var(--fw-bold); font-size: 0.95rem; line-height: 1.5; flex-shrink: 0; }
.home .rprice .rbtn { width: 100%; padding: 0.9rem; }

/* ---------- CTA banner ---------- */
.home .cta-banner { background: var(--ct-orange) !important; padding: 5.5rem 2rem !important; text-align: center; position: relative; overflow: hidden; }
.home .cta-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.home .cta-banner h2 { font-family: var(--font-display); font-size: 3.25rem; font-weight: var(--fw-extrabold); color: var(--ct-black); margin-bottom: 1.1rem; letter-spacing: var(--ls-tight); line-height: 1.05; }
.home .cta-banner h2 em { font-style: normal; color: #fff; }
.home .cta-banner p { font-size: var(--fs-lead); color: rgba(27,20,16,0.8); margin-bottom: 2.2rem; line-height: 1.5; font-weight: var(--fw-medium); }

@media (max-width: 980px) {
  .home .hero-inner { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .home .hero h1 { font-size: 3rem !important; }
  .home .hero-photo .hero-img { height: 360px; }
  .home .hero-ring { display: none; }
  .home .steps, .home .tgrid, .home .pgrid { grid-template-columns: 1fr; gap: 1.5rem; }
  .home .ggrid { grid-template-columns: repeat(2, 1fr); }
  .home .gtile { height: 240px; }
}
@media (max-width: 760px) {
  .home .section-title { font-size: 2.1rem; }
}
