/* ClubGuru marketing stylesheet - derived from style.css, royal-blue palette. Do NOT edit style.css. Phase: ClubGuru public site. */
/* Reset & Base Styles */
:root {
    /* Color Palette - Rich Royal Blue & Gold (ClubGuru) */
    --blue-900: #0a1f3c;   /* darkest navy */
    --blue-850: #0d2950;
    --blue-800: #103464;
    --blue-700: #1d4ed8;   /* royal blue - primary brand (matches in-app ClubGuru) */
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-50:  #dbeafe;   /* pale blue tint */
    --blue-light: #eff6ff;

    --gold-primary: #d4af37; /* Rich Gold accent (shared sibling look) */
    --gold-light: #fbeea1;
    --gold-dark: #aa8c2c;
    
    --bg-color: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.gold-text {
    color: var(--gold-primary);
}

/* Utilities */
.overflow-hidden {
    overflow: hidden;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--blue-700);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: var(--blue-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--blue-800);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 2px solid var(--blue-800);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--blue-50);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-gold {
    background-color: var(--gold-primary);
    color: var(--blue-900);
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-text {
    font-weight: 600;
    color: white;
    transition: var(--transition);
}

.navbar.scrolled .btn-text {
    color: var(--text-main);
}

.btn-text:hover {
    color: var(--gold-primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    /* Brushed-metal gold banner (Option 4) */
    background: linear-gradient(115deg, #a5801f 0%, #e8c84f 38%, #f6e8ad 52%, #cba535 70%, #a5801f 100%);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2.25rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: white;
    transition: var(--transition);
}

.navbar.scrolled .brand {
    color: var(--blue-900);
}

/* On the gold banner the wordmark accent goes navy (gold-on-gold otherwise) */
.navbar.scrolled .gold-text {
    color: var(--blue-900);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--gold-primary);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--blue-700);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}


/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background-color: var(--blue-900);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -5%; /* Prevent edge bleeding during scale */
    background-image: url('../assets/cg_hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.9;
    animation: cinematic-zoom 25s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 22, 46, 0.1) 0%, rgba(7, 22, 46, 0.95) 100%);
    z-index: 1;
}

@keyframes cinematic-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Abstract Background Blobs - Raise Z-index so they sit above the overlay */
.gradient-blob {
    z-index: 2;
}
.hero-text .hero-title {
    font-size: 4rem;
    margin: 1.5rem 0;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--blue-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-text .btn-secondary {
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.hero-text .btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
}

.inline-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-light);
}

/* Trust Avatars */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--blue-900);
    margin-left: -12px;
    background-size: cover;
    background-position: center;
}

.avatar:first-child { margin-left: 0; }
.avatar.i1 { background: linear-gradient(135deg, white, var(--blue-light)); }
.avatar.i2 { background: linear-gradient(135deg, var(--gold-light), var(--gold-primary)); }
.avatar.i3 { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); border-color: var(--gold-primary); }

.trust-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

/* Glass Mockup Wrapper */
.glass-mockup-wrapper {
    position: relative;
}

.mockup-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: var(--text-main);
}

.floating-metric {
    position: absolute;
    top: 10%;
    right: -10%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.floating-ticket {
    position: absolute;
    bottom: 20%;
    left: -10%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.metric-icon {
    font-size: 1.5rem;
    background: var(--blue-50);
    padding: 0.5rem;
    border-radius: 50%;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--blue-900);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.float-anim-1 { animation: float 6s infinite ease-in-out; }
.float-anim-2 { animation: float 7s infinite ease-in-out reverse; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--blue-850) 0%, var(--blue-800) 100%);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--blue-900);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.feature-img-wrapper {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
    background-color: var(--blue-light);
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .feature-img {
    transform: scale(1.05);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--blue-900);
}


.features-section .section-header h2 {
    color: white !important;
}
.features-section .section-header p {
    color: rgba(255,255,255,0.85) !important;
}

/* Highlighted Events */
.events-highlight {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--blue-800) 0%, var(--blue-700) 100%);
    color: rgba(255,255,255,0.85);
}

