/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 3rem 4rem;
}

/* Radial glow behind MojoBot */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translate(0, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Cursor-tracked spotlight — copper halo that follows the mouse */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.08) 0%, transparent 70%);
    transform: translate3d(calc(var(--mouse-x, 50vw) - 300px), calc(var(--mouse-y, 50vh) - 300px), 0);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

@media (hover: none) {
    .cursor-glow { display: none; }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper-glow), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white-faint);
    border: 1px solid rgba(184, 115, 51, 0.2);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--copper);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero h1 .copper {
    background: linear-gradient(135deg, var(--copper-light), var(--copper), var(--copper-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--copper-light);
    letter-spacing: 0.5px;
    max-width: 540px;
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-tagline {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.55s both;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--white-dim);
    max-width: 520px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.7s both;
}

/* MojoBot mascot */
.hero-mascot {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    animation: fadeIn 1s ease 0.5s both;
}

.mojobot-container {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.mojobot-container img {
    width: 100%;
    filter: drop-shadow(0 20px 60px rgba(184, 115, 51, 0.3));
    animation: bobble 3s ease-in-out infinite;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--copper-light);
    border-radius: 50%;
    animation: sparkleFloat 4s ease-in-out infinite;
}

.sparkle:nth-child(2) { top: 15%; left: 10%; animation-delay: 0.5s; }
.sparkle:nth-child(3) { top: 25%; right: 5%; animation-delay: 1s; width: 3px; height: 3px; }
.sparkle:nth-child(4) { bottom: 30%; left: 5%; animation-delay: 1.5s; width: 5px; height: 5px; }
.sparkle:nth-child(5) { top: 10%; right: 20%; animation-delay: 2s; }
.sparkle:nth-child(6) { bottom: 20%; right: 10%; animation-delay: 2.5s; width: 3px; height: 3px; }

/* Ambient sparkles distributed across the hero (siblings of .hero-grid, not in .mojobot-container) */
.sparkle.ambient { z-index: 1; }
.hero > .sparkle.ambient:nth-of-type(1) { top: 22%; left: 8%;  animation-delay: 0.3s; width: 3px; height: 3px; }
.hero > .sparkle.ambient:nth-of-type(2) { top: 38%; left: 32%; animation-delay: 1.2s; width: 5px; height: 5px; }
.hero > .sparkle.ambient:nth-of-type(3) { top: 65%; left: 18%; animation-delay: 2.1s; width: 4px; height: 4px; }
.hero > .sparkle.ambient:nth-of-type(4) { top: 80%; left: 42%; animation-delay: 0.8s; width: 3px; height: 3px; }
.hero > .sparkle.ambient:nth-of-type(5) { top: 18%; left: 55%; animation-delay: 1.7s; width: 4px; height: 4px; }
.hero > .sparkle.ambient:nth-of-type(6) { top: 75%; left: 48%; animation-delay: 2.5s; width: 3px; height: 3px; }

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — TIER PREVIEW CARDS
   ═══════════════════════════════════════════════════════════ */
.tiers {
    padding: 8rem 3rem;
    position: relative;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tier-card {
    background: linear-gradient(145deg, var(--navy-mid), var(--navy));
    border: 1px solid var(--white-faint);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--copper), var(--copper-light), var(--copper));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tier-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 115, 51, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tier-card:hover::before {
    opacity: 1;
}

.tier-card.featured {
    border-color: rgba(184, 115, 51, 0.3);
}

.tier-card.featured::before {
    opacity: 1;
}

.tier-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 0.5rem;
}

