/* Main CSS for Ofectra v1.0.2 */
:root {
    --color-primary-red: #E63946; /* Example Red */
    --color-secondary-blue: #1D3557; /* Example Blue */
    --color-bg-dark: #0f0f0f;
    --color-text-light: #F1FAEE;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

/* ── HEADER: Animated Logo & CTA ── */
.header-logo-animated {
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
}

.logo-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) scale(0.7);
    animation: logoLetterIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: calc(var(--i) * 0.08s + 0.2s);
}

@keyframes logoLetterIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.7);
        filter: blur(4px);
    }
    60% {
        opacity: 1;
        transform: translateY(-3px) scale(1.05);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* CTA Button */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    text-decoration: none;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.4);
    border-radius: 999px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-cta-btn svg {
    transition: transform 0.3s ease;
}

.header-cta-btn:hover {
    background: rgba(230, 57, 70, 0.9);
    border-color: #E63946;
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.3),
                0 0 60px rgba(230, 57, 70, 0.1);
    transform: translateY(-2px);
}

.header-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: #000; /* Prevent white gaps from Admin Bar */
    scrollbar-width: thin;
    scrollbar-color: #E63946 #111;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #E63946;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff4d5a;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    
    /* Content Protection */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

/* Prevent image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none; /* Disables clicking, dragging, and context menu on images */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container Utility (Mimicking Tailwind) */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

/* Responsive utilities removed as they override compiled Tailwind CSS */

/* ── Intro Loading Screen ── */
#intro-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

#intro-screen.intro-exit {
    animation: introSlideUp 0.8s cubic-bezier(0.87, 0, 0.13, 1) forwards;
}

.intro-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-icon {
    margin-bottom: 0.2rem;
    opacity: 0;
    animation: introFadeIn 0.8s ease forwards 0.1s;
    display: flex;
    justify-content: center;
}

.intro-icon img {
    width: 240px;
    height: 240px;
    object-fit: contain;
}

.intro-logo {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    opacity: 0;
    animation: introFadeIn 1s ease forwards 0.3s;
}

.intro-line {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.intro-line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #E63946, #ff6b6b);
    border-radius: 2px;
    animation: introLineFill 3s ease-in-out forwards 0.5s;
}

@keyframes introFadeIn {
    to { opacity: 1; }
}

@keyframes introLineFill {
    to { width: 100%; }
}

@keyframes introSlideUp {
    to { transform: translateY(-100%); }
}

/* Canvas config */
canvas {
    display: block;
}


/* Modern Glassmorphism Header */
#masthead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 15, 15, 0.4); /* Semi-transparent initially */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

#masthead.scrolled {
    background: rgba(5, 5, 5, 0.85); /* Darker & Solid on scroll */
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Ensure logo and nav items scale slightly on scroll for sleek effect */
#masthead.scrolled .custom-logo-link img {
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

/* Stats Hover Effects */
.stat-item {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    padding: 1rem;
    border-radius: 1rem;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 250px; 
    height: 250px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.4) 0%, rgba(230, 57, 70, 0) 70%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.stat-item:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

/* ========================================
   HOLD BUTTON INTERACTION
   ======================================== */
@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.btn-shake {
    animation: shake 0.5s infinite;
}

.hero-btn {
    position: relative;
    overflow: hidden; /* For progress fill */
    z-index: 10;
}

.hero-btn .btn-progress-fill {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    z-index: -1;
    transition: width 0.1s linear;
}

/* ========================================
   REFERENCE ITEM HOVER EXPAND (Desktop)
   ======================================== */

/* Default scroll wrapper — hides overflow in grid view */
.ref-scroll-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Reference image base transition */
.reference-item:not(.ref-expanded) .ref-img {
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (min-width: 768px) {
    .reference-item:not(.ref-expanded) {
        transition: box-shadow 0.5s ease,
                    border-color 0.4s ease;
        z-index: 1;
        border: 2px solid transparent;
    }

    /* Hover: glow border + shadow, NO container scale */
    .reference-item:not(.ref-expanded):hover {
        z-index: 10;
        box-shadow: 0 8px 40px rgba(230, 57, 70, 0.2),
                    0 10px 40px rgba(0, 0, 0, 0.6);
        border-color: rgba(230, 57, 70, 0.4);
    }

    /* Ken Burns: zoom in + scroll top-to-bottom on hover */
    .reference-item:not(.ref-expanded):hover .ref-img {
        animation: kenBurnsPan 10s ease-in-out infinite alternate;
    }

    @keyframes kenBurnsPan {
        0% {
            transform: scale(1.15);
            object-position: center top;
        }
        100% {
            transform: scale(1.15);
            object-position: center bottom;
        }
    }

    /* Enhanced overlay on hover */
    .reference-item:not(.ref-expanded):hover .ref-overlay-info {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(230, 57, 70, 0.08) 50%,
            transparent 100%
        ) !important;
    }

    /* Red glow line at bottom */
    .reference-item:not(.ref-expanded)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--color-primary-red), transparent);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 5;
    }

    .reference-item:not(.ref-expanded):hover::after {
        opacity: 1;
    }
}

/* ========================================
   REFERENCE EXPANDED (Scrollable Modal)
   ======================================== */

