/* =========================================================
   TAXKONNECT PUBLIC INFORMATION PAGES
   Visual language aligned with the TaxKonnect homepage
   ========================================================= */

.info-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(36, 99, 235, .11), transparent 30%),
        radial-gradient(circle at 65% 85%, rgba(34, 197, 94, .07), transparent 25%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 52%, #eef6ff 100%);
    border-bottom: 1px solid #e8eef7;
}

.info-hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    right: -120px;
    top: -150px;
    background: rgba(37, 99, 235, .05);
}

.info-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .72fr);
    gap: 64px;
    align-items: center;
    min-height: 390px;
    padding-top: 58px;
    padding-bottom: 58px;
}

.info-eyebrow,
.info-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #075fd8;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.info-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 12px 0 0 #f2b51d;
}

.info-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #0c2344;
    font-size: clamp(42px, 5vw, 67px);
    line-height: .98;
    letter-spacing: -.052em;
    font-weight: 850;
}

.info-hero h1 span {
    color: #0877d1;
}

.info-hero-lead {
    max-width: 650px;
    margin: 21px 0 0;
    color: #52647b;
    font-size: 17px;
    line-height: 1.72;
}

.info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 25px;
}

.info-actions .button,
.info-bottom .button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.info-actions .button-primary,
.info-bottom .button-primary {
    background: #0877d1;
    color: #fff;
    border: 1px solid #0877d1;
    box-shadow: 0 8px 20px rgba(8, 119, 209, .17);
}

.info-actions .button-secondary {
    background: #fff;
    color: #0c2344;
    border: 1px solid #d5dfeb;
}

.info-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.info-visual::before {
    content: "";
    position: absolute;
    width: 88%;
    height: 84%;
    top: 13%;
    left: 6%;
    border-radius: 28px;
    background: rgba(8, 119, 209, .07);
    filter: blur(24px);
}

.info-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 410px;
    padding: 24px;
    border: 1px solid #dce6f2;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 50px rgba(12, 35, 68, .14);
}

.info-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, #0877d1, #22a559, #f2b51d);
}

.info-panel-label {
    display: block;
    margin-bottom: 8px;
    color: #0877d1;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
}

.info-panel h2 {
    margin: 0;
    color: #0c2344;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.info-panel > p {
    margin: 8px 0 18px;
    color: #65758a;
    font-size: 13px;
    line-height: 1.55;
}

.info-mini-list {
    display: grid;
    gap: 8px;
}

.info-mini-item {
    display: flex;
    gap: 11px;
    align-items: center;
    padding: 10px 11px;
    border: 1px solid #e0e8f2;
    border-radius: 10px;
    background: #f8fbff;
}

.info-mini-number {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e7f2ff;
    color: #0877d1;
    font-size: 11px;
    font-weight: 850;
}

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

.info-mini-item strong {
    color: #0c2344;
    font-size: 12px;
}

.info-mini-item small {
    margin-top: 2px;
    color: #728095;
    font-size: 10px;
    line-height: 1.35;
}


/* Main content */

.info-section {
    position: relative;
    padding: 58px 0;
    background: #fff;
}

.info-section-soft {
    background:
        radial-gradient(circle at 10% 45%, rgba(242, 181, 29, .07), transparent 23%),
        radial-gradient(circle at 92% 30%, rgba(34, 165, 89, .06), transparent 25%),
        #f8fbfe;
}

.info-heading {
    max-width: 700px;
    margin-bottom: 27px;
}

.info-heading h2 {
    margin: 0;
    color: #0c2344;
    font-size: clamp(29px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.info-heading p {
    max-width: 650px;
    margin: 10px 0 0;
    color: #65758a;
    font-size: 14px;
    line-height: 1.65;
}

.info-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(12, 35, 68, .055);
}

.info-step-card {
    position: relative;
    min-height: 155px;
    padding: 24px 22px 22px;
    border-right: 1px solid #e1e8f0;
    border-bottom: 1px solid #e1e8f0;
    background: #fff;
}

.info-step-card:nth-child(3n) {
    border-right: 0;
}

.info-step-card:nth-last-child(-n+3) {
    border-bottom: 0;
}

.info-step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0877d1;
}

.info-step-card:nth-child(2)::before {
    background: #22a559;
}

.info-step-card:nth-child(3)::before {
    background: #f2b51d;
}

.info-step-card:nth-child(4)::before {
    background: #f59e0b;
}

.info-step-card:nth-child(5)::before {
    background: #3b82f6;
}

