/* EGT Automation — shared stylesheet for all pages. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #1A1A18;
  --bg-deep: #121212;
  --surface: #232321;
  --surface-2: #2a2a27;
  --border: #2f2f2c;
  --mint: #34D399;
  --mint-2: #58E0B0;
  --white: #FFFFFF;
  --text: #d2d2cf;
  --muted: #9a9a96;
  --ink: #0d0d0c;
  --sans: 'Inter', 'DejaVu Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--mint); color: var(--ink); }
section[id] { scroll-margin-top: 88px; }
h1, h2, h3 { color: var(--white); }

/* LAYOUT */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
main > section { padding: 92px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.4px; color: var(--mint); text-transform: uppercase; margin-bottom: 16px; }
h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.8px; }
.section-intro { font-size: 17px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-size: 15px; font-weight: 700; text-decoration: none; border-radius: 10px; padding: 14px 26px; border: 1px solid transparent; cursor: pointer; transition: background 0.18s, border-color 0.18s, transform 0.15s; letter-spacing: 0.2px; }
.btn-primary { background: var(--mint); color: var(--ink); }
.btn-primary:hover { background: var(--mint-2); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--mint); background: rgba(52,211,153,0.07); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(18,18,18,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--white); }
.brand-mark { width: 34px; height: 34px; background: #000; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; flex-shrink: 0; }
.brand-mark i { display: block; width: 18px; height: 3px; border-radius: 2px; background: var(--white); }
.brand-mark i:nth-child(2) { background: var(--mint); }
.brand-word { font-weight: 800; font-size: 15px; letter-spacing: 1.2px; }
.brand-word b { font-weight: 900; }
.brand-word span { color: var(--muted); font-weight: 600; }

/* PRIMARY NAV */
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 0.18s; letter-spacing: 0.2px; }
.site-nav a:hover { color: var(--white); }
.site-nav a[aria-current="page"] { color: var(--mint); }
.header-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: transparent; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--white); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; border-top: 1px solid var(--border); padding: 8px 24px 16px; }
.mobile-nav a { padding: 13px 2px; font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a[aria-current="page"] { color: var(--mint); }
.mobile-nav.open { display: flex; }

/* PAGE HERO (inner pages) */
.page-hero { padding: 78px 0 10px !important; }
.page-hero .container { max-width: 780px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.07; letter-spacing: -1.3px; margin: 18px 0 16px; }
.page-hero .hero-sub { margin-top: 0; }

/* HERO */
.hero { padding: 104px 0 88px !important; }
.hero-inner { max-width: 760px; }
h1 { font-weight: 900; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -1.6px; margin: 22px 0 22px; }
h1 .hl { position: relative; white-space: nowrap; }
h1 .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 7px; background: var(--mint); border-radius: 3px; z-index: -1; }
.hero-sub { font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); max-width: 600px; line-height: 1.55; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* CASE STUDIES */
.cases { background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.case-list { display: flex; flex-direction: column; gap: 22px; }
.case { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 36px; display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; }
.case-tag { font-size: 11.5px; font-weight: 800; letter-spacing: 1.8px; color: var(--mint); text-transform: uppercase; margin-bottom: 22px; }
.case-block + .case-block { margin-top: 20px; }
.case-block h3 { font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.case-block p { font-size: 15px; color: var(--text); line-height: 1.65; }
.case-aside { display: flex; flex-direction: column; gap: 16px; align-self: start; }
.case-visual { background: var(--bg-deep); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.case-visual svg { display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto; }
.case-metrics { display: flex; flex-direction: column; gap: 16px; }
.metric { background: var(--bg-deep); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.metric-change { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.metric-from { font-size: 19px; font-weight: 700; color: var(--muted); }
.metric-arrow { color: var(--mint); font-weight: 900; font-size: 17px; }
.metric-to { font-size: clamp(28px, 3vw, 34px); font-weight: 900; color: var(--mint); letter-spacing: -1px; line-height: 1; }
.metric-solo { font-size: clamp(30px, 3.4vw, 38px); font-weight: 900; color: var(--mint); letter-spacing: -1px; line-height: 1; }
.metric-label { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--mint); border-radius: 16px; padding: 26px 24px; }
.step-week { font-size: 12px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; color: var(--mint); margin-bottom: 10px; }
.step h3 { font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -0.3px; }
.step-tagline { font-size: 14px; color: var(--muted); margin-top: 5px; }
.step-list { list-style: none; margin: 18px 0 22px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.step-list li { position: relative; padding-left: 18px; font-size: 14px; color: var(--text); line-height: 1.4; }
.step-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.step-deliverable { margin-top: auto; align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--mint); border: 1px solid rgba(52,211,153,0.4); border-radius: 999px; padding: 7px 14px; }

/* OFFERS */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 34px 30px; display: flex; flex-direction: column; }
.offer-name { font-size: 12px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted); }
.offer-subname { font-size: 12px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; color: var(--mint); margin-bottom: 4px; }
.offer-price { font-size: 27px; font-weight: 900; color: var(--white); letter-spacing: -0.7px; margin-top: 12px; line-height: 1.15; }
.offer-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.offer h3 { font-size: 22px; font-weight: 800; line-height: 1.22; letter-spacing: -0.4px; margin-top: 18px; }
.offer-sub { font-size: 16px; font-weight: 600; color: var(--mint); margin-top: 8px; }
.offer-desc { font-size: 15px; color: var(--text); margin-top: 8px; line-height: 1.6; }
.offer-guarantee { display: flex; gap: 9px; align-items: flex-start; background: rgba(52,211,153,0.09); border: 1px solid rgba(52,211,153,0.32); border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.45; margin-top: 20px; color: var(--text); }
.offer-guarantee::before { content: '✓'; color: var(--mint); font-weight: 900; flex-shrink: 0; }
.offer-actions { margin-top: auto; padding-top: 22px; }
.dm-link { display: inline-block; margin-top: 13px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 0.18s; }
.dm-link:hover { color: var(--mint); }
.offer-featured { position: relative; border-color: var(--mint); box-shadow: 0 0 0 1px rgba(52,211,153,0.2), 0 22px 48px rgba(0,0,0,0.4); }
.offer-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink); background: var(--mint); border-radius: 999px; padding: 5px 14px; }
.offer-price-note { font-size: 12.5px; color: var(--muted); margin-top: 7px; line-height: 1.45; }

