/* ==========================================================================
   STRUKTUR.AGENCY — DESIGN SYSTEM & LUXURY PRODUCTION CSS
   Inspired by architectural animation & futuristic visual studios
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --bg-dark: #07070A;
    --bg-surface: #101016;
    --bg-elevated: #181822;
    --bg-card-blur: rgba(18, 18, 26, 0.65);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(45, 95, 245, 0.4);
    --border-neon: rgba(45, 95, 245, 0.8);
    
    --text-primary: #FFFFFF;
    --text-secondary: #AEAEBE;
    --text-muted: #6B6B7C;
    
    --color-primary: #2D5FF5;
    --color-primary-glow: rgba(45, 95, 245, 0.35);
    --color-accent-cyan: #00E5FF;
    --color-accent-purple: #8A3FFF;
    --color-gold: #F5C842;
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --nav-height: 80px;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    selection-background-color: var(--color-primary);
    selection-color: #FFFFFF;
}

::selection {
    background: var(--color-primary);
    color: #fff;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #242433;
    border-radius: var(--radius-pill);
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* --- WEBGL / CANVAS BACKGROUND SIMULATION --- */
#sim-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: screen;
}

.ambient-glow {
    position: fixed;
    width: 65vw;
    height: 65vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 95, 245, 0.07) 0%, rgba(138, 63, 255, 0.03) 45%, transparent 70%);
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--color-primary) 75%, var(--color-accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-accent {
    color: var(--color-primary);
}

.eyebrow {
    font-family: var(--font-code);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-accent-cyan);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-accent-cyan);
}

/* --- BUTTONS & CTA --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(45, 95, 245, 0.4);
}
.btn-primary:hover {
    background: #3A6DFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(45, 95, 245, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 100;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(7, 7, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.35rem;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span {
    color: var(--color-primary);
}
.logo-tag {
    font-family: var(--font-code);
    font-size: 0.65rem;
    background: rgba(45, 95, 245, 0.15);
    color: var(--color-primary);
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid rgba(45, 95, 245, 0.3);
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}
.nav-link:hover {
    color: var(--text-primary);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 40px) 5% 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3.2rem, 6.5vw, 5.5rem);
    line-height: 1.02;
    margin-bottom: 24px;
    letter-spacing: -0.035em;
}

.hero-content p.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.trust-banner {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.trust-banner strong {
    color: #FFFFFF;
    font-weight: 600;
}
.trust-icon {
    color: #10B981;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 32px;
    padding: 32px;
    background: var(--bg-card-blur);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-cyan));
}

.stat-item {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 20px;
}
.stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat-num span {
    color: var(--color-primary);
}
.stat-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- SECTION COMMONS --- */
.section {
    padding: 120px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    max-width: 720px;
    margin-bottom: 64px;
}
.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

/* --- ABOUT / B2B PARTNERSHIP STRUKTUR ADVANTAGE --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-accent-cyan);
}

.golden-rule-card {
    background: linear-gradient(145deg, #12121D 0%, #0A0A12 100%);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(45, 95, 245, 0.15);
}
.golden-rule-card::after {
    content: 'B2B';
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 9rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
}
.golden-rule-tag {
    font-family: var(--font-code);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}
.golden-rule-quote {
    font-size: 1.4rem;
    line-height: 1.5;
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 24px;
}
.golden-rule-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-code);
}

/* --- SERVICES PORTFOLIO (THE 4 PILLARS) --- */
.service-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px;
    align-items: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}
.service-card.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}
.service-card.reverse .service-img-wrapper {
    order: 2;
}
.service-card.reverse .service-info {
    order: 1;
}

.service-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.1);
    group: hover;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(10px);
    color: var(--color-accent-cyan);
    font-family: var(--font-code);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 229, 255, 0.3);
    font-weight: 700;
    letter-spacing: 0.1em;
    z-index: 2;
}

.service-info h3 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}
.service-subtitle {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 20px;
}
.service-info p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.deliverable-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 36px;
}
.deliverable-item {
    font-size: 0.9rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.deliverable-item::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 900;
}

