.home-page .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
}

.home-page .brand,
.home-page .nav-links a.nav-item,
.home-page .nav-item {
    color: #ffffff;
}

.home-page .brand svg {
    color: #2563eb;
}

.home-page .brand-logo--light {
    display: none;
}

.home-page .brand-logo--dark {
    display: block;
    filter: drop-shadow(0 10px 24px rgba(37, 99, 235, 0.24));
}

.home-page .nav-links a.nav-item:hover,
.home-page .nav-item:hover {
    color: #bfdbfe;
}

.home-page .site-header .btn-primary {
    background: #2357e7;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.36);
}

.home-page .nav-toggle {
    color: #ffffff;
    background: rgba(15, 23, 42, 0.54);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.home-hero {
    min-height: 820px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #071322;
}

.home-hero__image,
.home-hero__overlay {
    position: absolute;
    inset: 0;
}

.home-hero__image {
    background-image: url('/assets/images/homepage-hero.png');
    background-size: cover;
    background-position: center right;
    transform: scale(1.02);
    z-index: -3;
}

.home-hero__overlay {
    background:
        linear-gradient(90deg, rgba(3, 14, 30, 0.96) 0%, rgba(4, 17, 36, 0.86) 30%, rgba(6, 18, 34, 0.35) 62%, rgba(6, 18, 34, 0.12) 100%),
        linear-gradient(180deg, rgba(6, 18, 34, 0.4) 0%, rgba(6, 18, 34, 0.12) 52%, rgba(6, 18, 34, 0.64) 100%);
    z-index: -2;
}

.home-hero__inner {
    min-height: 820px;
    display: flex;
    align-items: center;
    padding-top: 86px;
    padding-bottom: 96px;
}

.home-hero__content {
    max-width: 650px;
    color: #ffffff;
}

.home-eyebrow,
.home-section-kicker {
    display: inline-flex;
    align-items: center;
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-eyebrow {
    padding: 7px 12px;
    margin-bottom: 18px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 6px;
}

.home-hero h1 {
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 5.35rem);
    line-height: 0.98;
    letter-spacing: 0;
    margin-bottom: 24px;
}

.home-hero__line {
    display: block;
    white-space: nowrap;
}

.home-hero__line--accent {
    color: #fbbf24;
}

.home-hero__lead {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.65;
    margin-bottom: 34px;
}

.home-hero__actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 46px;
}

.home-hero-cta {
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-hero-cta:hover {
    transform: translateY(-2px);
}

.home-hero-cta strong,
.home-hero-cta small {
    display: block;
}

.home-hero-cta strong {
    color: inherit;
    font-size: 1rem;
    margin-bottom: 3px;
}

.home-hero-cta small {
    font-size: 0.84rem;
    opacity: 0.92;
}

.home-hero-cta--primary {
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 18px 34px rgba(245, 158, 11, 0.34);
}

.home-hero-cta--secondary {
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(10px);
}

.home-hero-cta__icon {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
}

.home-hero-cta__icon svg {
    width: 100%;
    height: 100%;
}

.home-hero__trust {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
}

.home-hero__trust > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 165px;
}

.home-mini-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.56);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-mini-icon svg {
    width: 15px;
    height: 15px;
}

.home-hero__trust p {
    margin: 0;
}

.home-hero__trust strong,
.home-hero__trust small {
    display: block;
}

.home-hero__trust strong {
    color: #ffffff;
    font-size: 0.92rem;
}

.home-hero__trust small {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
    margin-top: 2px;
}

.home-section {
    padding: 82px 0;
}

.home-featured {
    background: #ffffff;
}

.home-section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px;
}

.home-section-heading--left {
    text-align: center;
    margin-bottom: 46px;
}

.home-section-heading h2 {
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0;
    margin: 10px 0 8px;
}

.home-section-heading p:not(.home-section-kicker) {
    color: #475569;
    font-size: 1.05rem;
}

.home-tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.home-tool-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 28px 20px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.home-tool-card--premium {
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.08);
}

.home-tool-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.premium-blue,
.free-blue {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.premium-green {
    background: rgba(16, 185, 129, 0.14);
    color: #059669;
}

.free-purple {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
}

.free-orange {
    background: rgba(249, 115, 22, 0.14);
    color: #ea580c;
}

.home-tool-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 28px 0 20px;
    border-radius: 18px;
    border: 1px solid transparent;
}

.home-tool-icon svg {
    width: 34px;
    height: 34px;
}

