:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #f5f5f5;
    --text-muted: #888888;
    --transition: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

body {
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.outline {
    -webkit-text-stroke: 1px var(--white);
    color: transparent;
}

/* Preloader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 1s var(--transition);
}

.loader-logo {
    width: 300px;
    max-width: 70%;
    filter: grayscale(1);
    animation: pulse 2s infinite ease-in-out;
    display: block;
    margin: 0 auto;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

#loader.loaded {
    transform: translateY(-100%);
}

/* Typography */
h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-top: 20px;
}

h2 {
    font-size: clamp(3rem, 10vw, 4rem);
    font-weight: 900;
    margin-bottom: 40px;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    filter: grayscale(1) contrast(1.1) brightness(0.7);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.hero-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.hero-logo {
    width: 400px;
    max-width: 90%;
    margin-bottom: 30px;
    filter: invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.6));
    animation: neonBlink 3s ease-in-out infinite;
}

@keyframes neonBlink {

    0%,
    100% {
        filter: invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }

    50% {
        filter: invert(1);
    }
}

.top-nav {
    position: absolute;
    top: 40px;
    width: 100%;
    left: 0;
    padding: 0 40px;
    z-index: 10;
}

.top-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.top-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.top-nav a:hover {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    opacity: 0.5;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background: var(--white);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Process Section - 3D Scroll Effect */
.process-sticky-section {
    background: var(--white);
    color: var(--black);
    position: relative;
    perspective: 1000px;
}

.process-sticky-header {
    text-align: center;
    padding: 100px 40px;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.process-sticky-header .section-title {
    color: var(--black);
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 0;
}

.process-sticky-header .outline {
    -webkit-text-stroke: 1px var(--black);
}

.process-sticky-item {
    height: 100vh;
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateZ(-200px) scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-sticky-item.active {
    opacity: 1;
    transform: translateZ(0) scale(1);
    z-index: 10;
}

.process-sticky-item.exiting {
    opacity: 0;
    transform: translateZ(200px) scale(1.1);
}

.process-sticky-content {
    width: 95%;
    max-width: 1400px;
    height: 75vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
}

.process-sticky-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.process-sticky-content.reverse .process-sticky-text {
    order: 2;
}

.process-sticky-content.reverse .process-sticky-image {
    order: 1;
}

.process-sticky-text {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-sticky-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.process-sticky-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    transition: filter 0.6s ease;
}

.process-sticky-item:hover .process-sticky-image img {
    filter: grayscale(0) contrast(1);
}

.step-num {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: block;
    letter-spacing: 0.4em;
    opacity: 0.3;
    text-transform: uppercase;
}

.process-sticky-text h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.process-sticky-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    font-weight: 300;
    max-width: 500px;
    opacity: 0.85;
}

/* Rotating Circle Section */
.rotating-section {
    background: var(--white);
    color: var(--black);
    padding: 100px 0;
    overflow: hidden;
}

.section-label {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    opacity: 0.5;
    margin-bottom: 20px;
}

.rotating-section .section-title {
    text-align: center;
    color: var(--black);
    margin-bottom: 80px;
}

.rotating-section .outline {
    -webkit-text-stroke: 1px var(--black);
}

.rotating-wrapper {
    position: relative;
    width: 900px;
    height: 900px;
    margin: 0 auto;
}

/* Gradient circles around center */
.rotating-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(200, 200, 200, 0.3) 50%, rgba(100, 100, 100, 0.1) 100%);
    border: 1px solid rgba(200, 200, 200, 0.3);
}

.rotating-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: 550px;
    border-radius: 50%;
    border: 1px dashed rgba(150, 150, 150, 0.3);
}


.rotating-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.rotating-center img {
    width: 170px;
    height: auto;
    filter: grayscale(1);
}

.rotating-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 750px;
    height: 750px;
    margin-left: -375px;
    margin-top: -375px;
    animation: rotate-orbit 40s linear infinite;
}

