/* 
   DOEL DIGITAL Premium Styles 
   Style: Minimal, Dark, Authority, High-End
*/

:root {
    --bg-color: #050505;
    --bg-surface: #111111;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #3b82f6;
    /* Subtle Royal Blue for Trust/Digital */
    --accent-glow: rgba(59, 130, 246, 0.5);
    --border-color: #222222;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
    /* For slight elegant touches if needed */

    --container-width: 1200px;
    --section-spacing: 160px;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
    max-width: 100%;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Background: Deep Black (Canvas Spotlight) */
body {
    background-color: #000000;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    position: relative;
    width: 100vw;
    min-height: 100vh;
    /* Content Protection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow selection in forms */
input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

#bg-canvas {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
}

/* Cleanup old pseudo-elements */
body::before,
body::after {
    display: none;
}

#bg-canvas {
    display: none;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-spacing) 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-muted);
    padding-right: 2rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

/* New References Grid */
.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.ref-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    /* Slightly softer corners */
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.ref-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Logo Fix - Restoring Correct Filter */
/* Logo - Final Image Blend */
.logo-img {
    width: 100%;
    max-width: 150px;
    height: auto;
    display: block;
    mix-blend-mode: screen !important;
    filter: none !important;
    /* Source is White on Black. Screen makes Black transparent. Result: White Text. */
    opacity: 1;
}

.footer-brand .logo-img-footer {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.9;
    mix-blend-mode: screen !important;
    filter: none !important;
}

.footer-brand .logo-img-footer {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.9;
    mix-blend-mode: screen;
}

/* Ref Text Improvement - Corporate Premium */
.ref-text {
    font-size: 1.125rem;
    line-height: 1.8;
    /* More breathing room */
    margin-bottom: 2.5rem;
    color: #f0f0f0;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.ref-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.ref-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: black;
    font-size: 0.9rem;
}

.ref-info h5 {
    font-size: 0.9rem;
    color: white;
    margin-bottom: 2px;
}

.ref-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Language Switcher */
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 4rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.lang-btn:hover {
    background: white;
    color: black;
    border-color: white;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    /* Hidden by default to prevent top-left glitch */
    transition: opacity 0.3s ease;
    /* Smooth fade-in */
}

/* Add a class to show it after movement */
body.mouse-moved .cursor-dot,
body.mouse-moved .cursor-outline {
    opacity: 1;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: white;
    z-index: 999999;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 999999;
    transition: transform 0.1s ease, background-color 0.2s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 60ch;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-slow);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.narrow {
    max-width: 800px;
}

.eyebrow {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.highlight {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: 'Haksız Rekabet';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    color: white;
    -webkit-text-stroke: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent-color);
    animation: typeReveal 3s infinite alternate steps(15);
}

