/*
 * ============================================
 * VIBRANT MINDS TECH — Main Website Styles
 * vibrantmindstech.com — Ultra Premium
 * ============================================
 */

/* ─── TOP BAR ─── */
.topbar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    height: 38px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: calc(var(--z-sticky) + 1);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.topbar-item svg {
    opacity: 0.6;
}

.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.topbar-social {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.topbar-social:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* ─── NAVBAR — Premium Overrides ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.06);
    z-index: var(--z-sticky);
    transition: all var(--duration-base) var(--ease-out);
}

.navbar.scrolled {
    height: 68px;
    box-shadow: 0 1px 20px rgba(var(--primary-rgb), 0.08);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Logo Image Styling */
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    z-index: calc(var(--z-sticky) + 3);
}

.navbar-logo img {
    height: 38px;
    /* Slightly smaller base height */
    width: auto;
    display: block;
    transition: all var(--duration-base) var(--ease-spring);
}

@media (max-width: 768px) {
    .navbar-logo img {
        height: 32px;
        /* Even smaller for mobile */
    }
}

.navbar-logo:hover img {
    transform: scale(1.02);
}

/* Center Nav */
.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease-spring);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

/* Right Actions */
.navbar-right {
    flex-shrink: 0;
}

.navbar-right .btn {
    padding: 10px 24px;
    font-size: 13px;
    gap: 8px;
}

/* Hide mobile CTA by default */
.mobile-nav-actions {
    display: none;
}

/* ─── HERO SECTION ─── */
.hero {
    position: relative;
    background: var(--white);
    overflow: hidden;
    padding: calc(var(--nav-height) + 60px) 0 80px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-12);
    align-items: center;
    width: 100%;
}

/* Geometric Decorations */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.03) 0%, transparent 70%);
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03) 0%, transparent 70%);
}

.hero-grid-pattern {
    position: absolute;
    top: 60px;
    right: 40px;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

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

/* ─── AUDIENCE SELECTOR — Premium Card Tabs ─── */
.audience-selector {
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}

.audience-selector-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.audience-selector-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Override hero-switcher-btn for card-style look */
.audience-selector-tabs .hero-switcher-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    background: var(--white);
    border: 1.5px solid var(--gray-150, #EAECF0);
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.25s var(--ease-spring);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 0;
    position: relative;
}

.audience-selector-tabs .hero-switcher-btn:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.1);
    transform: translateY(-2px);
}

.audience-selector-tabs .hero-switcher-btn.active {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.07) 0%, rgba(var(--accent-rgb), 0.02) 100%);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.18);
    color: var(--primary);
    transform: translateY(-1px);
}

.audience-tab-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.audience-selector-tabs .hero-switcher-btn.active .audience-tab-icon {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.35);
}

.audience-tab-text {
    text-align: left;
}

.audience-tab-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.audience-tab-desc {
    display: block;
    font-size: 11px;
    color: var(--gray-400);
    font-weight: 400;
    margin-top: 2px;
}

/* Progress bar */
.hero-switcher-progress {
    height: 2px;
    background: rgba(var(--primary-rgb), 0.06);
    border-radius: 1px;
    margin-top: 14px;
    overflow: hidden;
    max-width: 380px;
}

.hero-switcher-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 1px;
    transition: width 0.1s linear;
}

/* Hero Slides */
.hero-slide {
    display: none;
}

.hero-slide.active {
    display: block;
    animation: fadeInUp 0.5s var(--ease-out);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-4);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-title .highlight {
    position: relative;
    color: var(--accent);
    display: inline;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(var(--accent-rgb), 0.12);
    border-radius: 3px;
    z-index: -1;
}

.hero-subtitle {
    font-size: var(--text-md);
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: var(--space-6);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* ─── HERO VISUAL — Premium Card ─── */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeIn 0.9s var(--ease-out) 0.35s both;
}

.hero-premium-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 8px 16px rgba(0, 0, 0, 0.04),
        0 32px 64px rgba(var(--primary-rgb), 0.10);
    overflow: hidden;
}

/* macOS-style topbar */
.hero-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f7f7f8;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-card-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.hcd {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.hcd.red {
    background: #FF5F57;
}

.hcd.yellow {
    background: #FFBD2E;
}

.hcd.green {
    background: #28C840;
}

.hero-card-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    letter-spacing: 0.04em;
}

.hero-card-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28C840;
    box-shadow: 0 0 0 3px rgba(40, 200, 64, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(40, 200, 64, 0.2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(40, 200, 64, 0.08);
    }
}

/* Image */
.hero-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.hero-card-img-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-card-img-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 40%,
            rgba(var(--primary-rgb), 0.6) 100%);
}

