:root {
    /* Colors */
    --bg-dark: #0C0C0C;
    --bg-surface: #1A1A1A;
    --bg-surface-light: #252525;
    --accent-purple: #6A3CE2;
    --accent-purple-glow: rgba(106, 60, 226, 0.5);
    --accent-green: #19FF00;
    --text-white: #FFFFFF;
    --text-gray: #999999;
    --border-color: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 24px;
}

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

html {
    scroll-behavior: initial; /* Lenis handles this */
}

body.dark-theme {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
        repeating-linear-gradient(
            -45deg,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.2) 80px,
            rgba(255, 255, 255, 0.015) 80px,
            rgba(255, 255, 255, 0.015) 160px
        ),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    color: var(--text-gray);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(25, 255, 0, 0.5);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(25, 255, 0, 0.1);
}

/* Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-accent { color: var(--accent-purple); }
.text-center { text-align: center; }

.section {
    padding: 120px 0;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.1;
}

p {
    font-size: 1.1rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.badge-neon {
    background: rgba(25, 255, 0, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(25, 255, 0, 0.2);
}

.badge-purple {
    background: rgba(106, 60, 226, 0.2);
    color: #fff;
    border: 1px solid var(--accent-purple);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(12, 12, 12, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav {
    display: none;
}

@media(min-width: 768px) {
    .nav {
        display: flex;
        gap: 40px;
    }
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-purple);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    border: none;
}

.btn svg {
    transition: transform 0.3s;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--accent-purple);
    color: var(--text-white);
}

.btn-primary:hover {
    background: #552bbf;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-glow {
    box-shadow: 0 0 30px var(--accent-purple-glow);
}

.btn-text {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--accent-purple);
}

.box-btn {
    border-radius: 12px;
    padding: 14px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

@media(min-width: 992px) {
    .hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.25rem;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-purple-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 1;
}

.hero-img {
    position: relative;
    z-index: 2;
    max-width: 110%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* Marquee */
.marquee-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    margin-top: 80px;
    transform: rotate(-2deg) scale(1.08);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-white);
    padding: 0 20px;
    opacity: 0.8;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* What We Do Section */
.what-we-do {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

@media(min-width: 992px) {
    .what-we-do {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

.what-we-do .container.relative {
    position: relative;
    z-index: 2;
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media(min-width: 768px) {
    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 992px) {
    .what-we-do-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.wwd-col {
    display: flex;
    flex-direction: column;
}

.wwd-header {
    margin-bottom: 40px;
}

.wwd-subtitle {
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.wwd-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
}

@media(min-width: 992px) {
    .wwd-col-1 .wwd-header {
        margin-bottom: 50px;
    }
    .wwd-col-2 {
        margin-top: 70px;
    }
    .wwd-col-3 {
        margin-top: 70px;
    }
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(25, 255, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
    margin-bottom: 30px;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1; 
}

.service-link {
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--text-white);
}

/* Background Elements for What We Do */
.circle-decoration {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

@media(min-width: 992px) {
    .circle-decoration {
        width: 650px;
        height: 650px;
        left: 55%;
    }
}

.purple-dot {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--accent-purple);
    border-radius: 50%;
    bottom: 5%;
    left: 60%;
    box-shadow: 0 0 30px var(--accent-purple-glow);
    z-index: 1;
}

@media(min-width: 992px) {
    .purple-dot {
        bottom: 15%;
    }
}

.white-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--text-white);
    border-radius: 50%;
    bottom: calc(5% - 20px);
    left: calc(60% + 40px);
    z-index: 1;
}

@media(min-width: 992px) {
    .white-dot {
        bottom: calc(15% - 20px);
    }
}

.side-graphic {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

/* Bento Grid Services */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media(min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-5px);
    background: var(--bg-surface-light);
    border-color: rgba(106, 60, 226, 0.3);
}

.bento-icon {
    font-size: 2.5rem;
    background: rgba(255,255,255,0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.bento-title {
    font-size: 1.5rem;
}

.bento-desc {
    color: var(--text-gray);
    margin-bottom: auto;
}

.bento-item.span-2 {
    grid-column: span 1;
}

@media(min-width: 768px) {
    .bento-item.span-2 {
        grid-column: span 2;
    }
}

.bento-img-bg {
    background-image: url('assets/images/cta.png');
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
}

.bento-img-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,12,12,0.9) 0%, rgba(12,12,12,0.2) 100%);
}

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



/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    background: var(--bg-surface);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media(min-width: 768px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.brand-col .logo { margin-bottom: 20px; }
.footer-title { font-size: 1.2rem; margin-bottom: 24px; }
.footer-link {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}
.footer-link:hover { color: var(--accent-purple); }

.newsletter-form {
    display: flex;
    gap: 10px;
}

.input-field {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

@media(min-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.team-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition-normal);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.team-img-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 24px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition-normal);
}

.team-card:hover .team-img-wrapper {
    border-color: var(--accent-green);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-role {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 16px;
}

.team-desc {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Contact Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--accent-purple);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.modal-desc {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.5;
}

.modal-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.modal-link-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent-purple);
    transform: translateX(5px);
}

.modal-icon {
    font-size: 1.2rem;
}

.modal-text {
    font-weight: 500;
}

/* Gallery Carousel Section */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0 60px 0;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    height: 350px;
}

.carousel-slide {
    flex: 0 0 calc(100% / 3);
    min-width: calc(100% / 3);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

@media(max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.carousel-btn {
    position: absolute;
    top: calc(50% - 30px);
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid var(--accent-purple);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--accent-green);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display:flex;
    justify-content:center;
    align-items:center;
}

.carousel-btn:hover {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-purple);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator-dot {
    width: 30px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.indicator-dot.active {
    background: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
}
