:root {
    /* Logo Brand Colors */
    --cf-green: #46AE4F; /* CONNECT green - exact logo color */
    --cf-green-dark: #3a8f42; /* Darker green for hover states */
    --cf-blue-deep: #12618C; /* FOOT blue - exact logo color */
    --cf-blue-dark: #0e4f6f; /* Darker blue for backgrounds */
    --cf-gray: #f5f7fb;
    --cf-shadow: 0 25px 60px rgba(10, 27, 51, 0.25);
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--cf-blue-deep);
    background-color: #ffffff;
}

/* Brand color for headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--cf-blue-deep);
}

.text-success {
    color: var(--cf-green) !important;
}

.landing-page section {
    position: relative;
}

.hero {
    background: url("../images/Banner-header-f7e78c279fc581063d99a8c2da9ebd05.png") left center/cover no-repeat;
    padding: 3rem 0 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(70, 174, 79, 0.35), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(18, 97, 140, 0.2), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-nav {
    margin-bottom: 2rem;
}

.landing-topbar {
    background-color: #fff;
    padding: 0.75rem 0;
    box-shadow: 0 10px 25px rgba(13, 27, 42, 0.08);
    position: relative;
    z-index: 1000;
}

.topbar-wrapper {
    position: relative;
}

.landing-topbar .topbar-nav {
    gap: 1.5rem;
}

.landing-topbar .topbar-nav-link {
    color: var(--cf-blue-deep);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.landing-topbar .topbar-nav-link:hover {
    color: var(--cf-green);
}

.landing-topbar .topbar-nav-separator {
    color: var(--cf-blue-deep);
    opacity: 0.3;
    user-select: none;
}

.landing-topbar .topbar-buttons {
    gap: 0.5rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 0.625rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    transition: transform 0.3s ease;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    position: relative;
}

.mobile-menu-toggle:hover {
    background-color: rgba(18, 97, 140, 0.05);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--cf-green);
    outline-offset: 2px;
    border-radius: 8px;
}

.mobile-menu-toggle.active {
    background-color: rgba(18, 97, 140, 0.1);
}

.mobile-menu-icon {
    width: 24px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--cf-blue-deep);
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-toggle.active .mobile-menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .mobile-menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .mobile-menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.hero-logo {
    height: 56px;
}

.topbar-brand span {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--cf-blue-deep);
}

.hero-content {
    margin-top: 1rem;
}

.hero-figure img {
    border-radius: 1.5rem;
    box-shadow: var(--cf-shadow);
}

.hero-preview {
    border: 12px solid rgba(255, 255, 255, 0.85);
    border-radius: 1.75rem;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 20% 30%, rgba(70, 174, 79, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(18, 97, 140, 0.3) 0%, transparent 50%);
    border-radius: 1.75rem;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-badges {
    margin-top: 1rem;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Diagram Badge Styling */
