:root {
    --bg-color: #020306;
    --surface: rgba(255, 255, 255, 0.02);
    --border: rgba(255, 255, 255, 0.05);
    --border-bright: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #9aa0a6;
    --accent: #FF4A00;
    --accent-glow: rgba(255, 74, 0, 0.3);
    --gold: #FFB800;
    --font-head: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
html.lenis { height: auto; scroll-behavior: smooth; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* 50k € Architectural Blueprint Grid Background */
body { 
    background-color: var(--bg-color); 
    color: var(--text-primary); 
    font-family: var(--font-body); 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased; 
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    background-attachment: fixed;
}

/* Custom Cursor */
.custom-cursor { position: fixed; top: 0; left: 0; width: 6px; height: 6px; background: #fff; border-radius: 50%; pointer-events: none; z-index: 100000; mix-blend-mode: difference; }
.custom-cursor-follower { position: fixed; top: 0; left: 0; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; pointer-events: none; z-index: 99999; transition: width 0.3s, height 0.3s, background 0.3s, border 0.3s; mix-blend-mode: difference; }
.custom-cursor-follower.hover { width: 80px; height: 80px; background: #fff; border: none; }

@media (pointer: coarse), (max-width: 1024px) {
    .custom-cursor, .custom-cursor-follower { display: none !important; }
    * { cursor: auto !important; }
}

/* PRELOADER PERFECT SIZING FOR ALL SCREENS */
.preloader { position: fixed; inset: 0; background: #010101; z-index: 200000; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.preloader-content { width: 90%; max-width: 900px; display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.preloader-text { font-family: var(--font-head); font-size: clamp(3rem, 10vw, 5rem); font-weight: 800; letter-spacing: -2px; text-transform: uppercase; line-height: 0.9; text-align: center; }
.preloader-metrics { display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; color: var(--text-secondary); font-size: 0.9rem;}
.preloader-counter { font-size: 2rem; color: var(--accent); }
.preloader-bar-bg { width: 100%; height: 2px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.preloader-bar { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--accent); }

/* Texture & Ambience */
.noise-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 9000; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); }
.ambient-mesh { position: absolute; top: -20vh; right: -20vw; width: 100vw; height: 120vh; background: radial-gradient(circle at center, rgba(255, 74, 0, 0.08), transparent 60%); filter: blur(100px); z-index: -1; pointer-events: none; }

h1, h2, h3, h4, .logo, .fabrik-scale { font-family: var(--font-head); }
.highlight-text { background: linear-gradient(135deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.glass-panel { background: var(--surface); -webkit-backdrop-filter: blur(25px); backdrop-filter: blur(25px); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 40px 60px rgba(0,0,0,0.4); position: relative; overflow: hidden; }
.glass-panel::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent); transform: skewX(-20deg); transition: 0.6s; z-index: 0; pointer-events: none; }
.glass-panel:hover::before { left: 150%; }

/* FULL-WIDTH NAV */
.floating-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5,5,5,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0.8rem 0;
}

.nav-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 1rem;
    background: transparent;
    box-shadow: none;
    flex-wrap: nowrap;
}

.logo { 
    color: #fff; text-decoration: none; 
    font-size: clamp(1.1rem, 2vw, 1.5rem); 
    font-weight: 800; letter-spacing: -1px; 
    display: flex; align-items: center; 
    transition: opacity 0.3s;
    flex-shrink: 0;
    white-space: nowrap;
}
.logo:hover { opacity: 0.8; }

.pill-links { display: flex; align-items: center; gap: clamp(0.6rem, 1.5vw, 2rem); flex-shrink: 1; overflow: hidden; }
.pill-links a { 
    color: var(--text-primary); text-decoration: none; 
    font-size: clamp(0.65rem, 0.9vw, 0.85rem); 
    font-weight: 600; text-transform: uppercase; 
    letter-spacing: 0.5px; opacity: 0.8; 
    transition: opacity 0.3s, color 0.3s; 
    white-space: nowrap;
}
.pill-links a:hover { opacity: 1; color: var(--accent); }

.pill-cta { 
    background: var(--accent); color: #fff; border: none; 
    padding: clamp(0.6rem, 1vw, 0.8rem) clamp(1rem, 1.5vw, 1.5rem); 
    border-radius: 100px; font-family: var(--font-body); 
    font-size: clamp(0.65rem, 0.9vw, 0.8rem); 
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px; 
    transition: transform 0.3s, box-shadow 0.3s; 
    white-space: nowrap; flex-shrink: 0;
}
.pill-cta:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(255, 74, 0, 0.4); }