/* Floating badge inside image */
.hero-card-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 100px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-card-badge svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Thumbnail strip below main image */
.hero-card-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px;
    background: #f4f5f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-card-thumb {
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.hero-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hero-card-thumb:hover img {
    transform: scale(1.06);
}

.hero-card-thumb-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 6px 5px;
    text-align: center;
}

/* Stats footer */
.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 24px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.02), rgba(var(--primary-rgb), 0.01));
}

.hero-card-stat {
    text-align: center;
    flex: 1;
}

.hero-card-stat-num {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-card-stat-lbl {
    font-size: 10px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.hero-card-stat-sep {
    width: 1px;
    height: 32px;
    background: rgba(0, 0, 0, 0.07);
    flex-shrink: 0;
}

/* Floating glassmorphism cards */
.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: float 5s ease-in-out infinite;
}

.hero-float-card.top-right {
    top: var(--space-6);
    right: calc(-1 * var(--space-6));
    animation-delay: 0s;
}

.hero-float-card.bottom-left {
    bottom: var(--space-8);
    left: calc(-1 * var(--space-6));
    animation-delay: 2.5s;
}

.hero-float-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-float-icon-wrap.orange {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
}

.hero-float-icon-wrap.blue {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-light);
}

.hero-float-value {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.hero-float-label {
    font-size: 11px;
    color: var(--gray-400);
    font-weight: 500;
}

/* ─── PARTNERS / MARQUEE SECTION ─── */
.partners-section {
    padding: var(--space-12) 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.partners-header {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.partners-avatars {
    display: flex;
}

.partners-avatars img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 3px solid var(--white);
    margin-left: -12px;
    object-fit: cover;
}

.partners-avatars img:first-child {
    margin-left: 0;
}

.partners-info strong {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--primary);
}

.partners-info p {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* ─── PLATFORMS SECTION ─── */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

/* ─── STATS STRIP ─── */
.stats-strip {
    background: var(--primary);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
    z-index: 2;
}

.stats-strip .stat-number {
    color: var(--white);
    font-size: var(--text-4xl);
}

.stats-strip .stat-label {
    color: rgba(255, 255, 255, 0.6);
}

.stats-strip .stat-divider {
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: var(--space-3) auto;
}

/* ─── WHY CHOOSE US ─── */
.feature-card {
    padding: 24px;
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    transition: all var(--duration-slow) var(--ease-out);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.02);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.02), transparent);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(var(--accent-rgb), 0.12);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ─── TESTIMONIALS SECTION ─── */
.testimonials-marquee-wrapper {
    overflow: hidden;
    position: relative;
    padding: var(--space-6) 0 var(--space-10);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.testimonials-marquee-wrapper::before,
.testimonials-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), transparent);
}

.testimonials-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--white), transparent);
}

.testimonials-track {
    display: flex;
    gap: var(--space-8);
    width: max-content;
    animation: marquee 50s linear infinite;
    padding: var(--space-4) 0;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonials-track .testimonial-card {
    width: 420px;
    flex-shrink: 0;
}

/* ─── CTA SECTION ─── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease-in-out infinite;
    padding: var(--space-20) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

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

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-lg);
    max-width: 560px;
    margin: 0 auto var(--space-10);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-20) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    margin-top: var(--space-4);
    max-width: 320px;
    line-height: 1.8;
}

.footer-heading {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.footer-contact-icon {
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-6) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.35);
}

.footer-socials {
    display: flex;
    gap: var(--space-3);
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* ─── EVENTS SECTION ─── */
.events-marquee-wrapper {
    overflow: hidden;
    position: relative;
    padding: var(--space-4) 0 var(--space-8);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.events-marquee-wrapper::before,
.events-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}

.events-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-section-alt, #F8F9FC), transparent);
}

.events-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-section-alt, #F8F9FC), transparent);
}

.events-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: eventsScroll 40s linear infinite;
    padding: var(--space-4) 60px;
}

.events-track:hover {
    animation-play-state: paused;
}

@keyframes eventsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Event Card */
.event-card {
    width: 320px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-rgb), 0.07);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.06);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.14);
    border-color: rgba(var(--accent-rgb), 0.2);
}

/* Card Image */
.event-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.event-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.event-card:hover .event-card-img-wrap img {
    transform: scale(1.06);
}

/* Status Badge */
.event-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.event-badge-live {
    background: #EF4444;
    color: #fff;
    animation: pulseBadge 2s ease-in-out infinite;
}

.event-badge-hot {
    background: linear-gradient(135deg, var(--accent), #FF9A5C);
    color: #fff;
}

@keyframes pulseBadge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

/* Category Tag */
.event-card-category {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Card Body */
.event-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--gray-500);
    font-weight: 500;
}