/* Dark backdrop overlay */
.ref-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ref-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Expanded reference card */
.reference-item.ref-expanded {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-width: 480px !important;
    height: 80vh !important;
    aspect-ratio: auto !important;
    z-index: 1001 !important;
    border-radius: 1rem !important;
    border: 2px solid rgba(230, 57, 70, 0.5) !important;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.9),
                0 0 40px rgba(230, 57, 70, 0.15) !important;
    overflow: hidden !important;
    animation: refExpandIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes refExpandIn {
    from {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Scrollable wrapper when expanded */
.reference-item.ref-expanded .ref-scroll-wrapper {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Custom scrollbar for expanded view */
.reference-item.ref-expanded .ref-scroll-wrapper::-webkit-scrollbar {
    width: 6px;
}

.reference-item.ref-expanded .ref-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.reference-item.ref-expanded .ref-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--color-primary-red);
    border-radius: 3px;
}

/* Image in expanded state: full width, natural height */
.reference-item.ref-expanded .ref-scroll-wrapper img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
    display: block;
}

/* Hide hover overlay info in expanded state */
.reference-item.ref-expanded .ref-overlay-info {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Close button */
.ref-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.ref-close-btn:hover {
    background: var(--color-primary-red);
    border-color: var(--color-primary-red);
    transform: rotate(90deg);
}

.reference-item.ref-expanded .ref-close-btn {
    opacity: 1;
    pointer-events: auto;
}

/* Scroll hint indicator */
.ref-scroll-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    animation: scrollHintBounce 1.5s ease-in-out infinite;
}

.reference-item.ref-expanded .ref-scroll-hint {
    opacity: 1;
}

.reference-item.ref-expanded .ref-scroll-hint.hidden {
    opacity: 0;
}

@keyframes scrollHintBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

/* ═══ Custom Cursor ═══ */
body, a, button, input, textarea {
    cursor: none !important;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #E63946;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    opacity: 0;
    will-change: transform;
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(230, 57, 70, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    opacity: 0;
    will-change: transform;
    transition: width 0.4s ease, height 0.4s ease, border-color 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background: rgba(230, 57, 70, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999997;
    opacity: 0;
    will-change: transform, opacity;
}

/* Hover state (links, buttons) */
.cursor-dot.cursor-hover {
    width: 4px;
    height: 4px;
    background: #fff;
}

.cursor-ring.cursor-hover {
    width: 50px;
    height: 50px;
    border-color: #E63946;
    background: rgba(230, 57, 70, 0.08);
}

/* View state (reference items, service cards) */
.cursor-dot.cursor-view {
    width: 0;
    height: 0;
    opacity: 0;
}

.cursor-ring.cursor-view {
    width: 80px;
    height: 80px;
    border-color: #E63946;
    background: rgba(230, 57, 70, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-ring.cursor-view::after {
    content: attr(data-cursor-text);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Click feedback */
.cursor-dot.cursor-click {
    transform: scale(0.6);
}

.cursor-ring.cursor-click {
    transform: scale(0.85);
}

/* Hide on mobile / touch */
@media (max-width: 768px), (hover: none) {
    .cursor-dot, .cursor-ring, .cursor-trail { display: none !important; }
    body, a, button, input, textarea { cursor: auto !important; }
}

/* ========================================
   PROCESS SECTION (Scroll Animated)
   ======================================== */
.process-section {
    background: linear-gradient(180deg, 
        rgba(15, 15, 15, 1) 0%, 
        rgba(10, 10, 10, 1) 50%,
        rgba(15, 15, 15, 1) 100%
    );
}

.process-header {
    position: relative;
    z-index: 2;
}

.process-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem 6rem;
}

/* Vertical progress track */
.process-progress-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(-50%);
    z-index: 0;
}

.process-progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--color-primary-red), rgba(230, 57, 70, 0.3));
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.4), 0 0 5px rgba(230, 57, 70, 0.2);
    position: relative;
}

.process-progress-fill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px #fff, 0 0 10px var(--color-primary-red);
}

/* Step */
.process-step {
    position: relative;
    z-index: 1;
    padding: 3rem 0;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.process-step.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating layout */
.process-step-inner {
    position: relative;
    max-width: 380px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    backdrop-filter: blur(8px);
    transition: all 0.5s ease;
}

.process-step.is-active .process-step-inner {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(230, 57, 70, 0.06);
}

/* Alternate left/right */
.process-step:nth-child(odd) .process-step-inner {
    margin-left: 0;
    margin-right: auto;
}

.process-step:nth-child(even) .process-step-inner {
    margin-left: auto;
    margin-right: 0;
}

/* Connector dot on the center line */
.process-step::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 0.5s ease;
}

.process-step.is-active::before {
    background: var(--color-primary-red);
    border-color: var(--color-primary-red);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.6),
                0 0 40px rgba(230, 57, 70, 0.2);
    transform: translate(-50%, -50%) scale(1.3);
}

/* Horizontal connector line from dot to card */
.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 2;
    transition: background 0.5s ease;
}

.process-step:nth-child(odd)::after {
    left: calc(50% + 8px);
    right: calc(100% - 380px - 2.5rem);
    width: 40px;
}

.process-step:nth-child(even)::after {
    right: calc(50% + 8px);
    left: auto;
    width: 40px;
}

.process-step.is-active::after {
    background: rgba(230, 57, 70, 0.3);
}

/* Step Number Badge */
.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-primary-red), rgba(230, 57, 70, 0.6));
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.process-step-number span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.05em;
}