.lang-switch { display:flex; gap:8px; align-items:center; font-family: var(--font-head); font-weight:700; flex-shrink: 0; }
.lang-switch a { color: #888; text-decoration: none; font-size: clamp(0.7rem, 0.9vw, 0.9rem); transition:color 0.3s; white-space: nowrap;}
.lang-switch a.active { color: var(--accent); }
.lang-switch a:hover { color: #fff; }

/* MEGA ADVANCED CONTACT PANEL - THE NEON COMMAND CENTER */
.contact-panel { 
    background: rgba(15, 15, 20, 0.4); 
    backdrop-filter: blur(40px); 
    -webkit-backdrop-filter: blur(40px); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8); 
    border-radius: 30px; 
    padding: clamp(2rem, 5vw, 4rem); 
    text-align: left; 
    position: relative; 
    overflow: hidden; 
}

.contact-panel::before { 
    content: ''; 
    position: absolute; 
    inset: -1px; 
    background: conic-gradient(from 0deg at 50% 50%, transparent 0%, var(--accent) 50%, transparent 100%); 
    animation: rotateSlow 6s linear infinite; 
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 2px;
    border-radius: 30px;
    pointer-events: none;
    z-index: 10;
}

@keyframes rotateSlow { 100% { transform: rotate(360deg); } }

.contact-panel > * { position: relative; z-index: 1; }

.premium-input { 
    width: 100%; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 15px; 
    color: #fff; 
    padding: 1.2rem 1.5rem; 
    font-size: 1rem; 
    margin-bottom: 1.2rem; 
    outline: none; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: var(--font-body);
}

.premium-input:focus { 
    background: rgba(255, 74, 0, 0.05); 
    border-color: var(--accent); 
    box-shadow: 0 0 25px rgba(255, 74, 0, 0.2); 
    transform: translateY(-2px);
}

/* FAQ Redesign */
.faq-item { 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    margin-bottom: 0.5rem; 
    transition: all 0.3s;
    border-radius: 15px;
    padding: 0 1.5rem;
}
.faq-item:hover { background: rgba(255, 255, 255, 0.02); }
.faq-question { 
    padding: 2rem 0; 
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}
.faq-item.active { background: rgba(255, 74, 0, 0.03); border-color: rgba(255, 74, 0, 0.2); }

/* Buttons General */
.cta-button { background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.4); padding: 1.2rem 2.5rem; border-radius: 100px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; position: relative; overflow: hidden; transition: color 0.4s; display: inline-flex; justify-content: center; align-items: center; white-space: nowrap; }
.btn-text { position: relative; z-index: 2; pointer-events: none; }
.cta-button::before { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 100%; background: var(--accent); transition: transform 0.5s; border-radius: 50% 50% 0 0; z-index: 1; }
.cta-button:hover::before { transform: translateY(-100%); border-radius: 0; }
.cta-button:hover { border-color: var(--accent); }
.outline-btn { border-color: rgba(255,255,255,0.15); }