.tier-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.tier-price {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--copper-light), var(--copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.tier-card p {
    color: var(--white-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
    flex: 1;
    margin-bottom: 1.5rem;
}

.tier-card .btn-primary,
.tier-card .btn-secondary {
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — WHAT WE BUILD
   ═══════════════════════════════════════════════════════════ */
.scenarios {
    padding: 8rem 3rem;
    position: relative;
}

.scenarios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--white-faint), transparent);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.scenario-card {
    background: linear-gradient(145deg, var(--navy-mid), var(--navy));
    border: 1px solid var(--white-faint);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.scenario-card:hover {
    border-color: rgba(184, 115, 51, 0.3);
    transform: translateY(-4px);
}

.scenario-card p {
    color: var(--white-dim);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — WHY MOJOAI (differentiators)
   ═══════════════════════════════════════════════════════════ */
.differentiators {
    padding: 6rem 3rem 8rem;
    position: relative;
}

.differentiators::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--white-faint), transparent);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.diff-item {
    background: linear-gradient(145deg, var(--navy-mid), var(--navy));
    border: 1px solid var(--white-faint);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
}

.diff-item:hover {
    border-color: rgba(184, 115, 51, 0.3);
    transform: translateY(-4px);
}

.diff-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.diff-item p {
    color: var(--white-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — FINAL CTA
   ═══════════════════════════════════════════════════════════ */
.final-cta {
    padding: 6rem 3rem;
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper-glow), transparent);
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.final-cta p {
    color: var(--white-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.final-cta .hero-actions {
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content { order: 2; }
    .hero-mascot { order: 1; }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .mojobot-container {
        max-width: 280px;
    }

    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .diff-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    .tiers, .scenarios, .differentiators {
        padding: 5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — LIGHT THEME
   ═══════════════════════════════════════════════════════════ */
[data-theme="light"] .hero::before {
    background: radial-gradient(circle, rgba(184, 115, 51, 0.18) 0%, transparent 70%);
}

[data-theme="light"] .hero::after {
    background: linear-gradient(90deg, transparent, rgba(184, 115, 51, 0.2), transparent);
}

[data-theme="light"] .hero-badge {
    background: rgba(13, 27, 42, 0.06);
    border-color: rgba(184, 115, 51, 0.35);
    color: var(--copper-dark);
}

[data-theme="light"] .hero-badge .dot {
    background: var(--copper-dark);
}

[data-theme="light"] .hero-subheadline {
    color: var(--copper-dark);
}

[data-theme="light"] .hero h1 .copper {
    background: linear-gradient(135deg, var(--copper-dark), var(--copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .hero-description {
    color: rgba(13, 27, 42, 0.75);
}

[data-theme="light"] .mojobot-container img {
    filter: drop-shadow(0 20px 60px rgba(13, 27, 42, 0.25));
}

[data-theme="light"] .sparkle {
    background: var(--copper);
}

[data-theme="light"] .tier-label {
    color: var(--copper-dark);
}

[data-theme="light"] .tier-card h3,
[data-theme="light"] .diff-item h3,
[data-theme="light"] .scenario-card h3 {
    color: #0D1B2A;
}

[data-theme="light"] .tier-card {
    background: #FFFFFF;
    border-color: rgba(13, 27, 42, 0.08);
    box-shadow: 0 2px 20px rgba(13, 27, 42, 0.06);
}

[data-theme="light"] .tier-card:hover {
    border-color: rgba(184, 115, 51, 0.3);
    box-shadow: 0 20px 60px rgba(13, 27, 42, 0.12);
}

[data-theme="light"] .tier-card p {
    color: rgba(13, 27, 42, 0.72);
}

[data-theme="light"] .tier-price {
    background: linear-gradient(135deg, var(--copper-dark), var(--copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .scenario-card {
    background: #FFFFFF;
    border-color: rgba(13, 27, 42, 0.08);
    box-shadow: 0 2px 20px rgba(13, 27, 42, 0.06);
}

[data-theme="light"] .scenario-card:hover {
    border-color: rgba(184, 115, 51, 0.3);
}

[data-theme="light"] .scenario-card p {
    color: rgba(13, 27, 42, 0.75);
}

[data-theme="light"] .diff-item {
    background: #FFFFFF;
    border-color: rgba(13, 27, 42, 0.08);
    box-shadow: 0 2px 20px rgba(13, 27, 42, 0.06);
}

[data-theme="light"] .diff-item:hover {
    border-color: rgba(184, 115, 51, 0.3);
}

[data-theme="light"] .diff-item p {
    color: rgba(13, 27, 42, 0.75);
}

[data-theme="light"] .final-cta p {
    color: rgba(13, 27, 42, 0.75);
}

[data-theme="light"] .final-cta h2 {
    color: #0D1B2A;
}

[data-theme="light"] .scenarios::before,
[data-theme="light"] .differentiators::before {
    background: linear-gradient(90deg, transparent, rgba(13, 27, 42, 0.1), transparent);
}

[data-theme="light"] .final-cta::before {
    background: linear-gradient(90deg, transparent, rgba(184, 115, 51, 0.15), transparent);
}

[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(184, 115, 51, 0.13) 0%, transparent 70%);
}

[data-theme="light"] .hero::before {
    background: radial-gradient(circle, rgba(184, 115, 51, 0.18) 0%, transparent 70%);
}