.diagram-badge {
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.diagram-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.diagram-desktop {
    min-height: 60px;
}

.diagram-mobile {
    min-height: auto;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.badge-item i {
    font-size: 0.75rem;
}

.section-divider {
    margin: 0;
    padding: 0;
    line-height: 0;
    background-color: transparent;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

.feature-card {
    border-radius: 1.25rem;
    background-color: #fff;
    box-shadow: 0 20px 40px rgba(15, 44, 76, 0.08);
    border: 1px solid rgba(15, 44, 76, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(15, 44, 76, 0.15);
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cf-green), var(--cf-green-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

/* User Area Glass Cards */
.user-area-card {
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px 0 rgba(10, 27, 51, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.user-area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(70, 174, 79, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.user-area-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px 0 rgba(10, 27, 51, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(70, 174, 79, 0.4);
    background: rgba(255, 255, 255, 0.85);
}

.user-area-card:hover::before {
    opacity: 1;
}

.user-area-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.user-area-text {
    flex: 1;
}

.user-area-card .icon-circle {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.user-area-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Brand color for section titles */
#concept .text-success {
    color: var(--cf-green) !important;
}

/* Brand color for links */
a {
    color: var(--cf-blue-deep);
}

a:hover {
    color: var(--cf-green-dark);
}

.benefit-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    list-style-type: disc; /* Keep default browser bullets (white/gray) */
}



.stats-grid .stat-card {
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stats-grid .stat-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.benefits-section .stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.benefit-card {
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid var(--cf-green);
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    align-items: flex-start;
}

.benefit-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-left-color: var(--cf-green);
}

.benefit-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: rgba(70, 174, 79, 0.2);
    border: 2px solid rgba(70, 174, 79, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cf-green);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-card-icon {
    background: rgba(70, 174, 79, 0.3);
    border-color: var(--cf-green);
    transform: scale(1.05);
}

.benefit-card-content {
    flex: 1;
    min-width: 0;
}

.benefit-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.benefit-card-subtitle {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.benefit-card-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
    line-height: 1.6;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cf-blue-deep);
}

/* Brand colors for buttons */
.btn-success {
    background-color: var(--cf-blue-deep);
    border-color: var(--cf-green);
    color: #fff;
}

.btn-success:hover {
    background-color: var(--cf-green-dark);
    border-color: var(--cf-green-dark);
}

.btn-outline-success {
    border-color: var(--cf-green);
    color: var(--cf-green);
}

.btn-outline-success:hover {
    background-color: var(--cf-green);
    border-color: var(--cf-green);
    color: #fff;
}

.benefits-section .stat-value {
    color: #fff;
}

.benefits-section {
    background: linear-gradient(135deg, var(--cf-blue-deep), var(--cf-blue-dark));
    color: #fff;
}

.benefit-icons {
    margin-top: 2rem;
}

.benefit-icon-item {
    flex: 0 0 auto;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(70, 174, 79, 0.15);
    border: 2px solid rgba(70, 174, 79, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cf-green);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.icon-wrapper:hover {
    background: linear-gradient(135deg, var(--cf-green), var(--cf-green-dark));
    color: #fff;
    transform: scale(1.1);
    border-color: var(--cf-green);
    box-shadow: 0 0 20px rgba(70, 174, 79, 0.5);
}

.map-section {
    background: linear-gradient(135deg, var(--cf-blue-deep), var(--cf-blue-dark));
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(70, 174, 79, 0.1), transparent 70%);
    pointer-events: none;
}

.map-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.map-section .map-visual {
    border-radius: 1.5rem;
    box-shadow: var(--cf-shadow);
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    background: transparent;
}

.map-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(70, 174, 79, 0.3), transparent 70%);
    border-radius: 1.5rem;
    z-index: -1;
    animation: map-pulse 4s ease-in-out infinite;
}

@keyframes map-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.cta-footer {
    background-color: var(--cf-gray);
}

.cta-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-footer .footer-links a {
    color: inherit;
    text-decoration: none;
}

.cta-footer .footer-links a:hover {
    color: var(--cf-green);
}

.landing-footer {
    color: #fff;
    width: 100%;
}

.footer-bg {
    background: url("../images/Banner-footer-90dc7c8e8f9b2dd70a7855f841624c7f.png") right center/cover no-repeat;
    background-size: cover;
    background-position: right center;
    min-height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.footer-bg .container {
    color: #fff;
    width: 100%;
}

.footer-bottom {
    background: #f5f7fb;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.landing-footer .footer-links a {
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.landing-footer .footer-links a:hover {
    color: var(--cf-green) !important;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.cta-role-btn {
    border-radius: 999px;
    border-width: 1.5px;
    border-style: solid;
    font-weight: 600;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
}

.cta-role-btn i {
    font-size: 0.95rem;
}

.cta-role-btn.neutral {
    color: var(--cf-blue-deep);
    border-color: rgba(18, 97, 140, 0.35);
    background-color: rgba(18, 97, 140, 0.05);
}

.cta-role-btn.neutral:hover,
.cta-role-btn.neutral:focus-visible {
    background-color: rgba(15, 35, 76, 0.15);
    box-shadow: 0 10px 25px rgba(10, 20, 35, 0.2);
}

.cta-role-btn.club {
    color: var(--cf-green);
    border-color: rgba(70, 174, 79, 0.8);
    background-color: rgba(70, 174, 79, 0.08);
}

.cta-role-btn.club:hover,
.cta-role-btn.club:focus-visible {
    background-color: var(--cf-green);
    color: #fff;
    box-shadow: 0 12px 30px rgba(70, 174, 79, 0.45);
}

.cta-role-btn.fan {
    color: var(--cf-blue-deep);
    border-color: rgba(18, 97, 140, 0.85);
    background-color: rgba(18, 97, 140, 0.08);
}

.cta-role-btn.fan:hover,
.cta-role-btn.fan:focus-visible {
    background-color: var(--cf-blue-deep);
    color: #fff;
    box-shadow: 0 12px 30px rgba(18, 97, 140, 0.45);
}

.cta-role-btn.player {
    color: var(--cf-blue-deep);
    border-color: rgba(18, 97, 140, 0.85);
    background-color: rgba(18, 97, 140, 0.08);
}

.cta-role-btn.player:hover,
.cta-role-btn.player:focus-visible {
    background-color: var(--cf-blue-deep);
    color: #fff;
    box-shadow: 0 12px 30px rgba(18, 97, 140, 0.45);
}

@media (max-width: 992px) {
    .hero-logo {
        height: 44px;
    }

    .hero {
        padding-top: 2rem;
        text-align: center;
    }

    .hero .hero-content {
        flex-direction: column;
    }

    .hero-nav {
        justify-content: center;
    }

    .hero-figure {
        margin-top: 2rem;
    }

    .benefit-icons {
        gap: 2rem !important;
    }

    .map-container {
        margin-top: 2rem;
    }

    /* Tablet Navigation Adjustments */
    .landing-topbar .topbar-nav {
        gap: 1rem;
    }

    .landing-topbar .topbar-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-bottom: 3rem;
        min-height: 80vh;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .benefit-card {
        padding: 1rem;
        gap: 0.875rem;
    }

    .benefit-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .benefit-card-title {
        font-size: 1rem;
    }

    .benefit-card-subtitle {
        font-size: 0.875rem;
    }

    .benefit-card-text {
        font-size: 0.8125rem;
    }

    .badge-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    /* Mobile Diagram Styling */
    .diagram-mobile {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .diagram-mobile .diagram-badge {
        width: 100%;
        justify-content: center;
    }

    .diagram-mobile i.fa-arrow-down {
        margin: 0.5rem 0;
    }

    .benefit-icon-item {
        flex: 0 0 50%;
        margin-bottom: 1rem;
    }

    .landing-footer {
        min-height: auto;
    }

    .landing-footer .container {
        /* padding: 2rem 0 !important; */
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 0.5rem !important;
    }

    .footer-links span {
        display: none;
    }

    /* Mobile Navigation */
    .landing-topbar {
        position: relative;
        z-index: 1000;
    }

    .landing-topbar .topbar-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 5.5rem 1.5rem 2rem;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.1s, visibility 0.3s ease 0.1s;
        max-height: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1001;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .landing-topbar .topbar-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    }

    .landing-topbar .topbar-nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin-bottom: 2rem;
        border-bottom: 2px solid rgba(18, 97, 140, 0.1);
        padding-bottom: 1.5rem;
    }

    .landing-topbar .topbar-nav-link {
        display: block;
        padding: 1rem 1.25rem;
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--cf-blue-deep);
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s ease;
        margin-bottom: 0.5rem;
        position: relative;
        overflow: hidden;
        opacity: 0;
        transform: translateX(20px);
    }

    .landing-topbar .topbar-nav.active .topbar-nav-link {
        opacity: 1;
        transform: translateX(0);
    }

    .landing-topbar .topbar-nav.active .topbar-nav-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    .landing-topbar .topbar-nav.active .topbar-nav-link:nth-child(2) {
        transition-delay: 0.15s;
    }

    .landing-topbar .topbar-nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(70, 174, 79, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .landing-topbar .topbar-nav-link:hover,
    .landing-topbar .topbar-nav-link:focus {
        background-color: rgba(70, 174, 79, 0.08);
        color: var(--cf-green);
        transform: translateX(8px);
    }

    .landing-topbar .topbar-nav-link:hover::before,
    .landing-topbar .topbar-nav-link:focus::before {
        left: 100%;
    }

    .landing-topbar .topbar-nav-link:last-child {
        margin-bottom: 0;
    }

    .landing-topbar .topbar-nav-separator {
        display: none;
    }

    .landing-topbar .topbar-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        width: 100%;
    }

    .landing-topbar .topbar-buttons .btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        font-weight: 600;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(20px);
    }

    .landing-topbar .topbar-nav.active .topbar-buttons .btn {
        opacity: 1;
        transform: translateY(0);
    }

    .landing-topbar .topbar-nav.active .topbar-buttons .btn:nth-child(1) {
        transition-delay: 0.2s;
    }

    .landing-topbar .topbar-nav.active .topbar-buttons .btn:nth-child(2) {
        transition-delay: 0.25s;
    }

    .landing-topbar .topbar-nav.active .topbar-buttons .btn:nth-child(3) {
        transition-delay: 0.3s;
    }

    .landing-topbar .topbar-buttons .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .hero-logo {
        height: 44px;
    }

    .landing-topbar {
        padding: 1rem 0;
    }

    .landing-topbar .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Scroll Animation Styles */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-down.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-in {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.zoom-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rotate-in.animate-in {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Staggered animation delays */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

/* Prevent animation on initial load for hero */
.hero,
.about-hero {
    opacity: 1;
    transform: none;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Hero Hook Card Styles */
.hero-hook-card {
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(70, 174, 79, 0.05), rgba(18, 97, 140, 0.05));
    border: 2px solid rgba(70, 174, 79, 0.15);
    box-shadow: 0 25px 60px rgba(10, 27, 51, 0.15);
    padding: 3.5rem 4rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.hero-hook-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cf-green), var(--cf-blue-deep), var(--cf-green));
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-hook-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(10, 27, 51, 0.2);
    border-color: rgba(70, 174, 79, 0.25);
}

.hero-hook-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-hook-logo {
    display: inline-block;
}

.hero-hook-logo-img {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 10px 25px rgba(10, 27, 51, 0.15));
    transition: transform 0.3s ease;
}

.hero-hook-card:hover .hero-hook-logo-img {
    transform: scale(1.05);
}

.hero-hook-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--cf-blue-deep);
    line-height: 1.2;
}

.hero-hook-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--cf-blue-deep);
    font-weight: 400;
}

