/* 
   BLACKSENSE MEDIA - PREMIUM CORE STYLES 
   Strict Geometric Design System (0px Radius)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-black: #050505;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;

    --primary-blue: #0044cc;
    --deep-blue: #001f3f;
    --accent-red: #da291c;
    --accent-orange: #ff5500;
    --accent-yellow: #ffcc00;

    --brand-gradient: linear-gradient(135deg, var(--deep-blue), var(--primary-blue), var(--accent-red), var(--accent-orange), var(--accent-yellow));
    --brand-gradient-text: linear-gradient(90deg, var(--primary-blue), var(--accent-red), var(--accent-orange), var(--accent-yellow));

    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --text-muted: #666666;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: 1px solid rgba(255, 255, 255, 0.15);

    --glow-blue: 0 0 30px rgba(0, 68, 204, 0.3);
    --glow-mixed: 0 0 30px rgba(218, 41, 28, 0.2), 0 0 60px rgba(255, 85, 0, 0.1);

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    --container-width: 1400px;
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
    --spacing-xl: 12rem;

    /* CINEMATIC PREMIUM ADDITIONS */
    --brand-red: #da291c;
    --brand-orange: #ff5500;
    --brand-yellow: #ffcc00;
    --elite-void: #050505;

    --warm-gradient: linear-gradient(135deg, var(--brand-red), var(--brand-orange), var(--brand-yellow));
    --glass-dark: rgba(13, 17, 23, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

/* GLOBAL RESET & STRICT RULES */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important;
    /* STRICT: NO ROUNDED CORNERS ANYWHERE */
}

html,
body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-main) !important;
    /* STRICT ENFORCEMENT */
    overflow-x: hidden;
    /* Prevent scattering */
    scroll-behavior: smooth;
    line-height: 1.6;
    position: relative;
    font-size: 16px;
    /* Base Size */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    /* STRICT ENFORCEMENT */
    color: var(--text-white);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* UTILITIES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.text-gradient {
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientMove 5s linear infinite;
}



/* =========================================
   PREMIUM CINEMATIC UI SYSTEM
   ========================================= */

/* Warm Gradient Refined */
.text-gradient-warm {
    background: linear-gradient(135deg, #ff3333 0%, #ff8800 50%, #ffdd00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    background-size: 200% auto;
    animation: gradientMove 6s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 85, 0, 0.3));
}

/* Cinematic Card (Glassmorphism) */
.glass-panel {
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-panel:hover {
    background: rgba(15, 15, 18, 0.8);
    border-color: rgba(255, 136, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 85, 0, 0.1);
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 136, 0, 0.5), transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.glass-panel:hover::before {
    transform: scaleX(1);
}

/* Section Header - Centered & Premium */
.section-header-center {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    padding-bottom: 2rem;
}

.section-header-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-yellow));
}

.section-header-center .section-label {
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    color: var(--brand-orange);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.section-header-center .section-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Update Existing Cards to use Glass System properties via override or utility */
.feature-box,
.pillar-card,
.solution-card,
.testimonial-box {
    background: rgba(10, 10, 12, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.feature-box:hover,
.pillar-card:hover,
.solution-card:hover,
.testimonial-box:hover {
    border-color: rgba(255, 136, 0, 0.4) !important;
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 85, 0, 0.15) !important;
    background: rgba(15, 15, 20, 0.9) !important;
}

.feature-icon,
.card-icon i {
    background: linear-gradient(135deg, #ffcc00, #ff5500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 85, 0, 0.3));
}

/* CINEMATIC HERO STYLE - REFINED */
.hero-cinematic {
    position: relative;
    padding: 240px 0 160px;
    /* Darker overlay for better text contrast */
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.95)), url('../images/home_cinematic.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.hero-cinematic::before {
    /* Vignette effect */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 85, 0, 0.05) 0%, #050505 90%);
    pointer-events: none;
    z-index: 1;
}

.hero-cinematic .hero-title {
    position: relative;
    z-index: 2;
    font-size: 6rem;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
    font-weight: 800;
}

.hero-cinematic .section-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--brand-orange);
    margin-bottom: 2rem;
    display: inline-block;
    font-weight: 700;
    background: rgba(11, 15, 20, 0.8);
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.text-accent-gradient {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-red) 30%, var(--accent-orange) 60%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.square-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 2.5rem;
    background: var(--text-white);
    color: var(--bg-black);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border: 1px solid var(--text-white);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.square-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-gradient);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scaleX(0);
    transform-origin: left;
}