.home-tool-icon.blue {
    color: #2563eb;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.home-tool-icon.green {
    color: #059669;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.home-tool-icon.purple {
    color: #7c3aed;
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.home-tool-icon.orange {
    color: #ea580c;
    background: #fff7ed;
    border-color: #fed7aa;
}

.home-tool-card h3 {
    color: #0f172a;
    font-size: 1.18rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.home-tool-card p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 22px;
}

.home-tool-price {
    margin-top: auto;
    margin-bottom: 18px;
}

.home-tool-price strong,
.home-tool-price small {
    display: block;
}

.home-tool-price strong {
    color: #0f172a;
    font-size: 1.35rem;
}

.home-tool-price small {
    color: #64748b;
    font-size: 0.78rem;
}

.home-tool-actions {
    display: grid;
    gap: 10px;
    width: min(100%, 184px);
    margin: 0 auto;
}

.home-tool-cta {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid currentColor;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-tool-cta:hover {
    transform: translateY(-1px);
}

.home-tool-cta.blue {
    color: #2563eb;
}

.home-tool-cta.green {
    color: #059669;
}

.home-tool-cta.purple {
    color: #7c3aed;
}

.home-tool-cta.orange {
    color: #ea580c;
}

.home-tool-cta--secondary {
    background: #fff;
    border-color: #dbe3ef;
    color: #0f172a;
}

.home-tool-cta--secondary:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .07);
}

.home-tool-card--free .home-tool-cta.blue:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

.home-tool-card--free .home-tool-cta.purple:hover {
    background: #f5f3ff;
    border-color: #7c3aed;
}

.home-tool-card--free .home-tool-cta.orange:hover {
    background: #fff7ed;
    border-color: #ea580c;
}

.home-tool-card--premium .home-tool-cta.blue {
    color: #ffffff;
    border-color: #2563eb;
    background: #2563eb;
}

.home-tool-card--premium .home-tool-cta.blue:hover {
    border-color: #1d4ed8;
    background: #1d4ed8;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .18);
}

.home-tool-card--premium .home-tool-cta.green {
    color: #ffffff;
    border-color: #059669;
    background: #059669;
}

.home-reassurance {
    display: flex;
    justify-content: center;
    gap: 42px;
    flex-wrap: wrap;
    margin-top: 30px;
    color: #334155;
    font-size: 0.92rem;
}

.home-reassurance span::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.32);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
}

.home-work {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.home-work__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
    gap: 58px;
    align-items: center;
}

.home-step-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 26px;
    align-items: center;
}

.home-step {
    position: relative;
    text-align: center;
}

.home-step > span {
    position: absolute;
    top: -10px;
    left: calc(50% - 48px);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.26);
    font-weight: 800;
    font-size: 0.85rem;
}

.home-step-icon {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    color: #334155;
    background: #eef2ff;
    border-radius: 50%;
}

.home-step-icon svg {
    width: 42px;
    height: 42px;
}

.home-step h3 {
    color: #0f172a;
    font-size: 1rem;
    margin-bottom: 8px;
}

.home-step p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
}

.home-step-arrow {
    color: #94a3b8;
    font-size: 1.9rem;
}

.home-clarity-card {
    padding: 34px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
}

.home-quote {
    color: #0f172a !important;
    font-size: 1.35rem !important;
    line-height: 1.45 !important;
    font-weight: 800;
    margin-bottom: 14px !important;
}

.home-clarity-card p {
    color: #475569;
    line-height: 1.7;
}

.home-clarity-card span {
    display: inline-flex;
    margin-top: 16px;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-feature-strip {
    padding: 0 0 76px;
    background: #ffffff;
}

.home-feature-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 28px 22px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.home-feature-strip__inner div {
    text-align: center;
    padding: 4px 22px;
    border-right: 1px solid #cbd5e1;
}

.home-feature-strip__inner div:last-child {
    border-right: 0;
}

.home-feature-strip__inner strong,
.home-feature-strip__inner span {
    display: block;
}

.home-feature-strip__inner strong {
    color: #1d4ed8;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.home-feature-strip__inner span {
    color: #334155;
    font-size: 0.86rem;
}

@media (max-width: 1100px) {
    .home-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-work__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-page .site-header {
        position: absolute;
    }

    .home-hero,
    .home-hero__inner {
        min-height: 820px;
    }

    .home-hero__image {
        background-position: center;
    }

    .home-hero__overlay {
        background: linear-gradient(180deg, rgba(3, 14, 30, 0.96) 0%, rgba(3, 14, 30, 0.84) 55%, rgba(3, 14, 30, 0.72) 100%);
    }

    .home-hero__inner {
        align-items: flex-end;
        padding-top: 110px;
        padding-bottom: 72px;
    }

    .home-hero h1 {
        font-size: clamp(2.2rem, 10.5vw, 3.1rem);
        line-height: 1.04;
        max-width: 100%;
    }

    .home-hero__line {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .home-hero__lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    .home-hero__actions,
    .home-hero__trust {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-hero-cta {
        width: 100%;
        min-width: 0;
    }

    .home-tool-grid,
    .home-step-row,
    .home-feature-strip__inner {
        grid-template-columns: 1fr;
    }

    .home-step-arrow {
        display: none;
    }

    .home-feature-strip__inner div {
        border-right: 0;
        border-bottom: 1px solid #cbd5e1;
        padding: 18px 0;
    }

    .home-feature-strip__inner div:last-child {
        border-bottom: 0;
    }
}