@keyframes typeReveal {
    from {
        width: 0;
    }

    to {
        width: 100%;
        border-right-color: transparent;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    backface-visibility: hidden;
}

.btn-primary {
    background: white;
    color: black;
    border: 1px solid white;
}

.btn-primary:hover {
    background: #ccc;
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    /* Reduced from 2rem for a sleeker look */
    z-index: 100;
    mix-blend-mode: difference;
    transition: padding 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.desktop-nav ul {
    display: flex;
    gap: 3rem;
}

.desktop-nav a {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.7;
}

.desktop-nav a:hover,
.desktop-nav a.btn-nav {
    opacity: 1;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: #050505;
    /* Fallback */
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video fills screen on Mobile & PC */
    z-index: 0;
    opacity: 0.6;
    /* Adjust visibility vs background */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0.4) 50%, #050505 100%);
    z-index: 1;
    /* Sits on top of video, below content */
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Content on top */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #aaa;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Audio Button */
.btn-audio {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 0 1.5rem;
    height: 52px;
    /* Match primary button height */
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: white;
}

.btn-audio:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.audio-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.audio-icon {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 15px;
}

.bar {
    width: 3px;
    background: white;
    height: 100%;
    border-radius: 2px;
    animation: none;
}

/* Playing State (Equalizer) */
.btn-audio.playing .bar {
    animation: equalize 1s infinite;
}

.btn-audio.playing .bar:nth-child(1) {
    animation-delay: 0.0s;
}

.btn-audio.playing .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.btn-audio.playing .bar:nth-child(3) {
    animation-delay: 0.4s;
}

.btn-audio.playing .bar:nth-child(4) {
    animation-delay: 0.1s;
}

@keyframes equalize {

    0%,
    100% {
        height: 20%;
    }

    50% {
        height: 100%;
    }
}

/* Trusted By */
.trusted-by {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-label {
    font-size: 0.75rem;
    color: #444;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    display: block;
}

/* Brand Marquee */
.brand-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.brand-track {
    display: flex;
    gap: 6rem;
    white-space: nowrap;
    animation: brandScroll 30s linear infinite;
    align-items: center;
    padding: 2rem 0;
}

.brand-item {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: var(--transition-normal);
    cursor: default;
    font-family: var(--font-heading);
    /* Default sans */
    letter-spacing: -1px;
}

.brand-item.serif {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
}

.brand-item:hover {
    opacity: 1;
    color: white;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Services */
.services {
    padding: var(--section-spacing) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

/* Service Card Update - No Beam */
.service-card {
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    transition: all 0.4s ease;
    /* Faster, smoother */
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

/* Remove old ::before beam */
.service-card::before {
    display: none;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    border-color: var(--accent-color);
    /* Simple frame highlight */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-num {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    transition: color 0.4s ease;
}

.service-card:hover .service-num {
    color: white;
    /* Clean white instead of accent */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Testimonials - Premium Clean (No Blur) */
/* Testimonials - Pure & Clean */
.testimonials {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: transparent;
}

.testimonial-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.quote-text {
    font-family: var(--font-display);
    font-size: 2.5rem;
    /* Larger */
    line-height: 1.4;
    font-style: italic;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Remove background entirely */
.testimonial-wrapper::after {
    display: none;
}

.quote-author {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-top: 2rem;
}

.quote-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--accent-color);
    opacity: 0.5;
}

/* Stats */
.stats {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Process */
.process {
    padding: var(--section-spacing) 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.text-link {
    font-size: 1rem;
    border-bottom: 1px solid white;
    padding-bottom: 4px;
    display: inline-block;
    margin-top: 2rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    /* The Timeline Line */
}

.step-item {
    padding: 2rem 0;
    position: relative;
}

.step-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    /* Align with border line */
    top: 3.5rem;
    width: 10px;
    height: 10px;
    background: var(--bg-color);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    z-index: 2;
    transition: background 0.3s ease;
}

.step-item:hover::before {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.step-head {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.step-icon {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Cases */
.cases {
    padding: var(--section-spacing) 0;
}

.center {
    text-align: center;
    margin-bottom: 6rem;
}

/* Infinite Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    margin-bottom: 6rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    background: rgba(0, 0, 0, 0.2);
    /* Slight darkening behind marquee */
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    gap: 4rem;
    animation: marqueeScroll 12s linear infinite;
    align-items: center;
    will-change: transform;
    /* Hardware acceleration to fix glitch */
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.marquee-content span.dot {
    color: var(--accent-color);
    font-size: 1.5rem;
    align-self: center;
}

@keyframes marqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
        /* Force GPU */
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Contact Form Input Improvements */
input,
select {
    width: 100%;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    /* Slightly lighter than transparent */
    border: 1px solid var(--border-color);
    color: white;
    font-family: inherit;
    transition: var(--transition-slow);
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    border-radius: 0;
    /* Sharp corners like premium brands */
    color-scheme: dark;
    /* Force dark browser controls */
}

select {
    background-image: url("data:image/svg+xml;charset=USP-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

input:focus,
select:focus {
    border-color: var(--accent-color);
    /* Blue accent on focus */
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

select option {
    background-color: #050505;
    /* Matches body bg */
    color: white;
    padding: 1rem;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #888;
    /* Lighter for readability */
    font-weight: 600;
    /* Bolder */
}

.cases-row {
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.case-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50/50 split for better balance with large images */
    gap: 6rem;
    align-items: center;
}

.case-card:nth-child(even) {
    grid-template-columns: 0.8fr 1.2fr;
}

.case-card:nth-child(even) .case-image {
    order: 2;
}

.case-image {
    height: auto;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    /* Allow shadow to spread */
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    display: flex;
    justify-content: center;
}

.case-img-real {
    width: auto;
    max-width: 100%;
    height: 600px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, filter 0.4s ease;
    will-change: transform, box-shadow;
    /* Hardware acceleration hacks */
    backface-visibility: hidden;
    transform: translateZ(0);
}

.case-card:hover .case-img-real {
    transform: scale(1.03) translateZ(0);
    /* Simpler scale avoid flutter */
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.9);
    filter: brightness(1.1);
}

/* Header Logo */
.logo-wrapper {
    display: block;
    width: 140px;
    /* Corrected size */
    position: relative;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: auto;
    display: block;
    /* Clean blend for black-on-white JPG */
    filter: invert(1) contrast(2);
    mix-blend-mode: screen;
}

/* Footer Logo */
.logo-img-footer {
    width: 100px;
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.8;
    filter: invert(1) contrast(2);
    mix-blend-mode: screen;
}

/* Removed legacy effect */

.case-cat {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.case-stat {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

.case-stat strong {
    font-size: 2rem;
    font-weight: 400;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background: var(--bg-surface);
}

.testimonial-item {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

blockquote {
    font-size: 2rem;
    line-height: 1.4;
    font-family: var(--font-display);
    font-style: italic;
    margin-bottom: 2rem;
}

cite {
    font-style: normal;
    font-size: 0.875rem;
    color: #666;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Contact */
.contact-section {
    padding: var(--section-spacing) 0;
}

.cta-box {
    text-align: center;
}

.contact-form {
    margin-top: 4rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
select {
    width: 100%;
    padding: 1.25rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: white;
    font-family: inherit;
    transition: var(--transition-slow);
}

input:focus,
select:focus {
    border-color: white;
    outline: none;
    background: rgba(255, 255, 255, 0.02);
}

select option {
    background-color: #000;
    color: white;
    padding: 10px;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.form-note {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 1.5rem;
    color: #555;
    opacity: 0.7;
}

/* Blog */
.blog-teaser {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.split-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    padding: 2.5rem;
    background: var(--bg-surface);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    /* Ensure no underline if it was an anchor before */
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.blog-date {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-card h4 {
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.read-more {
    margin-top: auto;
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 500;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.blog-card:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    background: #000;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 6rem;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-col h4 {
    font-size: 0.875rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.link-col a {
    color: #888;
}

.link-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #111;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: #888;
    /* Lighter grey for better visibility */
    font-size: 0.875rem;
}

.legal {
    display: flex;
    gap: 2rem;
}

.legal a {
    color: #aaa;
    /* Even lighter for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal a:hover {
    color: white;
    /* Bright on hover */
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 4rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .cases-row {
        gap: 6rem;
    }

    .case-card {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .case-image {
        order: -1 !important;
        height: auto;
        /* Allow full image height */
        margin-bottom: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
    }

    .desktop-nav {
        display: none;
        /* Default hidden on mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: black;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 99;
        transition: opacity 0.3s ease;
    }

    .desktop-nav.active {
        display: flex;
        opacity: 1;
    }

    .desktop-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .desktop-nav a {
        font-size: 1.5rem;
    }

    .mobile-toggle {
        display: flex;
        z-index: 100;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stat-separator {
        width: 100px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
        margin: 0 auto;
    }

    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        gap: 4rem;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    /* Hide Custom cursor on touch */
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        display: block;
        text-align: center;
    }
}

/* Loader */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background: url('assets/noise.svg');
    mix-blend-mode: soft-light;
    /* Improved for gradients */
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-text {
    font-family: var(--font-display);
    font-size: 2rem;
    color: white;
    opacity: 0;
    animation: pulseLoad 2s infinite;
}

@keyframes pulseLoad {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Darker blur backdrop */
    backdrop-filter: blur(12px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    cursor: default;
    /* Reset cursor to default on overlay */
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    /* Start slightly lower */
    width: 90%;
    max-width: 650px;
    background: #111;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: auto;
    /* Ensure content is selectable */
}

.modal.active {
    transform: translate(-50%, -50%);
    /* Slide up to center */
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-content .blog-date {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.modal-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
}

.modal-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.modal-content strong {
    color: #fff;
    font-weight: 500;
}

/* --- DEFINITIVE MOBILE FIXES (V3) --- */
@media (max-width: 768px) {

    /* 1. Global Centering */
    .hero {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding-top: 0 !important;
    }

    .hero-content {
        align-items: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        padding: 0 1rem !important;
    }

    /* 2. Typography Sizing */
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-desc {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .eyebrow {
        font-size: 0.7rem !important;
        justify-content: center !important;
        color: rgba(255, 255, 255, 0.7) !important;
        margin-bottom: 1rem !important;
    }

    /* 3. Logo Fix (White Box Removal) */
    .logo-img,
    .logo-img-footer {
        filter: none !important;
        /* DO NOT INVERT - Source is already White-on-Black */
        mix-blend-mode: screen !important;
        max-width: 130px !important;
    }

    /* 4. Audio Button (PC Style Circular - Floating) */
    .hero-actions {
        flex-direction: column !important;
        gap: 1.5rem !important;
        width: 100% !important;
        align-items: center !important;
        position: relative !important;
    }

    .btn-audio {
        position: fixed !important;
        /* Fixed to viewport bottom right */
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 50% !important;
        z-index: 999 !important;
        justify-content: center !important;
        padding: 0 !important;
        backdrop-filter: blur(10px);
        margin: 0 !important;
        display: flex !important;
    }

    .audio-text {
        display: none !important;
    }

    .btn {
        width: 100% !important;
        max-width: 300px !important;
    }

    /* 5. Mobile Menu Backdrop */
    .desktop-nav {
        background: #000 !important;
    }
}

/* --- Restored Blog Styles --- */
.blog-teaser {
    padding: var(--section-spacing) 0;
    position: relative;
    z-index: 10;
}

.split-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.blog-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.blog-date {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
    text-transform: uppercase;
    font-weight: 600;
}

.blog-card h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
}

.read-more {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card:hover .read-more {
    color: white;
}