/* ================================================
   COMMUNITY LAUNCH — Landing Page Styles
   ================================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
    /* Colors */
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-card: #0d0d22;
    --bg-card-hover: #12122e;
    --bg-faq: rgba(15, 15, 40, 0.7);

    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --text-muted: #6a6a8e;

    --accent-green: #00e87b;
    --accent-green-glow: rgba(0, 232, 123, 0.25);
    --accent-blue: #4d7cff;
    --accent-blue-glow: rgba(77, 124, 255, 0.2);
    --accent-purple: #7b3fe4;
    --accent-purple-glow: rgba(123, 63, 228, 0.3);

    /* Skool brand colors */
    --skool-s: #1d4ed8;
    --skool-k: #dc2626;
    --skool-o1: #f59e0b;
    --skool-o2: #0ea5e9;
    --skool-l: #dc2626;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1100px;
    --container-padding: 0 24px;

    /* Borders & Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter Tight', 'Inter', -apple-system, sans-serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* ---- Utility ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
}

.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 5px 0 #15803d, 0 10px 20px rgba(34, 197, 94, 0.4);
    border: none;
    transform: translateY(0);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 7px 0 #15803d, 0 15px 25px rgba(34, 197, 94, 0.5);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(5px);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 0 0 #15803d, 0 3px 6px rgba(34, 197, 94, 0.4);
}

/* ================================================
   HEADER / NAVBAR
   ================================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--transition-medium);
}

#header.scrolled {
    background: rgba(5, 5, 16, 0.95);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero-section {
    padding: 24px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.premium-logo {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #b0b0b0;
    letter-spacing: -1.5px;
    margin-bottom: 0;
    text-transform: lowercase;
}

.premium-subtitle {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #1d4ed8;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1000px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.25) 0%, rgba(5, 5, 16, 0) 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-heading {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    max-width: 100%;
    margin: 0 auto 8px;
    color: var(--text-primary);
}

.text-gradient-green {
    color: #1b75ff;
    -webkit-text-fill-color: #1b75ff;
}

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

.skool-text {
    display: inline-block;
}

.skool-s { color: var(--skool-s); }
.skool-k { color: var(--skool-k); }
.skool-o1 { color: var(--skool-o1); }
.skool-o2 { color: var(--skool-o2); }
.skool-l { color: var(--skool-l); }

.hero-subtext {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: #94a3b8;
    max-width: 900px;
    margin: 0 auto 24px;
    line-height: 1.6;
    font-weight: 400;
}

/* ================================================
   VIDEO (inside hero)
   ================================================ */
.video-wrapper {
    position: relative;
    max-width: 975px;
    margin: 0 auto 40px;
}

.video-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--accent-purple-glow), var(--accent-blue-glow));
    border-radius: var(--radius-xl);
    filter: blur(40px);
    z-index: 0;
    opacity: 0.6;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.02); }
}

.video-container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-xl);
}

/* CTA Button */
.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-btn {
    padding: 10px 24px;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 4px 0 #15803d, 0 8px 15px rgba(34, 197, 94, 0.3);
    border: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 6px 0 #15803d, 0 12px 20px rgba(34, 197, 94, 0.4);
    color: #fff;
}

.cta-btn:active {
    transform: translateY(4px);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 0 0 #15803d, 0 2px 5px rgba(34, 197, 94, 0.3);
}

.cta-micro-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Pulse animation for CTA */
.pulse-btn {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 30px var(--accent-green-glow), 0 4px 15px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 0 50px var(--accent-green-glow), 0 0 80px rgba(0, 232, 123, 0.15), 0 4px 15px rgba(0,0,0,0.3); }
}

/* ================================================
   SOCIAL PROOF BAR
   ================================================ */
.social-proof-section {
    padding: 40px 0 60px;
}

.proof-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 30px 50px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    max-width: 700px;
    margin: 0 auto;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.proof-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proof-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}

/* ================================================
   CALENDLY SECTION
   ================================================ */
.calendly-section {
    padding: 0;
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 232, 123, 0.08);
    border: 1px solid rgba(0, 232, 123, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-green);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent-green); }
    50% { opacity: 0.4; box-shadow: 0 0 2px var(--accent-green); }
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.section-subtext {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 50px;
    line-height: 1.7;
}


.calendly-container {
    max-width: 1060px;
    margin: 0 auto;
    transition: height 0.3s ease;
}

.calendly-inline-widget {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ================================================
   FAQ SECTION
   ================================================ */
.faq-section {
    padding: 40px 24px 60px;
    text-align: center;
}

.faq-list {
    max-width: 700px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-faq);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--bg-card-hover);
}

.faq-item.active {
    border-color: rgba(0, 232, 123, 0.2);
    background: var(--bg-card-hover);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    font-size: 0.98rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-green);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform var(--transition-medium), color var(--transition-fast);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-answer p {
    padding: 0 26px 22px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-align: left;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ================================================
   FINAL CTA SECTION
   ================================================ */
.final-cta-section {
    padding: 40px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, var(--accent-purple-glow), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.final-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.skool-cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 14px 32px;
    background: #1c1c1c;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 1;
    position: relative;
}

.skool-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.skool-btn-top {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e2e8f0;
}

.skool-btn-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.skool-logo-img {
    display: inline-block;
    height: 18px;
    width: auto;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-email {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-email:hover {
    color: var(--accent-green);
}

/* ================================================
   SCROLL REVEAL ANIMATIONS
   ================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Tablets */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .navbar {
        padding: 14px 20px;
    }

    .logo {
        font-size: 0.95rem;
    }

    .nav-cta-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    .hero-section {
        padding: 130px 0 50px;
    }

    .hero-heading {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .proof-bar {
        gap: 24px;
        padding: 24px 30px;
        flex-wrap: wrap;
    }

    .proof-number {
        font-size: 1.5rem;
    }

    .proof-divider {
        display: none;
    }

    .cta-btn {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 0.9rem;
    }

    .faq-answer p {
        padding: 0 20px 18px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --section-padding: 56px 0;
        --container-padding: 0 16px;
    }

    .hero-section {
        padding: 110px 0 40px;
    }

    .hero-heading {
        font-size: 1.5rem;
    }

    .hero-subtext {
        font-size: 0.88rem;
    }

    .proof-bar {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .video-container {
        border-radius: var(--radius-md);
    }

    .video-container iframe {
        border-radius: var(--radius-md);
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .calendly-container {
        border-radius: var(--radius-md);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
