/* ==========================================================================
   BRANDSPHERE OFFICIAL DESIGN SYSTEM & KINETIC STARFIELD ENGINE
   ========================================================================= */
:root {
    --primary-purple: #8B58D7;
    --primary-orange: #F5793B;
    --accent-blue:    #98B7F5;
    --accent-green:   #267F53;
    --accent-pink:    #F296BD;
    --bg-light:       #120B1E; 
    --text-dark:      #FFFFFF; 
    
    --card-bg:        rgba(25, 15, 40, 0.65); 
    --text-muted:     #BFAED4;
    --transition:     all 0.38s cubic-bezier(0.25, 1, 0.5, 1);
    --radius:         15px;
}

/* Base Root Sizing Scale Engine */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.55;
    position: relative;
    font-size: 15px;
}

/* PROPORTIONAL SPACING CORE (EXPANDED TO WIDESCREEN CINEMATIC) */
.main-wrapper {
    max-width: 1360px; 
    margin: 0 auto;
    padding: 4.5rem 2.5rem; 
    position: relative;
    z-index: 5;
}

/* FIXED NAVIGATION ENGINE (WIDE EDGE-TO-EDGE ALIGNMENT) */
.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18, 11, 30, 0.97); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
}

.nav-container {
    max-width: 1360px; 
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    position: relative;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1010;
}
.nav-logo span { color: var(--primary-purple); }

/* Hidden Controller Toggle Assets */
.menu-toggle-cb { display: none; }
.hamburger-btn { display: none; }

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}
.nav-menu a:hover { color: var(--primary-orange); }

.nav-menu .nav-cta {
    background: rgba(139, 88, 215, 0.15);
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    border: 1px solid rgba(139, 88, 215, 0.4);
    color: #FFFFFF;
}
.nav-menu .nav-cta:hover { background: var(--primary-purple); }

/* Anchor scroll safety alignment offset */
section[id] {
    scroll-margin-top: 100px;
}

/* ==========================================================================
   MEGA HERO ARCHITECTURE
   ========================================================================== */
.agency-title-container {
    text-align: center;
    width: 100%;
    margin-bottom: 1.2rem;
}

.agency-mega-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    line-height: 0.95;
}

.agency-mega-title .title-brand {
    font-size: clamp(3.2rem, 8.5vw, 8.1rem); 
    font-weight: 900;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #FFFFFF 20%, var(--primary-purple) 50%, var(--primary-orange) 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 5s linear 3, introScale 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.agency-mega-title .title-sub {
    font-size: clamp(0.9rem, 2.3vw, 2.1rem); 
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: clamp(4px, 1.5vw, 13.5px);
    margin-top: 0.95rem;
    opacity: 0;
    animation: letterTrack 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 5rem; 
    margin-bottom: 2rem;
    width: 100%;
}

.hero-bg-sample1 {
    position: relative;
    border-radius: var(--radius);
    padding: 2.5rem 3rem 3rem;
    margin: -4.5rem -2.5rem 1.5rem;
    overflow: hidden;
    isolation: isolate;
    min-height: 780px;
}

.hero-bg-sample1::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('sample1.jpg');
    background-size: cover;
    background-position: center 20%;
    pointer-events: none;
}

.hero-bg-sample1::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(100deg, rgba(12,7,20,0.95) 0%, rgba(12,7,20,0.88) 40%, rgba(12,7,20,0.55) 62%, rgba(12,7,20,0.15) 85%, rgba(12,7,20,0.35) 100%),
        linear-gradient(0deg, rgba(12,7,20,0.85) 0%, rgba(12,7,20,0.1) 30%, rgba(12,7,20,0) 55%);
    pointer-events: none;
}

.hero-bg-sample1 > * {
    position: relative;
    z-index: 1;
}

.hero-bg-sample1 .hero-text h2,
.hero-bg-sample1 .hero-text p {
    text-shadow: 0 2px 12px rgba(0,0,0,0.85);
}

