/* ========================================
   SQ STUDIO LANDING PAGE - 2025 CREATOR ECONOMY
   Design: Bold Minimalism + Bento Grid
   Performance: Optimized for <1s loading
   ======================================== */

/* ========================================
   CSS VARIABLES & DESIGN TOKENS
   ======================================== */
:root {
    /* Colors - Professional + Vibrant */
    --color-bg-main: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-bg-section: #F1F5F9;

    --color-text-primary: #0F172A;
    --color-text-secondary: #475569;
    --color-text-muted: #94A3B8;

    /* Ice Blue Palette */
    --electric-sapphire: #5465ff;
    --cornflower-blue: #788bff;
    --baby-blue-ice: #9bb1ff;
    --periwinkle-ice: #bfd7ff;
    --light-cyan-ice: #e2fdff;

    /* Mapped Accents */
    --color-accent-cyan: var(--electric-sapphire);
    --color-accent-purple: var(--cornflower-blue);
    --color-accent-magenta: var(--baby-blue-ice);

    --color-border-light: #E2E8F0;
    --color-success: #10B981;
    --color-warning: #F59E0B;

    /* Typography */
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 1.875rem;
    /* 30px */
    --font-size-4xl: 2.25rem;
    /* 36px */
    --font-size-5xl: 3rem;
    /* 48px */
    --font-size-6xl: 3.75rem;
    /* 60px */
    --font-size-7xl: 4.5rem;
    /* 72px */
    --font-size-8xl: 6rem;
    /* 96px */

    /* Spacing - 8px base unit */
    --space-1: 0.5rem;
    /* 8px */
    --space-2: 1rem;
    /* 16px */
    --space-3: 1.5rem;
    /* 24px */
    --space-4: 2rem;
    /* 32px */
    --space-6: 3rem;
    /* 48px */
    --space-8: 4rem;
    /* 64px */
    --space-12: 6rem;
    /* 96px */
    --space-16: 8rem;
    /* 128px */

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ========================================
   CONTAINER
   ======================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

/* ========================================
   VIDEO SHOWCASE SECTION
   ======================================== */
/* ========================================
   UNIFIED SHOWCASE (VIDEO + PROOF)
   ======================================== */
.unified-showcase {
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-bottom: 1px solid var(--color-border-light);
}

.video-showcase-section {
    padding: var(--space-6) 0;
    background: transparent;
}

.video-showcase-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.video-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-main);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
}

.video-label:hover {
    border-color: #FF0000;
    color: #FF0000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.video-label i {
    color: #FF0000;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    background: var(--color-text-primary);
}

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

.btn-youtube {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    margin-top: var(--space-4);
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--color-bg-main);
    background: var(--color-text-primary);
    border: 2px solid var(--color-text-primary);
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 20px 25px -5px rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-youtube i {
    font-size: var(--font-size-xl);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    padding: var(--space-12) 0 var(--space-8);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--color-border-light);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.hero-texture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind content (z-index 1 for content container is set below) */
    opacity: 0.05;
    pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    position: relative;
    z-index: 2;
    /* Above texture */
}

@media (min-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Hero Content */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: var(--color-bg-main);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.hero-badge:hover {
    box-shadow: var(--shadow-md);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: var(--font-size-6xl);
    /* Increased from 5xl */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    color: var(--color-text-primary);
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: var(--font-size-7xl);
        /* Increased from 6xl */
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 5rem;
        /* Increased from 4rem */
        /* Significant size for primary impact */
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent-cyan) 0%, var(--color-accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: var(--font-size-lg);
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
    .hero-subheadline {
        font-size: var(--font-size-xl);
    }
}

/* Trust Indicators */
.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border-light);
}

.trust-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-bg-main);
    margin-right: -12px;
    object-fit: cover;
}

.avatar-placeholder {
    background: var(--color-bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-text-secondary);
}

.trust-text {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: none;
}

.image-container {
    position: relative;
    width: 380px;
    height: 520px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 8px solid white;
    transform: rotate(2deg);
    z-index: 10;
    background: white;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
        height: 600px;
    }
}

.floating-card {
    position: absolute;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    transition: transform var(--transition-slow);
}