/* Icon */
.process-step-icon {
    width: 56px;
    height: 56px;
    padding: 14px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.15);
    color: var(--color-primary-red);
    margin-bottom: 1.25rem;
    transition: all 0.5s ease;
}

.process-step.is-active .process-step-icon {
    background: rgba(230, 57, 70, 0.12);
    border-color: rgba(230, 57, 70, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.15);
}

.process-step-icon svg {
    width: 100%;
    height: 100%;
}

/* Title */
.process-step-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

/* Description */
.process-step-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
}

/* Tags */
.process-step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.process-step-tags span {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary-red);
    background: rgba(230, 57, 70, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.15);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.process-step.is-active .process-step-tags span {
    background: rgba(230, 57, 70, 0.12);
    border-color: rgba(230, 57, 70, 0.25);
}

/* Mobile: Stack centered */
@media (max-width: 767px) {
    .process-progress-track {
        left: 24px;
        transform: none;
    }

    .process-step::before {
        left: 24px;
    }

    .process-step::after {
        display: none;
    }

    .process-step:nth-child(odd) .process-step-inner,
    .process-step:nth-child(even) .process-step-inner {
        margin-left: 52px;
        margin-right: 0;
        max-width: none;
    }

    .process-step {
        padding: 1.5rem 0;
    }

    .process-step-inner {
        padding: 1.5rem;
    }
}

/* ═══════════════════════════════════════════
   SERVICES – Horizontal Scroll Cards
   ═══════════════════════════════════════════ */
.svc-section {
    position: relative;
    padding: 6rem 0 4rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, #0a0a0a 20%, #0a0a0a 80%, rgba(0,0,0,0.5) 100%);
    overflow: hidden;
}

/* ── Header ── */
.svc-header {
    text-align: center;
    padding: 0 1rem 3.5rem;
}

.svc-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.15;
}

.svc-title span {
    color: #E63946;
}

.svc-subtitle {
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
}

/* ── Track wrapper ── */
.svc-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 0 2rem;
}

/* ── Scrollable track ── */
.svc-track {
    display: flex;
    gap: 20px;
    padding: 1rem 3rem 1rem;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    scroll-behavior: auto;
}

.svc-track::-webkit-scrollbar {
    display: none;
}

.svc-track.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* ── Cards ── */
.svc-card {
    flex: 0 0 360px;
    height: 420px;
    perspective: 800px;
}

.svc-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.svc-card-inner:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 57, 70, 0.2);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.3),
        0 0 0 1px rgba(230, 57, 70, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Glow accent */
.svc-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(230, 57, 70, 0.06) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
    z-index: 2;
}

.svc-card-inner:hover .svc-card-glow {
    opacity: 1;
}

/* Image */
.svc-card-img {
    flex: 0 0 55%;
    overflow: hidden;
    position: relative;
}

.svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.svc-card-inner:hover .svc-card-img img {
    transform: scale(1.08);
}

.svc-card-img--empty {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
}

/* Body (title + desc) */
.svc-card-body {
    flex: 1;
    padding: 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.svc-card-more {
    position: absolute;
    bottom: 1.4rem;
    right: 1.6rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.svc-card-inner:hover .svc-card-more {
    opacity: 1;
    transform: translateX(5px);
}

.svc-arrow {
    transition: transform 0.3s ease;
}

.svc-card-inner:hover .svc-arrow {
    filter: drop-shadow(0 0 5px rgba(230, 57, 70, 0.5));
}

/* Title */
.svc-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}

/* Description */
.svc-card-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .svc-section {
        padding: 4rem 0 3rem;
    }

    .svc-track {
        padding: 1rem 1.5rem;
        gap: 14px;
    }

    .svc-card {
        flex: 0 0 280px;
        height: 340px;
    }

    .svc-card-inner {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .svc-card-title {
        font-size: 1.1rem;
    }

    .svc-header {
        padding: 0 1rem 2.5rem;
    }
}


/* ═══════════════════════════════════════════
   HIZMETLERIMIZ PAGE
   ═══════════════════════════════════════════ */

/* ── Hero ── */
.hzm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 1rem 8rem;
}

.hzm-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(230,57,70,0.12) 0%, transparent 60%);
}

.hzm-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.hzm-hero-tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #E63946;
    padding: 6px 20px;
    border: 1px solid rgba(230,57,70,0.3);
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.hzm-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

.hzm-hero-title span { color: #E63946; }

.hzm-hero-desc {
    color: rgba(255,255,255,0.45);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* ── Service Rows ── */
.hzm-services {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.hzm-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    opacity: 0;
    transform: translateY(60px);
}

.hzm-row.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}

.hzm-row--reverse {
    flex-direction: row-reverse;
}

.hzm-row-visual {
    flex: 0 0 40%;
    position: relative;
}

.hzm-row-num {
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: 'Outfit', sans-serif;
    font-size: 7rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.hzm-row--reverse .hzm-row-num {
    left: auto;
    right: -10px;
}

.hzm-row-icon-box {
    position: relative;
    z-index: 1;
    width: 180px;
    height: 180px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--svc-color) 12%, transparent), color-mix(in srgb, var(--svc-color) 4%, transparent));
    border: 1px solid color-mix(in srgb, var(--svc-color) 20%, transparent);
    margin: 0 auto;
    transition: all 0.5s ease;
}