.event-mode {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 100px;
}

.event-mode-online {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.event-mode-offline {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

.event-mode-hybrid {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
}

.event-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-desc {
    font-size: 12.5px;
    color: var(--gray-500);
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.06);
}

.event-organizer {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--gray-400);
}

.event-seats {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent);
}

/* ─── EVENT MODAL ─── */
.event-modal {
    max-width: 620px;
    padding: 0;
    overflow: hidden;
}

.event-modal-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.event-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-modal-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(var(--primary-rgb), 0.7) 100%);
}

.event-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--primary);
    transition: all 0.2s ease;
    z-index: 3;
}

.event-modal-close:hover {
    background: var(--white);
    transform: scale(1.1);
}

.event-modal-category-badge {
    position: absolute;
    bottom: 16px;
    left: 20px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
}

.event-modal-body {
    padding: 24px 28px 28px;
}

.event-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.event-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.event-modal-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 500;
}

.event-modal-meta-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

.event-modal-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.event-modal-details {
    background: var(--bg-section-alt, #F8F9FC);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.event-detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.event-detail-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
}

.event-detail-value {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary);
}

.event-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1024px) {
    .hero {
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
        padding: 0;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2rem, 1.5rem + 4vw, 3rem);
        margin-bottom: var(--space-4);
    }

    .hero-switcher-track {
        justify-content: center;
    }

    .hero-switcher-progress {
        margin: var(--space-3) auto 0;
    }

    .hero-subtitle {
        margin: 0 auto var(--space-8);
    }

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

    .hero-visual {
        order: -1;
        /* Image first on tablet */
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-float-card.top-right {
        right: var(--space-2);
    }

    .hero-float-card.bottom-left {
        left: var(--space-2);
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 20px);
        padding-bottom: 40px;
    }

    /* On mobile: content (tabs) first, image second */
    .hero-inner {
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
        text-align: center;
    }

    .hero-content {
        order: 1;
        /* Audience tabs + text on top */
    }

    .hero-visual {
        order: 2;
        /* Image card below text */
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    /* Compact the hero card image for mobile */
    .hero-card-img-wrap img {
        height: 200px;
        object-fit: cover;
    }

    /* Hide thumbnails & stats footer on mobile to save space */
    .hero-card-thumbs {
        display: none;
    }

    .hero-card-footer {
        padding: 14px 12px;
    }

    .hero-card-stat-num {
        font-size: 16px;
    }

    .hero-card-stat-lbl {
        font-size: 8px;
    }

    .hero-card-stat-sep {
        height: 24px;
    }

    /* Audience selector centered on mobile */
    .audience-selector {
        text-align: left;
    }

    .hero-float-card {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .testimonials-track .testimonial-card {
        min-width: 300px;
    }

    /* navbar already top:0 */

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 28px;
        cursor: pointer;
        padding: 8px;
        z-index: var(--z-overlay);
    }

    .nav-toggle span {
        width: 100%;
        height: 2.5px;
        background: var(--primary);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .navbar-center {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        /* More standard width */
        height: 100vh;
        background: var(--white);
        z-index: calc(var(--z-sticky) + 2);
        transition: right 0.4s var(--ease-out);
        padding: 100px var(--space-6) var(--space-8);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 32px;
        height: 32px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: calc(var(--z-sticky) + 5);
        margin-left: auto;
    }

    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .navbar-center.open {
        right: 0;
    }

    .mobile-nav-actions {
        display: block;
        margin-top: auto;
        /* Push CTA to bottom of menu */
        padding-top: var(--space-6);
        border-top: 1px solid var(--gray-100);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-link {
        padding: 16px 20px;
        font-size: 18px;
        /* Larger for mobile */
        font-weight: 600;
        color: var(--primary) !important;
        /* Force visibility */
        border-radius: var(--radius-md);
        background: transparent;
        display: block;
        width: 100%;
    }

    .nav-link.active {
        background: rgba(var(--accent-rgb), 0.08);
        color: var(--accent) !important;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-right {
        display: none;
    }

    /* Fix Audience Selector for Mobile */
    .audience-selector-tabs {
        justify-content: center;
        gap: 8px;
    }

    .audience-selector-tabs .hero-switcher-btn {
        padding: 10px 14px;
        border-radius: 12px;
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .audience-tab-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .audience-tab-icon svg {
        width: 16px;
        height: 16px;
    }

    .audience-tab-name {
        font-size: 13px;
    }

    .audience-tab-desc {
        display: none;
        /* Hide description on mobile to save space */
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-switcher-track {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .hero-switcher-indicator {
        display: none;
    }

    .hero-switcher-btn.active {
        background: var(--white);
        box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.1);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}