.events-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.events-content h2 {
    font-size: 3rem;
    margin: 1rem 0;
    color: white;
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-icon {
    background: var(--blue-700);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.events-visual {
    position: relative;
}

.event-cards-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.event-card-ui {
    position: absolute;
    width: 80%;
    padding: 2rem;
    transition: var(--transition);
}

.event-card-ui.eco-event {
    top: 0;
    right: 0;
    z-index: 2;
}

.event-card-ui.youth-event {
    bottom: 0;
    left: 0;
    z-index: 1;
    transform: scale(0.95);
    opacity: 0.8;
}

.event-card-ui:hover {
    transform: translateY(-5px) scale(1.02);
    z-index: 3;
    opacity: 1;
}

.event-ui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.event-ui-header h4 {
    font-size: 1.25rem;
}

.event-status {
    background: var(--blue-light);
    color: var(--blue-700);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.progress-bar-ui {
    height: 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gold-primary);
    border-radius: 4px;
}

.event-ui-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Partner Callout */
.partner-callout {
    padding: 6rem 0;
    background-color: var(--blue-800);
    color: white;
}

.partner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-badge {
    margin-bottom: 1rem;
    border-color: rgba(255, 255, 255, 0.3);
}

.partner-text {
    flex: 1;
}

.partner-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.partner-text p {
    font-size: 1.125rem;
    color: var(--blue-light);
    max-width: 600px;
}

@media (max-width: 992px) {
    .partner-container {
        flex-direction: column;
        text-align: center;
    }
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--blue-850);
    color: white;
    text-align: center;
}

.cta-container h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-container p {
    font-size: 1.25rem;
    color: var(--blue-light);
    margin-bottom: 3rem;
}

.cta-sub {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

/* Footer */
footer {
    background: #06182e;
    color: white;
    padding: 6rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .brand {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* Scroll Animations */
.reveal, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(50px); }
.reveal-right { transform: translateX(-50px); }

.reveal.active, .reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Disable horizontal slide-ins on mobile phones to prevent viewport overflow */
@media (max-width: 768px) {
    .reveal-left, .reveal-right {
        transform: none !important;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}


/* Event Overlay Card (Safari Mockup) */
.event-overlay-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 1px solid rgba(0,0,0,0.02);
}
.mockup-date {
    color: var(--blue-600);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}
.mockup-title {
    color: var(--blue-900);
    font-size: 1.4rem;
    margin-bottom: 0;
    line-height: 1.2;
}
.mockup-action {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
}
.mockup-buy-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    display: block;
    text-align: center;
    width: 100%;
}
@media (max-width: 768px) {
    .event-overlay-card {
        padding: 0.75rem;
        bottom: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
    .mockup-date {
        font-size: 0.7rem;
        margin-bottom: 0.15rem;
    }
    .mockup-title {
        font-size: 1.1rem;
    }
    .mockup-action {
        padding-top: 0.75rem;
        margin-top: 0.75rem;
    }
    .mockup-buy-btn {
        padding: 0.35rem 1rem;
        font-size: 0.85rem;
    }

    .logo-svg {
        width: 28px;
        height: 28px;
    }
    /* Darken the overlay specifically on mobile to ensure white text pops */
    .hero::after {
        background: linear-gradient(180deg, rgba(7, 22, 46, 0.6) 0%, rgba(7, 22, 46, 0.95) 100%);
    }

    /* Hide the middle nav links on mobile, but KEEP the action buttons (Log In, Sign Up Free) visible */
    .nav-links {
        display: none;
    }
    
    /* Mobile navbar: brand on left, actions on right */
    .nav-container {
        justify-content: space-between;
    }
    
    /* Tighten the brand on mobile so the action buttons fit */
    .brand {
        font-size: 1.4rem;
    }
    .brand .logo-text {
        font-size: 1.4rem;
    }
    
    /* Tighten action buttons on mobile */
    .nav-actions {
        gap: 0.5rem;
    }
    .nav-actions .btn-text {
        padding: 0.5rem 0.6rem;
        font-size: 0.9rem;
    }
    .nav-actions .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .hero-text .hero-title {
        font-size: 3rem;
    }
}

/* On very narrow phones, hide the text "Log In" — keep just the blue Sign Up Free CTA */
@media (max-width: 420px) {
    .nav-actions .btn-text { display: none; }
}

.event-card-ui.ticket-card {
    top: 0;
    right: 0;
    z-index: 2;
    border-left: 5px solid var(--gold-primary);
}

.event-card-ui.auction-card {
    bottom: -20px;
    left: -20px;
    z-index: 1;
    transform: scale(0.95);
    opacity: 0.95;
    border-top: 5px solid var(--blue-900);
}

.ticket-header h4 {
    font-size: 1.5rem;
    color: var(--blue-900);
    margin: 0.5rem 0;
}

.ticket-type {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 1px;
}

.ticket-barcode {
    height: 45px;
    background: repeating-linear-gradient(90deg, 
        var(--blue-900) 0, var(--blue-900) 4px, 
        transparent 4px, transparent 8px, 
        var(--blue-900) 8px, var(--blue-900) 9px,
        transparent 9px, transparent 15px,
        var(--blue-900) 15px, var(--blue-900) 22px,
        transparent 22px, transparent 25px
    );
    opacity: 0.2;
    margin: 1.5rem 0;
    border-radius: 2px;
}

.bid-amount {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--blue-900);
    margin: 0.5rem 0;
}

.bid-action {
    background: var(--gold-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Pricing Section */
.pricing-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--blue-700) 0%, var(--blue-600) 100%);
    color: rgba(255,255,255,0.85);
}

.pricing-container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.pricing-content {
    flex: 1;
}

.pricing-content h2 {
    font-size: 3rem;
    margin: 1.5rem 0;
    color: white;
}

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

.checkout-ui {
    width: 100%;
    max-width: 460px;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 8px solid var(--blue-700);
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkout-header h4 {
    color: var(--blue-900);
    font-size: 1.25rem;
}

.secure-badge {
    background: var(--blue-light);
    color: var(--blue-700);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.border-bottom {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.border-top {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.checkout-amount, .checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-amount .label, .checkout-total .label {
    font-weight: 500;
    color: var(--text-muted);
}

.amount-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-900);
}

.total-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--blue-900);
}

.tipping-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.tipping-header .label {
    font-weight: 600;
    color: var(--blue-900);
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--blue-700);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    right: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.tipping-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tip-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.tip-btn {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    padding: 0.75rem 0;
    text-align: center;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.tip-btn.active {
    background: var(--blue-50);
    border-color: var(--blue-700);
    color: var(--blue-700);
}

.btn-checkout {
    display: block;
    width: 100%;
    background: var(--gold-primary);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-checkout:hover {
    background: #d4a017;
}

@media (max-width: 992px) {
    .pricing-container {
        flex-direction: column-reverse;
        gap: 4rem;
    }
}

/* Gala Event Section */
.gala-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--blue-900) 0%, var(--blue-850) 100%);
    color: rgba(255,255,255,0.85);
}