.hero-bg-sample1 .agency-mega-title .title-brand {
    filter: drop-shadow(0 4px 14px rgba(0,0,0,0.85));
}

.hero-bg-sample1 .agency-mega-title .title-sub {
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.hero-text { 
    flex: 0 1 auto; 
    max-width: 680px;
    text-align: left; 
}
.hero-text h2 { font-size: 2.35rem; font-weight: 800; line-height: 1.25; margin-bottom: 1.1rem; }
.hero-text h2 span { color: var(--primary-orange); }
.hero-text p { 
    color: rgba(255, 255, 255, 0.92); 
    margin-bottom: 1.7rem; 
    font-size: 1.12rem; 
    line-height: 1.7; 
}

.hero-visual {
    flex: 0.9;
    display: flex;
    justify-content: flex-end; 
}

.brand-sphere-art {
    width: 320px; 
    height: 320px;
    background: radial-gradient(circle at 30% 30%, var(--primary-purple), #000000);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 55px rgba(139, 88, 215, 0.25);
}

.float-accent {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    border-radius: 50%;
    top: -10px;
    right: -10px;
    box-shadow: 0 0 22px rgba(245, 121, 59, 0.5);
    animation: sphereFloat 4s ease-in-out infinite;
}

.hero-buttons { display: flex; gap: 0.95rem; }

.btn {
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-purple { background: var(--primary-purple); color: #FFFFFF; border: none; }
.btn-purple:hover { background: #9b6be0; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(139, 88, 215, 0.4); }
.btn-outline { background: transparent; color: #FFFFFF; border: 2px solid rgba(255, 255, 255, 0.18); }
.btn-outline:hover { border-color: var(--primary-orange); background: rgba(245, 121, 59, 0.05); }

/* PERFORMANCE STATISTICS GRID (FLUSH INTEGRATED) */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.8rem 2rem;
    border-radius: var(--radius);
    margin-top: 3.5rem; 
    text-align: left; 
}

.stat-item {
    border-left: 1px solid rgba(255, 255, 255, 0.05); 
    padding-left: 1.5rem;
}
.stat-item:first-child {
    border-left: none; 
    padding-left: 0;
}
.stat-item h3 { font-size: 2rem; color: var(--primary-purple); font-weight: 800; }
.stat-item p { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   CORPORATE PARTNERS TICKER
   ========================================================================== */
.partner-ticker-section {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.5rem 0;
}

.ticker-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.logo-grid-wall {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner-logo {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1.5px;
    transition: var(--transition);
}
.partner-logo span { font-weight: 800; }
.partner-logo:hover { color: #FFFFFF; filter: drop-shadow(0 0 8px var(--primary-purple)); }

/* ==========================================================================
   ABOUT THE AGENCY & INTERACTIVE HUB NODE GRID
   ========================================================================== */
.agency-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.premium-lead { font-size: 1.2rem; color: #FFFFFF; font-weight: 600; line-height: 1.4; margin-bottom: 1rem; }
.text-left-desktop { text-align: left; margin-bottom: 1rem; }

.download-deck-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 121, 59, 0.12);
    border: 1px solid rgba(245, 121, 59, 0.4);
    color: var(--primary-orange);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}
.download-deck-btn:hover { background: var(--primary-orange); color: #FFFFFF; transform: translateY(-2px); }

.map-container-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
}

.map-container-card h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }

.region-nodes { display: flex; flex-direction: column; gap: 1.1rem; }

.node-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0,0,0,0.2);
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.02);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-purple);
    border-radius: 50%;
    position: relative;
}
.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-purple);
    animation: nodePulse 2s infinite ease-in-out;
}
.node-row:nth-child(even) .pulse-dot, .node-row:nth-child(even) .pulse-dot::after { background: var(--primary-orange); }

