:root {
    --bg-color: #050505;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent: #e6e6e6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.loader-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.5rem;
    overflow: hidden;
    display: flex;
}
.loader-text .char {
    transform: translateY(100%);
}
.loader-progress {
    width: 0%;
    height: 2px;
    background: var(--text-main);
    margin-top: 2rem;
    max-width: 200px;
}

/* Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10vw;
}
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#hero-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* for entrance animation */
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}
/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    color: #fff;
    background-color: transparent;
    transition: all 0.4s ease;
}
.main-header.scrolled {
    background-color: #ffffff;
    padding: 1rem 4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.main-header.scrolled .nav-links a {
    color: #111;
}
.main-header.scrolled .search-icon {
    color: #111;
}
.logo {
    display: flex;
    align-items: center;
}
.nav-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: height 0.4s ease;
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}
.nav-links a:hover {
    opacity: 0.7;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.search-icon {
    color: #fff;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}
.search-icon:hover {
    opacity: 0.7;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.8rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}
.contact-btn::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: #fff;
    border-radius: 40%;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-btn:hover {
    color: #111;
    border-color: #fff;
}
.contact-btn:hover::before {
    top: -50%;
    transform: rotate(180deg);
}
.main-header.scrolled .contact-btn {
    border-color: #e0e0e0;
    color: #111;
}
.main-header.scrolled .contact-btn::before {
    background-color: #e63946;
}
.main-header.scrolled .contact-btn:hover {
    color: #fff;
    border-color: #e63946;
}

.hero-content-new {
    position: absolute;
    top: 50%;
    left: 4rem;
    transform: translateY(-50%);
    width: 100%;
    max-width: 1200px;
    text-align: left;
    z-index: 3;
}
.welcome-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow: hidden;
}
.hero-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin-bottom: 2rem;
}
.hero-columns {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}
.hero-col-left {
    flex: 1;
}
.hero-title-new {
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 500;
    line-height: 1;
    color: #fff;
    margin: 0;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1.5rem;
    max-width: 800px;
    margin-left: 0;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
}
.hero-title-new .line {
    overflow: hidden;
}
.char-wrap {
    display: inline-block;
    transform: translateY(100%);
}
.hero-col-right {
    flex: 0 0 30%;
    display: flex;
    justify-content: flex-end;
}
.desc-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    overflow: hidden;
}
.hero-desc {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #ccc;
    position: relative;
    padding-left: 1.5rem;
}
.hero-desc::before {
    content: '└';
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
}
.btn-quote {
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}
.btn-quote:hover {
    background: rgba(255,255,255,0.2);
}
.reveal-text {
    transform: translateY(100%);
    opacity: 0;
}

/* About Us Section (Reference Design) */
.about-us {
    background-color: #ffffff;
    color: #111;
    padding: 120px 5vw;
}
.about-container {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.about-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.about-label {
    background-color: transparent;
    color: #a3a3a3;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.about-title {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 500;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
}
.about-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 3rem;
    max-width: 95%;
    font-weight: 400;
}
.about-reviews {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}
.star-icon {
    width: 22px;
    height: 22px;
    color: #FFC107;
}
.divider {
    color: #ddd;
    margin: 0 0.5rem;
}
.avatar-group {
    display: flex;
}
.avatar-group img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -12px;
    object-fit: cover;
}
.avatar-group img:first-child {
    margin-left: 0;
}
.reviews-text {
    margin-left: 0.5rem;
}
.btn-learn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #ff3b30;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn-learn:hover {
    transform: translateY(-2px);
    background-color: #d63028;
}
.btn-learn svg {
    width: 18px;
    height: 18px;
}

