* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 3px; }

/* ── Navigation ── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffffff, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
    transition: 0.3s;
    white-space: nowrap;
}
.logo:hover {
    letter-spacing: 4px;
    background: linear-gradient(135deg, #3b82f6, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.nav-links a:hover { color: #3b82f6; }

.menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #3b82f6;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    animation: fadeUp 1s ease-out;
}
.hero-content p {
    font-size: 1.2rem;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: #3b82f6;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    animation: fadeUp 1s ease-out 0.4s both;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.cta-button:hover {
    transform: scale(1.05);
    background: #2563eb;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

/* ── Sections ── */
section:not(.slider-section) {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
    background: #0a0a0f;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    color: #ffffff;
}
.section-title span { color: #3b82f6; }
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #111115;
    border: 1px solid #22222a;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    will-change: transform, box-shadow, border-color;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 15px 35px -12px rgba(59, 130, 246, 0.25);
    background: #14141a;
}
.service-card:active { transform: translateY(-4px); }
.service-card i {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}
.service-card:hover i { transform: scale(1.05); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #ffffff; }
.service-card p { color: #9ca3af; }

/* ── Projects ── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #111115;
    transition: 0.3s;
    border: 1px solid #22222a;
}
.project-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.95), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: 0.4s;
}
.project-item:hover .project-overlay { opacity: 1; }
.project-item:hover img { transform: scale(1.1); }
.project-overlay h4 { font-size: 1.3rem; color: #3b82f6; }

/* ── VFX Slider Section ── */
.slider-section {
    background: #050508;
    padding: 80px 5% !important;
    width: 100%;
}

.slider-container {
    max-width: 90%;
    width: 90%;
    margin: 0 auto;
    background: #000000;
    border-radius: 28px;
    padding: 0.8rem;
    box-shadow: 0 25px 45px rgba(0,0,0,0.5), 0 0 0 1px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.slider-wrapper-custom {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.8), 0 0 0 1.5px rgba(59, 130, 246, 0.5);
    cursor: ew-resize;
    user-select: none;
    background: #0a0a0f;
    aspect-ratio: 990 / 410;
}

#vfxCompareCanvas {
    display: block;
    width: 100%; height: 100%;
    background: #0a0a0a;
    will-change: transform;
}

.divider-line-custom {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #3b82f6, #ffffff, #3b82f6, transparent);
    z-index: 10;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 0 6px #3b82f6;
}

.slider-handle-custom {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    pointer-events: none;
    filter: drop-shadow(0 0 3px rgba(59, 130, 246, 0.6));
    transition: filter 0.05s ease;
}
.slider-handle-custom i {
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 0 0 4px #3b82f6;
}

.drag-zone-custom {
    position: absolute;
    top: 0;
    height: 100%;
    width: 60px;
    z-index: 12;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.image-tag-custom {
    position: absolute;
    top: 18px;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(16px);
    background: rgba(0,0,0,0.75);
    border-radius: 40px;
    z-index: 9;
    pointer-events: none;
    font-family: 'Space Grotesk', monospace;
    border-left: 3px solid #3b82f6;
    color: #ffffff;
}
.image-tag-custom i { margin-right: 8px; font-size: 0.75rem; color: #3b82f6; }
.tag-before-custom { left: 18px; }
.tag-after-custom { right: 18px; border-left: none; border-right: 3px solid #3b82f6; }

.nav-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border: 1.5px solid #3b82f6;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
    width: 44px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: monospace;
    line-height: 1;
    opacity: 0.9;
}
.nav-slider-btn:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: #ffffff;
    color: #3b82f6;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.7);
}
.btn-prev-slider { left: 16px; }
.btn-next-slider { right: 16px; }

.slider-error-message {
    background: #1a1a2e;
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af;
    border-radius: 12px;
    margin-top: 1rem;
}

/* ── Contact ── */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    background: #111115;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid #22222a;
}
.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
.contact-info p {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #9ca3af;
}
.contact-info i { width: 30px; color: #3b82f6; font-size: 1.2rem; }

.social-links { margin-top: 2rem; display: flex; gap: 1.5rem; align-items: center; }
.social-links a { color: inherit; text-decoration: none; }
.social-links i {
    color: #3b82f6;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}
.social-links i:hover { color: #93c5fd; transform: scale(1.15); }

form {
    flex: 2;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
input, textarea {
    background: #111115;
    border: 1px solid #22222a;
    padding: 1rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: 0.3s;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
}
input::placeholder, textarea::placeholder { color: #6b7280; }

button {
    background: #3b82f6;
    border: none;
    padding: 1rem;
    border-radius: 40px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    color: white;
}
button:hover { background: #2563eb; transform: scale(1.02); }

/* ── Footer ── */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #22222a;
    color: #6b7280;
    background: #0a0a0f;
}
footer span { color: #3b82f6; }

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 73px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(59, 130, 246, 0.3);
        z-index: 99;
        gap: 0;
    }
    .nav-links a {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(59, 130, 246, 0.1);
        display: block;
    }
    .nav-links a:last-child { border-bottom: none; }
    .menu-btn { display: block; }
    .hero-content h1 { font-size: 3rem; }
    section:not(.slider-section) { padding: 60px 1.5rem; }
    .slider-section { padding: 60px 5% !important; }
    .logo { font-size: 1.2rem; letter-spacing: 2px; }
    .contact-info h3 { font-size: 1.2rem; }
    .nav-slider-btn { width: 36px; height: 52px; font-size: 1.4rem; }
    .btn-prev-slider { left: 8px; }
    .btn-next-slider { right: 8px; }
    .image-tag-custom { padding: 4px 12px; font-size: 0.65rem; top: 12px; }
    .tag-before-custom { left: 12px; }
    .tag-after-custom { right: 12px; }
    .slider-handle-custom i { font-size: 1.3rem; }
    .slider-container { max-width: 90%; width: 90%; padding: 0.5rem; }
}

@media (max-width: 480px) {
    .nav-slider-btn { width: 30px; height: 44px; }
    .nav-slider-btn span { font-size: 1.2rem; }
    .slider-container { max-width: 92%; width: 92%; }
    .image-tag-custom { padding: 3px 10px; font-size: 0.6rem; top: 10px; }
    .slider-handle-custom i { font-size: 1.1rem; }
}