:root {
    --primary-color: #000000;
    --text-color: #333333;
    --accent-color: #00d2d3; /* Sky Blue / Teal */
    --light-bg: #ffffff;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* STRICT VIEWPORT RULES */
html, body { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: var(--font-main); 
    color: var(--primary-color); 
    background-color: var(--light-bg); 
    overflow-x: hidden; 
    width: 100%;
}
* { box-sizing: inherit; }
a { text-decoration: none; color: inherit; }

/* =========================================
   HEADER & NAVBAR FADEOUT
   ========================================= */
.site-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: 25px 50px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 999; 
    /* Completely transparent on dark hero */
    background: transparent; 
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease; 
}

/* Frosted Glass effect when scrolling down past the black hero */
.site-header.scrolled { 
    padding: 15px 50px; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 5px 25px rgba(214, 205, 205, 0.05); 
}

.logo-link { display: flex; align-items: center; }
/* LOGO FIX: Removed filter: brightness(0) invert(1); to prevent white box overlay on logos with backgrounds */
.nav-logo-img { height: 40px; width: auto; object-fit: contain; transition: transform 0.3s ease, filter 0.4s ease; }
.nav-logo-img:hover { transform: scale(1.05); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.btn-call { border: 2px solid rgba(255,255,255,0.5); padding: 10px 25px; border-radius: 30px; font-weight: 600; font-size: 0.95rem; background: transparent; color: white; transition: var(--transition); display: flex; align-items: center; gap: 8px;}
.site-header.scrolled .btn-call { color: var(--primary-color); border-color: #ddd; background: white; }
.btn-call:hover { background: var(--accent-color); color: #000; border-color: var(--accent-color); }
.menu-toggle { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); cursor: pointer; width: 45px; height: 45px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; transition: var(--transition); }
.site-header.scrolled .menu-toggle { background: #111; border-color: #111; }
.menu-toggle:hover { transform: scale(1.05); background: var(--accent-color); border-color: var(--accent-color); }
.bar { width: 20px; height: 2px; background-color: white; transition: background 0.4s; }
.site-header.scrolled .bar { background-color: white; }

/* Nav Overlay */
.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #050505; z-index: 1000; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; pointer-events: none; }
.nav-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.close-btn { position: absolute; top: 30px; right: 50px; background: white; border: none; color: black; font-size: 2.5rem; line-height: 1; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: 0.3s; }
.close-btn:hover { background: var(--accent-color); color: white; transform: rotate(90deg); }
.main-nav ul { list-style: none; text-align: center; padding: 0; }
.main-nav ul li { margin: 15px 0; transform: translateY(30px); opacity: 0; transition: all 0.5s ease; transition-delay: calc(0.1s * var(--i)); }
.nav-overlay.active .main-nav ul li { transform: translateY(0); opacity: 1; }
.main-nav ul li a { text-decoration: none; color: white; font-size: 2.5rem; font-weight: 600; transition: color 0.3s; text-transform: uppercase; letter-spacing: 2px; }
.main-nav ul li a:hover { color: var(--accent-color); }

/* =========================================
   NEW REDESIGNED HERO SECTION
   ========================================= */
.premium-hero { 
    background-color: #050505; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    position: relative; 
    color: white; 
    padding: 150px 20px 50px; /* Account for navbar */
    z-index: 1;
}

/* Glowing Ambient Orbs */
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); z-index: -1; opacity: 0.5; pointer-events: none; animation: floatGlow 10s infinite alternate ease-in-out; }
.glow-1 { width: 50vw; height: 50vw; background: var(--accent-color); top: -20%; right: -10%; }
.glow-2 { width: 40vw; height: 40vw; background: #4a00e0; bottom: -10%; left: -10%; animation-delay: -5s; }

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-container-new {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-subtitle {
    display: inline-block;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.huge-text-new {
    font-size: clamp(3.5rem, 12vw, 10rem); /* Perfect scaling for mobile */
    font-weight: 900;
    line-height: 0.9;
    margin: 0 0 30px 0;
    letter-spacing: -2px;
}

.text-solid { color: #ffffff; }
.text-outline { 
    color: transparent; 
    -webkit-text-stroke: 2px rgba(255,255,255,0.2); 
    transition: all 0.4s ease;
}
.huge-text-new:hover .text-outline {
    -webkit-text-stroke: 2px var(--accent-color);
}

.hero-desc {
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.7;
    color: #cccccc;
    max-width: 700px;
    margin: 0 auto 40px;
    min-height: 60px; 
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}

.btn-primary-new {
    background: var(--accent-color);
    color: #000;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 210, 211, 0.3);
}
.btn-primary-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 210, 211, 0.5);
    background: #fff;
}

.btn-outline-new {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}
.btn-outline-new:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* Bottom Stats Row */
.hero-stats-new {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 5vw, 60px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    width: 100%;
    max-width: 1000px;
}

.h-stat-new h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1;
}
.h-stat-new p {
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    color: var(--accent-color);
    letter-spacing: 2px;
    font-weight: 700;
}
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); }