/* Mobile Menu Adjustments */
.menu-btn { display: none; padding: 10px; margin-left: auto; }
.menu-btn-burger, .menu-btn-burger::before, .menu-btn-burger::after { width: 30px; height: 2px; background: #fff; transition: 0.4s; position: relative; border-radius: 2px; }
.menu-btn-burger::before { content: ''; position: absolute; top: -8px; left: 0; }
.menu-btn-burger::after { content: ''; position: absolute; top: 8px; left: 0; }
.menu-btn.open .menu-btn-burger { background: transparent; }
.menu-btn.open .menu-btn-burger::before { transform: rotate(45deg); top: 0; }
.menu-btn.open .menu-btn-burger::after { transform: rotate(-45deg); top: 0; }

.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(2,3,6,0.98); backdrop-filter: blur(30px); z-index: 9000; display: flex; justify-content: center; align-items: center; clip-path: circle(0% at 100% 0); transition: clip-path 0.8s; }
.mobile-menu-overlay.active { clip-path: circle(150% at 100% 0); }
.mobile-menu-content { display: flex; flex-direction: column; gap: 2.5rem; text-align: center; }
.mobile-link { font-family: var(--font-head); font-size: clamp(2rem, 8vw, 4rem); color: #fff; text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: -1px; transition: color 0.3s; }
.mobile-link:hover { color: var(--accent); }

.stagger-text { line-height: 1.1; }
.stagger-text .line { display: inline-block; overflow: hidden; vertical-align: top; }
.stagger-text .line span { display: inline-block; transform-origin: left bottom; }

/* Hero Section */
.hero { min-height: 100vh; padding: 12rem 5% 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1800px; margin: 0 auto; align-items: center; position: relative; }
.badge { display: inline-block; padding: 0.5rem 1.5rem; border: 1px solid var(--border-bright); background: var(--surface); border-radius: 100px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 2rem; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 800; letter-spacing: -3px; margin-bottom: 2rem; line-height: 1.05; }
.hero p { font-size: clamp(1rem, 1.5vw, 1.3rem); color: var(--text-secondary); max-width: 90%; margin-bottom: 3rem; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }

.hero-visual { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; transform: translateZ(0); }
.glowing-orb { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,74,0,0.1) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(50px); animation: pulseOrb 8s ease-in-out infinite; will-change: transform, opacity; }

.solar-3d-wrapper { perspective: 2000px; position: relative; z-index: 2; width: 100%; height: 60vh; min-height: 400px; display: flex; justify-content: center; align-items: center; will-change: transform; }
.solar-mockup { 
    width: 100%; max-width: 500px; height: 350px; position: relative; 
    transform-style: preserve-3d; transform: rotateX(55deg) rotateZ(-35deg); 
    animation: floatSolar 8s ease-in-out infinite; will-change: transform;
    background: #000; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 50px 100px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.05);
}
@keyframes floatSolar { 0% { transform: rotateX(55deg) rotateZ(-35deg) translateY(0px) } 50% { transform: rotateX(52deg) rotateZ(-33deg) translateY(-20px) } 100% { transform: rotateX(55deg) rotateZ(-35deg) translateY(0px) } }

.panel-frame { width: 100%; height: 100%; background: #070707; border-radius: 12px; padding: 8px; box-shadow: 0 100px 150px rgba(0,0,0,1), inset 0 0 0 1px rgba(255,255,255,0.05), inset 0 0 50px rgba(255, 74, 0, 0.05); transform: translateZ(50px); position: absolute; }
.solar-grid-container { width: 100%; height: 100%; border-radius: 6px; background: #010205; position: relative; overflow: hidden; }
.solar-grid { width: 100%; height: 100%; background-image: 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: 40px 40px; }
.scanner-laser { position: absolute; top: 0; left: -100%; width: 200%; height: 4px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 30px var(--accent), 0 0 60px var(--accent); transform: rotate(30deg); animation: scan 4s infinite cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes scan { 0% { top: -40%; } 100% { top: 140%; } }
.glare { position: absolute; top: -100%; left: -100%; width: 300%; height: 300%; background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.01) 45%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0) 55%, transparent 100%); pointer-events: none; }