/* AI LAUNCH */
.ai-launch { background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.launch-panel { background: linear-gradient(158deg, #1f1f1d 0%, #161614 100%); border: 1.5px solid var(--mint); border-radius: 22px; padding: 52px; box-shadow: 0 0 0 1px rgba(52,211,153,0.1), 0 28px 60px rgba(0,0,0,0.42); }
.launch-tag { font-size: 12px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; color: var(--mint); }
.launch-panel h2 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -1.4px; margin: 14px 0 18px; }
.launch-desc { font-size: 18px; color: var(--muted); max-width: 640px; line-height: 1.55; }
.launch-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 28px; margin: 32px 0; }
.launch-list li { position: relative; padding-left: 30px; font-size: 15.5px; font-weight: 600; color: var(--text); line-height: 1.4; }
.launch-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: rgba(52,211,153,0.16); color: var(--mint); font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.launch-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 30px; }
.launch-price { font-size: clamp(38px, 4.8vw, 54px); font-weight: 900; color: var(--white); letter-spacing: -1.6px; line-height: 1; }
.launch-terms { font-size: 13px; color: var(--muted); margin-top: 9px; }

/* FOUNDER */
.founder-grid { display: grid; grid-template-columns: 210px 1fr; gap: 44px; align-items: center; max-width: 880px; }
.founder-photo { width: 210px; height: 210px; border-radius: 18px; border: 1px solid var(--border); object-fit: cover; }
.founder h2 { font-size: clamp(26px, 3vw, 33px); letter-spacing: -0.6px; margin: 14px 0 3px; }
.founder-title { font-size: 14px; font-weight: 600; color: var(--mint); }
.founder-bio { font-size: 16px; color: var(--text); line-height: 1.65; margin-top: 18px; }
.founder-social { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 9px; margin-top: 20px; color: var(--muted); transition: color 0.18s, border-color 0.18s; }
.founder-social:hover { color: var(--mint); border-color: var(--mint); }
.founder-social svg { width: 18px; height: 18px; }

