/* ==========================================================================
   HOME PAGE EXCLUSIVE STYLES
   ========================================================================== */

/* Remove CSS flip - image is pre-flipped as PNG */
.hero-img.no-flip {
    transform: none !important;
}

/* ── HERO BADGE ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-radius: 100px;
    padding: 0.45rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* ── HERO TITLE LINE ── */
.hero-title {
    position: relative;
}

.hero-title-line {
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 4px;
    margin-top: 0.5rem;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* ── TYPEWRITER ── */
.hero-typewriter {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.cursor {
    color: var(--primary);
    animation: blink 0.8s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ── HERO STATS ── */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ── HERO IMAGE GLOW ── */
.hero-img-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

/* ── PARTICLES ── */
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    z-index: 0;
    animation: particleFloat 12s infinite ease-in-out alternate;
}

.p1 { width: 6px; height: 6px; background: var(--primary); top: 20%; left: 10%; animation-duration: 8s; }
.p2 { width: 4px; height: 4px; background: var(--primary); top: 60%; left: 5%; animation-duration: 12s; animation-delay: 2s; }
.p3 { width: 8px; height: 8px; background: var(--primary); top: 35%; left: 55%; animation-duration: 10s; animation-delay: 1s; }
.p4 { width: 5px; height: 5px; background: white; top: 75%; left: 45%; animation-duration: 9s; animation-delay: 3s; }

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-40px) translateX(20px); }
}

/* ==========================================================================
   EXPERTISE STRIP
   ========================================================================== */
.expertise-strip {
    padding: 1.5rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.expertise-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    cursor: default;
}

.expertise-item svg {
    color: var(--primary);
    transition: var(--transition-fast);
}

.expertise-item:hover {
    color: var(--text-white);
}

.expertise-item:hover svg {
    transform: scale(1.2);
}

/* ==========================================================================
   HOME SERVICES SECTION
   ========================================================================== */
.home-services-section {
    padding: 100px 0 80px;
    background: var(--bg-base);
}

.home-section-header {
    max-width: 580px;
    margin-bottom: 4rem;
}

.home-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.home-service-card {
    position: relative;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.home-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0,230,118,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.home-service-card:hover::after {
    opacity: 1;
}

.home-service-card:hover {
    border-color: rgba(0, 230, 118, 0.35);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0,230,118,0.1);
}

.hsc-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    user-select: none;
}

.hsc-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.home-service-card:hover .hsc-icon-wrap {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

.home-service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-white);
}

.home-service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}

.hsc-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.hsc-link span {
    transition: var(--transition-fast);
    display: inline-block;
}

.hsc-link:hover span {
    transform: translateX(5px);
}

.home-services-cta {
    text-align: center;
    margin-top: 3.5rem;
}

/* ==========================================================================
   WHY CHOOSE ME SECTION
   ========================================================================== */
.why-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.why-feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.wf-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    text-shadow: 0 0 10px var(--primary-glow);
}

.why-feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}

.why-feature-item p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* Why Visual: Stacked Cards */
.why-visual {
    position: relative;
    height: 360px;
}

.why-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.wc-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.wc-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,230,118,0.08);
    transform: translateY(-4px);
}

.wc-top  { top: 0;    left: 0;   right: 0; }
.wc-mid  { top: 120px; left: 30px; right: 30px; }
.wc-bot  { top: 240px; left: 0;   right: 0; }

.wc-icon-bg {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0,230,118,0.1);
    border: 1px solid rgba(0,230,118,0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wc-stat {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
    text-shadow: 0 0 12px var(--primary-glow);
}

.wc-card strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    display: block;
    margin-bottom: 0.2rem;
}

.wc-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0,230,118,0.05) 0%, rgba(9,9,11,1) 60%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.cta-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cta-btn {
    flex-shrink: 0;
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ==========================================================================
   HOME-ONLY RESPONSIVE TWEAKS
   ========================================================================== */
@media (max-width: 992px) {
    .home-services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .why-visual {
        height: 300px;
    }

    .wc-mid { top: 100px; }
    .wc-bot { top: 200px; }
}

@media (max-width: 768px) {
    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        justify-content: center;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }

    .hero-stats {
        gap: 1.2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}