.square-btn:hover::before {
    transform: scaleX(1);
}

.square-btn:hover {
    background: transparent;
    border-color: transparent;
    color: var(--text-white);
    box-shadow: var(--glow-mixed);
}

.square-btn.outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.square-btn.outline:hover {
    background: var(--text-white);
    color: var(--bg-black);
    border-color: var(--text-white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* GRADIENT BUTTON VARIANTS */
.btn-gradient {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 2.5rem;
    background: var(--brand-gradient);
    background-size: 200% auto;
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

.btn-gradient:hover {
    background-position: right center;
    box-shadow: var(--glow-mixed);
    transform: translateY(-2px);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* GRADIENT UTILITIES */
.gradient-border {
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--brand-gradient);
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
    z-index: -1;
}

.gradient-divider {
    height: 3px;
    background: var(--brand-gradient);
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
    margin: 2rem 0;
}

.gradient-icon {
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-gradient-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.card-gradient-accent:hover::after {
    transform: scaleX(1);
}

.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-gradient);
    opacity: 0.05;
    pointer-events: none;
}

/* HEADER & NAV */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: block;
    padding: 0;
    border: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 45px;
    /* Adjust based on logo aspect ratio */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    position: relative;
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* DROPDOWN */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    background: var(--bg-black);
    width: 250px;
    border: 1px solid var(--border-color);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}


/* HERO SECTION - REFERENCE REPLICATION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px var(--spacing-sm) 6rem;
    background: #050505;
    /* Solid base */
    overflow: hidden;
    z-index: 1;
}

/* Background Layers for Slideshow */
.hero::before,
.hero::after,
.hero-bg-layer {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-attachment: fixed;
    pointer-events: none;
    transition: opacity 1.5s ease-in-out;
}

/* Base layer (Image 3) */
.hero {
    background-image: linear-gradient(rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0.4)), url('../images/hero-bg-3.png');
    background-size: cover;
    background-position: center right;
    background-attachment: fixed;
}

/* Image 1 Layer */
.hero::before {
    background-image: linear-gradient(rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0.4)), url('../images/hero-bg.png');
    z-index: -1;
    animation: heroSlideshow1 18s infinite;
}

/* Image 2 Layer */
.hero::after {
    background-image: linear-gradient(rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0.4)), url('../images/hero-bg-2.png');
    z-index: -1;
    animation: heroSlideshow2 18s infinite;
    opacity: 0;
}

/* Disable slider for pages with specific header */
.hero.no-slider::before,
.hero.no-slider::after {
    display: none !important;
    animation: none !important;
    background-image: none !important;
}

@keyframes heroSlideshow1 {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    28% {
        opacity: 1;
        transform: scale(1.05);
    }

    33% {
        opacity: 0;
        transform: scale(1.05);
    }

    95% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroSlideshow2 {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    28% {
        opacity: 0;
        transform: scale(1);
    }

    33% {
        opacity: 1;
        transform: scale(1);
    }

    61% {
        opacity: 1;
        transform: scale(1.05);
    }

    66% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Ensure the container is above the animated layers */
.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    max-width: 1400px;
    align-items: center;
    padding: 2rem 0;
}

.hero-left {
    padding: 2rem 0;
    /* Symmetrical Padding */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* HERO TYPOGRAPHY REDESIGN */
.hero-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    display: block;
    text-transform: uppercase;
}

.hero-left h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #ffffff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left h1 span {
    color: var(--primary-blue);
    /* Fallback */
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 540px;
    font-weight: 300;
}

.hero-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 500;
}

.hero-checklist li i {
    color: var(--accent-orange);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* HERO RIGHT ANIMATION ZONE */
.hero-right {
    padding: 2rem 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}

#gravity-canvas {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 0;
    opacity: 0.8;
    /* Make gravity particles more visible */
    pointer-events: none;
}

/* 3D Floating Code Card Refined */
.hero-ui-card {
    background: rgba(13, 17, 23, 0.95);
    /* Github Dark Dimmed Theme */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    /* Slight radius for modern feel, or keep 0 if strict */
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 600px;
    z-index: 2;
    overflow: hidden;
    animation: floatingCard 6s ease-in-out infinite;
}

@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0) rotateY(-5deg) rotateX(2deg);
    }

    50% {
        transform: translateY(-15px) rotateY(-5deg) rotateX(2deg);
    }
}