.gala-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gala-content h2 {
    font-size: 3rem;
    margin: 1.5rem 0;
    color: white;
}

.gala-image-card {
    padding: 0.5rem;
    width: 100%;
}

.gala-image-card .feature-img {
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: block;
}

@media (max-width: 992px) {
    .gala-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--blue-600) 0%, var(--blue-500) 100%);
    color: white;
    position: relative;
    z-index: 1;
}

.steps-list {
    margin-top: 3rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--gold-primary);
    color: var(--blue-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.step-text h4 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: white;
}

.step-text p {
    color: var(--blue-light);
    font-size: 1.125rem;
    max-width: 90%;
}

/* Marketing CRM Section */
.marketing-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--blue-500) 0%, var(--blue-700) 50%, var(--blue-900) 100%);
    color: white;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .marketing-visual { margin-top: 3rem; }
}

/* Dream Image Marketing Hover & Testimonials */
.dream-img-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-lg);
}

.dream-img-wrapper .feature-img,
.dream-img-wrapper .browser-mockup {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease !important;
}

.dream-img-wrapper:hover .feature-img,
.dream-img-wrapper:hover .browser-mockup {
    transform: scale(1.12) !important;
}

.dream-testimonial {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--blue-900);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-left: 4px solid var(--gold-primary);
    z-index: 10;
}

.dream-img-wrapper:hover .dream-testimonial {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Pricing Page Specifics */
.pricing-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-tier {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.1);
}

.pro-tier {
    border: 2px solid var(--gold-primary);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.pro-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-primary);
    color: var(--blue-900);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-header {
    text-align: left;
    margin-bottom: 2rem;
}

.tier-header h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.pro-tier .tier-header h2 {
    color: var(--blue-900);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue-900);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--blue-900);
}