.glass-tag { position: absolute; background: rgba(5,5,5,0.7); backdrop-filter: blur(25px); border: 1px solid var(--border-bright); padding: 1rem 1.8rem; border-radius: 100px; font-size: clamp(0.7rem, 1.2vw, 0.85rem); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; white-space: nowrap; z-index: 2; }
.tag-1 { top: -20px; right: -50px; transform: translateZ(120px); }
.tag-2 { bottom: 60px; left: -50px; transform: translateZ(150px); }
.tag-3 { bottom: -20px; right: 20px; transform: translateZ(90px); }

/* Marquee */
.marquee-section { padding: 3rem 0; width: 100vw; overflow: hidden; background: var(--accent); color: #fff; transform: rotate(-2deg) scale(1.05); margin: 8rem 0; z-index: 10; position: relative; }
.marquee-track { display: flex; white-space: nowrap; width: fit-content; }
.marquee-track span { font-family: var(--font-head); font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: 3px; padding-right: 3rem; text-transform: uppercase; }

/* Features */
.features-pin-section { height: 100vh; display: flex; align-items: center; background: #010205; position: relative; overflow: hidden; will-change: transform; transform: translateZ(0); }
.features-header-pinned { position: absolute; left: 5%; top: 50%; transform: translateY(-50%); width: 35%; z-index: 10; pointer-events: none; }
.features-header-pinned h2 { font-size: clamp(3rem, 5vw, 5rem); letter-spacing: -2px; line-height: 1; margin-bottom: 2rem; }
.features-header-pinned p { font-size: 1.2rem; color: #888; max-width: 400px; }
.features-track-container { width: 100%; overflow: hidden; transform: translateZ(0); will-change: transform;}
.features-track { display: flex; gap: 4rem; padding-left: 45%; padding-right: 10%; width: max-content; align-items: center; transform: translateZ(0); will-change: transform; }
.panel-card { width: 450px; height: 600px; border-radius: 20px; position: relative; overflow: hidden; flex-shrink: 0; box-shadow: 0 30px 60px rgba(0,0,0,0.5); transform: translateZ(0); will-change: transform;}
.panel-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.p-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4) grayscale(50%); transition: 0.5s; z-index: 0; }
.panel-card:hover .p-bg-img { filter: brightness(0.8) grayscale(0%); transform: scale(1.05); }
.p-content { position: relative; z-index: 2; padding: 2.5rem; background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, transparent 100%); }
.feature-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.p-content h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 0.8rem; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.p-content p { color: #ddd; line-height: 1.6; font-size: 0.95rem; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }

/* Process Section */
.process-section { padding: 10rem 5%; margin: 0 auto; max-width: 1600px; border-top: 1px solid var(--border); }
.process-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.process-left .sticky-content { position: sticky; top: 30vh; }
.process-left h2 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -2px; margin-bottom: 2rem; line-height: 1.1; }
.process-left p { font-size: clamp(1rem, 1.5vw, 1.3rem); color: var(--text-secondary); max-width: 90%; line-height: 1.6; }
.process-right { display: flex; flex-direction: column; gap: 6rem; padding-top: 10vh; }
.process-step { display: flex; gap: 2rem; align-items: flex-start; }
.step-num { font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--accent); font-weight: 800; border-bottom: 1px solid var(--accent); padding-bottom: 5px;}
.step-content h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 1rem; letter-spacing: -1px; line-height: 1.2; }
.step-content p { font-size: clamp(0.95rem, 1.5vw, 1.2rem); color: var(--text-secondary); line-height: 1.6; }