.hzm-row:hover .hzm-row-icon-box {
    transform: scale(1.05);
    box-shadow: 0 20px 60px color-mix(in srgb, var(--svc-color) 15%, transparent);
}

.hzm-row-icon-box svg {
    width: 64px;
    height: 64px;
    color: var(--svc-color);
}

.hzm-row-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.hzm-row-content {
    flex: 1;
}

.hzm-row-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
}

.hzm-row-desc {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hzm-row-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hzm-row-tags span {
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tag-color);
    background: color-mix(in srgb, var(--tag-color) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--tag-color) 18%, transparent);
}

.hzm-row-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    padding-bottom: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hzm-row-btn:hover {
    color: #E63946;
    border-color: #E63946;
}

.hzm-row-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.hzm-row-btn:hover svg {
    transform: translateX(4px);
}

/* ── CTA ── */
.hzm-cta {
    text-align: center;
    padding: 6rem 1rem 8rem;
    background: linear-gradient(180deg, transparent 0%, rgba(230,57,70,0.04) 100%);
}

.hzm-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.hzm-cta-title span { color: #E63946; }

.hzm-cta-desc {
    color: rgba(255,255,255,0.4);
    margin-bottom: 2.5rem;
}

.hzm-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #E63946;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hzm-cta-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(230,57,70,0.3);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .hzm-row,
    .hzm-row--reverse {
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 0;
    }

    .hzm-row-visual {
        flex: none;
        width: 100%;
    }

    .hzm-row-icon-box {
        width: 120px;
        height: 120px;
        border-radius: 20px;
    }

    .hzm-row-icon-box svg {
        width: 44px;
        height: 44px;
    }

    .hzm-row-num {
        font-size: 4rem;
    }

    .hzm-row-title {
        font-size: 1.5rem;
    }
}

/* ═══════════════════════════════════════════
   REFERANSLAR PAGE
   ═══════════════════════════════════════════ */

/* ── Hero ── */
.ref-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 1rem 8rem;
}

.ref-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(230,57,70,0.1) 0%, transparent 55%);
}

.ref-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.ref-hero-tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #E63946;
    padding: 6px 20px;
    border: 1px solid rgba(230,57,70,0.3);
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.ref-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

.ref-hero-title span { color: #E63946; }

.ref-hero-desc {
    color: rgba(255,255,255,0.45);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* ── Filter bar ── */
.ref-filters {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 0;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ref-filters-inner {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ref-filter-btn {
    padding: 8px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ref-filter-btn:hover {
    border-color: rgba(230,57,70,0.4);
    color: #fff;
}

.ref-filter-btn.active {
    background: #E63946;
    border-color: #E63946;
    color: #fff;
}

/* ── Grid ── */
.ref-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.ref-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

.ref-item.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}

.ref-item.hidden-filter {
    display: none;
}

.ref-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.ref-item-img-wrap {
    width: 100%;
    height: 100%;
}

.ref-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ref-item-inner:hover .ref-item-img {
    transform: scale(1.08);
}

.ref-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.06);
}

.ref-item-placeholder span {
    color: rgba(255,255,255,0.15);
    font-weight: 700;
    font-size: 1.2rem;
}

.ref-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ref-item-inner:hover .ref-item-overlay {
    opacity: 1;
}

.ref-item-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.ref-item-inner:hover .ref-item-title {
    transform: translateY(0);
}

.ref-item-cat {
    font-size: 0.8rem;
    color: #E63946;
    font-weight: 600;
    margin-top: 4px;
    transform: translateY(10px);
    transition: transform 0.3s ease 0.05s;
}

.ref-item-inner:hover .ref-item-cat {
    transform: translateY(0);
}

/* ── CTA ── */
.ref-cta {
    text-align: center;
    padding: 6rem 1rem 8rem;
    background: linear-gradient(180deg, transparent 0%, rgba(230,57,70,0.04) 100%);
}

.ref-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
}

.ref-cta-title span { color: #E63946; }

.ref-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #E63946;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ref-cta-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(230,57,70,0.3);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .ref-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ref-filter-btn {
        padding: 6px 16px;
        font-size: 0.78rem;
    }
}

/* ═══════════════════════════════════════════
   PAGE TRANSITION – Block Shatter Effect
   ═══════════════════════════════════════════ */

/* Ensure header & canvas are NEVER affected by transitions */
#masthead {
    z-index: 50 !important;
    transform: none !important;
    opacity: 1 !important;
}

#canvas-bg {
    transform: none !important;
    opacity: 0.6 !important;
}

/* Smooth GPU-accelerated transforms on content blocks */
.ptr-exiting #page > main > section,
.ptr-exiting #page > main > div,
.ptr-exiting #colophon {
    will-change: transform, opacity;
}

/* ═══════════════════════════════════════════════════
   SINGLE SERVICE PAGE  (sp- prefix)
   ═══════════════════════════════════════════════════ */

/* ── Shared ── */
.single-service-page {
    --svc-accent: #E63946;
    background: #000;
    color: #fff;
}

.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sp-section-tag {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--svc-accent);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 40px;
    line-height: 1;
}

.sp-section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--svc-accent);
}