.price .frequency {
    color: var(--text-muted);
    font-weight: 500;
}

.tier-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tier-action {
    margin-bottom: 2.5rem;
}

.tier-features .features-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.check-list.dark-text li {
    color: var(--text-muted);
    font-size: 0.95rem;
    align-items: flex-start;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.gold-check {
    background: var(--gold-primary);
    color: var(--blue-900);
}

.relative {
    position: relative;
}

.w-100 {
    width: 100%;
}

/* Pricing Calculator Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius-sm);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    color: #3b82f6;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    font-family: var(--font-body);
}

.modal-body {
    padding: 2rem;
}

.calc-input-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

#calc-contacts-input {
    flex: 1;
    max-width: 300px;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    background-color: #fef08a;
    color: var(--text-main);
    font-size: 1rem;
}

#calc-contacts-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.calc-action-btn {
    background-color: #65a34e;
    color: white;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.calc-action-btn:hover {
    background-color: #558a42;
    transform: none;
    box-shadow: none;
}

.calc-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
}

.calc-table th, .calc-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.calc-table th {
    background: white;
    font-weight: 800;
    color: var(--text-main);
}

.calc-table th:last-child, .calc-table td:last-child {
    text-align: center;
    border-left: 1px solid #e5e7eb;
}

.calc-table tfoot td {
    background: #374151;
    color: white;
    font-weight: 600;
    border-bottom: none;
}

.modal-footer {
    padding: 1rem 2rem;
    text-align: right;
    border-top: 1px solid #e5e7eb;
    background: white;
}

#close-modal-btn {
    background: #888;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}

#close-modal-btn:hover {
    background: #666;
    transform: none;
}

/* Toggle Switch */
.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.toggle-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}
.toggle-label.active {
    color: var(--blue-900);
    font-weight: 800;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--blue-600);
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider {
    background-color: var(--gold-primary);
}
input:checked + .slider:before {
    transform: translateX(24px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
.modal-desc-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 90%;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}
.emerald-title {
    color: var(--blue-600) !important;
}

/* Casino Graphic Placeholder */
.casino-footer {
    width: 100%;
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
}
.poker-chips-img {
    width: 100%;
    max-width: 1100px;
    height: 200px; /* Crops image horizontally like a banner */
    object-fit: cover;
    object-position: center 60%;
    opacity: 0.85;
    transition: var(--transition);
    /* Feather edges to blend into background */
    -webkit-mask-image: radial-gradient(ellipse at center, black 55%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 55%, transparent 100%);
}
.poker-chips-img:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
}

/* =========================================
   FEATURED EVENTS CARDS (DASHBOARD STYLE)
   ========================================= */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.featured-card {
    display: flex;
    flex-direction: column;
    background: var(--blue-850);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--gold-primary);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: var(--gold-primary);
}

.featured-hero {
    height: 140px;
    background-size: cover;
    background-position: center;
}

.featured-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.featured-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.featured-badge {
    background: rgba(37, 99, 235, 0.18);
    color: #3b82f6;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.featured-stats {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.75rem;
    margin-top: auto;
}

.stat-main {
    display: flex;
    flex-direction: column;
}