/* About Right Column */
.about-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-illustration {
    position: relative;
    width: 100%;
    max-width: 420px;
}
.about-img-wrapper {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.main-about-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    max-width: 280px;
    z-index: 2;
}
.card-top {
    top: 5%;
    right: -20%;
}
.card-bottom {
    bottom: 5%;
    left: -20%;
    background: rgba(245, 250, 248, 0.85); /* glassy tint based on reference */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.6);
}
.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.card-title span {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1A3b2b;
    letter-spacing: -1px;
}
.floating-card p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .about-container {
        flex-direction: column;
        gap: 4rem;
    }
    .about-right {
        width: 100%;
    }
    .card-top {
        right: 0;
        max-width: 240px;
    }
    .card-bottom {
        left: 0;
        max-width: 240px;
    }
}
@media (max-width: 768px) {
    .card-top {
        top: -10%;
    }
    .card-bottom {
        bottom: -5%;
    }
}

/* Counter Section */
.counter-section {
    background-color: #ffffff; /* Match About Us background */
    padding: 0; /* No top margin/padding */
}
.counter-grid {
    display: flex;
    width: 100%;
}
.counter-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.counter-color-box {
    padding: 4rem 3rem 6rem 3rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 4rem 100%, 0 calc(100% - 4rem));
    color: #111;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.box-dark {
    background-color: #102c34;
    color: #ffffff;
}
.box-mint {
    background-color: #2ec49b;
}
.box-lime {
    background-color: #a8d234;
}
.box-red {
    background-color: #e63946;
    color: #ffffff;
}
.counter-number {
    font-size: clamp(6rem, 10vw, 12rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -5px;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}
.counter-number .symbol {
    font-size: 1.5rem;
    vertical-align: super;
    font-weight: 300;
    letter-spacing: 0;
}
.counter-details {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
}
.counter-details .rank {
    white-space: nowrap;
}
.counter-details .desc {
    opacity: 0.9;
    white-space: nowrap;
}
.counter-footer {
    padding: 3rem;
    min-height: 150px;
    background-color: #ffffff;
    display: flex;
    align-items: flex-end;
}
.footer-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -1px;
    color: #111;
}

@media (max-width: 900px) {
    .counter-grid {
        flex-direction: column;
    }
    .counter-color-box {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 2rem 100%, 0 calc(100% - 2rem));
        min-height: 300px;
        padding: 3rem 2rem 4rem 2rem;
    }
}

/* =========================================
   SERVICES SECTION
========================================= */
.services-section {
    height: 100vh;
    min-height: 700px;
    padding: 80px 5vw;
    background-color: #fff;
    color: #111;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.services-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.services-left {
    position: absolute;
    top: 10%;
    left: 0;
    width: 45%;
    max-width: 550px;
    z-index: 10;
}