.main-card {
    top: 10%;
    right: 10%;
    width: 400px;
    height: 500px;
    background: var(--color-bg-main);
    padding: 12px;
    transform: rotate(2deg);
    animation: float 6s ease-in-out infinite;
    z-index: 20;
}

.main-card:hover {
    transform: rotate(0deg);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: transform var(--transition-slow);
}

.main-card:hover .hero-image {
    transform: scale(1.05);
}

.stats-card {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    top: 35%;
    left: 5%;
    padding: var(--space-2);
    background: var(--color-bg-main);
    animation: float 6s ease-in-out infinite 1s;
    z-index: 30;
}

.client-card {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    bottom: 15%;
    right: 15%;
    padding: var(--space-2);
    background: var(--color-bg-main);
    animation: float 6s ease-in-out infinite 2s;
    z-index: 30;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-success);
}

.card-label {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.card-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text-primary);
}

.client-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-text-primary);
}

.stars {
    display: flex;
    gap: 2px;
    color: #F59E0B;
    font-size: 10px;
}

.bg-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--color-border-light);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.ring-1 {
    width: 500px;
    height: 500px;
}

.ring-2 {
    width: 400px;
    height: 400px;
}


.headline-secondary {
    display: block;
    font-size: 0.65em;
    /* Significantly smaller for hierarchy contrast */
    margin-top: 0.1em;
    color: var(--color-text-primary);
}

/* Dynamic Text Transition - Glitch Effect */
#dynamic-text {
    display: inline-block;
    white-space: nowrap;
    position: relative;
    min-height: 1.2em;
    /* Ensure consistent height to prevent layout jumps */
    transition: all 0.1s ease;
}

#dynamic-text.glitch-out {
    animation: glitch-anim-out 0.4s forwards;
    opacity: 0.8;
}

#dynamic-text.glitch-in {
    animation: glitch-anim-in 0.4s forwards;
}

@keyframes glitch-anim-out {
    0% {
        transform: translate(0);
        clip-path: inset(0 0 0 0);
    }

    20% {
        transform: translate(-5px, 2px);
        clip-path: inset(10% 0 15% 0);
    }

    40% {
        transform: translate(5px, -2px);
        clip-path: inset(30% 0 20% 0);
    }

    60% {
        transform: translate(-2px, 5px);
        clip-path: inset(15% 0 35% 0);
    }

    80% {
        transform: translate(2px, -3px);
        clip-path: inset(45% 0 5% 0);
    }

    100% {
        transform: translate(0);
        clip-path: inset(0 0 100% 0);
        opacity: 0;
    }
}

@keyframes glitch-anim-in {
    0% {
        transform: translate(0);
        clip-path: inset(100% 0 0 0);
        opacity: 0;
    }

    20% {
        transform: translate(4px, -3px);
        clip-path: inset(20% 0 40% 0);
        opacity: 1;
    }

    40% {
        transform: translate(-3px, 4px);
        clip-path: inset(40% 0 10% 0);
    }

    60% {
        transform: translate(2px, 2px);
        clip-path: inset(10% 0 60% 0);
    }

    80% {
        transform: translate(-2px, -2px);
        clip-path: inset(5% 0 20% 0);
    }

    100% {
        transform: translate(0);
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

/* Typing Cursor Animation */
.typing-cursor {
    display: inline-block;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    color: var(--color-accent-cyan);
    font-weight: 400;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-bg-main);
    background: var(--color-text-primary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    min-height: 48px;
    /* Touch target >44px */
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-accent-purple);
    box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

/* Inverted hover for contact section CTA */
.contact-section .btn-primary:hover {
    background: white;
    color: #2d3748;
    box-shadow: 0 20px 25px -5px rgba(255, 255, 255, 0.3);
    border-color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-xl);
}

/* ========================================
   PROOF SECTION (LOGO CLOUD)
   ======================================== */
.proof-section {
    padding: var(--space-8) 0;
    background: transparent;
    text-align: center;
    border-bottom: none;
    /* Handled by wrapper */
}

.proof-label {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-main);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.platform-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Platform-specific hover colors - Border only */
.platform-badge:has(.fa-twitch):hover {
    border-color: #9146FF;
    color: #9146FF;
}

.platform-badge:has(.fa-youtube):hover {
    border-color: #FF0000;
    color: #FF0000;
}

.platform-badge:has(.fa-tiktok):hover {
    border-color: #25F4EE;
    color: #25F4EE;
}

.platform-badge:has(.fa-instagram):hover {
    border-color: #833AB4;
    color: #833AB4;
}

.platform-badge i {
    font-size: var(--font-size-lg);
}

/* Platform logo for image-based badges like Kick */
.platform-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.5);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.platform-badge-kick:hover {
    border-color: #53FC18;
    color: #53FC18;
}

