/**
 * Homepage Styles - Dark Theme
 * SkoolBeez Landing Page
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --sb-dark-1: #0d1b2a;
    --sb-dark-2: #1b263b;
    --sb-dark-3: #415a77;
    --sb-yellow: #ffed00;
    --sb-yellow-dark: #ffc300;
    --sb-glass: rgba(255, 255, 255, 0.03);
    --sb-glass-border: rgba(255, 255, 255, 0.1);
    --sb-text-muted: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--sb-dark-1) 0%, var(--sb-dark-2) 50%, var(--sb-dark-3) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    margin-top: -80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(255, 237, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(79, 172, 254, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-honeycomb {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0-12l20-12V22L28 10 8 22v20l20 12z' fill='%23ffed00' fill-opacity='0.02'/%3E%3C/svg%3E");
    opacity: 0.6;
    animation: honeycombFloat 25s ease-in-out infinite;
}

@keyframes honeycombFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 237, 0, 0.1);
    border: 1px solid rgba(255, 237, 0, 0.3);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--sb-yellow);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 237, 0, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(255, 237, 0, 0); }
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--sb-yellow);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 237, 0, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    color: var(--sb-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-tagline {
    font-family: 'Shadows Into Light', cursive;
    font-size: 1.25rem;
    color: var(--sb-yellow);
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--sb-yellow) 0%, var(--sb-yellow-dark) 100%);
    border: none;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--sb-dark-2);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(255, 237, 0, 0.4);
    color: var(--sb-dark-2);
}

.hero-image-wrapper {
    position: relative;
    z-index: 10;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
    animation: heroImageFloat 6s ease-in-out infinite;
}

@keyframes heroImageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-bee {
    position: absolute;
    width: 60px;
    height: 60px;
    animation: beeFly 8s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.hero-bee-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-bee-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: -3s;
    width: 40px;
    height: 40px;
}

@keyframes beeFly {
    0%, 100% { transform: translate(0, 0) rotate(-5deg); }
    25% { transform: translate(20px, -15px) rotate(5deg); }
    50% { transform: translate(40px, 5px) rotate(-3deg); }
    75% { transform: translate(15px, 20px) rotate(8deg); }
}

/* ========================================
   Tagline Banner
   ======================================== */
.tagline-banner {
    background: linear-gradient(90deg, var(--sb-yellow) 0%, var(--sb-yellow-dark) 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.tagline-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 33L15 25V8l15-8 15 8v17l-15 8z' fill='%23000' fill-opacity='0.05'/%3E%3C/svg%3E");
}

.tagline-text {
    font-family: 'Shadows Into Light', cursive;
    font-size: 1.5rem;
    color: var(--sb-dark-2);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    background: linear-gradient(180deg, var(--sb-dark-2) 0%, var(--sb-dark-1) 100%);
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--sb-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    color: var(--sb-text-muted);
    max-width: 600px;
}

.feature-card {
    background: var(--sb-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sb-yellow), var(--sb-yellow-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 237, 0, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 237, 0, 0.2) 0%, rgba(255, 195, 0, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--sb-yellow);
}

.feature-card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.feature-card-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--sb-text-muted);
    line-height: 1.6;
    margin: 0;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--sb-yellow);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--sb-yellow);
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--sb-yellow-dark);
    gap: 12px;
}

/* ========================================
   Modules Tabs Section
   ======================================== */
.modules-section {
    background: var(--sb-dark-1);
    padding: 100px 0;
    position: relative;
}

.modules-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sb-glass-border), transparent);
}

.module-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
    padding: 0;
    list-style: none;
}

.module-tab-btn {
    flex: 1;
    min-width: 200px;
    padding: 20px 24px;
    background: var(--sb-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 16px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--sb-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.module-tab-btn:hover {
    background: rgba(255, 237, 0, 0.05);
    border-color: rgba(255, 237, 0, 0.2);
    color: #ffffff;
}

.module-tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 237, 0, 0.15) 0%, rgba(255, 195, 0, 0.1) 100%);
    border-color: var(--sb-yellow);
    color: var(--sb-yellow);
}

.module-tab-btn iconify-icon {
    font-size: 1.5rem;
}