.ui-card-header-img {
    height: 220px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ui-card-body {
    padding: 0;
    font-family: 'Fira Code', 'Courier New', monospace;
    background: #0d1117;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #161b22;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-title {
    font-size: 0.8rem;
    color: #8b949e;
}

.code-block {
    display: flex;
    padding: 20px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.line-numbers {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    color: #484f58;
    text-align: right;
    user-select: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.code-content {
    padding-left: 20px;
    color: #c9d1d9;
}

.keyword {
    color: #ff7b72;
}

.var {
    color: #d2a8ff;
}

.tag {
    color: #7ee787;
}

/* Stats Bar */
.ui-stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: #161b22;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-body);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item.status-ok {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #7ee787;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #7ee787;
    border-radius: 50%;
    box-shadow: 0 0 10px #7ee787;
    animation: blink 2s infinite;
}

.stat-value {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}





/* Compatibility Fixes & Premium UI Details */
.text-gradient,
.text-accent-gradient,
.feature-icon,
.sense-letter {
    background-clip: text;
    -webkit-background-clip: text;
}





/* SECTIONS GENERAL */
.section-header {
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--primary-blue);
    padding-left: 2rem;
}

.section-label {
    display: block;
    color: var(--primary-blue);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
}

/* FEATURES / SOLUTIONS BLOCK */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: linear-gradient(to right, #111, #222);
    /* Darker dividers */
    margin: var(--spacing-sm) 0;
    border: 1px solid var(--border-color);
}

.feature-box {
    background: var(--bg-black);
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy shuffle effect */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1/1;
    border: 1px solid transparent;
    opacity: 1;
}

/* SHUFFLE ANIMATION STATES */
/* Initial State: Stacked in the center */
.shuffle-wrapper .feature-box:nth-child(1) {
    transform: translateX(110%) rotate(-6deg) scale(0.9);
    z-index: 1;
    opacity: 0;
}

.shuffle-wrapper .feature-box:nth-child(2) {
    transform: translateX(35%) rotate(-3deg) scale(0.95);
    z-index: 2;
    opacity: 0;
}

.shuffle-wrapper .feature-box:nth-child(3) {
    transform: translateX(-35%) rotate(3deg) scale(0.95);
    z-index: 3;
    opacity: 0;
}

.shuffle-wrapper .feature-box:nth-child(4) {
    transform: translateX(-110%) rotate(6deg) scale(0.9);
    z-index: 4;
    opacity: 0;
}

/* Active State: Spread out to grid */
.shuffle-wrapper.active .feature-box {
    transform: translateX(0) rotate(0) scale(1);
    opacity: 1;
}

/* Staggered transition for "dealing cards" feel */
.shuffle-wrapper.active .feature-box:nth-child(1) {
    transition-delay: 0.1s;
}

.shuffle-wrapper.active .feature-box:nth-child(2) {
    transition-delay: 0.2s;
}

.shuffle-wrapper.active .feature-box:nth-child(3) {
    transition-delay: 0.3s;
}

.shuffle-wrapper.active .feature-box:nth-child(4) {
    transition-delay: 0.4s;
}

.feature-box::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.feature-box:hover::after {
    transform: scaleX(1);
    /* Reveal gradient on hover */
    transform-origin: left;
}

.feature-box:hover {
    background: #080808;
    /* Darker hover background */
    border-color: rgba(255, 255, 255, 0.05);
    /* Subtle border on hover */
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
    /* Inner shadow for depth */
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* STATS ROW */
.stats-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 4rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

/* VISION */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

.vision-img {
    aspect-ratio: 1/1;
    position: relative;
}

.vision-img img {
    width: 100%;
    height: 100%;
}

.vision-floater {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-blue);
    padding: 2rem;
    width: 200px;
    border: 1px solid white;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* WHY CHOOSE US */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.pillar-card {
    background: var(--bg-card);
    padding: 3rem;
    border: 1px solid transparent;
    transition: all 0.3s;
    aspect-ratio: 1/1;
    /* SQUARE */
}

.pillar-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    background: #000;
    box-shadow: 0 0 40px rgba(255, 85, 0, 0.4);
    z-index: 2;
}

.pillar-list {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-list li {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pillar-list li i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.pillar-card:hover .pillar-list li {
    color: var(--text-gray);
}

/* SOLUTIONS GRID */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.solution-card:hover {
    background: #0d0d0d;
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 40px rgba(0, 68, 204, 0.1);
}

.solution-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    transition: color 0.3s;
}

.solution-card:hover .card-icon {
    color: var(--text-white);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-list {
    margin-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.solution-list li {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.solution-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-white);
    margin-top: auto;
    transition: all 0.3s;
}

.learn-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.solution-card:hover .learn-more {
    color: var(--primary-blue);
}

.solution-card:hover .learn-more i {
    transform: translateX(5px);
}


/* PROCESS */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    background: var(--bg-card);
    padding: 2rem;
    border-top: 4px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-gradient);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scaleX(0);
    transform-origin: left;
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    border-top-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--glow-mixed);
}