/* --- MOBILE GAMES DIVISION SPOTLIGHT --- */
.games-spotlight {
    background: linear-gradient(135deg, #100D20 0%, #07070E 100%);
    border: 1px solid rgba(138, 63, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 64px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}
.games-spotlight::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(138, 63, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.game-title-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition-fast);
}
.game-title-card:hover {
    border-color: var(--color-accent-purple);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(138, 63, 255, 0.2);
}
.game-icon-holder {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.game-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #FFFFFF;
}
.game-genre {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.game-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- HOW WE WORK / STEPPER --- */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.workflow-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    position: relative;
    transition: var(--transition-fast);
}
.workflow-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}
.step-number {
    font-family: var(--font-code);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(45, 95, 245, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}
.step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #FFFFFF;
}
.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- FAQ ACCORDION --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}
.faq-item.active {
    border-color: var(--color-primary);
    background: var(--bg-elevated);
}
.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
}
.faq-toggle {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 32px 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}

/* --- ESTIMATOR / BOOKING MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    padding: 48px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px; right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.modal-close:hover {
    color: #FFFFFF;
}

.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--text-secondary);
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 16px rgba(45, 95, 245, 0.3);
}

/* --- FOOTER & GDPR BAR --- */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 80px 5% 40px;
    background: #040406;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-bottom {
    max-width: 1400px;
    margin: 32px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.gdpr-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 420px;
    background: rgba(16, 16, 22, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.gdpr-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
    .hero-grid, .service-card, .service-card.reverse, .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-card.reverse .service-img-wrapper,
    .service-card .service-img-wrapper {
        order: 1;
    }
    .service-card.reverse .service-info,
    .service-card .service-info {
        order: 2;
    }
    .workflow-grid, .games-grid, .billing-grid-secondary {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .workflow-grid, .games-grid, .billing-grid-secondary {
        grid-template-columns: 1fr !important;
    }
    .deliverable-list {
        grid-template-columns: 1fr;
    }
    .service-card, .golden-rule-card, .games-spotlight, .billing-box {
        padding: 28px !important;
    }
    .hero, .hero-simple {
        padding-top: 120px !important;
    }
    .hero-title {
        font-size: 2.3rem !important;
    }
}

/* ==========================================================================
   SIMPLE, CINEMATIC STUDIO AESTHETIC (INSPIRED BY AWESOMEBRODUCTION)
   ========================================================================== */

/* Navbar refinements */
.navbar {
    background: rgba(7, 7, 10, 0.85) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.nav-links li a.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #CBD5E1;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}
.nav-links li a.nav-link:hover {
    color: #FFFFFF;
}
.nav-links li a.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}
.nav-links li a.nav-link:hover::after {
    width: 100%;
}

/* Simple Hero Architecture */
.hero-simple {
    padding: 180px 5% 130px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero-simple-content .eyebrow {
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-accent-cyan);
    font-size: 0.85rem;
}
.hero-title {
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.hero-lead {
    font-size: 1.35rem;
    color: #FFFFFF;
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(255,255,255,0.1);
}
.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 860px;
    margin: 0 auto 45px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.hero-meta-bar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    color: #94A3B8;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.meta-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

/* Services Grid & Card Enhancements */
.services-clean-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card {
    background: var(--bg-card-blur) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.service-card:hover {
    border-color: rgba(45, 95, 245, 0.5) !important;
    box-shadow: 0 25px 60px rgba(45, 95, 245, 0.15);
}

/* B2B Billing & Financial Clarity */
.billing-container {
    max-width: 1200px;
    margin: 0 auto;
}
.billing-box {
    background: var(--bg-elevated);
    border: 1px solid rgba(45, 95, 245, 0.35);
    border-left: 6px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 45px 55px;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}
.billing-box::after {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(45, 95, 245, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.billing-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 18px;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}
.billing-body {
    font-size: 1.2rem;
    line-height: 1.75;
    color: #E2E8F0;
    font-weight: 400;
}
.billing-grid-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.billing-sub-box {
    background: rgba(16, 16, 22, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition-smooth);
}
.billing-sub-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    background: var(--bg-surface);
}
.billing-sub-box h4 {
    font-size: 1.15rem;
    color: #FFFFFF;
    margin-bottom: 12px;
    font-weight: 700;
}
.billing-sub-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* References Footer Row */
.references-section-end {
    background: transparent !important;
    border: none !important;
}
.references-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 55px 90px;
    max-width: 1100px;
    margin: 0 auto;
}
.ref-item img.client-logo-img {
    filter: brightness(1.15);
    transition: transform 0.3s ease, filter 0.3s ease;
    max-height: 60px;
    width: auto;
    object-fit: contain;
}
.ref-item img.client-logo-img:hover {
    transform: scale(1.08);
    filter: brightness(1.4);
}

/* Immutable Studio Logo Anti-Compression Protocol */
.navbar .logo-link,
}
.nav-links li a.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}
.nav-links li a.nav-link:hover::after {
    width: 100%;
}