.platform-badge-kick:hover .platform-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: 900;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--font-size-5xl);
    }
}

.title-underline {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-purple));
    margin: 0 auto;
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: var(--space-4) auto 0;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: var(--space-12) 0;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border-light);
}

.ring-testimonial-1 {
    width: 600px;
    height: 600px;
    top: 10%;
    right: -100px;
    opacity: 0.2;
}

.ring-testimonial-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -80px;
    opacity: 0.15;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--color-bg-main);
    padding: var(--space-6);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.testimonial-card .stars {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-3);
}

.testimonial-quote {
    font-size: var(--font-size-lg);
    font-style: italic;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border-light);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: var(--color-text-primary);
}

.author-role {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent-purple);
}

/* ========================================
   SERVICES SECTION (BENTO GRID)
   ======================================== */
.services-section {
    padding: var(--space-12) 0;
    background: var(--color-bg-main);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border-light);
}

.ring-services-1 {
    width: 700px;
    height: 700px;
    top: 20%;
    left: -150px;
    opacity: 0.15;
}

.ring-services-2 {
    width: 500px;
    height: 500px;
    bottom: 15%;
    right: -120px;
    opacity: 0.12;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
    }
}

.bento-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(187, 208, 255, 0.05) 100%);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--color-accent-cyan);
}

/* Bento Grid Layout */
@media (min-width: 1024px) {
    .card-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .card-medium {
        grid-column: span 2;
    }

    .card-small {
        grid-column: span 1;
    }
}

/* Card Icons */
.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.card-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-3xl);
    flex-shrink: 0;
}

.card-icon-medium {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-magenta));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.card-icon-small {
    width: 48px;
    height: 48px;
    background: var(--color-accent-cyan);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.card-title {
    font-family: var(--font-body);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
    /* Removed margin */
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.card-title-small {
    font-family: var(--font-body);
    font-size: var(--font-size-lg);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
    /* Removed margin */
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}

.card-description-small {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.card-features {
    list-style: none;
    margin-top: auto;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.card-features i {
    color: var(--color-success);
}

/* Card with Image Background */
.card-with-image {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--color-text-primary);
}

.card-image-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.obs-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: all var(--transition-slow);
}

.card-with-image:hover .obs-background {
    opacity: 0.5;
    transform: scale(1.05);
}

.card-content-overlay {
    position: relative;
    z-index: 1;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon-white {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-title-white {
    color: white;
}

.card-description-white {
    color: rgba(255, 255, 255, 0.9);
}

.card-features-white li {
    color: rgba(255, 255, 255, 0.85);
}

.card-icon-white i {
    color: var(--color-success);
    filter: brightness(1.3);
}

/* Icon Logo Styling */
.card-icon-image {
    padding: var(--space-2);
}

.icon-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2);
}

/* Enhanced glow hover effects (inspired by wope.com) */
.bento-card:hover {
    box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.15),
        0 0 0 1px rgba(6, 182, 212, 0.1);
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.4);
}

.card-with-image:hover {
    box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.3),
        0 0 20px rgba(6, 182, 212, 0.2);
}

.card-highlight {
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    color: white;
    text-align: center;
    justify-content: center;
}

.highlight-stat {
    font-family: var(--font-display);
    font-size: var(--font-size-6xl);
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-1);
}

.highlight-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    opacity: 0.9;
}

.cta-center {
    text-align: center;
    margin-top: var(--space-8);
}

/* ========================================
   RESULTS/METRICS SECTION
   ======================================== */
.results-section {
    padding: var(--space-12) 0;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border-light);
}

