﻿.home-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: -28px;
}

/* Hero */
.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 40px;
    padding: 64px 48px 56px;
    overflow: hidden;
    border-bottom: 1px solid var(--ccp-border-mid);
}

.home-hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.home-hero-glow {
    position: absolute;
    top: -80px;
    right: 160px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.home-hero-body {
    position: relative;
    z-index: 1;
}

.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ccp-text-mid);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.home-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52,211,153,0.4);
    animation: home-pulse 2s infinite;
}

@keyframes home-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52,211,153,0.4);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(52,211,153,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52,211,153,0);
    }
}

.home-hero-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--ccp-text-hi);
    margin: 0 0 16px;
}

.home-hero-accent {
    background: linear-gradient(90deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-hero-sub {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ccp-text-mid);
    max-width: 460px;
    margin: 0 0 28px;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
}

    .home-btn:hover {
        opacity: 0.88;
        transform: translateY(-1px);
    }

.home-btn-primary {
    background: var(--ccp-accent);
    color: #fff;
    box-shadow: 0 0 18px rgba(99,102,241,0.35);
}

.home-btn-ghost {
    background: var(--ccp-hover);
    color: var(--ccp-text-hi);
    border: 1px solid var(--ccp-border-mid);
}

/* Hero mock cards */
.home-hero-card-cluster {
    position: relative;
    height: 260px;
    z-index: 1;
}

.home-mock-card {
    position: absolute;
    background: var(--ccp-bg-sidebar);
    border: 1px solid var(--ccp-border-mid);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.home-mock-card--a {
    width: 280px;
    top: 0;
    left: 0;
}

.home-mock-card--b {
    width: 130px;
    bottom: 10px;
    left: 20px;
}

.home-mock-card--c {
    width: 130px;
    bottom: 10px;
    right: 0;
}

.home-mock-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}

.home-mock-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.home-mock-name {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ccp-text-hi);
}

.home-mock-sub {
    font-size: 10px;
    color: var(--ccp-text-mid);
}

.home-mock-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

.home-mock-body {
    font-size: 11.5px;
    color: var(--ccp-text-mid);
    line-height: 1.5;
}

.home-mock-time {
    font-size: 10px;
    color: var(--ccp-text-lo);
    margin-top: 8px;
}

.home-mock-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ccp-text-lo);
    margin-bottom: 6px;
}

.home-mock-big {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ccp-text-hi);
    line-height: 1;
}

.home-mock-delta {
    font-size: 10.5px;
    color: #818cf8;
    margin-top: 4px;
}

/* Feature pillars */
.home-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--ccp-border-mid);
}

.home-pillar {
    padding: 36px 36px 32px;
    border-right: 1px solid var(--ccp-border-mid);
}

    .home-pillar:last-child {
        border-right: none;
    }

.home-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--ic) 20%, transparent), color-mix(in srgb, var(--ig) 10%, transparent));
    border: 1px solid color-mix(in srgb, var(--ic) 30%, transparent);
    color: var(--ic);
    margin-bottom: 16px;
}

.home-pillar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ccp-text-hi);
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

.home-pillar-body {
    font-size: 13px;
    line-height: 1.65;
    color: var(--ccp-text-mid);
    margin: 0 0 16px;
}

.home-pillar-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ccp-accent);
    text-decoration: none;
    transition: opacity 0.15s;
}

    .home-pillar-link:hover {
        opacity: 0.75;
    }

/* Stats strip */
.home-stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 28px 48px;
    border-bottom: 1px solid var(--ccp-border-mid);
}

.home-stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 40px;
}

.home-stat-chip-val {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ccp-text-hi);
}

.home-stat-chip-label {
    font-size: 11px;
    color: var(--ccp-text-mid);
    white-space: nowrap;
}

.home-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--ccp-border-mid);
    flex-shrink: 0;
}

/* Section title (reused) */
.home-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ccp-text-lo);
    margin: 0 0 20px;
}

/* Testimonials */
.home-testimonials {
    padding: 40px 48px 44px;
    border-bottom: 1px solid var(--ccp-border-mid);
}

.home-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-testimonial-card {
    background: var(--ccp-bg-sidebar);
    border: 1px solid var(--ccp-border-mid);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s, transform 0.2s;
}

    .home-testimonial-card:hover {
        border-color: rgba(99,102,241,0.25);
        transform: translateY(-2px);
    }

.home-testimonial-stars {
    display: flex;
    gap: 2px;
}

.home-testimonial-quote {
    font-size: 13px;
    line-height: 1.7;
    color: var(--ccp-text-mid);
    margin: 0;
    flex: 1;
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
}

.home-testimonial-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.home-testimonial-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ccp-text-hi);
    display: block;
    line-height: 1.3;
}

.home-testimonial-role {
    font-size: 11px;
    color: var(--ccp-text-mid);
    display: block;
}

/* Final CTA */
.home-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 48px 64px;
    overflow: hidden;
}

.home-cta-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(99,102,241,0.14) 0%, transparent 70%);
    pointer-events: none;
}

.home-cta-title {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ccp-text-hi);
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.home-cta-sub {
    font-size: 14px;
    color: var(--ccp-text-mid);
    margin: 0 0 28px;
    max-width: 420px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.home-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-hero-card-cluster {
        display: none;
    }

    .home-testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

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

    .home-pillar {
        border-right: none;
        border-bottom: 1px solid var(--ccp-border-mid);
    }

        .home-pillar:last-child {
            border-bottom: none;
        }

    .home-stats-strip {
        flex-wrap: wrap;
        gap: 24px;
    }

    .home-stat-divider {
        display: none;
    }

    .home-testimonials {
        padding: 32px 24px 36px;
    }

    .home-cta {
        padding: 40px 24px 48px;
    }
}