.sp-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Animation helpers — content always visible, subtle entrance on scroll */
.sp-fade-up {
    opacity: 0.15;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sp-fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.sp-split-reveal {
    opacity: 0.15;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sp-split-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.sp-feature-card {
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.5s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.5s ease;
}

.sp-feature-card:not(.in-view) {
    opacity: 0.15;
    transform: translateY(25px);
}

.sp-feature-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.sp-stat-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sp-stat-item:not(.in-view) {
    opacity: 0.15;
    transform: scale(0.95);
}

.sp-stat-item.in-view {
    opacity: 1;
    transform: scale(1);
}

.sp-timeline-item {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sp-timeline-item:not(.in-view) {
    opacity: 0.15;
    transform: translateY(20px);
}

.sp-timeline-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.sp-faq-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sp-faq-item:not(.in-view) {
    opacity: 0.15;
}

.sp-faq-item.in-view {
    opacity: 1;
}

/* ── 1. HERO ── */
.sp-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 80px;
}

.sp-hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sp-hero-bg {
    position: absolute;
    inset: -15%;
    width: 130%;
    height: 130%;
    overflow: hidden;
}

.sp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1.2);
}

.sp-hero-bg--gradient {
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 40%, rgba(var(--svc-accent-rgb, 230,57,70), 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 60%, rgba(100,100,255,0.08) 0%, transparent 50%),
                #050505;
}

.sp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.2) 40%,
        rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

.sp-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.sp-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.sp-hero-meta a {
    color: var(--svc-accent);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sp-hero-meta span {
    color: rgba(255,255,255,0.4);
}

.sp-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.sp-hero-tagline {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--svc-accent);
    margin-bottom: 1rem;
}

.sp-hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.sp-hero-cta {
    margin-bottom: 3rem;
}

.sp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--svc-accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.sp-btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    filter: brightness(1.1);
}

.sp-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    z-index: 10;
}

.sp-scroll-hint span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.sp-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 14px;
    position: relative;
}

.sp-mouse-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: #fff;
    border-radius: 2px;
    animation: spMouseScroll 2s ease infinite;
}

@keyframes spMouseScroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* ── 2. FEATURES ── */
.sp-features {
    padding: 1rem 0 3rem 0;
    background: #0a0a0a;
    position: relative;
}

.sp-features-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.sp-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.sp-feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.sp-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--svc-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sp-feature-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-8px);
}

.sp-feature-card:hover::before {
    opacity: 1;
}

.sp-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--svc-accent);
}

.sp-feature-icon svg {
    width: 24px;
    height: 24px;
}

.sp-feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.sp-feature-card p {
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
    line-height: 1.7;
}

.sp-feature-line {
    width: 40px;
    height: 2px;
    background: var(--svc-accent);
    margin-top: 1.5rem;
    opacity: 0.4;
    transition: width 0.4s ease, opacity 0.4s ease;
}

.sp-feature-card:hover .sp-feature-line {
    width: 80px;
    opacity: 1;
}

/* ── 3. STATS ── */
.sp-stats {
    padding: 6rem 0;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.02) 0%,
        rgba(255,255,255,0.05) 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.sp-stat-item {
    padding: 2rem 1rem;
}

.sp-stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--svc-accent);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.sp-stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* ── 4. PROCESS TIMELINE ── */
.sp-process {
    padding: 3rem 0;
    background: #000;
    position: relative;
}

.sp-process-header {
    text-align: center;
    margin-bottom: 2rem;
}

.sp-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.sp-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.08);
    transform: translateX(-50%);
}

.sp-timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 0%;
    background: var(--svc-accent);
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--svc-accent), 0 0 5px var(--svc-accent);
}

.sp-timeline-progress::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px #fff, 0 0 10px var(--svc-accent);
}

.sp-timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
}

.sp-timeline-item:last-child {
    margin-bottom: 0;
}

/* Left-aligned items */
.sp-timeline-item {
    flex-direction: row;
    padding-right: calc(50% + 40px);
    text-align: right;
}

/* Right-aligned items */
.sp-timeline-item--right {
    flex-direction: row-reverse;
    padding-right: 0;
    padding-left: calc(50% + 40px);
    text-align: left;
}

.sp-timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 2px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s ease;
}

.sp-timeline-dot span {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--svc-accent);
}

.sp-timeline-item:hover .sp-timeline-dot {
    background: var(--svc-accent);
    border-color: var(--svc-accent);
    box-shadow: 0 0 20px rgba(230,57,70,0.3);
}

.sp-timeline-item:hover .sp-timeline-dot span {
    color: #fff;
}

.sp-timeline-card {
    flex: 1;
}

.sp-timeline-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sp-timeline-card p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── 5. MARQUEE ── */
.sp-marquee-section {
    padding: 3rem 0;
    background: #050505;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp-marquee-track {
    display: flex;
    white-space: nowrap;
    animation: spMarquee 30s linear infinite;
}

.sp-marquee-content {
    display: flex;
    gap: 3rem;
    padding-right: 3rem;
    flex-shrink: 0;
}

.sp-marquee-item {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.12);
    transition: all 0.3s ease;
    cursor: default;
    flex-shrink: 0;
}

.sp-marquee-item:hover {
    color: var(--svc-accent);
    -webkit-text-stroke: 0;
}

@keyframes spMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* ── 6. FAQ ── */
.sp-faq {
    padding: 3rem 0;
    background: #0a0a0a;
}