/* =========================================
   SKY BLUE INFINITE MARQUEE
   ========================================= */
.marquee-section { 
    background-color: var(--accent-color); 
    padding: 20px 0; 
    overflow: hidden; 
    white-space: nowrap; 
    position: relative;
    z-index: 10;
}
.marquee-content { 
    display: inline-block; 
    animation: scrollMarquee 25s linear infinite; 
}
.marquee-content span { 
    font-size: clamp(1.2rem, 3vw, 1.8rem); 
    font-weight: 900; 
    color: #000; 
    padding: 0 30px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.marquee-content i { font-size: 1.2rem; color: #000; vertical-align: middle; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Seamless Black to White Transition Block */
.color-transition-block {
    height: 150px;
    background: linear-gradient(to bottom, #050505 0%, #ffffff 100%);
    width: 100%;
    position: relative;
    z-index: 5;
    margin-bottom: -100px; /* Pulls the services section up over the fade */
}

/* --- Services & Containers --- */
.services-section { padding: 100px 50px; background: transparent; position: relative; z-index: 10; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.services-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px; }
.services-header h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 600px; font-weight: 800; line-height: 1.2; letter-spacing: -1px; }
.btn-secondary { text-decoration: none; padding: 15px 30px; border: 2px solid var(--accent-color); border-radius: 30px; color: var(--accent-color); font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: var(--transition); }
.btn-secondary:hover { background: var(--accent-color); color: white; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.service-card { padding: 40px 30px; background: #f9fbfc; border-radius: 20px; transition: var(--transition); border: 1px solid #f0f0f0; }
.service-card:hover { transform: translateY(-10px); background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--accent-color); }
.service-card .icon { font-size: 2.5rem; margin-bottom: 20px; color: var(--accent-color); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; font-weight: 800; }
.service-card p { color: #555; line-height: 1.7; min-height: 60px; }

/* Stats Section */
.stats-section { padding: 100px 50px; background: white; text-align: center; }
.stats-section .section-title { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 60px; font-weight: 800; color: #888; }
.stats-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.stat-item { flex: 1; min-width: 200px; }
.stat-number { font-size: 5rem; font-weight: 800; color: black; line-height: 1;}
.stat-item .plus { font-size: 2.5rem; vertical-align: super; font-weight: 700; color: var(--accent-color); }
.stat-item p { margin-top: 15px; color: #666; font-weight: 600; font-size: 1.1rem; }

/* Feature Sections */
.feature-section { display: flex; align-items: stretch; min-height: 80vh; background-color: var(--light-bg); overflow: hidden; max-width: 100%;}
.feature-section.reverse-layout { flex-direction: row-reverse; }
.feature-image-col { width: 50%; position: relative; display: flex; align-items: center; }
.feature-bg-img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.feature-overlap-img { position: absolute; width: 350px; height: 400px; object-fit: cover; z-index: 10; box-shadow: 0 30px 60px rgba(0,0,0,0.2); border: 8px solid white;}
.feature-section:not(.reverse-layout) .feature-overlap-img { right: -100px; }
.feature-section.reverse-layout .feature-overlap-img { left: -100px; }
.feature-text-col { width: 50%; padding: 8% 8%; display: flex; flex-direction: column; justify-content: center; background: var(--light-bg); z-index: 5; }
.feature-text-col h2 { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 800; margin-bottom: 30px; color: var(--primary-color); letter-spacing: -1px; }
.feature-text-col p { font-size: 1.15rem; line-height: 1.8; color: #555; margin-bottom: 25px; }
.feature-stats { display: flex; gap: 50px; margin-top: 40px; border-top: 1px solid #eee; padding-top: 30px;}
.f-stat h3 { font-size: 3rem; font-weight: 800; margin-bottom: 5px; color: var(--accent-color); }
.f-stat p { font-size: 1rem; line-height: 1.4; margin-bottom: 0; color: #000; font-weight: 600; }
.feature-tags { display: flex; gap: 15px; margin-top: 20px; flex-wrap: wrap; }
.tag { background: #f0f0f0; padding: 10px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; color: #333; }

/* Utilities & Reusable */
.text-center { text-align: center; }
.split-layout { display: flex; align-items: center; gap: 50px; padding: 80px 0; max-width: 100%; }
.split-layout.align-start { align-items: flex-start; }
.text-content { flex: 1; }
.image-content { flex: 1; position: relative; }
.btn-outline { display: inline-flex; align-items: center; gap: 15px; padding: 15px 35px; border: 2px solid #ddd; border-radius: 40px; color: var(--primary-color); text-decoration: none; font-weight: 700; margin-top: 20px; transition: var(--transition); }
.btn-outline:hover { background: var(--primary-color); color: white; border-color: var(--primary-color); }

/* Continuous Scrolling Partners Section */
.partners-section { padding: 100px 0; background: #fafafa; overflow: hidden; width: 100%; }
.partners-section .section-title { margin-bottom: 60px; font-weight: 800; font-size: 2rem; text-align: center;}
.partners-carousel { width: 100%; overflow: hidden; position: relative; white-space: nowrap; }
.partners-carousel::before, .partners-carousel::after { content: ""; position: absolute; top: 0; width: 15vw; height: 100%; z-index: 2; pointer-events: none; }
.partners-carousel::before { left: 0; background: linear-gradient(to right, #fafafa, transparent); }
.partners-carousel::after { right: 0; background: linear-gradient(to left, #fafafa, transparent); }
.partners-track { display: inline-block; animation: scrollMarquee 20s linear infinite; }
.partners-track:hover { animation-play-state: paused; }
.partner-logo { max-width: 160px; max-height: 80px; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: var(--transition); display: inline-block; margin: 0 50px; vertical-align: middle; cursor: pointer; }
.partner-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.1); }

/* =========================================
   GRAPHICS DEMO SECTION (AUTO SCROLL)
   ========================================= */
.graphics-demo-section { 
    padding: 100px 50px; 
    background: #f9fbfc; 
}

.demo-gallery-wrapper {
    display: flex;
    gap: 20px;
    height: 600px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
}

.scroll-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}

.scroll-column img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    aspect-ratio: 1/1; 
}

/* Animations */
.scroll-up { animation: scrollUpAnim 25s linear infinite; }
.scroll-down { animation: scrollDownAnim 25s linear infinite; }

.demo-gallery-wrapper:hover .scroll-column {
    animation-play-state: paused;
}

@keyframes scrollUpAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-50% - 10px)); } 
}

@keyframes scrollDownAnim {
    0% { transform: translateY(calc(-50% - 10px)); }
    100% { transform: translateY(0); }
}

/* =========================================
   WEB DEMO SECTION
   ========================================= */
.web-demo-section { 
    padding: 100px 50px; 
    background: #050505; 
    color: white; 
}

.web-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.web-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}

.web-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.web-card:hover img {
    transform: scale(1.08);
}

.web-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.web-card:hover .web-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.web-card-overlay h4 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.web-card-overlay p {
    margin: 0;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Founder Section */
.founder-section { padding: 120px 50px; background: white; }
.founder-text h2 { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 800; margin-bottom: 30px; letter-spacing: -1px; }
.founder-text p { font-size: 1.15rem; line-height: 1.8; color: #555; margin-bottom: 20px; }
.founder-quote { font-size: 1.3rem; font-style: italic; font-weight: 700; line-height: 1.6; margin: 40px 0; padding-left: 25px; border-left: 4px solid var(--accent-color); color: #111; }
.founder-profile-small { display: flex; align-items: center; gap: 20px; }
.founder-profile-small img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.founder-profile-info h4 { font-size: 1.2rem; margin-bottom: 5px; font-weight: 800; }
.founder-profile-info p { font-size: 0.9rem; color: #777; margin: 0; font-weight: 600;}
.founder-image-col { text-align: center; }
.founder-main-img { width: 100%; max-width: 450px; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.founder-title-bottom { margin-top: 30px; }
.founder-title-bottom p { color: #888; font-size: 1rem; margin-bottom: 5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;}
.founder-title-bottom h3 { font-size: 2rem; font-weight: 800; }

/* About Section */
.align-center { align-items: center !important; }
.text-left { text-align: left !important; }
.about-section { padding: 80px 50px 0; background: white; }
.about-logo-col { display: flex; justify-content: center; align-items: center; }
.about-text .section-title { font-size: 3rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px; }
.title-underline { width: 60px; height: 4px; background-color: var(--accent-color); margin-bottom: 30px; border-radius: 2px;}
.about-text p { font-size: 1.15rem; line-height: 1.8; color: #555; margin-bottom: 25px; font-weight: 400; }
.section-divider { border: none; border-top: 1px solid #eaeaea; margin: 100px auto 0; max-width: 90%; }

/* Footer */
.site-footer { background-color: #050505; color: #ffffff; padding: 100px 50px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 80px; }
.footer-logo { margin-bottom: 25px; }
.brand-col p { color: #888; line-height: 1.7; margin-bottom: 30px; max-width: 90%; font-size: 1rem; }
.social-links { display: flex; gap: 15px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: rgba(255, 255, 255, 0.05); color: white; border-radius: 50%; text-decoration: none; transition: all 0.3s ease; font-size: 1.1rem; }
.social-links a:hover { background: var(--accent-color); color: #000; transform: translateY(-5px); }
.footer-col h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 30px; position: relative; padding-bottom: 15px; color: white; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent-color); border-radius: 2px;}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #888; text-decoration: none; transition: all 0.3s ease; font-size: 1rem; font-weight: 500;}
.footer-col ul li a:hover { color: var(--accent-color); padding-left: 8px; }
.contact-col p { color: #888; display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; line-height: 1.6; font-size: 1rem; font-weight: 500;}
.contact-col i { color: var(--accent-color); margin-top: 5px; font-size: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 30px; text-align: center; color: #555; font-size: 0.95rem; font-weight: 500; }

/* =========================================
   CUSTOM CURSOR & SPRAY ANIMATIONS 
   ========================================= */
body { cursor: none; }
.cursor-dot { width: 8px; height: 8px; background-color: var(--accent-color); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid var(--accent-color); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s; transition-duration: 0.15s; transition-timing-function: ease-out; }
.cursor-hover .cursor-outline { width: 60px; height: 60px; background-color: rgba(0, 210, 211, 0.1); border-color: transparent; }

.social-spray-icon { position: absolute; pointer-events: none; color: var(--accent-color); font-size: 20px; z-index: 9997; animation: sprayAnim 1s forwards cubic-bezier(0.1, 0.8, 0.3, 1); }
@keyframes sprayAnim {
    0% { transform: translate(-50%, -50%) scale(0.2) rotate(0deg); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.5) rotate(var(--rot)); opacity: 0; }
}

/* Typing Effect Cursor Blink */
.typewriter { display: inline; min-height: 25px; }
.typewriter.typing::after { content: '|'; display: inline-block; color: var(--accent-color); animation: blink 0.8s infinite; margin-left: 2px;}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Disable custom cursor on mobile to prevent bugs */
@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline, .social-spray-icon { display: none !important; }
}

/* --- Scroll Reveal Animations --- */
.reveal-left, .reveal-right, .reveal-up, .reveal-fade { opacity: 0; transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up { transform: translateY(50px); }
.reveal-fade { transform: scale(0.95); }
.active.reveal-left, .active.reveal-right, .active.reveal-up { opacity: 1; transform: translate(0); }
.active.reveal-fade { opacity: 1; transform: scale(1); }

/* =========================================
   STRICT RESPONSIVE FIXES FOR MOBILE
   ========================================= */
@media (max-width: 1024px) {
    .feature-text-col { padding: 5% 8%; }
    .feature-overlap-img { width: 280px; height: 320px; }
    .feature-section:not(.reverse-layout) .feature-overlap-img { right: -50px; }
    .feature-section.reverse-layout .feature-overlap-img { left: -50px; }
}

@media (max-width: 900px) {
    .hero-container-new { text-align: center; }
    .hero-stats-new { flex-direction: column; gap: 30px; border-top: none; padding-top: 10px; }
    .stat-divider { width: 50px; height: 2px; }
    .hero-cta-group { flex-direction: column; padding: 0 20px; }
    
    .about-section { padding: 40px 20px 0; }
    .about-logo-col { margin-bottom: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    .split-layout, .split-layout.row-reverse { flex-direction: column; gap: 50px; }

    /* New demo sections fixes */
    .demo-gallery-wrapper { height: 450px; margin-top: 40px;}
    .graphics-demo-section { padding: 60px 20px; }
    .web-demo-section { padding: 60px 20px; }
}

@media (max-width: 768px) {
    .site-header { padding: 15px 20px; }
    .site-header.scrolled { padding: 15px 20px; }
    .nav-logo-img { height: 35px; }
    .btn-call { display: none; } /* Hide button to save space */
    .close-btn { top: 20px; right: 20px; width: 45px; height: 45px; font-size: 2rem; }
    .main-nav ul li a { font-size: 2.5rem; }
    
    .premium-hero { padding-top: 120px; }
    .hero-desc { font-size: 1rem; }
    
    .services-header { flex-direction: column; gap: 20px; }
    .stats-grid { flex-direction: column; text-align: center; gap: 50px;}
    
    .feature-section, .feature-section.reverse-layout { flex-direction: column; padding: 40px 20px; min-height: auto; }
    .feature-image-col { width: 100%; height: 350px; }
    .feature-text-col { width: 100%; padding: 30px 0 0 0; }
    .feature-overlap-img { display: none; /* Safest way to prevent horizontal scroll bugs on mobile */ }

    .founder-section { padding: 60px 20px; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .site-footer { padding: 60px 20px 20px; }
    
    /* New demo sections fixes */
    .demo-gallery-wrapper { height: 350px; gap: 10px; }
    .scroll-column { gap: 10px; }
}
/* Fix to make the hero numbers white on the dark background */
.hero-stats-new .stat-number {
    color: #ffffff;
}