/* =========================================================
   TAXKONNECT HOMEPAGE
   Homepage-specific presentation
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 88px;
    background:
        radial-gradient(
            circle at 82% 22%,
            rgba(8, 117, 193, 0.11),
            transparent 28%
        ),
        radial-gradient(
            circle at 96% 72%,
            rgba(32, 164, 71, 0.075),
            transparent 24%
        ),
        radial-gradient(
            circle at 67% 92%,
            rgba(242, 169, 0, 0.055),
            transparent 22%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fbff 100%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    align-items: center;
    gap: 72px;
}

.hero-content {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--tk-blue-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--tk-green);
    box-shadow:
        0 0 0 5px rgba(32, 164, 71, 0.11),
        0 0 18px rgba(32, 164, 71, 0.14);
}

.hero h1 {
    max-width: 700px;
    margin: 0;
    color: var(--tk-ink);
    font-size: clamp(48px, 4.5vw, 64px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero h1 span {
    color: var(--tk-blue);
}

.hero-lead {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--tk-text);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 27px;
}

.hero-points span {
    position: relative;
    padding-left: 20px;
    color: var(--tk-muted);
    font-size: 13px;
    font-weight: 650;
}

.hero-points span::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--tk-green);
    font-weight: 900;
}


/* =========================================================
   MY TAXKONNECT HERO VISUAL
   ========================================================= */

.hero-visual {
    position: relative;
    min-width: 0;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 14px 42px;
}

.konnect-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(215, 226, 236, 0.95);
    box-shadow: var(--tk-shadow-lg);
}

.konnect-card-main {
    position: relative;
    z-index: 2;
    width: min(100%, 455px);
    padding: 28px;
    border-radius: 24px;
    border-color: rgba(8, 117, 193, 0.13);
    box-shadow:
        0 26px 65px rgba(12, 41, 66, 0.13),
        0 5px 18px rgba(8, 117, 193, 0.06);
}

.konnect-card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tk-ink);
    font-size: 18px;
    font-weight: 800;
}

.status-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--tk-green);
    box-shadow: 0 0 0 5px rgba(34, 160, 107, 0.11);
}

.progress-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 27px;
    color: var(--tk-muted);
    font-size: 12px;
}

.progress-label strong {
    color: var(--tk-green-dark);
    font-size: 12px;
}

.progress-track {
    height: 7px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef3;
}

.progress-track span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--tk-blue) 0%,
        var(--tk-green) 72%,
        var(--tk-gold) 100%
    );
}

.journey-list {
    display: grid;
    gap: 4px;
    margin-top: 21px;
}

.journey-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 12px 10px;
    border-radius: 13px;
}

.journey-item strong,
.journey-item small {
    display: block;
}

.journey-item strong {
    color: var(--tk-ink);
    font-size: 14px;
    line-height: 1.3;
}

.journey-item small {
    margin-top: 3px;
    color: var(--tk-muted);
    font-size: 11px;
    line-height: 1.4;
}

.journey-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--tk-border);
    border-radius: 12px;
    background: #f7fafc;
    color: var(--tk-muted);
    font-size: 13px;
    font-weight: 850;
}

.journey-complete {
    background: linear-gradient(
        90deg,
        rgba(234, 248, 238, 0.68),
        rgba(255, 255, 255, 0)
    );
}

.journey-complete .journey-icon {
    border-color: rgba(34, 160, 107, 0.18);
    background: var(--tk-green-soft);
    color: var(--tk-green-dark);
}

.journey-active {
    background: linear-gradient(
        90deg,
        var(--tk-blue-soft),
        rgba(234, 246, 255, 0.50)
    );
}

.journey-active .journey-icon {
    border-color: rgba(11, 103, 178, 0.18);
    background: #fff;
    color: var(--tk-blue);
}

.journey-item:last-child .journey-icon {
    border-color: rgba(242, 169, 0, 0.20);
    background: var(--tk-gold-soft);
    color: var(--tk-gold-dark);
}


/* ---------- Floating Hero Cards ---------- */

.floating-card {
    position: absolute;
    z-index: 3;
    min-width: 205px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    border: 1px solid rgba(218, 228, 237, 0.95);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--tk-shadow-md);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    color: var(--tk-ink);
    font-size: 12px;
    line-height: 1.3;
}