.sp-faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sp-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sp-faq-item {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.sp-faq-item:hover {
    border-color: rgba(255,255,255,0.15);
}

.sp-faq-item.active {
    border-color: var(--svc-accent);
}

.sp-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sp-faq-question:hover {
    color: var(--svc-accent);
}

.sp-faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    color: rgba(255,255,255,0.4);
}

.sp-faq-item.active .sp-faq-chevron {
    transform: rotate(180deg);
    color: var(--svc-accent);
}

.sp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.sp-faq-item.active .sp-faq-answer {
    max-height: 300px;
}

.sp-faq-answer p {
    padding: 0 2rem 1.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── 7. CTA ── */
.sp-cta {
    padding: 8rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sp-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.sp-cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.sp-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.sp-cta-desc {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.sp-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: #fff;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sp-btn-white svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.sp-btn-white:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: #000;
    color: #fff;
}

.sp-btn-white:hover svg {
    transform: translateX(5px);
}

/* ── AI NEURAL NETWORK CANVAS (ai-otomasyonlari only) ── */
.sp-ai-canvas-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

#ai-neural-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sp-ai-canvas-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.6) 70%,
        rgba(0,0,0,0.85) 100%);
    pointer-events: none;
}

.sp-ai-canvas-content {
    text-align: center;
    max-width: 700px;
    pointer-events: auto;
}

.sp-ai-canvas-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-top: 1rem;
}

.sp-ai-code-rain {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.sp-ai-code-col {
    position: absolute;
    top: -100%;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 212, 255, 0.15);
    white-space: pre;
    animation: aiCodeFall linear infinite;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.1);
}

@keyframes aiCodeFall {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(calc(100vh + 100%)); }
}

/* ── NAV DROPDOWN ── */
.nav-dropdown-parent {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    padding-top: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                visibility 0.35s;
    z-index: 100;
}

.nav-dropdown-parent:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-parent:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-inner {
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px;
    min-width: 320px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.7);
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.nav-dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(230, 57, 70, 0.12);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.nav-dropdown-icon svg {
    width: 20px;
    height: 20px;
    stroke: #E63946;
    transition: stroke 0.25s ease;
}

.nav-dropdown-item:hover .nav-dropdown-icon {
    background: rgba(230, 57, 70, 0.2);
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.15);
}

.nav-dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-dropdown-text strong {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
    line-height: 1.3;
}

.nav-dropdown-text small {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.3;
}

.nav-dropdown-item:hover .nav-dropdown-text small {
    color: rgba(255, 255, 255, 0.6);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .sp-features-grid {
        grid-template-columns: 1fr;
    }

    .sp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-timeline-line,
    .sp-timeline-progress {
        left: 24px;
    }

    .sp-timeline-item,
    .sp-timeline-item--right {
        flex-direction: row;
        padding-right: 0;
        padding-left: 80px;
        text-align: left;
    }

    .sp-timeline-dot {
        left: 24px;
        width: 40px;
        height: 40px;
    }

    .sp-faq-question {
        padding: 1.2rem 1.5rem;
        font-size: 0.95rem;
    }

    .sp-faq-answer p {
        padding: 0 1.5rem 1.2rem;
    }
}

/* ═══════════════════════════════════════════
   HERO SECTION – Modern Split Layout
   ═══════════════════════════════════════════ */

.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
}