.node-row div strong { block; font-size: 0.95rem; color: #FFFFFF; }
.node-row div small { font-size: 0.8rem; color: var(--text-muted); }

/* CAPABILITIES LAYOUT GRID */
.section-title { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 2.3rem; }
.section-title span { color: var(--primary-purple); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.card {
    display: block;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.7rem;
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.card, .card *,
.card:link, .card:visited, .card:hover, .card:active {
    text-decoration: none !important;
}
.card-clickable-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-orange);
}

/* ==========================================================================
   PHOTO BACKGROUNDS — image fully clear, gradient only behind text, 
   text given shadow for crisp readability
   ========================================================================== */
.card-bg-branding::before,
.card-bg-retail::before,
.section-bg-agency::before,
.section-bg-cases::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.card-bg-branding::before { background-image: url('branding.jpg'); }
.card-bg-retail::before { background-image: url('retail-activation.jpg'); }
.section-bg-agency::before { background-image: url('sample2.jpg'); background-position: center 30%; }
.section-bg-cases::before { background-image: url('sample1.jpg'); background-position: center 20%; }

.card-bg-branding::after,
.card-bg-retail::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(190deg, rgba(12,7,20,0.15) 0%, rgba(12,7,20,0.55) 55%, rgba(12,7,20,0.9) 100%);
    pointer-events: none;
}

.section-bg-agency::after, .section-bg-cases::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(100deg, rgba(12,7,20,0.92) 0%, rgba(12,7,20,0.7) 38%, rgba(12,7,20,0.2) 70%, rgba(12,7,20,0.05) 100%);
    pointer-events: none;
}

.card-bg-branding > *, .card-bg-retail > * {
    position: relative;
    z-index: 1;
}

.card-bg-branding h3, .card-bg-branding p,
.card-bg-retail h3, .card-bg-retail p {
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.section-bg-agency, .section-bg-cases {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
}

.section-bg-agency::before, .section-bg-cases::before,
.section-bg-agency::after, .section-bg-cases::after {
    border-radius: var(--radius);
    margin: -1.5rem;
}

.section-bg-agency > *, .section-bg-cases > * {
    position: relative;
    z-index: 1;
}

.section-bg-agency .premium-lead, .section-bg-agency .section-title,
.section-bg-cases .section-title, .section-bg-cases .case-card h4 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 88, 215, 0.35);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.card h3 { font-size: 1.25rem; color: #FFFFFF !important; margin-bottom: 0.85rem; font-weight: 700; }
.card p { font-size: 0.95rem; color: var(--text-muted) !important; }

/* ==========================================================================
   METRICS-DRIVEN CASE STUDIES DISPLAY
   ========================================================================== */
.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

.case-card {
    background: linear-gradient(145deg, rgba(25, 15, 40, 0.8), rgba(12, 7, 20, 0.8));
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.2rem;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}
.case-card:hover { border-color: var(--primary-orange); transform: translateY(-2px); }

.case-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    background: rgba(255,255,255,0.06);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}

.case-card h4 { font-size: 1.4rem; margin-bottom: 0.8rem; color: #FFFFFF; font-weight: 700; max-width: 80%; }
.case-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

.case-metrics {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.2rem;
}
.case-metrics strong { font-size: 1.5rem; color: var(--primary-orange); display: block; font-weight: 800; }
.case-metrics small { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }

/* ==========================================================================
   DYNAMIC INFINITE MOVEMENT OPERATIONAL PARTNER LOGO INTERFACE
   ========================================================================== */
.partner-carousel-container {
    width: 100%;
    margin-bottom: 4.5rem;
    position: relative;
    z-index: 5;
}

.carousel-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.partner-infinite-window {
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
}

.partner-infinite-track {
    display: flex;
    width: max-content;
    gap: 45px;
    animation: slideLeftInfinite 24s linear infinite;
    will-change: transform;
}

.partner-circle-logo {
    width: 115px;               /* Scaled up from 96px for high legibility */
    height: 115px;              /* Scaled up from 96px for high legibility */
    border-radius: 50%;
    object-fit: fill;           /* Stretches graphic vectors gracefully edge-to-edge inside the circular shield */
    padding: 0;                 /* Stripped down 12px inner breathing constraints to maximize operational typography presence */
    background: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    user-select: none;
    pointer-events: auto;
    display: block;
    flex-shrink: 0;
    transform: scale(1);
    will-change: transform;
}

.partner-circle-logo:hover {
    border-color: var(--primary-purple);
    transform: translate3d(0, 0, 0) scale(1.05);
    box-shadow: 0 0 18px rgba(139, 88, 215, 0.35);
}

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

@keyframes slideLeftInfinite {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================================
   REAL-WORLD BRANDED CONTACT MATRIX
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.8rem;
    align-items: stretch;
}

.form-premium-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.2rem; 
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1.7rem;
}