/* 50k Level Dashboard HUD Section */
.tech-immersive { position: relative; padding: 15rem 5%; display: flex; flex-direction: column; align-items: center; overflow: hidden; background: #010103;}
.tech-immersive-bg { position: absolute; inset: 0; background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0 L60 60 M60 0 L0 60" stroke="rgba(255,255,255,0.015)" stroke-width="0.5" fill="none"/%3E%3C/svg%3E'); z-index: 0; }
.tech-container { width: 100%; max-width: 1400px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 5rem; align-items: center; position: relative; z-index: 2; }
.hud-dashboard { position: relative; width: 100%; height: 500px; display: flex; justify-content: center; align-items: center; }
.hud-center { position: absolute; width: 300px; height: 300px; display: flex; justify-content: center; align-items: center; flex-direction: column; }
.hud-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 74, 0, 0.4); border-top-color: transparent; }
.ring-1 { width: 100%; height: 100%; border-width: 2px; animation: spinRing 12s linear infinite; }
.ring-2 { width: 80%; height: 80%; border-width: 1px; border-color: rgba(255,255,255,0.1); border-bottom-color: var(--accent); animation: spinRingReverse 8s linear infinite; }
@keyframes spinRing { 100% { transform: rotate(360deg); } }
@keyframes spinRingReverse { 100% { transform: rotate(-360deg); } }
.hud-core { font-family: var(--font-head); font-size: 3.5rem; font-weight: 800; color: #fff; text-align: center; line-height: 1;}
.hud-core span { font-size: 0.8rem; letter-spacing: 3px; color: var(--accent); font-family: var(--font-body); font-weight: 600;}

.hud-card { position: absolute; padding: 1.5rem; border-radius: 15px; width: 220px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); z-index: 5; }
.card-left { top: 10%; left: -5%; }
.card-right { bottom: 15%; right: -5%; }
.card-bottom { bottom: 5%; left: 15%; width: 250px; }
.card-head { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; color: var(--text-secondary); margin-bottom: 0.5rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; animation: pulse 2s infinite; }
.pulse-dot.green { background: #00FF66; box-shadow: 0 0 10px #00FF66; }
.pulse-dot.accent { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.card-val { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; margin-bottom: 0.2rem; }
.card-val .unit { font-size: 1rem; color: var(--text-secondary); }
.card-desc { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.charge-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.charge-fill { height: 100%; width: 89%; background: var(--accent); }

.tech-info h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -2px; margin-bottom: 2rem; line-height: 1.1;}
.perfect-text-mobile { font-size: clamp(1rem, 1.5vw, 1.3rem); color: var(--text-secondary); line-height: 1.7; }

/* Interactive ROI Section */
.roi-section { padding: 5rem 5% 10rem; display: flex; justify-content: center; }
.roi-container { max-width: 1200px; width: 100%; padding: clamp(2rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.roi-text h2 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -2px; line-height: 1.1; margin-bottom: 1.5rem; }
.roi-text p { font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--text-secondary); line-height: 1.6; }

.roi-calculator { background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); padding: clamp(2rem, 4vw, 3rem); border-radius: 20px; }
.slider-group { margin-bottom: 3rem; }
.slider-group label { display: block; font-size: clamp(0.9rem, 1.5vw, 1.1rem); font-weight: 600; margin-bottom: 1.5rem; font-family: var(--font-head); }
.premium-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); outline: none; }
.premium-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 25px; height: 25px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 20px var(--accent-glow); transition: transform 0.2s; }
.premium-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.roi-results { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.result-label { display: block; font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.result-value { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 800; }

/* Ultra Modern Fast Masonry Gallery */
.gallery-section { padding: 5rem 5% 10rem; max-width: 1600px; margin: 0 auto; }
.gallery-header { margin-bottom: 4rem; text-align: center;}
.gallery-header h2 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -2px; }
.gallery-masonry { column-count: 4; column-gap: 1.5rem; width: 100%; transform: translateZ(0); will-change: transform; }
.m-item { break-inside: avoid; margin-bottom: 1.5rem; border-radius: 20px; overflow: hidden; position: relative; cursor: pointer; background: #000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05);}
.m-img { width: 100%; display: block; filter: grayscale(80%) brightness(0.6); transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s; will-change: transform; }
.m-item:hover .m-img { transform: scale(1.08); filter: grayscale(0%) brightness(1.1); }
.m-cap { position: absolute; bottom: 0; left: 0; width: 100%; padding: 3rem 1.5rem 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); transform: translateY(20px); opacity: 0; transition: all 0.4s ease 0.1s; pointer-events: none;}
.m-item:hover .m-cap { transform: translateY(0); opacity: 1; }
.m-title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 0px; letter-spacing: -1px;}
.m-sub { color: var(--accent); font-size: 0.75rem; text-transform: uppercase; font-weight: 700; letter-spacing: 2px;}

