:root {
    --bg-color: #060606;
    --bg-lighter: #111111;
    --text-color: #f5f5f5;
    --text-muted: #a0a0a0;
    --accent: #5e6ad2;
    --accent-gradient: linear-gradient(135deg, #a7b5ff, #5e6ad2);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* For custom cursor */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Accounts for fixed navbar */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .badge {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-follower.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    background-color: rgba(94, 106, 210, 0.1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background-color 0.4s, padding 0.4s;
}

.navbar.scrolled {
    background-color: rgba(6, 6, 6, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.hover-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--text-muted);
    transition: color 0.3s;
}

.hover-link:hover {
    color: #fff;
}

.btn-contact {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #fff;
    color: #000;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('assets/hero_bg.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,6,6,0.2) 0%, rgba(6,6,6,0.9) 80%, rgba(6,6,6,1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

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

.btn-primary {
    background: #fff;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.btn-secondary {
    padding: 1rem 2rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-bottom-color: #fff;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
}

.scroll-indicator p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 1.5px solid #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 6px;
    background: #fff;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* Sections */
.section {
    padding: 8rem 0;
}

.dark-section {
    background-color: var(--bg-color);
}

.black-section {
    background-color: #000;
}

.section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-body p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-body p:last-child {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 300;
}

.about-visual {
    display: flex;
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    flex: 1;
    transition: transform 0.4s;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
}

.glass-card.offset {
    margin-top: 4rem;
}

.glass-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Work Section */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 9/16;
    background: #111;
    cursor: none;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.4s, transform 0.6s;
}

.video-card:hover video {
    opacity: 1;
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 50%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.video-category {
    color: var(--accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.video-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header .subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.service-card {
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
    transition: all 0.4s;
}

.service-card:hover {
    background: var(--bg-lighter);
    border-top-color: var(--accent);
}

.service-number {
    font-family: 'Outfit';
    font-size: 3rem;
    font-weight: 200;
    color: rgba(255,255,255,0.1);
    margin-bottom: 1rem;
    transition: color 0.4s;
}

.service-card:hover .service-number {
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-note {
    background-color: black;
    border-left: 2px solid var(--accent);
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
    transition: all 0.25s;
}

.service-note:hover {
    background-color: var(--bg-lighter);
    transition: all 0.25s;
}

/* Footer */
.footer {
    padding: 8rem 0 2rem;
    background-color: var(--bg-lighter);
    text-align: center;
}

.footer h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.big-btn {
    display: inline-flex;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    margin-bottom: 6rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-modal.active {
    pointer-events: auto;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    z-index: 2;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
}

.video-modal.active .modal-content {
    transform: scale(1);
}

.modal-content video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background: #000;
    cursor: auto;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    z-index: 3;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3rem;
    font-weight: 200;
    cursor: none;
    transition: transform 0.3s, color 0.3s;
}

.modal-close:hover {
    transform: scale(1.1);
    color: var(--accent);
}

/* Animations */
.reveal, .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active, .scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .section {
        padding: 5rem 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-visual {
        flex-direction: column;
        gap: 1.5rem;
    }
    .glass-card {
        padding: 1.5rem;
    }
    .glass-card.offset {
        margin-top: 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        display: none;
    }
    .cursor, .cursor-follower {
        display: none;
    }
    * {
        cursor: auto;
    }
}