.ring-results-1 {
    width: 550px;
    height: 550px;
    top: -100px;
    right: -50px;
    opacity: 0.18;
}

.ring-results-2 {
    width: 450px;
    height: 450px;
    bottom: -80px;
    left: -70px;
    opacity: 0.15;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric-card {
    background: var(--color-bg-main);
    padding: var(--space-6);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-light);
    text-align: center;
    transition: all var(--transition-base);
}

.metric-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.metric-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-2xl);
    margin: 0 auto var(--space-3);
}

.metric-value {
    font-family: var(--font-display);
    font-size: var(--font-size-5xl);
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-1);
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: var(--space-12) 0;
    background: var(--color-bg-main);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border-light);
}

.ring-faq-1 {
    width: 600px;
    height: 600px;
    top: 30%;
    right: -150px;
    opacity: 0.12;
}

.ring-faq-2 {
    width: 400px;
    height: 400px;
    bottom: 20%;
    left: -100px;
    opacity: 0.15;
}

.faq-container {
    max-width: 900px;
}

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

.faq-item {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text-primary);
    text-align: left;
    transition: color var(--transition-base);
    cursor: pointer;
}

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

.faq-question i {
    transition: transform var(--transition-base);
    color: var(--color-accent-cyan);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

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

.faq-answer p {
    padding: 0 var(--space-6) var(--space-4);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: var(--space-12) 0;
    background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.ring-contact-1 {
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.contact-title {
    font-family: var(--font-display);
    font-size: var(--font-size-5xl);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.contact-subtitle {
    font-size: var(--font-size-xl);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    opacity: 0.95;
}

.contact-note {
    margin-top: var(--space-4);
    font-size: var(--font-size-sm);
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-8) 0 var(--space-4);
    background: var(--color-text-primary);
    color: white;
}

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

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.brand-name {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 900;
    margin-bottom: var(--space-1);
}

.brand-tagline {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: var(--font-size-lg);
}

/* Social Icon SVGs (X, Threads) */
.social-icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    /* Matches parent text color */
    transition: all var(--transition-base);
}

.social-link:hover {
    background: white;
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

/* Footer Social Brand Colors */
.social-link-x:hover {
    background: #000000;
    color: white;
    /* White icon on Black bg */
}

.social-link-instagram:hover {
    background: #E1306C;
    color: white;
}

.social-link-youtube:hover {
    background: #FF0000;
    color: white;
}

.social-link-tiktok:hover {
    background: #000000;
    color: white;
}

/* Threads Hover */
.social-link-threads:hover {
    background: #000000;
    color: white;
    /* White icon on Black bg */
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Scroll animation delays */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* ========================================
   TOP NAVIGATION
   ======================================== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

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

@media (min-width: 768px) {
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
}

.nav-brand {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
    justify-self: center;
    /* Center in grid cell */
}

/* Desktop Links */
.nav-links {
    display: none;
    justify-self: start;
    /* Align to start of grid cell */
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: var(--space-6);
    }
}

.nav-link {
    font-weight: 600;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Right Side Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    justify-self: end;
    /* Align to end of grid cell */
}

.nav-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-cta {
        display: inline-flex;
    }
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    min-height: 40px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: var(--font-size-xl);
    color: var(--color-text-primary);
    cursor: pointer;
    padding: var(--space-1);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transform: translateY(-150%);
    transition: transform var(--transition-base);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    box-shadow: var(--shadow-xl);
}

.mobile-link {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    color: var(--color-text-primary);
    text-decoration: none;
    text-align: center;
}

/* Adjust Hero padding for fixed nav */
.hero-section {
    padding-top: 140px;
    /* 72px nav + spacing */
}

/* ========================================
   MOBILE OVERFLOW FIXES
   ======================================== */
@media (max-width: 480px) {
    .btn-large {
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-size-base);
        width: 100%;
        max-width: 100%;
        display: inline-flex;
        justify-content: center;
        overflow-wrap: break-word;
        word-break: break-word;
        /* Safer break */
    }

    .contact-title {
        font-size: var(--font-size-3xl);
        /* Scale down title for mobile too */
    }

    .contact-subtitle {
        font-size: var(--font-size-base);
    }
}