/* 
   GiveWise White Label / Partner Experience Landing Page Stylesheet
   Matches givewise.ca and advisors.givewise.ca look and feel.
*/

:root {
    --gw-cyan: #64bee5;       /* GiveWise Cyan */
    --gw-cyan-dark: #4ca7cc;
    --gw-navy: #293860;       /* GiveWise Navy */
    --gw-navy-dark: #1b2644;
    --gw-gold: #eccb48;       /* GiveWise Yellow/Gold */
    --gw-gold-hover: #d8b736;
    --gw-coral: #e67453;      /* GiveWise Coral */
    --gw-light-bg: #f8fafd;   /* Light gray-blue background */
    --gw-white: #ffffff;
    --gw-text: #4a5568;       /* Primary copy color */
    --gw-muted: #718096;      /* Muted gray for subtext */
}

/* Base resets & typography */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--gw-text);
    background-color: var(--gw-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--gw-navy);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p, li {
    font-weight: 400;
    line-height: 1.65;
}

/* Custom Text and Background Helpers */
.text-navy {
    color: var(--gw-navy) !important;
}

.text-cyan {
    color: var(--gw-cyan) !important;
}

.text-gold {
    color: var(--gw-gold) !important;
}

.bg-navy {
    background-color: var(--gw-navy) !important;
}

.bg-navy-dark {
    background-color: var(--gw-navy-dark) !important;
}

.bg-cyan {
    background-color: var(--gw-cyan) !important;
}

.bg-light-custom {
    background-color: var(--gw-light-bg) !important;
}

/* Custom Button Styles matching givewise.ca */
.btn-cyan {
    background-color: var(--gw-cyan) !important;
    border-color: var(--gw-cyan) !important;
    color: var(--gw-white) !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.25s ease-in-out;
}

.btn-cyan:hover, .btn-cyan:focus {
    background-color: var(--gw-cyan-dark) !important;
    border-color: var(--gw-cyan-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 190, 229, 0.3);
}

.btn-gold {
    background-color: var(--gw-gold) !important;
    border-color: var(--gw-gold) !important;
    color: var(--gw-white) !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.25s ease-in-out;
}

.btn-gold:hover, .btn-gold:focus {
    background-color: var(--gw-gold-hover) !important;
    border-color: var(--gw-gold-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 203, 72, 0.3);
}

.btn-outline-navy {
    background-color: transparent !important;
    border: 2px solid var(--gw-navy) !important;
    color: var(--gw-navy) !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.25s ease-in-out;
}

.btn-outline-navy:hover, .btn-outline-navy:focus {
    background-color: var(--gw-navy) !important;
    color: var(--gw-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 56, 96, 0.2);
}

/* Custom Outlines for light-on-dark buttons */
.btn-outline-white {
    background-color: transparent !important;
    border: 2px solid var(--gw-white) !important;
    color: var(--gw-white) !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.25s ease-in-out;
}

.btn-outline-white:hover, .btn-outline-white:focus {
    background-color: var(--gw-white) !important;
    color: var(--gw-navy) !important;
    transform: translateY(-2px);
}

/* Navigation overrides */
.navbar {
    background-color: var(--gw-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-container img {
    height: 42px;
}

/* Hero Section with modern curve */
.hero-section {
    position: relative;
    background-color: var(--gw-white);
    padding: 6rem 0;
    overflow: hidden;
}

.hero-swoop {
    position: absolute;
    bottom: -50px;
    right: 0;
    width: 55%;
    height: 120%;
    background: linear-gradient(135deg, rgba(128, 213, 246, 0.3) 0%, rgba(100, 190, 229, 0.2) 100%);
    border-top-left-radius: 80% 100%;
    z-index: 1;
}

.hero-circle-yellow {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 80px;
    height: 80px;
    background-color: var(--gw-gold);
    border-radius: 50%;
    opacity: 0.4;
    z-index: 1;
}

.hero-circle-grey {
    position: absolute;
    top: 10%;
    right: 45%;
    width: 150px;
    height: 150px;
    background-color: #f3f6f9;
    border-radius: 50%;
    z-index: 1;
}

/* Mockup Images wrapper */
.mockup-wrapper {
    position: relative;
    z-index: 3;
}

.mockup-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--gw-white);
    transition: transform 0.5s ease;
}

.mockup-image:hover {
    transform: scale(1.02);
}

/* Comparative Table / Grid (Section 2) */
.comp-card {
    background-color: var(--gw-white);
    border: 1px solid var(--gw-border);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(41, 56, 96, 0.04);
    transition: all 0.3s ease;
}

.comp-card:hover {
    box-shadow: 0 12px 30px rgba(41, 56, 96, 0.08);
    transform: translateY(-3px);
}

.comp-card.firm-card {
    border-top: 5px solid var(--gw-navy);
}

.comp-card.partner-card {
    border-top: 5px solid var(--gw-cyan);
}

.comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comp-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.comp-list li i {
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-size: 1.2rem;
}

.comp-list.firm-list li i {
    color: var(--gw-navy);
}

.comp-list.partner-list li i {
    color: var(--gw-cyan);
}

/* Audiences / Who This Is For (Section 3) */
.audience-card {
    background-color: var(--gw-white);
    border: 1px solid var(--gw-border);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 12px rgba(41, 56, 96, 0.02);
}

.audience-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(100, 190, 229, 0.12);
    color: var(--gw-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Custom 5-column grid rule for bootstrap grids */
@media (min-width: 1200px) {
    .col-xl-2\.4 {
        flex: 0 0 auto;
        width: 20% !important;
    }
}


/* Why Explore List (Section 4) */
.why-explore-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.why-explore-icon {
    background-color: rgba(100, 190, 229, 0.12);
    color: var(--gw-cyan);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

/* How It Works (Section 5) */
.step-item {
    position: relative;
    padding-left: 4.5rem;
    margin-bottom: 3.5rem;
}

.step-item:last-child {
    margin-bottom: 0;
}

/* Vertical timeline connector line */
.step-item::after {
    content: '';
    position: absolute;
    left: 2rem;
    top: 4.5rem;
    width: 2px;
    height: calc(100% - 1rem);
    background-color: var(--gw-border);
    z-index: 1;
}

.step-item:last-child::after {
    display: none;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 4rem;
    height: 4rem;
    background-color: var(--gw-white);
    border: 3px solid var(--gw-cyan);
    color: var(--gw-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background-color: var(--gw-cyan);
    color: var(--gw-white);
    transform: scale(1.05);
}

/* Final CTA Section (Section 7) */
.final-cta {
    position: relative;
    background-color: var(--gw-navy);
    color: var(--gw-white);
    padding: 6rem 0;
    overflow: hidden;
}

.final-cta-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 80% 50%, rgba(100, 190, 229, 0.15) 0%, rgba(41, 56, 96, 0) 60%);
    z-index: 1;
}

.final-cta-circle-yellow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--gw-gold);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.final-cta-circle-cyan {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background-color: var(--gw-cyan);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

/* Footer Section */
footer {
    background-color: #EBEBEB;
    border-top: 1px solid #DFDFDF;
    color: #555555;
}

footer a {
    color: var(--gw-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--gw-cyan);
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }
    
    .hero-swoop {
        width: 100%;
        height: 50%;
        bottom: 0;
        top: auto;
        border-top-left-radius: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(100, 190, 229, 0.15) 100%);
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .step-item {
        padding-left: 0;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .step-number {
        position: relative;
        margin: 0 auto 1.5rem;
    }
    
    .step-item::after {
        display: none;
    }
}
