:root {
    --bg-color: #1a2b3e; /* Similar to Dentsu dark blue */
    --text-color: #ffffff;
    --accent-color: #000000;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    /* Lenis smooth scrolling sets body to auto, handled by JS */
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
}

.loader-bg {
    position: absolute;
    top: 0;
    width: 50vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1;
}

.loader-bg-left {
    left: 0;
}

.loader-bg-right {
    right: 0;
}

.loader-text {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.loader-letter {
    font-size: 35vw;
    font-weight: 900;
    color: #000;
    line-height: 1;
    display: inline-block;
}

.loader-m {
    /* M stays on the left half initially */
}

.loader-c {
    /* C stays on the right half initially */
}

/* Typography */
h1 {
    font-size: 6vw;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

h2.section-title {
    font-size: 4vw;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 3rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
}

.hero-text {
    /* Initial state, we can animate this later or leave static */
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    position: relative;
}
/* Creating the filled text effect for hover or scroll */
.hero-text::before {
    content: "WE HELP\A BRANDS & BUSINESSES\A GROW THROUGH\A THE POWER OF";
    white-space: pre-wrap;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    -webkit-text-stroke: 0px transparent;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    /* This can be animated via GSAP for a cool fill effect */
}

/* Scroll Reveal */
.scroll-reveal {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-color);
    z-index: 5;
}

.reveal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reveal-text {
    font-size: 11vw;
    font-weight: 900;
    white-space: nowrap;
    position: absolute;
    z-index: 1;
    letter-spacing: -2px;
    color: #fff;
}

.reveal-left {
    transform: translateX(-100%);
    opacity: 0;
    top: 25%;
}

.reveal-right {
    transform: translateX(100%);
    opacity: 0;
    bottom: 25%;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
}

.video-mask {
    position: absolute;
    z-index: 2;
    width: 25vw;
    height: 25vw;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.video-mask video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Projects */
.projects {
    padding: 10rem 0;
    background-color: #fff;
    color: #000;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.projects .section-title {
    padding: 0 4rem;
}

.projects-carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.projects-carousel {
    display: flex;
    width: max-content;
    padding-left: 4rem;
    gap: 3rem;
}

.project-card {
    width: 35vw;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.card-img {
    width: 100%;
    height: 45vw;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    margin-bottom: 2rem;
    transition: transform 0.5s ease;
}

.project-card:hover .card-img {
    transform: scale(0.98);
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.card-content p {
    font-size: 0.9rem;
    font-weight: 800;
    color: #555;
    letter-spacing: 1px;
}

/* Services */
.services-section {
    padding: 8rem 4rem;
    background-color: #f9f9f9;
    color: #000;
}

.accordion {
    border-top: 2px solid #e0e0e0;
}

.accordion-item {
    border-bottom: 2px solid #e0e0e0;
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 3rem 0;
    cursor: pointer;
    transition: padding 0.3s ease;
}

.accordion-header:hover {
    padding: 3.5rem 0;
}

.accordion-header .num {
    font-size: 1.5rem;
    font-weight: 600;
    width: 60px;
    color: #999;
}

.accordion-header .title {
    font-size: 4vw;
    font-weight: 900;
    flex-grow: 1;
    letter-spacing: -1px;
}

.accordion-header .icon {
    font-size: 3rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-item.active .icon {
    transform: rotate(45deg); /* turns + into x */
}

.accordion-content {
    height: 0;
    overflow: hidden;
    padding-left: 60px;
}

.accordion-content p {
    padding-bottom: 3rem;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    color: #444;
}

/* Footer CTA */
.footer-cta {
    background-color: var(--bg-color);
    padding: 12rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,255,255,0.05) 10deg, transparent 20deg, transparent 180deg, rgba(255,255,255,0.05) 190deg, transparent 200deg);
    z-index: 1;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.cta-text {
    font-size: 8vw;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    letter-spacing: -2px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 1.2rem 2.5rem;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 3rem;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

/* Main Footer */
.main-footer {
    background-color: #050e18;
    color: #fff;
    padding: 5rem 4rem 2rem 4rem;
}

.footer-logo {
    margin-bottom: 4rem;
}

.footer-logo .mc-logo {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -3px;
}

.footer-links {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-brand {
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 600;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    margin-right: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .reveal-text {
        font-size: 13vw;
    }
    .video-mask {
        width: 40vw;
        height: 40vw;
    }
    .project-card {
        width: 60vw;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide on mobile for simplicity in this demo */
    }
    .hero {
        padding: 0 2rem;
    }
    .hero-text {
        font-size: 8vw;
    }
    .reveal-text {
        font-size: 15vw;
    }
    .reveal-left { top: 15%; }
    .reveal-right { bottom: 15%; }
    .video-mask {
        width: 60vw;
        height: 60vw;
    }
    .projects, .services-section, .footer-cta {
        padding: 5rem 2rem;
    }
    .projects .section-title, .projects-carousel {
        padding-left: 2rem;
    }
    .project-card {
        width: 80vw;
    }
    .card-img {
        height: 100vw;
    }
    .accordion-header .title {
        font-size: 6vw;
    }
    .cta-text {
        font-size: 12vw;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .main-footer {
        padding: 4rem 2rem 2rem 2rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-bottom div a {
        display: block;
        margin-bottom: 0.5rem;
    }
}