/* Simple Hero Architecture */
.hero-simple {
    padding: 180px 5% 130px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero-simple-content .eyebrow {
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-accent-cyan);
    font-size: 0.85rem;
}
.hero-title {
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.hero-lead {
    font-size: 1.35rem;
    color: #FFFFFF;
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(255,255,255,0.1);
}
.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 860px;
    margin: 0 auto 45px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.hero-meta-bar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    color: #94A3B8;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.meta-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

/* Services Grid & Card Enhancements */
.services-clean-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card {
    background: var(--bg-card-blur) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.service-card:hover {
    border-color: rgba(45, 95, 245, 0.5) !important;
    box-shadow: 0 25px 60px rgba(45, 95, 245, 0.15);
}

/* B2B Billing & Financial Clarity */
.billing-container {
    max-width: 1200px;
    margin: 0 auto;
}
.billing-box {
    background: var(--bg-elevated);
    border: 1px solid rgba(45, 95, 245, 0.35);
    border-left: 6px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 45px 55px;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}
.billing-box::after {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(45, 95, 245, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.billing-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 18px;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}
.billing-body {
    font-size: 1.2rem;
    line-height: 1.75;
    color: #E2E8F0;
    font-weight: 400;
}
.billing-grid-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.billing-sub-box {
    background: rgba(16, 16, 22, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition-smooth);
}
.billing-sub-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    background: var(--bg-surface);
}
.billing-sub-box h4 {
    font-size: 1.15rem;
    color: #FFFFFF;
    margin-bottom: 12px;
    font-weight: 700;
}
.billing-sub-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* References Footer Row */
.references-section-end {
    background: transparent !important;
    border: none !important;
}
.references-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 55px 90px;
    max-width: 1100px;
    margin: 0 auto;
}
.ref-item img.client-logo-img {
    filter: brightness(1.15);
    transition: transform 0.3s ease, filter 0.3s ease;
    max-height: 60px;
    width: auto;
    object-fit: contain;
}
.ref-item img.client-logo-img:hover {
    transform: scale(1.08);
    filter: brightness(1.4);
}

/* Immutable Studio Logo Anti-Compression Protocol */
.navbar .logo-link,
.footer-col-brand a {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}
.navbar .nav-logo-img {
    height: 60px !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    transition: height 0.3s ease, filter 0.3s ease !important;
}
.navbar.scrolled .nav-logo-img {
    height: 52px !important;
}
.footer-col-brand img {
    height: 65px !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
}

/* ==========================================================================
   ENTERPRISE BLOGS & THOUGHT LEADERSHIP (TRAFFIC ENGINE)
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 680px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: var(--bg-card-blur);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 40px rgba(0,0,0,0.45);
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    border-color: rgba(45, 95, 245, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(45, 95, 245, 0.2);
}
.blog-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #12121A;
}
.blog-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.9);
}
.blog-card:hover .blog-thumb-wrapper img {
    transform: scale(1.08);
    filter: brightness(1.05);
}
.blog-category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-code);
    font-size: 0.7rem;
    background: rgba(7, 7, 10, 0.85);
    color: var(--color-accent-cyan);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 229, 255, 0.35);
    font-weight: 700;
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
}
.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-meta-bar {
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-code);
}
.blog-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.35;
    margin-bottom: 15px;
    transition: color 0.2s ease;
}
.blog-card:hover .blog-title {
    color: var(--color-primary);
}
.blog-excerpt {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.blog-read-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.3s ease, color 0.3s ease;
}
.blog-card:hover .blog-read-link {
    color: var(--color-accent-cyan);
    transform: translateX(5px);
}

/* ==========================================================================
   STANDALONE ARTICLE READING ARCHITECTURE (HIGH-CONVERSION SEO)
   ========================================================================== */
.article-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 160px 5% 120px;
}
.article-header-meta {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--color-accent-cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 12px;
}
.article-h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.article-subtitle {
    font-size: 1.35rem;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 500;
}
.article-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 45px;
    font-size: 0.95rem;
    color: #94A3B8;
}
.article-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.article-body {
    font-size: 1.18rem;
    color: #E2E8F0;
    line-height: 1.8;
}
.article-body h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #FFFFFF;
    margin: 50px 0 20px;
    font-weight: 800;
}
.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #00E5FF;
    margin: 35px 0 15px;
    font-weight: 700;
}
.article-body p {
    margin-bottom: 24px;
}
.article-body ul, .article-body ol {
    margin: 0 0 30px 25px;
}
.article-body li {
    margin-bottom: 12px;
}
.article-callout-box {
    background: var(--bg-elevated);
    border-left: 5px solid var(--color-primary);
    padding: 30px 35px;
    border-radius: var(--radius-sm);
    margin: 45px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.article-callout-box h4 {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}
.article-callout-box p {
    margin-bottom: 0 !important;
    font-size: 1.08rem;
    color: #CBD5E1;
}
.article-conversion-footer {
    margin-top: 80px;
    padding: 60px;
    background: radial-gradient(circle at 50% 0%, rgba(45, 95, 245, 0.25) 0%, rgba(16, 16, 22, 0.9) 80%);
    border: 1px solid rgba(45, 95, 245, 0.5);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
}
.article-conversion-footer h3 {
    font-size: 2.2rem;
    color: #FFFFFF;
    margin-bottom: 18px;
    font-weight: 800;
    font-family: var(--font-heading);
}
.article-conversion-footer p {
    color: #CBD5E1;
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* =========================================================
   CINEMATIC STUDIO LOGO ARCHITECTURE (ANTI-COMPRESSION & MOTION)
   ========================================================= */
@keyframes logo-cinematic-breathe {
    0%, 100% {
        opacity: 0.82;
        filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.14)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
    }
    50% {
        opacity: 0.94;
        filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.35)) drop-shadow(0 0 30px rgba(45, 95, 245, 0.25)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
    }
}