/* SWEEPSTAKES */
.sweepstakes .section-head { margin-bottom: 30px; }
.jotform-frame-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px; }
/* Fixed height: the form is embedded as a plain iframe without Jotform's resize script, so it can't auto-size. */
.jotform-frame-wrap iframe { width: 100%; height: 760px; border: 0; border-radius: 11px; display: block; background: var(--white); }
.jotform-fallback { margin-top: 18px; font-size: 15px; color: var(--muted); }
.jotform-fallback a { color: var(--mint); font-weight: 700; }

/* TOOL STACK */
.stack { background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 46px 0 !important; }
.stack-lead { font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 22px; }
.stack-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 38px; }
.stack-row span { font-size: 16px; font-weight: 700; letter-spacing: 0.3px; color: #6f6f6b; transition: color 0.18s; }
.stack-row span:hover { color: var(--muted); }

/* CONTACT */
.contact .section-head { margin-bottom: 30px; }
.calendly-frame-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px; }
.calendly-frame-wrap iframe { width: 100%; height: 720px; border: 0; border-radius: 11px; display: block; }
.calendly-fallback { margin-top: 18px; font-size: 15px; color: var(--muted); }
.calendly-fallback a { color: var(--mint); font-weight: 700; }

/* CTA BAND */
.cta-band { background: var(--bg-deep); border-top: 1px solid var(--border); }
.cta-band .container { max-width: 720px; text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--muted); font-size: 17px; margin-bottom: 28px; line-height: 1.6; }

/* INCLUDED (What's Included pillars) */
.included-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.included-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px 30px; }
.included-head { display: flex; align-items: baseline; gap: 13px; margin-bottom: 20px; }
.included-num { font-size: 28px; font-weight: 900; color: var(--mint); letter-spacing: -1px; line-height: 1; flex-shrink: 0; }
.included-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.25; }
.included-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.included-list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text); line-height: 1.5; }
.included-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border: 2px solid var(--mint); border-radius: 2px; }
.included-list strong { color: var(--white); font-weight: 700; }
.included-list .m { color: var(--mint); font-weight: 700; }

/* SUBSECTION + TIER TABLE */
.subsection-title { font-size: 13px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--mint); margin-bottom: 20px; }
.subsection-gap { margin-top: 50px; }
.tier-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.tier-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.tier-table th, .tier-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.45; }
.tier-table tr:last-child th, .tier-table tr:last-child td { border-bottom: 0; }
.tier-table thead th { background: var(--bg-deep); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.tier-table thead th:first-child { color: var(--muted); }
.tier-table thead th:nth-child(3) { color: var(--mint); background: rgba(52,211,153,0.12); }
.tier-table tbody th { font-weight: 700; color: var(--text); white-space: nowrap; }
.tier-table tbody td { color: var(--muted); }
.tier-table tbody td:nth-child(3) { background: rgba(52,211,153,0.06); color: var(--text); }
.tier-table tbody tr.tier-price td { color: var(--white); font-weight: 800; }
.tier-badge { display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.6px; color: var(--ink); background: var(--mint); border-radius: 999px; padding: 3px 7px; vertical-align: middle; }

/* LEGAL PAGES */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 900; letter-spacing: -0.8px; line-height: 1.15; }
.legal-updated { color: var(--muted); font-size: 14px; margin-top: 10px; }
.legal-note { background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.3); border-radius: 10px; padding: 14px 16px; font-size: 14px; margin: 26px 0; }
.legal h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; margin: 32px 0 10px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--mint); }

/* FOOTER */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.18s; }
.footer-links a:hover { color: var(--mint); }
.footer-copy { font-size: 13px; color: #6f6f6b; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  main > section { padding: 72px 0; }
  .case { grid-template-columns: 1fr; gap: 26px; }
  .case-metrics { flex-direction: row; flex-wrap: wrap; }
  .metric { flex: 1 1 200px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .offer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container { padding: 0 18px; }
  .hero { padding: 70px 0 60px !important; }
  .page-hero { padding: 56px 0 6px !important; }
  main > section { padding: 60px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .launch-panel { padding: 32px 24px; }
  .launch-list { grid-template-columns: 1fr; }
  .launch-bottom { flex-direction: column; align-items: stretch; }
  .launch-bottom .btn { width: 100%; }
  .case { padding: 26px 22px; }
  .founder-grid { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .founder-photo { width: 140px; height: 140px; }
  .hero-cta .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .calendly-frame-wrap iframe { height: 640px; }
  .jotform-frame-wrap iframe { height: 980px; }
}
