﻿/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: url("../images/main-swimming-background.jpg") center center/cover no-repeat;
    /* Optional fallback background color */
    background-color: #1f1f1f;
}

/* Create the overlay layer */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Black with 40% opacity */
}

/* Ensure content sits on top of the overlay */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 910px;
    padding: 0 20px;
}

    /* UPDATED: make headline conversion-friendly (not poster-style) */
    .hero-content h1 {
        font-size: 3.2rem; /* was 6rem */
        font-weight: 800; /* stronger headline */
        margin: 0 0 18px;
        text-transform: none; /* was uppercase */
        letter-spacing: -0.02em; /* was 10px */
        line-height: 1.1;
    }

    /* UPDATED: lead should read like a sentence, not spaced-out caps */
    .hero-content .lead {
        font-size: 1.2rem; /* was 1.7rem */
        font-weight: 300;
        line-height: 1.65;
        margin: 0 auto;
        max-width: 70ch;
        color: #d0d0d0; /* slightly clearer than #ccc */
        text-transform: none; /* was uppercase */
        letter-spacing: 0; /* was 10px */
    }

/* UPDATED: bring CTA up so it’s seen without scrolling */
.hero-cta {
    margin-top: 2rem; /* was 8rem */
}

/* NEW: optional trust line under CTA (add a <div class="hero-trust">...</div>) */
.hero-trust {
    margin-top: 12px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
}

.hero-eyebrow {
    display: block;
    color: #FFD700; /* Gold */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background-color: #FFEA00; /* Bright yellow to match the cap */
    color: #000; /* Black text for maximum legibility */
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px; /* Rounded pill shape looks premium */
    margin-top: 25px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

    .cta-button:hover {
        background-color: #fff; /* Turns white on hover */
        transform: scale(1.05); /* Slight grow effect */
    }

.scarcity-text {
    color: #FFEA00;
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
    opacity: 0.9;
}

.champion-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px); /* Modern frosted glass effect */
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.5); /* Subtle gold border */
    margin-bottom: 20px;
}

.flag-icon {
    width: 20px;
    height: auto;
    margin-right: 10px;
    border-radius: 2px;
}

.champion-badge span {
    color: #FFD700; /* Gold color */
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.home-signin-button {
    display: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #FFD700;
    border-bottom: 2px solid #FFD700;
    transform: rotate(45deg);
    margin: 10px auto 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-10px) rotate(45deg);
    }

    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {

    /* Align hero content at the top with some top padding */
    .hero {
        align-items: flex-start;
        padding-top: 140px; /* Adjust this value as needed */
        background-position: 60% 35%;
    }

    /* UPDATED: don’t crush the headline on mobile */
    .hero-content h1 {
        font-size: 2rem; /* was 1rem */
        font-weight: 800;
        line-height: 1.15;
    }

    .hero-content .lead {
        font-size: 1.05rem; /* was 1rem */
        line-height: 1.6;
    }

    .home-signin-button {
        display: inline-block;
    }
}



/* ---------------------------------------------------------
   Home main (below hero)
--------------------------------------------------------- */

main {
    padding: 56px 16px 80px;
}

/* ---------------------------------------------------------
   Who it's for (high presence, not "buttony")
--------------------------------------------------------- */

.who-for {
    max-width: 980px;
    margin: 0 auto 78px;
    padding: 0 16px;
    text-align: center;
}

    .who-for h2 {
        font-size: 2.15rem;
        font-weight: 900;
        margin: 0 0 10px;
        letter-spacing: -0.02em;
    }

.who-for-intro {
    max-width: 80ch;
    margin: 0 auto 34px;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    font-size: 1.08rem;
}

/* Grid */
.who-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
    max-width: 920px;
    margin: 0 auto;
}

/* Item */
.who-item {
    padding: 18px 18px 16px;
    /* Not a box: just a subtle surface + accent */
    background: rgba(255,255,255,0.03);
   border-left: 3px solid rgba(10, 79, 179, 0.65);
   /*  border-radius: 14px;*/
    box-shadow: 0 14px 40px rgba(0,0,0,0.22);
}

.who-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
}

.who-title {
    font-size: 1.15rem;
    font-weight: 850;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.95);
}

.who-desc {
    color: rgba(255,255,255,0.75);
    line-height: 1.55;
    margin: 0;
    font-size: 1rem;
}

/* Desktop */
@media (min-width: 860px) {
    .who-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}




/* ---------------------------------------------------------
   How it works (improved)
--------------------------------------------------------- */
.how-it-works {
    max-width: 980px;
    margin: 0 auto 64px;
    padding: 0 16px;
    text-align: center;
}

    .how-it-works h2 {
        font-size: 2rem;
        font-weight: 850;
        margin: 0 0 22px;
        letter-spacing: -0.01em;
    }

/* grid */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 10px;
    text-align: left;
}

/* card */
.step {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
   /* border-radius: 16px;*/
    padding: 18px 18px 16px;
    box-shadow: 0 16px 44px rgba(0,0,0,0.26);
    transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

    .step:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.055);
        border-color: rgba(255,255,255,0.14);
    }

/* number */
.step-num {
    width: 34px;
    height: 34px;
  /*  border-radius: 12px;*/ /* less “pill”, more modern */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.95rem;
    background: rgba(10, 79, 179, 0.28);
    border: 1px solid rgba(10, 79, 179, 0.35);
    color: rgba(255,255,255,0.95);
    margin-bottom: 12px;
}