/* Gradient Background */
.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(230,57,70,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(180,30,50,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(230,57,70,0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a0a0e 30%, #120510 60%, #0a0a0a 100%);
    z-index: 0;
}

/* ── Floating Geometric Shapes ── */
.hero-shapes { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-shape { position: absolute; opacity: 0.12; }
.shape-circle { border-radius: 50%; background: rgba(230,57,70,0.3); }
.shape-ring { border-radius: 50%; border: 2px solid rgba(230,57,70,0.25); background: transparent; }
.shape-cross { color: rgba(230,57,70,0.3); font-size: 1.5rem; font-weight: 300; }
.shape-dots { width: 4px; height: 4px; background: rgba(255,255,255,0.4); border-radius: 50%; box-shadow: 12px 0 0 rgba(255,255,255,0.3), 24px 0 0 rgba(255,255,255,0.2), 0 12px 0 rgba(255,255,255,0.3), 12px 12px 0 rgba(255,255,255,0.2); }
.shape-line { height: 2px; background: linear-gradient(90deg, transparent, rgba(230,57,70,0.3), transparent); }
.shape-square { border: 1.5px solid rgba(230,57,70,0.2); border-radius: 4px; transform: rotate(45deg); }

.shape-1 { width: 200px; height: 200px; top: -40px; left: -60px; animation: shapeFloat 20s ease-in-out infinite; }
.shape-2 { width: 80px; height: 80px; bottom: 15%; right: 5%; animation: shapeFloat 15s ease-in-out infinite reverse; }
.shape-3 { width: 120px; height: 120px; top: 20%; right: 10%; animation: shapeFloat 18s ease-in-out infinite 2s; }
.shape-4 { width: 60px; height: 60px; bottom: 30%; left: 8%; animation: shapeFloat 14s ease-in-out infinite 1s; }
.shape-5 { top: 15%; left: 12%; animation: shapeSpin 25s linear infinite; }
.shape-6 { bottom: 20%; right: 15%; animation: shapeSpin 20s linear infinite reverse; }
.shape-7 { top: 60%; left: 5%; animation: shapeFloat 16s ease-in-out infinite 3s; }
.shape-8 { width: 100px; top: 35%; left: 20%; animation: shapeFloat 22s ease-in-out infinite; }
.shape-9 { width: 80px; bottom: 40%; right: 25%; animation: shapeFloat 19s ease-in-out infinite 4s; transform: rotate(30deg); }
.shape-10 { width: 30px; height: 30px; top: 10%; right: 30%; animation: shapeSpin 30s linear infinite; }
.shape-11 { width: 15px; height: 15px; top: 70%; right: 40%; animation: shapeFloat 12s ease-in-out infinite; }
.shape-12 { width: 40px; height: 40px; top: 50%; left: 30%; animation: shapeFloat 17s ease-in-out infinite 2s; }

@keyframes shapeFloat { 0%, 100% { transform: translateY(0) translateX(0); } 25% { transform: translateY(-15px) translateX(8px); } 50% { transform: translateY(-5px) translateX(-5px); } 75% { transform: translateY(-20px) translateX(3px); } }
@keyframes shapeSpin { to { transform: rotate(360deg); } }

/* ── Hero Content Layout ── */
.hero-content-wrapper {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 3rem 80px;
    gap: 3rem;
}

.hero-text-side { flex: 0 0 50%; max-width: 50%; }
.hero-text-inner { max-width: 580px; }

.hero-headline-1, .hero-headline-2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: heroFadeInUp 0.8s ease-out forwards, heroGradientShift 4s ease infinite;
}

.hero-headline-1 { background-image: linear-gradient(to right, #ffffff, #f0f0f0, #E63946); }
.hero-headline-2 { background-image: linear-gradient(to right, #E63946, #ff6b6b, #ffffff); }

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem;
    max-width: 480px;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.hero-btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 1rem 2rem; background: #E63946; color: #fff;
    border-radius: 9999px; font-family: 'Inter', sans-serif;
    font-weight: 600; font-size: 1.1rem; text-decoration: none;
    transition: all 0.3s ease;
}
.hero-btn-primary:hover { background: #c0313d; transform: scale(1.05); box-shadow: 0 10px 30px rgba(230,57,70,0.3); }

.hero-btn-secondary {
    display: inline-flex; align-items: center;
    padding: 1rem 2rem; background: rgba(255,255,255,0.05);
    color: #fff; border: 1px solid rgba(255,255,255,0.2);
    border-radius: 9999px; font-family: 'Inter', sans-serif;
    font-weight: 600; font-size: 1.1rem; text-decoration: none;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); transform: scale(1.05); }

/* ── Illustration Side ── */
.hero-illustration-side { flex: 0 0 45%; max-width: 45%; display: flex; align-items: center; justify-content: center; }
.hero-illustration { position: relative; width: 450px; height: 450px; }

.hero-platform { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 320px; height: 320px; }
.platform-glow { position: absolute; inset: -60px; background: radial-gradient(circle, rgba(230,57,70,0.3), transparent 70%); border-radius: 50%; animation: platformPulse 3s ease-in-out infinite; }
.platform-top { position: relative; z-index: 2; }
.platform-icon { width: 320px; height: 320px; animation: platformFloat 4s ease-in-out infinite; }

@keyframes platformPulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes platformFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Orbiting Typewriter Cards */
.orbit-card {
    position: absolute; display: flex; align-items: center; gap: 0.25rem;
    padding: 0.6rem 1rem; background: rgba(15,15,20,0.85); border: 1px solid rgba(230,57,70,0.25);
    border-radius: 10px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: all 0.3s ease; z-index: 3; min-width: 110px; white-space: nowrap;
}
.typewriter-text { font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600; color: #E63946; letter-spacing: 0.02em; min-height: 1.1em; }
.typewriter-cursor { font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 300; color: #ff6b6b; animation: cursorBlink 0.7s step-end infinite; margin-left: 1px; }
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.orbit-card:hover { border-color: rgba(230,57,70,0.6); box-shadow: 0 4px 30px rgba(230,57,70,0.2); transform: scale(1.08); }

.orbit-1 { top: 3%; left: 15%; animation: orbitFloat1 6s ease-in-out infinite; }
.orbit-2 { top: 3%; right: 5%; animation: orbitFloat2 5s ease-in-out infinite 0.5s; }
.orbit-3 { bottom: 15%; left: 0%; animation: orbitFloat3 7s ease-in-out infinite 1s; }
.orbit-4 { bottom: 15%; right: 0%; animation: orbitFloat4 5.5s ease-in-out infinite 1.5s; }
.orbit-5 { bottom: 0%; left: 50%; transform: translateX(-50%); animation: orbitFloat5 6.5s ease-in-out infinite 2s; }

@keyframes orbitFloat1 { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-12px) translateX(5px); } }
@keyframes orbitFloat2 { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-10px) translateX(-8px); } }
@keyframes orbitFloat3 { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-8px) translateX(6px); } }
@keyframes orbitFloat4 { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-14px) translateX(-4px); } }
@keyframes orbitFloat5 { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }

.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; animation: orbitLinesSpin 40s linear infinite; }
@keyframes orbitLinesSpin { to { transform: rotate(360deg); } }

/* Scroll Hint */
.hero-scroll-hint { color: rgba(255,255,255,0.5); font-family: 'Inter', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; margin-top: 0.5rem; }