.studio-logo-glow {
    height: 44px !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
    object-fit: contain;
    display: block;
    animation: logo-cinematic-breathe 6s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
}

.studio-logo-glow:hover {
    opacity: 1 !important;
    transform: translateY(-2px) scale(1.03) !important;
    filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.75)) drop-shadow(0 0 45px rgba(45, 95, 245, 0.6)) !important;
    animation-play-state: paused;
}

.footer-logo-glow {
    height: 48px !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
    object-fit: contain;
    display: block;
    margin-bottom: 16px;
    opacity: 0.78;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.12));
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-logo-glow:hover {
    opacity: 1 !important;
    transform: translateY(-2px) scale(1.03) !important;
    filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.65)) drop-shadow(0 0 42px rgba(45, 95, 245, 0.5)) !important;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE DEVIATION ARCHITECTURE (TOUCH & SCALING)
   ========================================================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 110;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: var(--radius-pill);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 992px) {
    /* Responsive margins, paddings, and font sizes across grids */
    .hero-title {
        font-size: clamp(2.2rem, 6vw, 3.2rem) !important;
    }
    .hero-lead {
        font-size: 1.15rem !important;
    }
    .about-grid, .service-card, .service-card.reverse {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        padding: 36px !important;
    }
    .service-img-wrapper {
        order: 1 !important;
    }
    .service-info {
        order: 2 !important;
    }
    .billing-grid-secondary {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .games-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .workflow-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(7, 7, 10, 0.96);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding: 110px 36px 40px;
        display: flex;
        flex-direction: column;
        z-index: 105;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
    }
    
    .nav-container.active {
        right: 0;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links li a.nav-link {
        font-size: 1.15rem;
        display: block;
        padding: 8px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    
    .nav-cta-btn {
        display: none !important;
    }

    /* Transform hamburger to X active menu state */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--color-accent-cyan);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--color-accent-cyan);
    }

    .workflow-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        text-align: left;
    }
    
    /* Viewport overflow fix */
    .navbar {
        padding: 0 20px !important;
        max-width: 100vw !important;
        overflow: hidden;
    }
    .studio-logo-glow {
        height: 34px !important; /* Scale logo down slightly for small mobile screens to prevent overflow */
    }
}

@media (max-width: 480px) {
    .section {
        padding: 80px 4% !important;
        overflow: hidden;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-meta-bar {
        padding: 12px 20px;
        border-radius: 12px;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        width: 100%;
    }
    .meta-divider {
        display: none;
    }
    .billing-box {
        padding: 20px !important;
    }
}

/* Global anti-overflow safety wrapper */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    box-sizing: border-box;
}
.content-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}
