/* ================================================================
   KASE AND COMPANY — HOMEPAGE CSS VERSION 2
   Instructions: This REPLACES your kase-homepage.css file entirely.
   Upload to wp-content/themes/twentyfifteen-child/kase-homepage.css
   ================================================================ */


/* ----------------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------------- */

.kase-visual-updated {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.kase-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(23, 22, 76, 0.88) 0%,
        rgba(23, 22, 76, 0.75) 60%,
        rgba(23, 22, 76, 0.40) 100%
    );
    z-index: 1;
}

.kase-hero-container {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    padding-bottom: 70px;
}

.kase-hero-text {
    max-width: 680px;
}

.kase-hero-text h1 {
    font-size: 44px;
    line-height: 54px;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0 0 18px;
    text-align: left;
}

.kase-hero-text p {
    font-size: 17px;
    line-height: 27px;
    color: #dde2f5;
    margin: 0 0 30px;
    font-weight: 300;
    text-align: left;
    max-width: 620px;
}

.kase-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
}

.kase-btn-primary {
    display: inline-block;
    background: #384186;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid #384186;
    transition: background 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}

.kase-btn-primary:hover {
    background: #1a2a6c;
    border-color: #1a2a6c;
    color: #ffffff !important;
}

.kase-btn-secondary {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.65);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.kase-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
    color: #ffffff !important;
}


/* ----------------------------------------------------------------
   SHARED SECTION STYLES
   ---------------------------------------------------------------- */

.kase-section {
    padding: 72px 0;
}

.kase-section-inner {
    max-width: 800px;
    margin: 0 auto;
}

.kase-section-heading {
    font-size: 30px;
    line-height: 40px;
    font-weight: 300;
    margin: 0 0 40px;
    text-align: center;
    letter-spacing: -0.3px;
}

.kase-section-inner h2 {
    font-size: 28px;
    line-height: 38px;
    font-weight: 300;
    margin: 0 0 24px;
    letter-spacing: -0.3px;
}

.kase-section-inner p {
    font-size: 16px;
    line-height: 27px;
    margin: 0 0 16px;
}


/* ----------------------------------------------------------------
   SECTION 1 — WHO WE ARE
   ---------------------------------------------------------------- */

.kase-who {
    background: #ffffff;
    border-bottom: 1px solid #e8eaf2;
}

.kase-who .kase-section-inner h2 {
    color: #17164c;
}

.kase-who .kase-section-inner p {
    color: #3a3a4a;
}

/* Decorative left border accent on who we are */
.kase-who .kase-section-inner {
    border-left: 3px solid #384186;
    padding-left: 28px;
}


/* ----------------------------------------------------------------
   SECTION 2 — METHODOLOGY
   ---------------------------------------------------------------- */

.kase-methodology {
    background: #17164c;
    position: relative;
}

.kase-methodology::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #384186, #00b4d8, #384186);
}

.kase-methodology .kase-section-inner h2 {
    color: #ffffff;
}

.kase-methodology .kase-section-inner p {
    color: #b8bdd8;
}

.kase-disclaimer-note {
    font-size: 12px !important;
    line-height: 19px !important;
    color: #6e74a0 !important;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 18px;
    margin-top: 8px !important;
    font-style: italic;
}


/* ----------------------------------------------------------------
   SECTION 3 — THREE PATHWAYS
   ---------------------------------------------------------------- */

.kase-pathways {
    background: #f4f5fb;
    border-top: 1px solid #e0e3f0;
    border-bottom: 1px solid #e0e3f0;
}

.kase-pathways .kase-section-heading {
    color: #17164c;
}