/* Hero Animations */
@keyframes heroFadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroGradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.hero-animate-fade-in-up { opacity: 0; animation: heroFadeInUp 0.8s ease-out forwards; }
.hero-delay-200 { animation-delay: 0.2s; }
.hero-delay-400 { animation-delay: 0.4s; }
.hero-delay-600 { animation-delay: 0.6s; }
.hero-delay-800 { animation-delay: 0.8s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-content-wrapper { flex-direction: column; text-align: center; padding: 120px 2rem 80px; }
    .hero-text-side, .hero-illustration-side { flex: 0 0 100%; max-width: 100%; }
    .hero-text-inner { max-width: 100%; margin: 0 auto; }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-illustration { width: 300px; height: 300px; }
}

/* Scroll icon toggle: desktop=mouse, mobile=chevron */
.scroll-mobile { display: none; animation: scrollBounce 1.5s ease-in-out infinite; }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(6px); opacity: 1; } }

@media (max-width: 640px) {
    .hero-headline-1, .hero-headline-2 { font-size: 2.2rem !important; }
    .hero-subtitle { font-size: 1rem !important; }
    .hero-btn-primary, .hero-btn-secondary { font-size: 1rem !important; padding: 0.875rem 1.75rem !important; }
    .hero-illustration { width: 280px; height: 280px; overflow: hidden; }
    .orbit-card { padding: 0.4rem 0.6rem; min-width: auto; }
    .typewriter-text { font-size: 0.65rem; }
    .typewriter-cursor { font-size: 0.65rem; }
    .orbit-1 { top: 2%; left: 5%; }
    .orbit-2 { top: 2%; right: 5%; }
    .orbit-3 { bottom: 2%; left: 5%; }
    .orbit-4 { bottom: 2%; right: 5%; }
    .orbit-5 { display: none; }
    .orbit-lines { display: none; }
    .platform-glow { display: none; }
    .scroll-desktop { display: none; }
    .scroll-mobile { display: block; }
}


/* ═══════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════ */

.page-404 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 2rem 80px;
    background: #000;
}

/* ── Floating particles ── */
.e404-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.e404-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #E63946;
    border-radius: 50%;
    opacity: 0;
    animation: e404Float 8s ease-in-out infinite;
}

.e404-particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.e404-particles span:nth-child(2) { left: 25%; animation-delay: 1s; animation-duration: 9s; }
.e404-particles span:nth-child(3) { left: 40%; animation-delay: 2s; animation-duration: 6s; }
.e404-particles span:nth-child(4) { left: 55%; animation-delay: 0.5s; animation-duration: 10s; }
.e404-particles span:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 8s; }
.e404-particles span:nth-child(6) { left: 85%; animation-delay: 1.5s; animation-duration: 7.5s; }
.e404-particles span:nth-child(7) { left: 15%; animation-delay: 4s; animation-duration: 9s; }
.e404-particles span:nth-child(8) { left: 50%; animation-delay: 2.5s; animation-duration: 6.5s; }
.e404-particles span:nth-child(9) { left: 75%; animation-delay: 0.8s; animation-duration: 11s; }
.e404-particles span:nth-child(10) { left: 35%; animation-delay: 3.5s; animation-duration: 8.5s; }

@keyframes e404Float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
        transform: translateY(50vh) scale(1.2);
    }
    90% {
        opacity: 0;
    }
    100% {
        transform: translateY(-10vh) scale(0);
        opacity: 0;
    }
}

/* ── Content ── */
.e404-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

/* ── Title ── */
.e404-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 900;
    line-height: 1;
    margin: 0 0 1rem;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.02em;
}

.e404-digit {
    display: inline-block;
    background: linear-gradient(180deg, #E63946 0%, #8B0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: e404Pulse 3s ease-in-out infinite;
    text-shadow: none;
    position: relative;
}

.e404-digit--zero {
    animation-delay: 0.3s;
    filter: drop-shadow(0 0 40px rgba(230, 57, 70, 0.4));
}

.e404-digit:first-child {
    animation-delay: 0s;
}

.e404-digit:last-child {
    animation-delay: 0.6s;
}

@keyframes e404Pulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(230, 57, 70, 0.2));
        transform: translateY(0);
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(230, 57, 70, 0.5));
        transform: translateY(-6px);
    }
}

/* ── Separator line ── */
.e404-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E63946, transparent);
    margin: 1.5rem auto 2rem;
    border-radius: 2px;
}

/* ── Subtitle ── */
.e404-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
}

/* ── Description ── */
.e404-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin: 0 0 2.5rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Buttons ── */
.e404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.e404-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.e404-btn--primary {
    background: #E63946;
    color: #fff;
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.3);
}

.e404-btn--primary:hover {
    background: #fff;
    color: #E63946;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.4);
}

.e404-btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.e404-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .e404-actions {
        flex-direction: column;
    }

    .e404-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 1rem 1rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cookie-consent-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.75rem;
    background: rgba(15, 15, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 16px;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(230, 57, 70, 0.06);
}

.cookie-consent-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    stroke: #E63946;
}

.cookie-consent-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-text a {
    color: #E63946;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.cookie-consent-text a:hover {
    color: #ff6b6b;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #E63946;
    color: white;
}

.cookie-btn-accept:hover {
    background: #ff6b6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35);
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-decline:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .cookie-consent-text {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-consent-text p {
        font-size: 0.8rem;
    }

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        padding: 0.7rem 1rem;
    }
}
