/* ═══════════════════════════════════════════════════════════
   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;
}

.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-subheadline {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--white);
    letter-spacing: 0.3px;
    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;
}

/* Decorative sparkles inside the MojoBot container (home only) */
.mojobot-container .sparkle:nth-child(2) { top: 15%; left: 10%; animation-delay: 0.5s; }
.mojobot-container .sparkle:nth-child(3) { top: 25%; right: 5%; animation-delay: 1s; width: 3px; height: 3px; }
.mojobot-container .sparkle:nth-child(4) { bottom: 30%; left: 5%; animation-delay: 1.5s; width: 5px; height: 5px; }
.mojobot-container .sparkle:nth-child(5) { top: 10%; right: 20%; animation-delay: 2s; }
.mojobot-container .sparkle:nth-child(6) { bottom: 20%; right: 10%; 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;
}

/* Differentiators / diff-grid / diff-item moved to shared.css so the
   "How we work" / "Why work with us" pattern works on division pages too. */

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — WHAT WE BUILD (4-card featured grid)
   ═══════════════════════════════════════════════════════════ */
.what-we-build {
    padding: 6rem 3rem 4rem;
    position: relative;
}

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

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

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

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

.build-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--copper-light);
}

.build-card p {
    color: var(--white-dim);
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 300;
}

.build-cta {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .build-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 600px) {
    .build-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .what-we-build {
        padding: 4rem 1.5rem 3rem;
    }
}

/* Light theme for what-we-build */
[data-theme="light"] .what-we-build::before {
    background: linear-gradient(90deg, transparent, rgba(13, 27, 42, 0.1), transparent);
}

[data-theme="light"] .build-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"] .build-card:hover {
    border-color: rgba(184, 115, 51, 0.3);
    box-shadow: 0 12px 40px rgba(13, 27, 42, 0.1);
}

[data-theme="light"] .build-card h3 {
    color: var(--copper-dark);
}

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

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — FINAL CTA
   ═══════════════════════════════════════════════════════════ */
/* .final-cta moved to shared.css so division pages can use it without
   needing to load home.css. */

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

    .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: #0D1B2A;
}

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

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