.kase-pathways-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.kase-pathway-card {
    flex: 1;
    background: #ffffff;
    border-radius: 6px;
    padding: 30px 24px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(56, 65, 134, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.kase-pathway-card:hover {
    box-shadow: 0 6px 24px rgba(56, 65, 134, 0.15);
    transform: translateY(-2px);
}

.kase-pathway-accent {
    height: 3px;
    background: linear-gradient(90deg, #384186, #00b4d8);
    position: absolute;
    top: 0; left: 0; right: 0;
}

.kase-pathway-card h3 {
    font-size: 17px;
    line-height: 24px;
    font-weight: 700;
    color: #17164c;
    margin: 12px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kase-pathway-tagline {
    font-size: 13px !important;
    font-weight: 500;
    color: #384186 !important;
    font-style: italic;
    margin: 0 0 14px !important;
    line-height: 18px !important;
}

.kase-pathway-card p {
    font-size: 14px;
    line-height: 22px;
    color: #4a4a5a;
    margin: 0 0 10px;
}

.kase-pathway-link {
    display: inline-block;
    color: #384186;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e4e6f2;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.kase-pathway-link:hover {
    color: #00b4d8;
}

.kase-pathway-link::after {
    content: " \2192";
    font-weight: 400;
}


/* ----------------------------------------------------------------
   SECTION 4 — DIFFERENTIATORS
   ---------------------------------------------------------------- */

.kase-differentiators {
    background: #ffffff;
    border-bottom: 1px solid #e8eaf2;
}

.kase-differentiators .kase-section-heading {
    color: #17164c;
}

.kase-diff-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 880px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 56px;
}

.kase-diff-list li {
    font-size: 15px;
    line-height: 23px;
    color: #3a3a4a;
    padding-left: 26px;
    position: relative;
    border-bottom: 1px solid #f0f2fa;
    padding-bottom: 12px;
}

.kase-diff-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 1px;
    color: #384186;
    font-weight: 700;
    font-size: 14px;
}


/* ----------------------------------------------------------------
   SECTION 5 — AUTHORITY / SOCIAL PROOF
   ---------------------------------------------------------------- */

.kase-authority {
    background: #17164c;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kase-authority::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #384186, #00b4d8, #384186);
}

.kase-authority .kase-section-heading {
    color: #ffffff;
    margin-bottom: 16px;
}

.kase-authority-sub {
    font-size: 16px;
    line-height: 26px;
    color: #b8bdd8;
    max-width: 660px;
    margin: 0 auto 36px;
}

.kase-client-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.kase-client-types span {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.kase-platforms {
    font-size: 14px;
    line-height: 28px;
    color: #b8bdd8;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.kase-platforms strong {
    color: #ffffff;
    font-weight: 600;
}


/* ----------------------------------------------------------------
   SECTION 6 — EMAIL SIGNUP
   ---------------------------------------------------------------- */

.kase-signup {
    background: linear-gradient(135deg, #384186 0%, #1a2a6c 100%);
    position: relative;
}

.kase-signup::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00b4d8, #384186, #00b4d8);
}

.kase-signup-inner {
    display: flex;
    gap: 56px;
    align-items: center;
}

.kase-signup-text {
    flex: 1.1;
}

.kase-signup-text h2 {
    font-size: 26px;
    line-height: 35px;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 16px;
}

.kase-signup-text p {
    font-size: 15px;
    line-height: 24px;
    color: #b8c0e0;
    margin: 0 0 10px;
}

.kase-signup-note {
    font-style: italic;
    font-size: 13px !important;
    color: #8890c0 !important;
}

.kase-signup-form {
    flex: 0.9;
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* Hide the placeholder text until AWeber is configured */
.kase-signup-form p {
    color: #888;
    font-style: italic;
    text-align: center;
    font-size: 14px;
    padding: 20px 0;
    border: 2px dashed #ddd;
    border-radius: 4px;
    margin: 0;
}

/* Style Gravity Forms or AWeber elements inside signup box */
.kase-signup-form input[type="text"],
.kase-signup-form input[type="email"],
.kase-signup-form select {
    width: 100% !important;
    padding: 11px 14px !important;
    margin-bottom: 12px !important;
    border: 1px solid #ced2e8 !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    box-sizing: border-box !important;
    color: #333 !important;
}

.kase-signup-form input[type="submit"],
.kase-signup-form button[type="submit"] {
    width: 100% !important;
    background: #384186 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 13px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    transition: background 0.3s ease !important;
}

.kase-signup-form input[type="submit"]:hover,
.kase-signup-form button[type="submit"]:hover {
    background: #1a2a6c !important;
}


/* ----------------------------------------------------------------
   SECTION 7 — LEARNING CENTER
   Refinements to better match the new visual style
   ---------------------------------------------------------------- */

.section2 {
    background: #17164c !important;
}

.section2 h1,
.section2 .holder h1 {
    color: #ffffff !important;
    font-size: 38px !important;
    line-height: 46px !important;
    font-weight: 300 !important;
}

.section2 p,
.section2 .holder p,
.section2 ul li {
    color: #b8bdd8 !important;
    font-size: 15px !important;
    line-height: 24px !important;
}

.section2 .btn {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    color: #ffffff !important;
    font-size: 15px !important;
}

.section2 .btn:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: #ffffff !important;
}

.section2 .tagline .text span {
    color: #ffffff !important;
    font-size: 16px !important;
}


/* ----------------------------------------------------------------
   SECTION 8 — RECENT FORECASTS HEADER
   ---------------------------------------------------------------- */

.section3 {
    background: #ffffff;
    padding-top: 0;
}

.kase-forecasts-header {
    text-align: center;
    padding: 52px 20px 24px;
    max-width: 700px;
    margin: 0 auto;
}

.kase-forecasts-header h2 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 300;
    color: #17164c;
    margin: 0 0 12px;
}

.kase-forecasts-header p {
    font-size: 14px;
    line-height: 22px;
    color: #666666;
    font-style: italic;
}


/* ----------------------------------------------------------------
   RESPONSIVE — Tablet (max 960px)
   ---------------------------------------------------------------- */

@media screen and (max-width: 960px) {

    .kase-pathways-grid {
        flex-direction: column;
    }

    .kase-pathway-card {
        width: 100%;
    }

    .kase-diff-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .kase-signup-inner {
        flex-direction: column;
        gap: 28px;
    }

    .kase-signup-form {
        width: 100%;
        box-sizing: border-box;
    }

    .kase-hero-text h1 {
        font-size: 34px;
        line-height: 44px;
    }

    .kase-section-heading {
        font-size: 26px;
        line-height: 34px;
    }
}


/* ----------------------------------------------------------------
   RESPONSIVE — Mobile (max 600px)
   ---------------------------------------------------------------- */

@media screen and (max-width: 600px) {

    .kase-section {
        padding: 40px 0;
    }

    .kase-visual-updated {
        min-height: 400px;
    }

    .kase-hero-text h1 {
        font-size: 26px;
        line-height: 34px;
        letter-spacing: 0;
    }

    .kase-hero-text p {
        font-size: 15px;
        line-height: 23px;
    }

    .kase-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .kase-btn-primary,
    .kase-btn-secondary {
        text-align: center;
        font-size: 15px;
    }

    .kase-who .kase-section-inner {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid #384186;
        padding-top: 20px;
    }

    .kase-authority-sub {
        font-size: 14px;
    }

    .kase-client-types span {
        font-size: 12px;
        padding: 6px 12px;
    }

    .kase-signup-text h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .kase-signup-form {
        padding: 20px;
    }

    .kase-section-inner h2 {
        font-size: 22px;
        line-height: 30px;
    }
}