.hero-hook-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cf-green), transparent);
    margin: 2rem auto;
    border-radius: 2px;
}

.hero-hook-tagline {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--cf-blue-deep);
    font-style: italic;
    font-weight: 500;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    border-left: 4px solid var(--cf-green);
    display: inline-block;
}

.hero-hook-tagline i {
    color: var(--cf-green);
}

/* About Us Page Styles */
.about-hero {
    background: url("../images/Banner-header-f7e78c279fc581063d99a8c2da9ebd05.png") center/cover no-repeat;
    min-height: 50vh;
    display: flex;
    align-items: center;
    color: #fff;
}

/* Page-specific hero backgrounds */
.about-hero-how-it-works {
    background: url("../images/banner3-013867ae58ad0b06c9bc5dd9772f93fc.png") center/cover no-repeat;
}

.about-hero-about {
    background: url("../images/banner3-013867ae58ad0b06c9bc5dd9772f93fc.png") center/cover no-repeat;
}

.about-content {
    background-color: var(--cf-gray);
}

.about-content .feature-card {
    border: none;
}

.about-content .feature-card h2,
.about-content .feature-card h3,
.about-content .feature-card h4 {
    color: var(--cf-blue-deep);
}

.about-content .lead {
    color: var(--cf-blue-deep);
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 40vh;
        padding: 3rem 0 !important;
    }

    .about-content .feature-card {
        padding: 2rem !important;
    }

    .about-content .display-6 {
        font-size: 2rem;
    }

    .hero-hook-card {
        padding: 2.5rem 2rem;
    }

    .hero-hook-logo-img {
        height: 80px;
    }

    .hero-hook-title {
        font-size: 1.75rem;
    }

    .hero-hook-lead {
        font-size: 1.1rem;
    }

    .hero-hook-tagline {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .user-area-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-hook-card {
        padding: 2rem 1.5rem;
    }

    .hero-hook-logo-img {
        height: 70px;
    }

    .hero-hook-title {
        font-size: 1.5rem;
    }

    .hero-hook-lead {
        font-size: 1rem;
    }

    .hero-hook-tagline {
        font-size: 0.9375rem;
        padding: 1rem 1.25rem;
    }

    .user-area-card {
        padding: 1.75rem 1.25rem;
    }
}

/* Ensure equal height for user area cards */
.row.g-4 > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Center cards in sections with 5 items (3-2 layout) */
.benefits-section .row.justify-content-center {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Make columns stretch to full height */
.benefits-section .row.justify-content-center > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Ensure stat-card elements maintain proper structure */
.benefits-section .stat-card > * {
    flex-shrink: 0;
}

.benefits-section .stat-card > p:last-child {
    margin-top: auto;
}