.module-content {
    background: var(--sb-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 24px;
    overflow: hidden;
}

.module-image-wrapper {
    background: linear-gradient(135deg, rgba(255, 237, 0, 0.1) 0%, rgba(255, 195, 0, 0.05) 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.module-info {
    padding: 2.5rem;
}

.module-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.module-accordion {
    border: none;
}

.module-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--sb-glass-border);
}

.module-accordion .accordion-button {
    background: transparent;
    padding: 1.25rem 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    box-shadow: none;
}

.module-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

.module-accordion .accordion-button:not(.collapsed) {
    color: var(--sb-yellow);
    background: transparent;
}

.module-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(91%) sepia(69%) saturate(1000%) hue-rotate(359deg) brightness(103%) contrast(106%);
}

.module-accordion .accordion-body {
    padding: 0 0 1.25rem 0;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--sb-text-muted);
    line-height: 1.7;
}

/* ========================================
   Feature Marquee
   ======================================== */
.marquee-section {
    background: var(--sb-dark-1);
    padding: 60px 0;
    overflow: hidden;
}

.marquee-wrapper {
    position: relative;
}

.marquee-row {
    display: flex;
    gap: 20px;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-row-reverse {
    animation-direction: reverse;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--sb-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 12px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.marquee-item:hover {
    border-color: rgba(255, 237, 0, 0.3);
    transform: scale(1.05);
}

.marquee-item iconify-icon {
    font-size: 1.25rem;
    color: var(--sb-yellow);
}

.marquee-item span {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   SkoolBeez Card Section
   ======================================== */
.card-section {
    background: linear-gradient(135deg, var(--sb-dark-2) 0%, var(--sb-dark-1) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.card-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255, 237, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.card-image-wrapper {
    position: relative;
    z-index: 2;
}

.card-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.card-image:hover {
    transform: scale(1.02) rotate(-1deg);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.card-description {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    color: var(--sb-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-btn:hover {
    background: var(--sb-yellow);
    border-color: var(--sb-yellow);
    color: var(--sb-dark-2);
    transform: translateY(-3px);
}

/* ========================================
   Social Proof Banner
   ======================================== */
.social-proof-banner {
    background: linear-gradient(90deg, var(--sb-yellow) 0%, var(--sb-yellow-dark) 100%);
    padding: 24px 0;
    position: relative;
}

.social-avatars {
    display: flex;
    margin-right: 20px;
}

.social-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--sb-yellow);
    margin-left: -12px;
    object-fit: cover;
}

.social-avatar:first-child {
    margin-left: 0;
}

.social-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--sb-dark-2);
    margin: 0;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    background: var(--sb-dark-1);
    padding: 100px 0;
    position: relative;
}

.testimonial-card {
    background: var(--sb-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 237, 0, 0.2);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sb-yellow);
}

.testimonial-info h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin: 0 0 4px;
}

.testimonial-info p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    color: var(--sb-text-muted);
    margin: 0;
}

.testimonial-icon {
    width: 48px;
    height: 48px;
    background: var(--sb-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.testimonial-icon img {
    width: 24px;
    height: 24px;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    background: linear-gradient(180deg, var(--sb-dark-1) 0%, var(--sb-dark-2) 100%);
    padding: 100px 0;
}

.faq-accordion-dark .accordion-item {
    background: var(--sb-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-accordion-dark .accordion-button {
    background: transparent;
    padding: 1.5rem 2rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    box-shadow: none;
}

.faq-accordion-dark .accordion-button::after {
    filter: brightness(0) invert(1);
}

.faq-accordion-dark .accordion-button:not(.collapsed) {
    color: var(--sb-yellow);
    background: rgba(255, 237, 0, 0.05);
}

.faq-accordion-dark .accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(91%) sepia(69%) saturate(1000%) hue-rotate(359deg) brightness(103%) contrast(106%);
}

.faq-accordion-dark .accordion-body {
    padding: 0 2rem 1.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--sb-text-muted);
    line-height: 1.8;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--sb-yellow) 0%, var(--sb-yellow-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 33L15 25V8l15-8 15 8v17l-15 8z' fill='%23000' fill-opacity='0.05'/%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-logo {
    width: 100px;
    margin-bottom: 2rem;
    animation: ctaBounce 2s ease-in-out infinite;
}

@keyframes ctaBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--sb-dark-2);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    color: var(--sb-dark-3);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 992px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-image-wrapper {
        margin-top: 3rem;
    }
    
    .module-tabs {
        justify-content: center;
    }
    
    .module-tab-btn {
        min-width: 150px;
        flex: 0 1 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .module-content {
        border-radius: 16px;
    }
    
    .module-info {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}