/* headings + text */
.step h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 850;
    letter-spacing: -0.01em;
}

.step p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
}

/* Reassurance band (subtle + premium) */
.reassurance {
    max-width: 980px;
    margin: 20px auto 0;
    padding: 14px 18px;
   /* border-radius: 16px;*/
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    /* light accent, not a big blue panel */
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
    position: relative;
    overflow: hidden;
}

.reassurance::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(10, 79, 179, 0.75);
}

.reassurance-text {
    margin: 0;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
    font-weight: 600;
    text-align: center;
}


@media (min-width: 860px) {
    .steps {
        grid-template-columns: 1fr 1fr 1fr;
    }
}


/* ---------------------------------------------------------
   Final CTA (below pricing)
--------------------------------------------------------- */

.home-section.final-cta {
    padding: 72px 16px;
    text-align: center;
}

.final-cta-inner {
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
   /* border-radius: 20px;*/
    padding: 36px 24px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.35);
}

    .final-cta-inner .section-title {
        font-size: 2rem;
        font-weight: 800;
        margin: 0 0 12px;
    }

    .final-cta-inner .section-subtitle {
        margin: 0 0 22px;
        font-size: 1.05rem;
        color: rgba(255,255,255,0.78);
    }

    /* Button spacing tweak */
    .final-cta-inner .btn-primary {
        padding: 14px 28px;
        font-size: 1.05rem;
        font-weight: 700;
    }

/* Mobile adjustments */
@media (max-width: 600px) {
    .home-section.final-cta {
        padding: 56px 16px;
    }

    .final-cta-inner {
        padding: 28px 20px;
    }

        .final-cta-inner .section-title {
            font-size: 1.6rem;
        }

        .final-cta-inner .section-subtitle {
            font-size: 1rem;
        }
}

.pathfinder-section {
    padding: 80px 20px;
    background-color: #f0f4f8; /* Light contrast to the white section above */
    text-align: center;
}

.pathfinder-title {
    font-size: 2.2rem;
    color: #001f3f;
    margin-bottom: 10px;
}

.pathfinder-subtitle {
    margin-bottom: 50px;
    color: #666;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.path-card {
    background: white;
    padding: 40px 30px;
    /*border-radius: 15px;*/
    text-decoration: none; /* Removes link underline */
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .path-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 31, 63, 0.1);
        border-color: #FFD700;
    }

.path-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.path-card h3 {
    color: #001f3f;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.path-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
}

.path-link {
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Specific highlight for the link on hover */
.path-card:hover .path-link {
    color: #001f3f;
}

/* COMPARISON STRIP (Directly under Hero) */
.comparison-strip {
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10; /* Ensures it sits on top of section transitions */
    border-bottom: 1px solid #eee;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 300px;
}

    .comparison-item .icon {
        font-size: 1.8rem;
        background: #f0f4f8;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        flex-shrink: 0;
    }

.comp-text {
    display: flex;
    flex-direction: column;
}

    .comp-text strong {
        color: #001f3f; /* Deep Navy */
        font-size: 1.1rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .comp-text span {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.3;
    }

/* MOBILE RESPONSIVENESS */
@media (max-width: 900px) {
    .comparison-strip {
        flex-direction: column;
        gap: 25px;
        padding: 40px 20px;
        text-align: left;
    }

    .comparison-item {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* THE PROBLEM SECTION */
.the-difference {
    padding: 100px 20px;
    background-color: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #001f3f; /* SwiftSwim Navy */
    margin-bottom: 50px;
    font-weight: 800;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}


.comparison-card {
    background: #f8fafc;
    padding: 45px;
    /*border-radius: 20px;*/
   border: 1px solid #e2e8f0;
    text-align: left;
    color: #475569; /* Change this from light grey to a readable slate grey */
}

    /* THE "SWIFTSWIM" HIGHLIGHT CARD */
    .comparison-card.highlight {
        background: #001f3f; /* Deep Navy */
        color: white;
        /*border: 2px solid #FFD700;*/ /* Gold Medal Border */
        box-shadow: 0 20px 40px rgba(0, 31, 63, 0.15);
        transform: scale(1.03); /* Subtle pop to show dominance */
    }

    .comparison-card h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
        border-bottom: 2px solid #cbd5e1;
        padding-bottom: 12px;
        color: #1e293b; /* Make the "Council" title dark and clear */
    }

    .comparison-card.highlight h3 {
        color: #FFD700; /* Gold Title */
        border-bottom-color: rgba(255, 215, 0, 0.3);
    }

    .comparison-card ul {
        list-style: none;
        padding: 0;
    }

    .comparison-card li {
        margin-bottom: 18px;
        font-size: 1.1rem;
        display: flex;
        align-items: flex-start;
        line-height: 1.4;
    }

/* THE "TRANSITION" TEXT AT THE BOTTOM */
.transition-text {
    max-width: 800px;
    margin: 70px auto 0;
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.6;
}

    .transition-text strong {
        color: #001f3f;
        border-bottom: 3px solid #FFD700;
    }

/* MOBILE RESPONSIVENESS */
@media (max-width: 850px) {
    .comparison-grid {
        grid-template-columns: 1fr; /* Stacks cards */
    }

    .comparison-card.highlight {
        transform: scale(1);
        order: -1; /* Puts the positive SwiftSwim card ON TOP on mobile */
    }

    .section-title {
        font-size: 1.8rem;
    }
}