.stat-main .stat-val {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.stat-main .stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.stat-alt {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stat-alt .stat-val {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.stat-alt .stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.featured-progress-bg {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

/* Tooltip */
.featured-progress-bg::after {
    content: attr(data-sold);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    color: var(--blue-900);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 10;
}
.featured-progress-bg:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.featured-progress-fill {
    height: 100%;
    background: linear-gradient(180deg, #fce68d 0%, #d4af37 50%, #b8860b 100%);
    border-radius: 5px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 0 0 8px rgba(212, 175, 55, 0.5);
    position: relative;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================ */
/* FundGuru Mobile Menu (hamburger pattern for marketing pages)  */
/* Injected by js/mobile-menu.js                                 */
/* ============================================================ */

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    align-items: center;
    transition: background 0.15s ease, color 0.15s ease;
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.05); color: #d4af37; }
.mobile-menu-btn:focus-visible { outline: 2px solid #d4af37; outline-offset: 2px; }
/* When the navbar scrolls (background becomes white), flip hamburger to dark so it stays visible */
.navbar.scrolled .mobile-menu-btn { color: var(--text-main); }
.navbar.scrolled .mobile-menu-btn:hover { background: rgba(0,0,0,0.05); color: #d4af37; }

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mobile-menu-overlay.open { display: block; opacity: 1; }

.mobile-menu-panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: linear-gradient(180deg, #0a1f3c 0%, #06182e 100%);
    z-index: 9999;
    padding: 4rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0,0,0,0.5);
    overflow-y: auto;
    color: #fff;
}
.mobile-menu-panel.open { transform: translateX(0); }

.mobile-menu-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    transition: color 0.18s, background 0.18s;
}
.mobile-menu-close:hover { color: #d4af37; background: rgba(255,255,255,0.05); }

.mobile-menu-panel .menu-section-label {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 1.4rem 0 0.4rem;
    font-weight: 700;
}
.mobile-menu-panel .menu-section-label:first-of-type { margin-top: 0; }

.mobile-menu-panel a {
    display: block;
    padding: 0.85rem 0;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 1.05rem;
    transition: color 0.18s, padding-left 0.18s;
    font-family: inherit;
}
.mobile-menu-panel a:hover { color: #d4af37; padding-left: 0.5rem; }

.mobile-menu-panel a.mm-btn-text {
    text-align: center;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 0.85rem;
    margin-top: 0.6rem;
}
.mobile-menu-panel a.mm-btn-text:hover { padding-left: 0.85rem; background: rgba(255,255,255,0.05); }

.mobile-menu-panel a.mm-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f0d27a 100%);
    color: #0a1f3c;
    text-align: center;
    margin-top: 0.6rem;
    border-radius: 8px;
    border-bottom: none;
    padding: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212,175,55,0.25);
}
.mobile-menu-panel a.mm-btn-primary:hover {
    color: #0a1f3c;
    padding-left: 1rem;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212,175,55,0.35);
}

body.menu-locked { overflow: hidden; }

@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .nav-actions { display: none !important; }
    .mobile-menu-btn {
        display: inline-flex;
        /* Fixed to viewport — bulletproof against any navbar/page overflow */
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001; /* above the navbar (z-index: 1000) */
        background: rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border-radius: 8px;
    }
    /* Subtle visibility tweaks for the fixed pill */
    .mobile-menu-btn:hover { background: rgba(0, 0, 0, 0.55); color: #d4af37; }
    /* Defensive: prevent horizontal layout overflow on mobile (fixes the rotation snap-back issue) */
    html, body { max-width: 100vw; overflow-x: hidden; }
}

/* ============================================================ */
/* ClubGuru module spotlight sections + icon overview grid      */
/* ============================================================ */

/* Quick-scan module overview grid (icon tiles, no photos) */
.cg-modgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
/* Phase 4.5gm — 10 tiles in a 4-wide grid: Sponsors + FundGuru centered as a pair in the last row. */
.cg-modgrid .cg-modtile:nth-child(9) { grid-column: 2; }
.cg-modgrid .cg-modtile:nth-child(10) { grid-column: 3; }
@media (max-width: 900px) { .cg-modgrid { grid-template-columns: repeat(2, 1fr); } .cg-modgrid .cg-modtile:nth-child(9), .cg-modgrid .cg-modtile:nth-child(10) { grid-column: auto; } }
@media (max-width: 520px) { .cg-modgrid { grid-template-columns: 1fr; } }

/* Phase 4.5gm — FundGuru integration tile (gold sister-product accent) */
.cg-modtile--fg { border-color: rgba(212,175,55,0.45); background: linear-gradient(180deg, rgba(212,175,55,0.10), rgba(255,255,255,0.04)); }
.cg-modtile--fg:hover { border-color: var(--gold-primary); box-shadow: 0 18px 40px rgba(170,140,44,0.30); }
.cg-modtile--fg .cg-ico { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%); color: var(--blue-900); box-shadow: 0 8px 20px rgba(212,175,55,0.35); }
.cg-fg-pill { display: inline-block; margin-top: 0.85rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; color: var(--gold-primary); background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.40); padding: 4px 12px; border-radius: 999px; }
.cg-fg-pill i { font-size: 0.62rem; margin-left: 3px; }

.cg-modtile {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.cg-modtile:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    background: rgba(255,255,255,0.06);
}
.cg-modtile .cg-ico {
    width: 60px; height: 60px;
    margin: 0 auto 1.1rem;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #fff;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
    box-shadow: 0 8px 20px rgba(29,78,216,0.35);
}
.cg-modtile h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.4rem; }
.cg-modtile p  { color: rgba(255,255,255,0.72); font-size: 0.9rem; line-height: 1.5; }