.floating-card small {
    margin-top: 2px;
    color: var(--tk-muted);
    font-size: 10px;
    line-height: 1.35;
}

.floating-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--tk-blue-soft);
    color: var(--tk-blue);
    font-size: 13px;
    font-weight: 900;
}

.floating-card-support {
    top: 62px;
    right: -18px;
    border-color: rgba(8, 117, 193, 0.14);
}

.floating-card-benefits {
    left: -28px;
    bottom: 0;
    border-color: rgba(242, 169, 0, 0.20);
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fffaf0
        );
}

.floating-card-benefits .floating-icon {
    background: var(--tk-gold-soft);
    color: var(--tk-gold-dark);
}


/* =========================================================
   TABLET — HERO
   ========================================================= */

@media (max-width: 1000px) {

    .hero-grid {
        gap: 42px;
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.88fr);
    }

    .hero h1 {
        font-size: clamp(44px, 5vw, 56px);
    }

    .floating-card-support {
        right: -8px;
    }

    .floating-card-benefits {
        left: -8px;
    }
}


@media (max-width: 900px) {

    .hero {
        padding: 60px 0 68px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .hero-content {
        max-width: 720px;
        margin-inline: auto;
        text-align: center;
    }

    .hero h1,
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-visual {
        width: min(100%, 570px);
        margin-inline: auto;
    }
}


/* =========================================================
   MOBILE — HERO
   ========================================================= */

@media (max-width: 600px) {

    .hero {
        padding: 46px 0 54px;
    }

    .hero-grid,
    .hero-content,
    .hero-visual {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .eyebrow {
        margin-bottom: 17px;
        font-size: 11px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(37px, 10.3vw, 44px);
        line-height: 1.04;
        letter-spacing: -0.04em;
    }

    .hero-lead {
        max-width: 100%;
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.65;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 26px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-points {
        display: grid;
        justify-content: start;
        gap: 9px;
        width: min(100%, 300px);
        margin: 23px auto 0;
        text-align: left;
    }

    .hero-visual {
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        justify-items: stretch;
        padding: 6px 0 0;
        margin: 0;
    }

    .konnect-card-main {
        width: 100%;
        max-width: 100%;
        padding: 19px;
        border-radius: 19px;
    }

    .floating-card-support,
    .floating-card-benefits {
        display: none;
    }
}


/* =========================================================
   SHARED HOMEPAGE SECTION TYPOGRAPHY
   ========================================================= */

.section-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--tk-blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.lean-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.lean-heading h2 {
    margin: 0;
    color: var(--tk-ink);
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}


/* =========================================================
   TAXKONNECT JOURNEY
   ========================================================= */

.lean-how {
    padding: 82px 0 78px;
    background: #fff;
}

.lean-steps {
    display: grid;
}

.lean-steps-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--tk-border);
    border-left: 1px solid var(--tk-border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.lean-step {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
    min-height: 185px;
    padding: 28px 25px;
    border-right: 1px solid var(--tk-border);
    border-bottom: 1px solid var(--tk-border);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.lean-step:hover {
    background: #f9fcff;
}

.lean-step > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--tk-blue-soft);
    color: var(--tk-blue);
    font-size: 12px;
    font-weight: 850;
}

.lean-step strong {
    display: block;
    color: var(--tk-ink);
    font-size: 17px;
    line-height: 1.35;
}

.lean-step p {
    margin: 8px 0 0;
    color: var(--tk-muted);
    font-size: 14px;
    line-height: 1.6;
}

.lean-more {
    margin-top: 25px;
}

.lean-more a {
    color: var(--tk-blue);
    font-size: 14px;
    font-weight: 800;
}

.lean-more a:hover,
.lean-more a:focus-visible {
    color: var(--tk-blue-dark);
}


/* =========================================================
   BENEFITS
   ========================================================= */

.lean-benefits {
    padding: 78px 0 84px;
    background: var(--tk-background);
    border-top: 1px solid #edf2f6;
}

.benefit-teaser-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.benefit-teaser {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 20px;
    padding: 30px;
    border: 1px solid var(--tk-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--tk-shadow-sm);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.benefit-teaser:hover {
    transform: translateY(-3px);
    border-color: #cadbe9;
    box-shadow: var(--tk-shadow-md);
}

.benefit-symbol {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 20px;
    font-weight: 900;
}

.benefit-spend .benefit-symbol {
    background: var(--tk-gold-soft);
    color: #a66b00;
}

.benefit-refer .benefit-symbol {
    background: var(--tk-green-soft);
    color: var(--tk-green-dark);
}

.benefit-teaser > div:last-child > span {
    display: block;
    margin-bottom: 7px;
    color: var(--tk-blue);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.10em;
}

.benefit-teaser h3 {
    margin: 0;
    color: var(--tk-ink);
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.benefit-teaser p {
    margin: 11px 0 17px;
    color: var(--tk-muted);
    font-size: 14px;
    line-height: 1.65;
}

.benefit-teaser strong {
    color: var(--tk-blue);
    font-size: 13px;
}




/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .lean-how,
    .lean-benefits {
        padding: 66px 0;
    }

    .lean-heading {
        margin-bottom: 30px;
    }

    .lean-steps-six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit-teaser-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .lean-how,
    .lean-benefits {
        padding: 54px 0;
    }

    .section-kicker {
        font-size: 10px;
    }

    .lean-heading {
        margin-bottom: 25px;
    }

    .lean-heading h2 {
        font-size: clamp(29px, 8.5vw, 36px);
        line-height: 1.1;
    }

    .lean-steps-six {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 15px;
    }

    .lean-step {
        min-height: 0;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 13px;
        padding: 22px 18px;
    }

    .lean-step > span {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 11px;
    }

    .lean-step strong {
        font-size: 16px;
    }

    .lean-step p {
        font-size: 13px;
        line-height: 1.55;
    }

    .lean-more {
        margin-top: 20px;
    }

    .benefit-teaser {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 23px 20px;
    }

    .benefit-symbol {
        width: 48px;
        height: 48px;
        border-radius: 13px;
    }

    .benefit-teaser h3 {
        font-size: 20px;
    }

    .benefit-teaser p {
        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 35px;
    }

    .konnect-card-main {
        padding: 16px;
    }

    .journey-item {
        grid-template-columns: 38px minmax(0, 1fr);
        padding-left: 5px;
        padding-right: 5px;
    }

    .journey-icon {
        width: 35px;
        height: 35px;
    }

    .lean-step {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* =========================================================
   JOURNEY BRAND PROGRESSION
   ========================================================= */

.lean-how {
    position: relative;
    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(32, 164, 71, 0.035),
            transparent 19%
        ),
        #ffffff;
}

.lean-steps-six {
    box-shadow: 0 14px 38px rgba(12, 41, 66, 0.045);
}

/* 01 — Register / Blue */
.lean-step:nth-child(1) {
    box-shadow: inset 0 3px 0 rgba(8, 117, 193, 0.82);
}

.lean-step:nth-child(1) > span {
    background: var(--tk-blue-soft);
    color: var(--tk-blue);
}

/* 02 — Get Konnected / Green */
.lean-step:nth-child(2) {
    box-shadow: inset 0 3px 0 rgba(32, 164, 71, 0.78);
}

.lean-step:nth-child(2) > span {
    background: var(--tk-green-soft);
    color: var(--tk-green-dark);
}

/* 03 — Secure Your Spot / Gold */
.lean-step:nth-child(3) {
    box-shadow: inset 0 3px 0 rgba(242, 169, 0, 0.82);
}

.lean-step:nth-child(3) > span {
    background: var(--tk-gold-soft);
    color: var(--tk-gold-dark);
}

/* 04 — Get Rewarded / Gold */
.lean-step:nth-child(4) {
    background: linear-gradient(
        135deg,
        rgba(255, 244, 214, 0.46),
        #ffffff 68%
    );
    box-shadow: inset 0 3px 0 rgba(242, 169, 0, 0.82);
}

.lean-step:nth-child(4) > span {
    background: var(--tk-gold-soft);
    color: var(--tk-gold-dark);
}

/* 05 — File & Track / Blue */
.lean-step:nth-child(5) {
    box-shadow: inset 0 3px 0 rgba(8, 117, 193, 0.82);
}

.lean-step:nth-child(5) > span {
    background: var(--tk-blue-soft);
    color: var(--tk-blue);
}

/* 06 — Stay Konnected / Green */
.lean-step:nth-child(6) {
    background: linear-gradient(
        135deg,
        rgba(234, 248, 238, 0.48),
        #ffffff 68%
    );
    box-shadow: inset 0 3px 0 rgba(32, 164, 71, 0.78);
}

.lean-step:nth-child(6) > span {
    background: var(--tk-green-soft);
    color: var(--tk-green-dark);
}


/* =========================================================
   BENEFIT PROGRAMS
   ========================================================= */

.lean-benefits {
    background:
        radial-gradient(
            circle at 18% 38%,
            rgba(242, 169, 0, 0.055),
            transparent 23%
        ),
        radial-gradient(
            circle at 86% 65%,
            rgba(32, 164, 71, 0.05),
            transparent 24%
        ),
        #f6f9fc;
}

.benefit-teaser {
    position: relative;
    overflow: hidden;
}

.benefit-spend {
    border-color: rgba(242, 169, 0, 0.20);
    background:
        linear-gradient(
            135deg,
            #ffffff 35%,
            rgba(255, 244, 214, 0.72) 140%
        );
    box-shadow:
        0 12px 30px rgba(12, 41, 66, 0.06),
        inset 0 3px 0 rgba(242, 169, 0, 0.88);
}

.benefit-refer {
    border-color: rgba(32, 164, 71, 0.18);
    background:
        linear-gradient(
            135deg,
            #ffffff 35%,
            rgba(234, 248, 238, 0.82) 140%
        );
    box-shadow:
        0 12px 30px rgba(12, 41, 66, 0.06),
        inset 0 3px 0 rgba(32, 164, 71, 0.82);
}

.benefit-spend > div:last-child > span,
.benefit-spend strong {
    color: var(--tk-gold-dark);
}

.benefit-refer > div:last-child > span,
.benefit-refer strong {
    color: var(--tk-green-dark);
}

.benefit-spend:hover {
    border-color: rgba(242, 169, 0, 0.34);
}

.benefit-refer:hover {
    border-color: rgba(32, 164, 71, 0.30);
}


/* ---------- Section identity ---------- */

.section-kicker {
    position: relative;
    width: fit-content;
}

.section-kicker::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--tk-green) 0 33%,
        var(--tk-gold) 33% 66%,
        var(--tk-blue) 66% 100%
    );
}


/* =========================================================
   MOBILE BRAND POLISH
   ========================================================= */

@media (max-width: 600px) {

    .hero {
        padding-bottom: 46px;
        background:
            radial-gradient(
                circle at 80% 18%,
                rgba(8, 117, 193, 0.09),
                transparent 25%
            ),
            radial-gradient(
                circle at 12% 66%,
                rgba(32, 164, 71, 0.045),
                transparent 22%
            ),
            linear-gradient(
                180deg,
                #ffffff,
                #f8fbfe
            );
    }

    .hero-grid {
        gap: 32px;
    }

    .hero-points {
        margin-bottom: 0;
    }

    .hero-visual {
        padding-top: 0;
    }

    .lean-step {
        box-shadow: none;
        border-left: 3px solid transparent;
    }

    .lean-step:nth-child(1),
    .lean-step:nth-child(5) {
        border-left-color: var(--tk-blue);
    }

    .lean-step:nth-child(2),
    .lean-step:nth-child(6) {
        border-left-color: var(--tk-green);
    }

    .lean-step:nth-child(3),
    .lean-step:nth-child(4) {
        border-left-color: var(--tk-gold);
    }

    .benefit-spend,
    .benefit-refer {
        box-shadow: 0 10px 26px rgba(12, 41, 66, 0.065);
    }
}

/* Hero headline — intentional two-line desktop composition */
@media (min-width: 901px) {
    .hero h1 {
        max-width: 720px;
        font-size: clamp(48px, 4.15vw, 67px);
        line-height: 1.03;
        letter-spacing: -0.045em;
    }

    .hero-content {
        min-width: 0;
    }
}

/* Hero desktop — true two-line headline */
@media (min-width: 1100px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
        gap: 58px;
    }

    .hero h1 {
        max-width: none;
        font-size: clamp(48px, 3.65vw, 62px);
        white-space: nowrap;
    }

    .hero-visual {
        width: 100%;
        max-width: 520px;
        justify-self: end;
    }
}
