/* Global Styles - Recognized Clutter / Antigravity Style */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* User Requested Dark Palette (Default) */
    --background: #070707;
    --surface: #111111;
    /* Slightly lighter black for cards */
    --surface-highlight: #1A1A1A;
    /* For hover states or specialized cards */

    --primary: #702ae0;
    --primary-light: #ba84fb;
    --accent: #df2fc4;

    --text-main: #f5f0f0;
    --text-body: #a1a1aa;
    --text-mono: #71717a;

    --border: #27272a;
    --grid-line: rgba(255, 255, 255, 0.05);

    --success: #10B981;

    /* Variables */
    --radius: 12px;
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text-body);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Utilities */
.font-mono {
    font-family: var(--font-mono);
}

.text-sm {
    font-size: 14px;
}

.text-xs {
    font-size: 12px;
}

.text-accent {
    color: var(--accent);
}

.bg-surface {
    background: var(--surface);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    background: rgba(112, 42, 224, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(112, 42, 224, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-main);
    border: 1px solid var(--border);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.btn-secondary:hover {
    border-color: var(--text-mono);
}

/* Header */
header {
    position: sticky;
    top: 20px;
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    background: rgba(17, 17, 17, 0.8);
    /* Translucent surface */
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 99px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.logo {
    font-weight: 800;
    font-size: 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    /* Fix vertical alignment with button */
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-light);
}

/* Sections */
section {
    padding: 100px 20px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 500px;
    color: var(--text-mono);
}

/* Hero Visual (Video Embed) */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px -10px rgba(112, 42, 224, 0.2);
    overflow: hidden;
    z-index: 2;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Optional overlay to tint video */
.video-wrapper .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 7, 7, 0) 0%, rgba(7, 7, 7, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    padding: 40px 0;
    background: var(--background);
    /* Match body bg */
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 60px 0;
}

.marquee-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-item {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.2s;
}

.marquee-item:hover {
    opacity: 1;
    filter: none;
}

.marquee-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    /* Turn black logos white for visibility on dark bg */
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.2s;
    background: transparent;
}

.marquee-item:hover img {
    /* Keep white but bright */
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* Ensure ionic icons in marquee inherit the purple color */



@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

.bento-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.bento-col-2 {
    grid-column: span 2;
}

.bento-row-2 {
    grid-row: span 2;
}

/* Special styling for the 'Global Reach' card (Tall) to ensure contrast */
.bento-item.global-reach-card {
    background: var(--surface-highlight);
    border-color: var(--border);
}

.bento-item.global-reach-card h3 {
    color: var(--text-main);
}

.bento-item.global-reach-card p {
    color: var(--text-body);
}



/* Testimonials */
#testimonials {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 300px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.testimonial-card .quote-icon {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-card .t-text {
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card .t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .t-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 14px;
}

.testimonial-card .t-role {
    font-size: 12px;
    color: var(--text-mono);
}

@media (min-width: 768px) {
    .testimonial-track {
        justify-content: center;
    }

    .testimonial-card {
        flex: 0 0 350px;
    }
}

/* Form Design - Technical */
.form-section {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.form-content {
    transition: filter 0.8s ease, opacity 0.8s ease;
}

.form-section.locked .form-content {
    filter: blur(8px);
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
}

.hoax-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.95);
    width: 90%;
    max-width: 380px;
    background: var(--surface);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    text-align: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.2s;
}

.form-section.locked .hoax-overlay {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.lock-icon-circle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    /* Lock icon remains white on purple */
    font-size: 28px;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 25px -5px rgba(112, 42, 224, 0.3);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

input,
select {
    width: 100%;
    padding: 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 14px;
    transition: all 0.2s;
    color: var(--text-main);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(112, 42, 224, 0.2);
    background: var(--surface);
}

label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
    color: var(--text-mono);
}

/* Orbs/Gradients */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.animated-circle {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(223, 47, 196, 0.3) 0%, rgba(112, 42, 224, 0.3) 100%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -2; /* Behind orbs */
    pointer-events: none;
    top: 30%;
    left: 70%;
    transform: translate(-50%, -50%);
    animation: floatAndGlow 15s ease-in-out infinite alternate;
}

@keyframes floatAndGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-40%, -60%) scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-60%, -40%) scale(0.9);
        opacity: 0.8;
    }
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(112, 42, 224, 0.15);
    /* Primary alpha */
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(223, 47, 196, 0.1);
    /* Accent pink alpha */
    bottom: 100px;
    right: 100px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 0;
    margin-top: 60px;
    color: var(--text-main);
}

/* Mobile Navigation Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 28px;
    cursor: pointer;
    z-index: 1001;
}

/* Responsive */
@media (max-width: 768px) {

    /* Header & Nav */
    header {
        top: 0;
        padding: 0;
        max-width: 100%;
        background: rgba(7, 7, 7, 0.9);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
    }

    nav {
        background: none;
        border: none;
        border-radius: 0;
        padding: 16px 20px;
        box-shadow: none;
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
        /* Shown when toggled */
        animation: slideDown 0.3s ease-out;
    }

    .nav-links a {
        font-size: 18px;
        color: var(--text-main);
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
        gap: 40px;
    }

    .hero h1 {
        font-size: 42px;
        /* Smaller font for mobile */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content>div[style*="display: flex"] {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        display: block;
        /* Show video on mobile */
        width: 100%;
        margin-top: 20px;
    }

    /* Bento Grid */
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-col-2,
    .bento-row-2 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-item {
        min-height: 200px;
        /* Ensure reasonable height */
    }

    /* Form */
    .form-section {
        padding: 30px 20px;
    }

    #leadForm>div {
        grid-template-columns: 1fr !important;
    }

    .input-group {
        grid-column: span 1 !important;
    }

    /* Footer */
    footer {
        padding: 40px 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Authentication */
.min-h-screen {
    min-height: 100vh;
    padding: 60px 20px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 10;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}

.auth-card .logo {
    justify-content: center;
    font-size: 24px;
    margin-bottom: 32px;
}

.auth-card .divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--text-mono);
    font-size: 12px;
    font-weight: 500;
}

.auth-card .divider::before,
.auth-card .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.auth-card .divider::before {
    margin-right: 12px;
}

.auth-card .divider::after {
    margin-left: 12px;
}

.google-btn {
    width: 100%;
    justify-content: center;
    background: white;
    color: black;
    border: none;
}

.google-btn:hover {
    background: #f1f1f1;
    border: none;
    transform: translateY(-1px);
}
.hidden {
    display: none !important;
}


.hidden {
    display: none !important;
}


/* Booking Card */
.booking-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Calendly widget styling */
.calendly-inline-widget {
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .booking-card {
        padding: 20px;
    }
    
    .calendly-inline-widget {
        height: 600px !important;
    }
}