.process-step:hover .step-number {
    color: rgba(255, 255, 255, 0.2);
}

.process-step:hover h4,
.process-step:hover p {
    color: var(--text-white);
}

.step-number {
    font-size: 3rem;
    color: #222;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* FOOTER */
footer {
    background: var(--bg-dark);
    padding: var(--spacing-md) 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-gray);
}

.footer-col a:hover {
    color: var(--text-white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}

/* Responsive */
/* Responsive Optimization */
@media (max-width: 1200px) {
    .container {
        width: 95%;
        max-width: 1100px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-ui-card {
        max-width: 500px;
    }
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 4rem;
        display: block;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-left {
        padding-right: 0;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-right {
        justify-content: center;
        width: 100%;
        margin-top: 2rem;
    }

    .hero-ui-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-label {
        border-left: none;
        padding-left: 0;
        border-bottom: 2px solid var(--primary-blue);
        padding-bottom: 0.5rem;
    }

    .features-grid,
    .stats-grid,
    .process-steps,
    .pillars-grid,
    .solutions-grid,
    .core-grid,
    .sense-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sense-card:last-child {
        grid-column: span 2;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .vision-img {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .features-grid,
    .stats-grid,
    .process-steps,
    .pillars-grid,
    .solutions-grid,
    .core-grid,
    .sense-grid {
        grid-template-columns: 1fr;
    }

    .sense-card:last-child {
        grid-column: auto;
    }

    .nav-links {
        display: none;
    }

    /* Mobile Menu would go here */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .ui-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Keep 2 cols for stats if possible, looks better */
    .hero-ui-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    /* Company Page Specifics */
    .hero-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .ui-card-header-img {
        height: 150px;
    }

    .ui-stat h4 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .square-btn {
        width: 100%;
        text-align: center;
    }
}

/* FORM STYLES */
input,
textarea,
select {
    width: 100%;
    padding: 1.25rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: var(--font-main);
    margin-bottom: 1rem;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--accent-orange);
    outline: none;
    box-shadow: var(--glow-orange);
}

/* --- LIQUID BACKGROUND ANIMATION --- */
.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: breathe 20s ease-in-out infinite;
    opacity: 0.8;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.4);
    /* Dark overlay for text/pill readability */
    z-index: 0;
    pointer-events: none;
}

@keyframes breathe {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* --- PREMIUM GLOBAL FOOTER --- */
.premium-footer {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.footer-glow-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--brand-gradient);
    box-shadow: 0 0 20px rgba(0, 68, 204, 0.5);
    opacity: 0.6;
}

.footer-container {
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    margin-bottom: 6rem;
}

.footer-brand-section {
    max-width: 360px;
}

.footer-logo {
    display: block;
    margin-bottom: 2rem;
}

.logo-img {
    height: 45px;
    width: auto;
}

.footer-tagline {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-link:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--glow-mixed);
    color: white;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-white);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 8px;
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-col {
    grid-column: span 1;
}

.footer-info {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.footer-newsletter-form input {
    border: none;
    background: transparent;
    padding: 1rem;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-newsletter-form input:focus {
    box-shadow: none;
}

.newsletter-btn {
    background: transparent;
    border: none;
    padding: 0 1.5rem;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s;
    border-left: 1px solid var(--border-color);
}

.newsletter-btn:hover {
    background: var(--brand-gradient);
    color: white;
}

.footer-bottom-bar {
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-legal a {
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--text-white);
}

.dot {
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
}

@media (max-width: 1200px) {
    .footer-main {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 4rem;
        margin-bottom: 4rem;
    }

    .footer-nav-grid {
        gap: 2rem;
    }

    .footer-brand-section {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-nav-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-col {
        grid-column: span 2;
        margin-top: 2rem;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-col {
        grid-column: span 1;
    }
}

/* --- GLOBAL UTILITIES (Company/Resources Refactor) --- */
.elite-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.elite-p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Elite Button (Variant) */
.elite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-weight: 800;
    transition: 0.4s;
    cursor: pointer;
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.elite-btn.primary {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.elite-btn:hover {
    background: var(--text-white);
    color: var(--bg-black);
    border-color: var(--text-white);
    padding-left: 3.5rem;
}

/* Grid Tiles (Company) */
.grid-tiles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.elite-tile {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 2rem;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.elite-tile:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tile-icon {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent-yellow);
    margin-bottom: 2rem;
    line-height: 1;
    font-weight: 700;
}

.tile-title {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    margin-bottom: 1.2rem;
    color: var(--primary-blue);
    font-weight: 800;
}

.tile-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Core 4 (Company) */
.grid-core4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.core-tile {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.core-tile:hover {
    border-color: var(--accent-red);
    transform: scale(1.02);
}

/* Resources Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.resource-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
    flex-shrink: 0;
}

.resource-card:hover .resource-icon-box {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
}

.resource-icon {
    font-size: 2rem;
    color: var(--text-muted);
    transition: 0.4s;
}

.resource-card:hover .resource-icon {
    color: #fff;
    transform: scale(1.1);
}

.resource-content {
    flex: 1;
}

.resource-title {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    transition: 0.3s;
}

.resource-card:hover .resource-title {
    color: var(--primary-blue);
}

.resource-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Fun Section */
.fun-section {
    background: radial-gradient(circle at center, rgba(63, 169, 245, 0.1), transparent 70%);
    text-align: center;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .grid-tiles {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-core4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .text-cols {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .grid-tiles {
        grid-template-columns: 1fr;
    }

    .grid-core4 {
        grid-template-columns: 1fr;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }
}

/* --- JOIN CINEMATIC V2 --- */
.join-cinematic-v2 {
    position: relative;
    padding: 10rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #000;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.void-starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(1px 1px at 10% 10%, rgba(255, 255, 255, 0.3) 100%, transparent),
        radial-gradient(1px 1px at 20% 20%, rgba(255, 255, 255, 0.3) 100%, transparent),
        radial-gradient(2px 2px at 30% 30%, rgba(255, 255, 255, 0.2) 100%, transparent),
        radial-gradient(1px 1px at 40% 40%, rgba(255, 255, 255, 0.3) 100%, transparent),
        radial-gradient(2px 2px at 90% 90%, rgba(63, 169, 245, 0.3) 100%, transparent),
        radial-gradient(circle at 50% 50%, rgba(11, 15, 20, 0.8) 0%, #000 100%);
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px, 450px 450px, 100% 100%;
    z-index: 0;
    opacity: 0.6;
}

.join-content-v2 {
    position: relative;
    z-index: 2;
    text-align: center;
}

.section-label-minimal {
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: var(--brand-blue);
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: block;
    font-weight: 700;
}

.join-headline-v2 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 3rem;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.join-lead-v2 {
    font-size: 1.5rem;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto 5rem;
    font-weight: 300;
    line-height: 1.6;
}

.join-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1000px;
    margin: 0 auto 5rem;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 4rem;
}

.join-subhead {
    font-size: 1.2rem;
    color: var(--brand-yellow);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.join-body-v2 {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Magnetic Button */
.magnetic-btn {
    display: inline-flex;
    position: relative;
    padding: 1.5rem 4rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    overflow: hidden;
    transition: 0.4s;
    text-decoration: none;
}

.magnetic-btn:hover {
    border-color: var(--brand-blue);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(63, 169, 245, 0.3);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(63, 169, 245, 0.2), transparent);
    transition: 0.4s;
}

.magnetic-btn:hover .btn-glow {
    left: 100%;
    transition: 0.6s;
}

@media (max-width: 1024px) {
    .join-headline-v2 {
        font-size: 3.5rem;
    }

    .join-grid-v2 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

/* --- JOIN PREMIUM COMPACT --- */
.join-premium-compact {
    padding: 6rem 0;
    background: #000;
    /* Or keep transparent to show body bg/footer blend */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Add a subtle background accent for the compact section */
.join-premium-compact::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(63, 169, 245, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.join-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.join-compact-left {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 3rem;
}

.join-compact-title {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.join-compact-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 2rem;
    line-height: 1.7;
    max-width: 450px;
}

.join-compact-right {
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.compact-info-box {
    margin-bottom: 0.5rem;
}

.compact-subhead {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--brand-white);
    /* Assumed var, or #fff */
    color: #fff;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.compact-subhead::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.compact-body {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .join-compact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }

    .join-compact-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 2rem;
        text-align: center;
    }

    .join-compact-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .join-compact-right {
        padding-left: 0;
    }

    .join-compact-title {
        font-size: 2.8rem;
    }
}