/* FAQ Section */
.faq-section { padding: 5rem 5% 10rem; max-width: 1000px; margin: 0 auto; }
.faq-container h2 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -2px; text-align: center; margin-bottom: 4rem; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-question { padding: 2rem 0; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: color 0.3s; font-family: var(--font-head);}
.faq-question:hover { color: var(--accent); }
.icon { font-size: 2rem; font-weight: 400; transition: transform 0.4s; }
.faq-answer { max-height: 0; opacity: 0; transition: max-height 0.6s ease, opacity 0.4s; }
.faq-answer p { padding-bottom: 2rem; color: var(--text-secondary); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.6; max-width: 90%; }
.faq-item.active .faq-answer { max-height: 500px; opacity: 1; }
.faq-item.active .icon { transform: rotate(45deg); color: var(--accent); }

/* Mega Footer */
.mega-footer { padding: 10rem 5% 3rem; background: #010101; position: relative; border-top: 1px solid var(--border); overflow: hidden; width: 100%; }
.footer-cta { text-align: center; margin-bottom: 8rem; transform: translateZ(0); }
.footer-cta h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -2px; line-height: 1.1;}

.footer-grid { display: flex; justify-content: space-between; max-width: 1600px; margin: 0 auto 5rem; flex-wrap: wrap; gap: 3rem; align-items: flex-end;}
.footer-links p, .footer-links a { display: block; font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--text-secondary); margin-bottom: 1rem; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--text-primary); }

.soc-icon-btn { display: flex; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; justify-content: center; align-items: center; transition: 0.3s; background: rgba(5,5,5,0.5);}
.soc-icon-btn img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); transition: 0.3s; }
.soc-icon-btn:hover { border-color: var(--accent); background: var(--accent); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(255,74,0,0.3); }

.huge-footer-text { text-align: center; width: 100%; overflow: hidden; padding: 1rem 0; margin-bottom: 1rem; }

/* The scaling text class with safely anchored width limits */
.fabrik-scale {
    font-family: var(--font-head);
    font-size: clamp(3rem, 12vw, 12rem);  
    font-weight: 800; 
    line-height: 0.85; 
    letter-spacing: -0.01em; 
    display: inline-block;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent);
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    color: transparent;
    white-space: nowrap; 
    width: 100%; 
    margin: 0 auto;
    transform: translateZ(0);
}