.channel-row {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.95rem 1.1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}
.channel-row:hover { background: rgba(255, 255, 255, 0.05); transform: translateX(5px); }

.icon-hex {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.contact-svg { width: 22px; height: 22px; fill: #FFFFFF; }

/* Dynamic Service Brand Asset Configurations */
.purple-hex { background: rgba(139, 88, 215, 0.12); border: 1px solid rgba(139, 88, 215, 0.3); }
.orange-hex { background: rgba(245, 121, 59, 0.12); border: 1px solid rgba(245, 121, 59, 0.3); }
.green-hex  { background: rgba(37, 211, 102, 0.1); border: 1px solid rgba(37, 211, 102, 0.25); }
.blue-hex   { background: rgba(0, 119, 181, 0.1); border: 1px solid rgba(0, 119, 181, 0.25); }
.pink-hex   { background: rgba(225, 48, 108, 0.1); border: 1px solid rgba(225, 48, 108, 0.25); }

/* Channel Physics Activations */
.channel-row:hover .purple-hex { background: #8B58D7; border-color: #A376E5; box-shadow: 0 0 15px rgba(139, 88, 215, 0.4); }
.channel-row:hover .orange-hex { background: #F5793B; border-color: #FA9661; box-shadow: 0 0 15px rgba(245, 121, 59, 0.4); }
.channel-row:hover .green-hex  { background: #25D366; border-color: #4AE084; box-shadow: 0 0 15px rgba(37, 211, 102, 0.4); }
.channel-row:hover .blue-hex   { background: #0077B5; border-color: #2694CE; box-shadow: 0 0 15px rgba(0, 119, 181, 0.4); }
.channel-row:hover .pink-hex   { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); border-color: #F9A45E; box-shadow: 0 0 15px rgba(221, 42, 123, 0.4); }

/* Navigation Anchor Dynamic Overlays */
.channel-link {
    font-size: 1.05rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    display: block;
    transition: var(--transition);
}
.channel-info strong { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }
.channel-row:hover .orange-glow { color: #F5793B; }
.channel-row:hover .green-glow { color: #25D366; }
.channel-row:hover .blue-glow { color: #0077B5; }
.channel-row:hover .pink-glow { color: #DD2A7B; }

/* FORM CONTROLS */
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.5rem; font-weight: 600; }

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.9rem; 
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: #FFFFFF;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 12px rgba(139, 88, 215, 0.25);
}

.form-submit-btn {
    width: 100%;
    padding: 0.95rem !important;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

/* ==========================================================================
   HIGH-FIDELITY FOOTER STRUCTURE
   ========================================================================== */
.footer-core {
    background: rgba(10, 6, 18, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4rem 1.5rem 2rem 1.5rem;
    position: relative;
    z-index: 5;
}

.footer-matrix {
    max-width: 1360px; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col:first-child {
    padding-left: 0;
    border-left: none;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    font-weight: 700;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary-purple);
    display: inline-block;
}

.brand-pitch {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 280px;
}

/* Directory Nav Links Layout */
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.65rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 3px;
}

/* Digital Touchpoints — Social Icon Row */
.social-icons-row {
    display: flex;
    gap: 0.7rem;
}
.social-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    transition: var(--transition);
}
.social-icon-btn svg {
    width: 19px;
    height: 19px;
}
.social-icon-btn:hover {
    color: #FFFFFF;
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(139, 88, 215, 0.35);
}
.social-icon-btn:nth-child(1):hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    box-shadow: 0 6px 16px rgba(245, 121, 59, 0.35);
}

/* Operational Access Elements */
.footer-contact-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    line-height: 1.4;
}
.footer-contact-item strong {
    display: block;
    color: #FFFFFF;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}
.footer-contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.footer-contact-item a:hover {
    color: var(--primary-purple);
}

/* Legal Baseline Protection Row */
.footer-baseline {
    max-width: 1360px; 
    margin: 0 auto;
    padding-top: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.footer-baseline p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legal-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.2rem;
    transition: var(--transition);
}
.legal-links a:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   ANIMATION KEYFRAME RUNTIMES
   ========================================================================== */
@keyframes textShimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}
@keyframes introScale {
    0% { transform: scale(0.96) translateY(20px); opacity: 0; filter: blur(5px); }
    100% { transform: scale(1) translateY(0); opacity: 1; filter: blur(0); }
}
@keyframes letterTrack {
    0% { letter-spacing: -3px; opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes sphereFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes smoothDriftSpace {
    0% { background-position: 0 0; }
    100% { background-position: -450px -450px; }
}
@keyframes nodePulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* ==========================================================================
   HIGH-FIDELITY MOBILE INTERFACE INTERCEPTORS (< 900px)
   ========================================================================= */
@media (max-width: 900px) {
    body { font-size: 14px; }
    .main-wrapper { padding: 2.5rem 1.2rem; }

    /* PURE CSS RESPONSIVE SANDWICH MENU DRAWER MECHANISM */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        z-index: 1010;
    }
    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #FFFFFF;
        border-radius: 2px;
        transition: var(--transition);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 78%;
        height: 100vh;
        background: rgba(13, 8, 22, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 3rem;
        gap: 2.2rem;
        transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1005;
    }

    .nav-menu a {
        margin-left: 0;
        font-size: 1.3rem;
        width: 100%;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }
    .nav-menu .nav-cta {
        background: var(--primary-purple);
        border-radius: var(--radius);
        text-align: center;
        padding: 0.8rem;
        font-size: 1.1rem;
    }

    /* Checkbox Control Binding Interface States */
    .menu-toggle-cb:checked ~ .nav-menu {
        right: 0; 
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.6);
    }

    /* Hamburger Transformation Matrix */
    .menu-toggle-cb:checked ~ .hamburger-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle-cb:checked ~ .hamburger-btn span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
    .menu-toggle-cb:checked ~ .hamburger-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* LAYOUT RE-GRIDDING CONSTRICTIONS FOR SMALLER DISPLAYS */
    .hero-container {
        flex-direction: column-reverse; 
        text-align: center;
        gap: 1.5rem;
    }
    .hero-bg-sample1 { min-height: 480px; padding: 2rem 1.5rem; margin: -2.5rem -1.2rem 1.5rem; }
    .hero-text { max-width: 100%; }
    .hero-text h2 { font-size: 1.85rem; }
    .hero-buttons { flex-direction: column; gap: 0.8rem; width: 100%; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    
    .brand-sphere-art { width: 180px; height: 180px; }
    .float-accent { width: 38px; height: 38px; }

    /* Performance Tracker Adaptive Reset */
    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 1rem;
        text-align: center;
    }
    .stat-item {
        border-left: none;
        padding-left: 0;
    }
    .stat-item h3 { font-size: 1.6rem; }

    /* Partner Grid Adaptation */
    .logo-grid-wall {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        text-align: center;
        padding: 0.5rem;
    }
    .partner-logo { font-size: 0.95rem; }

    /* Section Component Column Linearization */
    .agency-grid, .case-studies-grid, .contact-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .section-title { font-size: 1.7rem; margin-bottom: 1.8rem; }
    .text-left-desktop { text-align: center; }

    .download-deck-btn { width: 100%; justify-content: center; margin-bottom: 0.5rem; }
    
    /* Case Studies Mobile Compaction */
    .case-card { padding: 1.5rem; }
    .case-card h4 { font-size: 1.2rem; max-width: 70%; }
    .case-metrics { gap: 1.5rem; }
    .case-metrics strong { font-size: 1.3rem; }

    /* Forms & Channels Structural Reset */
    .channel-row { padding: 0.8rem; }
    .channel-link { font-size: 0.95rem; word-break: break-all; } 
    .form-premium-wrapper { padding: 1.4rem; }

    /* Mobile Safety Net Footer Layout Restructure */
    .footer-matrix {
        grid-template-columns: 1fr 1fr; 
        gap: 2rem 1.5rem;
        padding-bottom: 2rem;
    }
    .footer-col {
        padding-left: 0;
        border-left: none;
    }
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
    .footer-col:nth-child(3) {
        padding-left: 1.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }
    .footer-col:nth-child(4) {
        grid-column: 1 / -1;
    }
    .brand-pitch {
        max-width: 100%;
    }
    .footer-baseline {
        flex-direction: column;
        text-align: center;
    }
    .legal-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
    .legal-links a {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .footer-matrix {
        grid-template-columns: 1fr;
    }
    .footer-col:nth-child(3) {
        padding-left: 0;
        border-left: none;
    }
    .footer-col:nth-child(4) {
        grid-column: auto;
    }
}

/* ==========================================================================
   ADDITIONAL CORE EXTENSIONS: LEGAL CENTER & CAREERS MODULES
   ========================================================================== */
.legal-body {
    background-color: #0b0614;
}

.legal-wrapper {
    padding-top: 8.5rem !important;
    padding-bottom: 5rem !important;
}

.legal-content-card {
    background: linear-gradient(160deg, rgba(25, 15, 40, 0.85), rgba(12, 7, 24, 0.95));
    border: 1px solid rgba(139, 88, 215, 0.15);
    padding: 3.5rem 4rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 960px;
    margin: 0 auto;
}

.legal-badge-header {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-orange);
    background: rgba(245, 121, 59, 0.1);
    border: 1px solid rgba(245, 121, 59, 0.25);
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.legal-content-card h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    margin-bottom: 0.4rem;
}

.legal-last-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: monospace;
}

.legal-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-purple), transparent);
    margin: 2.2rem 0;
}

.legal-text-block {
    margin-bottom: 2rem;
}

.legal-text-block h2 {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 0.8;
    font-weight: 700;
}

.legal-text-block p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.legal-footer-notice {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legal-footer-notice p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 500px;
}

/* Careers Status Cards Configuration */
.careers-hero-wrapper {
    padding-top: 8.5rem !important;
}

.careers-status-card {
    background: rgba(139, 88, 215, 0.03) !important;
    border: 1px solid rgba(139, 88, 215, 0.15) !important;
    margin-bottom: 3.5rem;
}

.careers-status-card h3 {
    color: var(--primary-orange) !important;
}

.careers-tracker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.tracker-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1rem 1.3rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tracker-item strong {
    font-size: 0.95rem;
    color: #FFFFFF;
}

.status-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.status-indicator.locked {
    background: rgba(239, 83, 80, 0.1);
    color: #EF5350;
    border: 1px solid rgba(239, 83, 80, 0.2);
}

.status-indicator.pooling {
    background: rgba(74, 224, 132, 0.1);
    color: #4AE084;
    border: 1px solid rgba(74, 224, 132, 0.2);
}

.careers-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive updates for extension modules */
@media (max-width: 900px) {
    .legal-content-card {
        padding: 2rem 1.5rem;
    }
    .legal-content-card h1 {
        font-size: 1.8rem;
    }
    .legal-footer-notice {
        flex-direction: column;
        text-align: center;
        margin-top: 2rem;
    }
    .legal-footer-notice .btn {
        width: 100%;
    }
    .careers-tracker-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

/* Respect reduced-motion preference & cut decorative animation cost */
@media (prefers-reduced-motion: reduce) {
    .starfield-overlay,
    .agency-mega-title .title-brand,
    .pulse-dot,
    .partner-infinite-track {
        animation: none !important;
    }
}