/* ── CSS VARIABLES ──────────────────────────────────── */
:root {
    --primary:         #1a237e;
    --primary-light:   #283593;
    --primary-dark:    #0d1459;
    --accent:          #4880FF;
    --accent-dark:     #2563eb;
    --accent-light:    #93c5fd;
    --secondary:       #8B5CF6;
    --secondary-dark:  #7c3aed;
    --bg-dark:         #0b0f2e;
    --bg-card:         #ffffff;
    --bg-card2:        #eef4ff;
    --text-dark:       #1e293b;
    --text-muted:      #64748b;
    --text-light:      #cbd5e1;
    --border:          rgba(72,128,255,0.12);
    --gradient:        linear-gradient(135deg, #1a237e 0%, #0b0f2e 60%, #0d1459 100%);
    --gold-gradient:   linear-gradient(135deg, #4880FF 0%, #8B5CF6 100%);
    --blue-gradient:   linear-gradient(135deg, #4880FF 0%, #2563eb 100%);
    --purple-gradient: linear-gradient(135deg, #8B5CF6 0%, #7c3aed 100%);
    --logo-gradient:   linear-gradient(90deg,
        #22c55e   0%,  #22c55e   9%,
        #facc15   9%,  #facc15  18%,
        #f87171  18%,  #f87171  27%,
        #60a5fa  27%,  #60a5fa  36%,
        #c084fc  36%,  #c084fc  45%,
        #22c55e  45%,  #22c55e  54%,
        #fb923c  54%,  #fb923c  63%,
        #f43f5e  63%,  #f43f5e  72%,
        #38bdf8  72%,  #38bdf8  81%,
        #4ade80  81%,  #4ade80  90%,
        #facc15  90%,  #facc15 100%
    );
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Inter', sans-serif;
    background: #eef4ff;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ── UTILITIES ─────────────────────────────────────── */
.text-accent   { color: var(--accent) !important; }
.bg-accent     { background: var(--accent); }
.section-pad   { padding: 90px 0; }
.section-pad-sm{ padding: 60px 0; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
    margin: 0 auto 20px;
}
.divider-left { margin-left: 0; }

/* ── NAVBAR ─────────────────────────────────────────── */
.lp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    padding: 12px 0;
    height: 66px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
}
.lp-nav.scrolled {
    background: rgba(11,15,46,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-logo img  { height: 40px; object-fit: contain; border-radius: 6px; }
.logo-mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--blue-gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(72,128,255,0.5);
}
.nav-logo-text {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #fff;
    line-height: 1;
}
.logo-sub {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}
.nav-links { list-style: none; display: flex; gap: 8px; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.btn-nav-login {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent) !important;
    border-radius: 8px !important;
    padding: 7px 18px !important;
}
.btn-nav-login:hover { background: var(--accent) !important; color: #fff !important; }
.btn-nav-join {
    background: var(--blue-gradient) !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 7px 20px !important;
    border: none !important;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: rgba(11,15,46,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 20px;
    z-index: 998;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
    display: block;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.07); color: #fff; }

/* ── HERO ───────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding-top: 76px;
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(72,128,255,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(139,92,246,0.18) 0%, transparent 60%);
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(72,128,255,0.15);
    border: 1px solid rgba(72,128,255,0.35);
    border-radius: 50px;
    padding: 7px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 28px;
}
.hero-badge .dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
}
.hero h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
    line-height: 1.75;
    margin-bottom: 36px;
}
.btn-hero-primary {
    background: var(--blue-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 6px 30px rgba(72,128,255,0.4);
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(72,128,255,0.55);
    color: #fff;
}
.btn-hero-outline {
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 13px 30px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.btn-hero-outline:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
}
.hero-stat-item p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

/* Hero visual / right side */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-card-stack {
    position: relative;
    width: 360px;
    height: 420px;
}
.income-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 20px 24px;
    position: absolute;
    width: 260px;
    backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
    color: #fff;
}
.income-card:nth-child(1) { top: 0; left: 0; animation-delay: 0s; }
.income-card:nth-child(2) { top: 80px; right: 0; animation-delay: 0.7s; z-index: 1; }
.income-card:nth-child(3) { bottom: 0; left: 30px; animation-delay: 1.4s; }
@keyframes float {
    0%,100% { transform: translateY(0px); }
    50%      { transform: translateY(-10px); }
}
.income-card-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.ic-gold  { background: rgba(72,128,255,0.2);  color: var(--accent); }
.ic-blue  { background: rgba(139,92,246,0.2); color: #c4b5fd; }
.ic-green { background: rgba(16,185,129,0.2); color: #34d399; }
.income-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; color: #fff; }
.income-card p  { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin: 0; }
.income-card .amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    margin-top: 8px;
}

/* ── STATS BAR ───────────────────────────────────────── */
.stats-bar {
    background: linear-gradient(135deg, #1a237e 0%, #2563eb 100%);
    border-top: none;
    border-bottom: none;
    padding: 32px 0;
}
.stat-box {
    text-align: center;
    position: relative;
}
.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 10%; height: 80%;
    width: 1px;
    background: rgba(255,255,255,0.18);
}
.stat-box h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
}
.stat-box p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.72);
    font-weight: 500;
    margin: 0;
}
.stat-box .stat-icon {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    opacity: 0.9;
}

/* ── ABOUT ──────────────────────────────────────────── */
.about-section { background: #ffffff; }
.about-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.about-img-wrap img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}
.about-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(72,128,255,0.15) 0%, transparent 70%);
    z-index: -1;
}
.about-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(72,128,255,0.1);
    border: 1px solid rgba(72,128,255,0.2);
    border-radius: 50px;
    padding: 6px 16px 6px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    margin-right: 8px;
    margin-bottom: 10px;
}
.about-feature-pill i { font-size: 0.75rem; }

/* ── INCOME PLANS ───────────────────────────────────── */
.plans-section { background: #eef4ff; }
.plan-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 2px 16px rgba(72,128,255,0.07);
}
.plan-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}
.plan-card:hover {
    border-color: rgba(72,128,255,0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(72,128,255,0.15);
}
.plan-card:hover::before { transform: scaleX(1); }
.plan-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: rgba(72,128,255,0.12);
    color: var(--accent);
    transition: all 0.3s;
}
.plan-card:hover .plan-icon {
    background: rgba(72,128,255,0.22);
    transform: scale(1.08);
}
.plan-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.plan-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}
.plan-badge {
    display: inline-block;
    background: rgba(72,128,255,0.1);
    color: var(--accent);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ── HOW IT WORKS ───────────────────────────────────── */
.how-section { background: #ffffff; }
.step-line {
    position: relative;
}
.step-line::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% + 60px);
    right: calc(-50% + 60px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.step-box {
    text-align: center;
    padding: 0 20px;
}
.step-num {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(72,128,255,0.08);
    border: 2px solid rgba(72,128,255,0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--accent);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.step-box:hover .step-num {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(72,128,255,0.5);
}
.step-box h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-box p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ── WHY CHOOSE US ──────────────────────────────────── */
.why-section { background: #eef4ff; }
.why-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 22px;
    height: 100%;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(72,128,255,0.06);
}
.why-card:hover {
    border-color: rgba(72,128,255,0.3);
    box-shadow: 0 12px 40px rgba(72,128,255,0.12);
    transform: translateY(-4px);
}
.why-icon {
    width: 50px; height: 50px;
    background: rgba(72,128,255,0.12);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 16px;
}
.why-card h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 10px; }
.why-card p  { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ── BINARY TREE VISUAL ─────────────────────────────── */
.tree-section { background: #ffffff; overflow: hidden; }
.tree-wrap {
    background: #eef4ff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
}
.tree-node {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}
.tree-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid;
}
.tc-root  { background: rgba(72,128,255,0.2);  border-color: var(--accent);    color: var(--accent); }
.tc-left  { background: rgba(139,92,246,0.2); border-color: var(--secondary); color: var(--secondary); }
.tc-right { background: rgba(16,185,129,0.2); border-color: #34d399;          color: #34d399; }
.tc-sub   { background: rgba(72,128,255,0.07); border-color: rgba(72,128,255,0.2); color: var(--text-muted); width: 42px; height: 42px; font-size: 0.68rem; }
.tree-line-v {
    width: 2px; height: 30px;
    background: linear-gradient(to bottom, var(--accent), rgba(72,128,255,0.1));
}
.tree-row { display: flex; align-items: flex-start; gap: 40px; justify-content: center; }
.tree-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tree-line-h {
    height: 2px;
    background: rgba(72,128,255,0.15);
}
.tree-sub-row { display: flex; align-items: flex-start; gap: 12px; }

/* ── FRANCHISE ──────────────────────────────────────── */
.franchise-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}
.franchise-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(72,128,255,0.1) 0%, transparent 70%);
}
.franchise-features li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}
.franchise-features li:last-child { border-bottom: none; }
.franchise-features li i { color: var(--accent-light); font-size: 0.85rem; }
.franchise-section .section-title { color: #fff; }
.franchise-section .section-sub   { color: rgba(255,255,255,0.72); }
.franchise-section .section-label { color: var(--accent-light); }

/* ── CTA BANNER ─────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #1a237e 0%, #2563eb 50%, #4880FF 100%);
    border-top: none;
    border-bottom: none;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 80px 0;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(139,92,246,0.2) 0%, transparent 70%);
}
.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: #fff;
}
.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── FOOTER ─────────────────────────────────────────── */
.lp-footer {
    background: #07091e;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 60px 0 0;
    color: rgba(255,255,255,0.85);
}
.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}
.footer-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-top: 12px;
}
.footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.87rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-light); }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 0.87rem;
    margin-bottom: 12px;
}
.footer-contact li i { color: var(--accent-light); margin-top: 2px; min-width: 14px; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.social-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ── SCROLL ANIMATIONS ──────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 991px) {
    .nav-links          { display: none; }
    .nav-hamburger      { display: block; }
    .hero-card-stack    { display: none; }
    .hero               { padding-top: 70px; min-height: auto; padding-bottom: 60px; }
    .step-line::before  { display: none; }
    .stat-box:not(:last-child)::after { display: none; }
    .franchise-section .col-lg-6:last-child { margin-top: 0; }

    /* tree — allow horizontal scroll inside the card */
    .tree-wrap          { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 767px) {
    .section-pad        { padding: 52px 0; }
    .section-pad-sm     { padding: 36px 0; }

    /* hero */
    .hero               { padding-top: 66px; padding-bottom: 50px; }
    .hero h1            { font-size: 1.9rem; line-height: 1.15; }
    .hero p             { font-size: 0.93rem; margin-bottom: 28px; }
    .hero-badge         { font-size: 0.72rem; padding: 6px 14px; margin-bottom: 20px; }
    .hero-stats         { flex-wrap: wrap; gap: 0; margin-top: 32px; padding-top: 24px; }
    .hero-stat-item     { flex: 1 1 33%; min-width: 0; text-align: center; padding: 0 4px; }
    .hero-stat-item h3  { font-size: 1.3rem; }
    .hero-stat-item p   { font-size: 0.72rem; }

    /* buttons */
    .btn-hero-primary,
    .btn-hero-outline   { font-size: 0.9rem; padding: 12px 20px; }
    .d-flex.flex-wrap.gap-3 { gap: 10px !important; }

    /* navbar */
    .logo-sub           { display: none; }
    .nav-logo-text      { font-size: 1.05rem; letter-spacing: 1px; }
    .logo-mark          { width: 32px; height: 32px; font-size: 0.92rem; }

    /* stats bar */
    .stat-box h2        { font-size: 1.6rem; word-break: break-word; }
    .stat-box           { padding: 8px 4px; }
    .stats-bar          { padding: 24px 0; }

    /* section text */
    .section-title      { font-size: 1.55rem; }
    .section-sub        { font-size: 0.9rem; }

    /* cards */
    .plan-card          { padding: 20px 16px; }
    .why-card           { padding: 20px 16px; }

    /* tree */
    .tree-wrap          { padding: 20px 10px; }
    .tree-row           { gap: 10px; }
    .tree-sub-row       { gap: 4px; }
    .tree-circle        { width: 46px; height: 46px; font-size: 0.68rem; }
    .tc-sub             { width: 34px; height: 34px; font-size: 0.6rem; }

    /* step boxes */
    .step-box           { padding: 0 10px; }

    /* franchise — compensate for g-5 negative margin so content has 20px from edge */
    .franchise-section .container { padding-left: 20px; padding-right: 20px; }
    .franchise-features li        { word-break: break-word; font-size: 0.85rem; }
    .franchise-section [style*="padding: 36px"] { padding: 24px !important; }
}

@media (max-width: 575px) {
    /* tree — scale the whole diagram down so it fits without scrolling */
    .tree-wrap {
        padding: 16px 6px;
        transform-origin: top center;
    }
    .tree-row       { gap: 6px; }
    .tree-sub-row   { gap: 2px; }
    .tree-circle    { width: 40px; height: 40px; font-size: 0.62rem; }
    .tc-sub         { width: 28px; height: 28px; font-size: 0.56rem; }

    /* franchise benefit grid — stack to single column on xs */
    .franchise-section .col-6 { width: 100%; }
}

@media (max-width: 480px) {
    /* Ensure all section containers have adequate horizontal breathing room */
    .container          { padding-left: 20px !important; padding-right: 20px !important; }

    .lp-nav             { padding: 8px 0; height: 58px; }
    .mobile-menu        { top: 58px; }
    .hero               { padding-top: 58px; }
    .hero h1            { font-size: 1.6rem; }
    .hero p             { font-size: 0.88rem; }
    .hero-badge         { font-size: 0.7rem; }

    .hero-stat-item h3  { font-size: 1.15rem; }
    .hero-stat-item p   { font-size: 0.68rem; }

    /* buttons full-width */
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
        font-size: 0.88rem;
        padding: 13px 16px;
    }

    /* stats bar */
    .stat-box h2        { font-size: 1.35rem; }
    .stat-box .stat-icon{ font-size: 1.1rem; }

    /* steps */
    .step-num           { width: 50px; height: 50px; font-size: 1rem; }
    .step-box h4        { font-size: 0.95rem; }
    .step-box p         { font-size: 0.82rem; }

    /* plans */
    .plan-card h3       { font-size: 0.95rem; }
    .plan-card p        { font-size: 0.8rem; }

    /* about pills */
    .about-feature-pill { font-size: 0.76rem; padding: 5px 12px 5px 8px; }

    /* franchise */
    .franchise-section .col-6 { width: 100%; }
    .franchise-features li    { font-size: 0.82rem; gap: 8px; padding: 8px 0; }

    /* cta */
    .cta-section        { padding: 56px 0; }

    /* footer */
    .lp-footer          { padding: 40px 0 0; }
    .footer-title       { margin-bottom: 14px; }
    .social-row         { gap: 8px; }
    .social-btn         { width: 34px; height: 34px; font-size: 0.82rem; }
}

@media (max-width: 360px) {
    .hero h1            { font-size: 1.4rem; }
    .section-title      { font-size: 1.3rem; }
    .logo-mark          { width: 28px; height: 28px; font-size: 0.82rem; }
    .nav-logo-text      { font-size: 0.95rem; }
    .stat-box h2        { font-size: 1.1rem; }
    .plan-card,
    .why-card           { padding: 16px 12px; }
}