.footer-bottom { display: flex; justify-content: space-between; max-width: 1600px; margin: 0 auto; border-top: 1px solid var(--border); padding-top: 2rem; color: #555; text-transform: uppercase; letter-spacing: 2px; font-size: clamp(0.6rem, 1vw, 0.8rem); flex-wrap: wrap; gap: 1rem; }

/* 
=========================================
🔥 50k LEVEL MOBILE & TABLET OPTIMIZATION
=========================================
*/

/* Tablet Logic (under 1024px) */
@media (max-width: 1024px) {
    .floating-nav { justify-content: space-between; padding: 0 4%; width: 100%; top: 1rem; }
    .nav-pill { padding: 0.6rem 1.2rem; justify-content: space-between; border-radius: 10px;}
    .pill-links, .pill-cta { display: none; }
    .menu-btn { display: block; padding: 5px; }
    
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 10rem; min-height: auto; }
    .hero p { margin: 0 auto 3rem; }
    .hero-actions { justify-content: center; }
    
    .glass-tag { padding: 0.6rem 1rem; font-size: 0.7rem; }
    
    .features-pin-section { height: auto !important; margin-top: 2rem; padding: 5rem 5% 2rem; }
    .marquee-section { margin: 4rem 0; }
    
    .features-header-pinned { padding: 0; text-align: center; margin: 0 auto 4rem; }
    .features-track-container { overflow: visible; }
    .features-track { flex-direction: column; width: 100%; padding: 0; gap: 2rem; transform: none !important;}
    .panel-card { width: 100%; max-width: none; min-height: 250px;}
    
    .process-container { grid-template-columns: 1fr; gap: 3rem; }
    .process-left .sticky-content { position: relative; top: 0; text-align: center; margin-bottom: 2rem; }
    .process-left p { margin: 0 auto; }
    .process-right { padding-top: 0; gap: 4rem; }
    
    /* Safest HUD layout for smaller screens */
    .tech-container { grid-template-columns: 1fr; text-align: center; }
    .tech-immersive { padding: 5rem 5% 10rem; }
    .hud-dashboard { 
        height: auto; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        gap: 2rem; 
        margin-top: 2rem; 
    }
    .hud-center { position: relative; margin-bottom: 2rem; }
    .hud-card { 
        position: relative; 
        top: auto !important; 
        left: auto !important; 
        right: auto !important; 
        bottom: auto !important; 
        width: 100%; 
        max-width: 320px; 
    }
    @media (max-width: 1250px) {
    .hero h1 { font-size: clamp(3rem, 10vw, 5rem); }
    .floating-nav { top: 1rem; width: 95%; max-width: none; }
    .nav-pill { padding: 0.8rem 1.5rem; }
    .pill-links, .pill-cta { display: none; }
    .menu-btn { display: flex; }
    .solar-mockup { transform: scale(1); margin-top: 2rem; }
    .contact-panel { padding: 2rem; }
    
    .tech-container { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .hud-dashboard { transform: scale(0.9); }
    
    .process-container { grid-template-columns: 1fr; }
    .process-left { position: relative; top: 0; padding-bottom: 2rem; text-align: center; }
    
    .roi-container { grid-template-columns: 1fr; text-align: center; padding: 3rem 2rem; }
    .roi-results { grid-template-columns: 1fr; }
    
    /* Masonry updates */
    .gallery-masonry { column-count: 2; height: auto; }
    
    .faq-container { grid-template-columns: 1fr !important; gap: 2rem !important; }
    
    .footer-grid { flex-direction: column; text-align: center; }
}
    
    .roi-container { grid-template-columns: 1fr; text-align: center; padding: 3rem 2rem; }
    .roi-results { grid-template-columns: 1fr; }
    
    /* Masonry updates */
    .gallery-masonry { column-count: 2; height: auto; }
    
    .footer-grid { flex-direction: column; text-align: center; }
}

/* Precise Mobile Focus (Pro Max, Samsung UI) under 768px */
@media (max-width: 768px) {
    /* Stop tags from ruining the 3D block on small widths */
    .glass-tag { display: none; }
    .solar-mockup { transform: rotateX(15deg) !important; max-height: 300px; }
    .panel-frame { padding: 4px; }
    
    .hero { padding-top: 7rem; padding-bottom: 2rem; }
    .hero h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); }
    
    /* Preloader Mobile Overrides */
    .preloader-text { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1; }
    
    .process-step { flex-direction: column; text-align: left; }
    .step-num { width: 100%; border-bottom: 2px solid var(--border-bright); padding-bottom: 0.5rem; }
    
    .roi-calculator { padding: 2rem 1.5rem; }
    .result-value { font-size: 1.8rem; }
    
    .fabrik-scale {
        font-size: 14vw; 
    }
    
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