.info-step-card:nth-child(6)::before {
    background: #22a559;
}

.info-step-number {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    margin-bottom: 15px;
    border-radius: 7px;
    background: #eaf4ff;
    color: #0877d1;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .05em;
}

.info-step-card:nth-child(2) .info-step-number,
.info-step-card:nth-child(6) .info-step-number {
    background: #eaf8ef;
    color: #16864a;
}

.info-step-card:nth-child(3) .info-step-number {
    background: #fff7df;
    color: #a86d00;
}

.info-step-card:nth-child(4) .info-step-number {
    background: #fff4df;
    color: #b56b00;
}

.info-step-card h3 {
    margin: 0 0 7px;
    color: #0c2344;
    font-size: 16px;
    line-height: 1.25;
}

.info-step-card p {
    margin: 0;
    color: #65758a;
    font-size: 12px;
    line-height: 1.58;
}

.info-note {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #cfe1f7;
    border-radius: 12px;
    background: linear-gradient(90deg, #edf6ff 0%, #f7fbff 100%);
}

.info-note-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #1769e0;
    color: #fff;
    font-weight: 850;
}

.info-note strong {
    display: block;
    color: #0c2344;
    font-size: 12px;
}

.info-note p {
    margin: 3px 0 0;
    color: #66768b;
    font-size: 11px;
    line-height: 1.5;
}


/* Spend and Get */

.info-hero-spend {
    background:
        radial-gradient(circle at 82% 22%, rgba(242, 181, 29, .16), transparent 29%),
        radial-gradient(circle at 66% 88%, rgba(34, 165, 89, .06), transparent 24%),
        linear-gradient(135deg, #fff 0%, #fffdf6 54%, #fff8e7 100%);
}

.info-hero-spend .info-eyebrow,
.info-hero-spend .info-panel-label {
    color: #a86d00;
}

.info-hero-spend .info-hero h1 span,
.info-hero-spend h1 span {
    color: #d89000;
}

.info-panel-spend::before {
    background: linear-gradient(90deg, #f2b51d, #f59e0b, #22a559);
}

.info-panel-spend .info-mini-number {
    background: #fff4cf;
    color: #a86d00;
}


/* Refer and Earn */

.info-hero-refer {
    background:
        radial-gradient(circle at 82% 22%, rgba(34, 165, 89, .13), transparent 30%),
        radial-gradient(circle at 65% 88%, rgba(8, 119, 209, .06), transparent 25%),
        linear-gradient(135deg, #fff 0%, #f8fdf9 55%, #edf9f1 100%);
}

.info-hero-refer .info-eyebrow,
.info-hero-refer .info-panel-label {
    color: #16864a;
}

.info-hero-refer h1 span {
    color: #22a559;
}

.info-panel-refer::before {
    background: linear-gradient(90deg, #22a559, #0877d1, #f2b51d);
}

.info-panel-refer .info-mini-number {
    background: #e9f8ef;
    color: #16864a;
}


/* Compact closing band */

.info-bottom {
    background: #102846;
    color: #fff;
}

.info-bottom-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.info-bottom h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    letter-spacing: -.025em;
}

.info-bottom p {
    margin: 5px 0 0;
    color: #bfd0e2;
    font-size: 12px;
}


/* Responsive */

@media (max-width: 900px) {
    .info-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: auto;
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .info-visual {
        justify-content: flex-start;
    }

    .info-panel {
        max-width: 520px;
    }

    .info-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-step-card,
    .info-step-card:nth-child(3n) {
        border-right: 1px solid #e1e8f0;
        border-bottom: 1px solid #e1e8f0;
    }

    .info-step-card:nth-child(2n) {
        border-right: 0;
    }

    .info-step-card:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 640px) {
    .info-hero-grid {
        gap: 28px;
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .info-hero h1 {
        font-size: 42px;
    }

    .info-hero-lead {
        font-size: 15px;
    }

    .info-actions {
        align-items: stretch;
    }

    .info-actions .button {
        flex: 1 1 100%;
    }

    .info-panel {
        padding: 19px;
    }

    .info-section {
        padding: 43px 0;
    }

    .info-step-grid {
        grid-template-columns: 1fr;
    }

    .info-step-card,
    .info-step-card:nth-child(2n),
    .info-step-card:nth-child(3n),
    .info-step-card:nth-last-child(-n+3) {
        border-right: 0;
        border-bottom: 1px solid #e1e8f0;
    }

    .info-step-card:last-child {
        border-bottom: 0;
    }

    .info-bottom-inner {
        min-height: 150px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}