@keyframes rotate-orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.orbit-item {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    margin-left: -60px;
    margin-top: -60px;
    transform: rotate(var(--angle)) translateX(375px) rotate(calc(-1 * var(--angle)));
    animation: counter-rotate 40s linear infinite;
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

@keyframes counter-rotate {
    from {
        transform: rotate(var(--angle)) translateX(375px) rotate(calc(-1 * var(--angle)));
    }

    to {
        transform: rotate(var(--angle)) translateX(375px) rotate(calc(-1 * var(--angle) - 360deg));
    }
}

.orbit-item img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
}


.orbit-item img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #f0f0f0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.orbit-item:hover img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Rotating Section Responsive */
@media (max-width: 1024px) {
    .rotating-wrapper {
        transform: scale(0.65);
        width: 900px;
        margin-left: 50%;
        left: -450px;
    }
}

@media (max-width: 768px) {
    .rotating-section {
        padding: 50px 0;
        overflow: hidden;
    }

    .rotating-wrapper {
        transform: scale(0.40);
        width: 900px;
        height: 900px;
        margin-left: 50%;
        left: -450px;
        margin-top: -200px;
        margin-bottom: -200px;
    }
}

/* Brands Marquee */

/* Brands Marquee */

.brands {
    min-height: 50vh;
    background: var(--white);
    color: var(--black);
    padding: 100px 0;
}

.brands .section-title {
    color: var(--black);
    text-align: center;
    margin-bottom: 80px;
}

.brands .outline {
    -webkit-text-stroke: 1px var(--black);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 60px 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 900;
    margin-right: 80px;
    opacity: 0.2;
    transition: opacity 0.3s;
}

.marquee-content span:hover {
    opacity: 0.8;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Marquee Logo Images */
.marquee-content img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-right: 100px;
    opacity: 0.8;
    transition: opacity 0.3s, filter 0.3s, transform 0.3s;
    /* Invert to turn black backgrounds -> white, white logos -> black */
    filter: invert(1) grayscale(1) contrast(1.5);
    mix-blend-mode: multiply;
    /* Make white backgrounds transparent */
    background: transparent;
}

.marquee-content img:hover {
    opacity: 1;
    transform: scale(1.2);
    cursor: pointer;
}

/* Footer */
.footer {
    text-align: center;
    background: var(--black);
}

.footer-logo {
    width: 250px;
    margin-bottom: 60px;
    filter: invert(1);
}

.ig-button {
    display: inline-block;
    padding: 25px 60px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    margin-top: 50px;
    transition: background 0.4s var(--transition), color 0.4s;
    text-transform: uppercase;
}

.ig-button:hover {
    background: var(--white);
    color: var(--black);
}

.footer-bottom {
    margin-top: 120px;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 1024px) {
    .process-sticky-section {
        perspective: 500px;
    }

    .process-sticky-content {
        grid-template-columns: 1fr;
        height: auto;
        width: 95%;
    }

    .process-sticky-content.reverse {
        grid-template-columns: 1fr;
    }

    .process-sticky-content.reverse .process-sticky-text,
    .process-sticky-content.reverse .process-sticky-image {
        order: initial;
    }

    .process-sticky-text {
        padding: 40px 30px;
    }

    .process-sticky-image {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }

    .hero-logo {
        width: 300px;
    }

    .loader-logo {
        width: 250px;
    }

    .top-nav {
        top: 20px;
        padding: 0 15px;
    }

    .top-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        /* Allow wrapping if needed */
    }

    .top-nav a {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }

    h2 {
        font-size: 2rem;
        /* Reduce main headings */
    }

    .hero-center h2 {
        font-size: 2rem;
        /* Specific target for hero */
        margin-bottom: 20px;
    }

    .hero-center p {
        font-size: 0.9rem;
        max-width: 90%;
    }

    .footer h2 {
        font-size: 1.8rem;
    }

    .ig-button {
        padding: 15px 30px;
        font-size: 0.8rem;
    }

    .process-sticky-text {
        padding: 40px 30px;
    }

    .process-sticky-text h3 {
        font-size: 1.5rem;
        /* Reduced from 2rem */
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 2.2rem !important;
        /* Ensure section titles aren't huge */
        margin-bottom: 40px !important;
    }
}