.services-tag {
    background-color: transparent;
    color: #a3a3a3;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-left h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 4rem;
    letter-spacing: -1px;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    color: #111;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.btn-explore::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: #e63946;
    border-radius: 40%;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-explore:hover {
    color: #fff;
    border-color: #e63946;
}

.btn-explore:hover::before {
    top: -50%;
    transform: rotate(180deg);
}

.btn-explore svg {
    width: 16px;
    height: 16px;
}

.products-section .btn-explore {
    color: #ffffff;
}

/* Winding Path Container */
.services-path-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.services-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-node {
    position: absolute;
    width: 260px;
    z-index: 2;
    opacity: 0; /* Hidden initially for GSAP */
}

.node-1 { left: 75%; top: 25%; }
.node-2 { left: 50%; top: 50%; }
.node-3 { left: 25%; top: 75%; }

.node-bg-number {
    position: absolute;
    font-size: 11rem;
    font-weight: 800;
    color: #eef1f6;
    opacity: 1;
    line-height: 0.8;
    top: -3.5rem;
    right: -1.5rem;
    left: auto;
    transform: none;
    z-index: -1;
    pointer-events: none;
}

.node-dot {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: absolute;
    top: 0;
    left: 0; 
    transform: translate(-50%, -50%); /* Center dot exactly on the line */
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-dot-inner {
    width: 12px;
    height: 12px;
    background: #dcdcdc; /* Gray dot initially */
    border-radius: 50%;
    transition: background-color 0.4s ease;
}

.node-dot-inner.active {
    background: #e86e5c; /* Turns red when active */
}

.node-content {
    padding-left: 35px;
}

.node-content h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: #000;
    letter-spacing: -0.5px;
}

.node-content p {
    font-size: 0.95rem;
    color: #a3a3a3;
    line-height: 1.5;
    font-weight: 400;
}

@media (max-width: 900px) {
    .services-container {
        flex-direction: column;
    }
    .services-left {
        position: static;
        margin-bottom: 3rem;
    }
}

/* =========================================
   PRODUCTS INTERACTIVE SECTION
========================================= */
.products-section {
    position: relative;
    background-color: #0d0d0d; /* Dark background */
    color: #fff;
    overflow: hidden;
    height: 100vh; /* Will be pinned by GSAP */
    display: flex;
    align-items: center;
}

.products-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 4rem;
    padding-right: 6rem; /* Make room for progress rail */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Left Column */
.products-left {
    width: 40%;
    padding-right: 2rem;
    position: relative;
    z-index: 10;
}

.products-tag {
    background-color: transparent;
    color: #a3a3a3;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.products-text-content {
    position: relative;
    min-height: 250px; /* Pre-allocate space for dynamic text */
    margin-bottom: 2rem;
}

.product-text-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.product-text-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-text-item h1 {
    font-size: clamp(2rem, 3.2vw, 3.5rem);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.product-text-item p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #a3a3a3;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Right Column (Cards Stack) */
.products-right {
    width: 55%;
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.cards-stack {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
}

.product-card {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateX(-50%); /* Center horizontally */
    transform-origin: bottom center;
    will-change: transform, opacity;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Base stack positioning */
.card-0 { transform: translateX(-50%) scale(1) translateY(0); z-index: 1; }
.card-1 { transform: translateX(-50%) scale(1) translateY(0); z-index: 2; }
.card-2 { transform: translateX(-50%) scale(1) translateY(0); z-index: 3; }
.card-3 { transform: translateX(-50%) scale(1) translateY(0); z-index: 4; }
.card-4 { transform: translateX(-50%) scale(1) translateY(0); z-index: 5; }

/* Progress Rail */
.progress-rail {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.15);
    z-index: 20;
}

.progress-indicator {
    position: absolute;
    top: 0;
    left: -1px;
    width: 4px;
    height: 0%;
    background-color: #e63946; /* Brand red */
    border-radius: 2px;
}

@media (max-width: 900px) {
    .products-container {
        flex-direction: column;
        padding: 6rem 2rem;
    }
    .products-left, .products-right {
        width: 100%;
    }
    .products-right {
        margin-top: 3rem;
        height: 50vh;
    }
    .cards-stack {
        height: 400px;
    }
    .progress-rail {
        display: none;
    }
}

/* =========================================
   FEATURES SECTION
========================================= */
.features-section {
    padding: 8rem 5vw;
    background-color: #ffffff;
    color: #111;
    margin-top: -2px; /* Fix for subpixel gap rendering between sections */
    position: relative;
    z-index: 10;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.features-left {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: sticky;
    top: 150px;
}

.features-left h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 4rem;
    letter-spacing: -1px;
    color: #000;
}

.features-right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem 0;
}

.feature-icon {
    flex: 0 0 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: #111;
    letter-spacing: -0.5px;
}

.feature-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    font-weight: 400;
}

@media (max-width: 900px) {
    .features-container {
        flex-direction: column;
    }
    .features-left {
        position: static;
        margin-bottom: 4rem;
    }
    .features-left, .features-right {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* =========================================
   FOOTER SECTION
========================================= */
.footer-section {
    background-color: var(--bg-color);
    padding: 8rem 5vw 0;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand {
    flex: 0 0 45%;
}

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

.footer-logo img {
    height: 70px;
    object-fit: contain;
}

.footer-brand p {
    color: #a3a3a3;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 500px;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 1.2rem;
}

.footer-column ul li a {
    color: #d1d1d1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.socials-column .social-icons {
    display: grid;
    grid-template-columns: repeat(2, 40px);
    gap: 1rem;
}

.social-icons a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: color 0.3s ease;
}

.social-icons a svg {
    width: 100%;
    height: 100%;
}

.social-icons a:hover {
    color: #e63946;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding-top: 2rem;
}

.footer-bottom p {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 4rem;
}

.footer-giant-text {
    width: 100%;
    text-align: center;
    position: relative;
}

.footer-giant-text h1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: clamp(4rem, 15vw, 220px);
    font-weight: 800;
    line-height: 0.8;
    margin: 0;
    background: linear-gradient(to right, #6b0000 0%, #ff0000 30%, #ff0000 70%, #6b0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-brand {
        margin-bottom: 3rem;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 3rem;
    }
    .footer-column {
        min-width: 150px;
    }
}

/* =========================================
   5-LAYER CO-EXTRUSION PARALLAX SECTION
========================================= */
#coex-section {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: radial-gradient(circle at 70% 50%, #ffffff 0%, #F7F7F5 70%);
    position: relative;
    display: flex;
}

/* Left Side: Text and Progress */
.coex-left {
    width: 50%;
    height: 100%;
    padding: 10% 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.coex-title {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 500;
    color: #111;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.coex-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    max-width: 400px;
    margin-bottom: 60px;
}

.layer-info-container {
    position: relative;
    height: 150px;
}

.layer-info {
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transform: translateY(20px);
}

.layer-number {
    font-size: 14px;
    font-weight: 600;
    color: #D62828;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.layer-name {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111;
    letter-spacing: -0.5px;
}

.layer-explanation {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 350px;
}

/* Progress Indicator */
.progress-indicator {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 20;
}

.progress-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d1d1;
    transition: all 0.3s ease;
    position: relative;
}

.progress-dot::after {
    content: '';
    position: absolute;
    top: -10px; bottom: -10px; left: -10px; right: -10px;
    cursor: pointer;
}

.progress-dot.active {
    background: #D62828;
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(214, 40, 40, 0.4);
}

/* Right Side: 3D Scene */
.coex-right {
    width: 50%;
    height: 100%;
    position: relative;
    perspective: 2000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3D Camera Container */
.camera-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
}

/* The Sheets */
.plastic-sheet {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 70vh;
    width: 49vh; /* maintains a 0.7 aspect ratio */
    max-height: 800px;
    max-width: 560px;
    background: rgba(214, 40, 40, 0.15); /* Red transparent */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05), inset 0 0 20px rgba(255,255,255,0.3);
    transform-origin: center center;
    transform-style: preserve-3d;
    will-change: transform, opacity, box-shadow;
}

/* Enhance glossy look */
.plastic-sheet::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.1) 100%);
    border-radius: inherit;
    pointer-events: none;
}

/* Final Text */
.final-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    font-weight: 700;
    color: #111;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    letter-spacing: -2px;
    line-height: 1.1;
}

/* Responsive */
@media (max-width: 1024px) {
    #coex-section {
        flex-direction: column;
    }
    .coex-left, .coex-right {
        width: 100%;
    }
    .coex-left {
        height: 40%;
        padding: 10% 5%;
        align-items: center;
        text-align: center;
    }
    .coex-title {
        font-size: 48px;
    }
    .coex-desc {
        margin-bottom: 20px;
        font-size: 16px;
    }
    .layer-info-container {
        display: flex;
        justify-content: center;
    }
    .progress-indicator {
        flex-direction: row;
        top: auto;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
    }
    .coex-right {
        height: 60%;
    }
    .plastic-sheet {
        height: 50vh;
        width: 35vh;
        max-height: 500px;
        max-width: 350px;
    }
    .final-text {
        font-size: 42px;
    }
}