/* Full-width alternating spotlight sections (photo + copy) */
.cg-mod {
    padding: 8rem 0;
    color: rgba(255,255,255,0.85);
    position: relative;
    z-index: 1;
}
.cg-mod h2 { font-size: 3rem; margin: 1rem 0; color: #fff; }
.cg-mod .feature-img {
    display: block;
    width: 110%;
    transform: scale(1.04);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%);
            mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%);
}
/* Reverse layout: image on the LEFT for alternating rows */
.cg-mod.cg-rev .gala-container > .gala-content { order: 2; }
.cg-mod.cg-rev .gala-container > .gala-visual  { order: 1; }
@media (max-width: 992px) {
    .cg-mod.cg-rev .gala-container > .gala-content,
    .cg-mod.cg-rev .gala-container > .gala-visual { order: initial; }
}

/* Smooth navy -> royal -> navy gradient journey down the page */
.cg-mod--1 { background: linear-gradient(180deg, #0a1f3c 0%, #0d2950 100%); }
.cg-mod--2 { background: linear-gradient(180deg, #0d2950 0%, #103464 100%); }
.cg-mod--3 { background: linear-gradient(180deg, #103464 0%, #16439e 100%); }
.cg-mod--4 { background: linear-gradient(180deg, #16439e 0%, #1d4ed8 100%); }
.cg-mod--5 { background: linear-gradient(180deg, #1d4ed8 0%, #2563eb 100%); }
.cg-mod--6 { background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%); }
.cg-mod--7 { background: linear-gradient(180deg, #1d4ed8 0%, #103464 100%); }
.cg-mod--8 { background: linear-gradient(180deg, #103464 0%, #0a1f3c 100%); }
.cg-mod--9 { background: linear-gradient(180deg, #0a1f3c 0%, #103464 55%, #0a1f3c 100%); } /* Phase 4.5bs — Sponsors band: gentle swell, lands back on navy */

.cg-mod .check-icon { background: var(--gold-primary); color: var(--blue-900); }


/* ===== Phase 4.5gn — "Process meets AI" constellation (replaces the module grid) ===== */
.cgai-eyebrow{display:inline-block;background:rgba(212,175,55,.14);color:var(--gold-primary);border:1px solid rgba(212,175,55,.42);padding:7px 18px;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin-bottom:16px;}
.cgai-wrap{margin-top:1.5rem;}
.cgai-stage{position:relative;width:min(900px,100%);aspect-ratio:900/660;margin:0 auto;}
.cgai-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;}
.cgai-wires .cgai-base{stroke:rgba(90,130,245,.22);stroke-width:1.4;transition:stroke .25s;}
.cgai-wires .cgai-base.gold{stroke:rgba(212,175,55,.28);}
.cgai-wires .cgai-base.on{stroke:rgba(90,130,245,.65);}
.cgai-wires .cgai-base.gold.on{stroke:rgba(212,175,55,.78);}
.cgai-wires .cgai-flow{stroke:#5a82f5;stroke-width:2.4;stroke-linecap:round;fill:none;stroke-dasharray:2 15;opacity:.85;animation:cgai-flow 2.6s linear infinite;filter:drop-shadow(0 0 4px rgba(90,130,245,.7));}
.cgai-wires .cgai-flow.gold{stroke:var(--gold-primary);filter:drop-shadow(0 0 5px rgba(212,175,55,.75));}
.cgai-wires .cgai-flow.on{stroke-width:3.4;opacity:1;}
@keyframes cgai-flow{to{stroke-dashoffset:-170;}}
.cgai-brain{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:19.5%;aspect-ratio:1;min-width:150px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at 50% 38%,#26407a 0%,#16305f 55%,#0e2149 100%);border:1.5px solid rgba(212,175,55,.55);z-index:5;box-shadow:0 0 0 8px rgba(29,78,216,.10),0 0 60px rgba(29,78,216,.45),inset 0 0 30px rgba(90,130,245,.25);animation:cgai-breathe 3.4s ease-in-out infinite;}
@keyframes cgai-breathe{0%,100%{box-shadow:0 0 0 8px rgba(29,78,216,.10),0 0 55px rgba(29,78,216,.4),inset 0 0 30px rgba(90,130,245,.22);}50%{box-shadow:0 0 0 14px rgba(212,175,55,.10),0 0 85px rgba(29,78,216,.6),inset 0 0 34px rgba(90,130,245,.32);}}
.cgai-b-ic{font-size:2.4rem;color:var(--gold-light);filter:drop-shadow(0 0 10px rgba(212,175,55,.6));line-height:1;}
.cgai-b-ttl{font-family:'Outfit',sans-serif;font-weight:800;font-size:1.05rem;margin-top:7px;color:#fff;}
.cgai-b-sub{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-primary);margin-top:3px;}
.cgai-ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:26%;aspect-ratio:1;border-radius:50%;border:1.5px dashed rgba(212,175,55,.32);z-index:4;animation:cgai-spin 26s linear infinite;pointer-events:none;}
.cgai-ring.cgai-r2{width:31.5%;border-color:rgba(90,130,245,.2);animation:cgai-spin 40s linear infinite reverse;}
@keyframes cgai-spin{to{transform:translate(-50%,-50%) rotate(360deg);}}
.cgai-node{position:absolute;transform:translate(-50%,-50%);width:130px;padding:13px 12px 12px;border-radius:15px;text-align:center;z-index:6;text-decoration:none;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.11);backdrop-filter:blur(3px);transition:transform .25s,border-color .25s,background .25s,box-shadow .25s;}
.cgai-node:hover,.cgai-node:focus-visible{transform:translate(-50%,-50%) scale(1.08);border-color:#5a82f5;background:rgba(255,255,255,.09);box-shadow:0 14px 34px rgba(0,0,0,.42);outline:none;}
.cgai-node.on{transform:translate(-50%,-50%) scale(1.08);border-color:var(--gold-primary);box-shadow:0 14px 34px rgba(0,0,0,.45);}
.cgai-ic{width:44px;height:44px;margin:0 auto 8px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.15rem;color:#fff;background:linear-gradient(135deg,var(--blue-600),#1740b0);box-shadow:0 6px 16px rgba(29,78,216,.4);}
.cgai-lbl{display:block;font-size:.82rem;font-weight:600;color:#dbe6fb;}
.cgai-node.gold .cgai-ic{background:linear-gradient(135deg,var(--gold-light),var(--gold-primary));color:#3a2e05;box-shadow:0 6px 16px rgba(212,175,55,.45);}
.cgai-node.gold{border-color:rgba(212,175,55,.4);background:linear-gradient(180deg,rgba(212,175,55,.10),rgba(255,255,255,.05));}
.cgai-node.gold .cgai-lbl{color:var(--gold-light);}
.cgai-caps{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:28px auto 0;}
.cgai-cap{display:inline-flex;align-items:center;gap:9px;background:rgba(255,255,255,.05);border:1px solid rgba(212,175,55,.35);border-radius:999px;padding:10px 18px;font-weight:600;font-size:.92rem;color:#f0e6c6;}
.cgai-cap i{color:var(--gold-primary);}
@media (max-width:820px){
  .cgai-stage{width:100%;aspect-ratio:auto;height:auto;display:flex;flex-direction:column;align-items:center;gap:14px;padding-top:6px;}
  .cgai-wires,.cgai-ring{display:none;}
  .cgai-brain{position:static;transform:none;width:auto;min-width:0;aspect-ratio:auto;padding:22px 34px;border-radius:22px;margin-bottom:8px;}
  .cgai-stage::before{content:"";position:absolute;top:158px;bottom:26px;left:50%;width:2px;background:linear-gradient(#5a82f5,rgba(212,175,55,.5));transform:translateX(-50%);z-index:0;}
  .cgai-node{position:static;transform:none;width:min(360px,100%);display:flex;align-items:center;gap:14px;text-align:left;z-index:1;}
  .cgai-node:hover,.cgai-node:focus-visible,.cgai-node.on{transform:scale(1.03);}
  .cgai-ic{margin:0;}
  .cgai-lbl{display:inline;}
}
@media (max-width:520px){.cgai-node{width:100%;}}
@media (prefers-reduced-motion: reduce){.cgai-wires .cgai-flow{animation:none;stroke-dasharray:2 12;opacity:.6;}.cgai-brain{animation:none;}.cgai-ring{animation:none;}}
