/* ===== WOLF MAKINA V3 - REZONART x BIYOSERA UPGRADE ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syncopate:wght@400;700;900&display=swap');

:root {
    --bg-dark: #000000;
    --surface: #0a0a0a;
    --surface-highlight: #141414;
    --wolf-red: #ff1a1a;
    --wolf-red-glow: rgba(255, 26, 26, 0.4);
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.text-red { color: var(--wolf-red); }

/* Navigation */
.premium-nav {
    position: fixed; top: 0; width: 100%; padding: 2.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transition: all 0.4s var(--ease-out);
    background: transparent;
}
.premium-nav.scrolled {
    padding: 1rem 5%; background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--border);
}
.nav-brand img { height: 35px; transition: height 0.3s; }
.premium-nav.scrolled .nav-brand img { height: 30px; }
.nav-links { display: flex; gap: 4rem; align-items: center; }
.nav-links a {
    color: var(--text-primary); text-decoration: none; font-size: 0.8rem;
    font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; transition: color 0.3s;
}
.nav-links a:hover { color: var(--wolf-red); }
/* Hero V3 - Clean, No Darkening */
.hero-v3 {
    position: relative; height: 100vh; min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: #000;
}
.hero-img {
    position: absolute; width: 100%; height: 100%; object-fit: cover;
    animation: slowZoom 25s infinite alternate ease-in-out;
}
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.hero-content {
    position: relative; z-index: 10; text-align: center; width: 100%; padding: 0 2rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 40%);
}
.hero-title {
    font-size: clamp(4rem, 12vw, 10rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.05em;
    color: #fff; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.9));
}
.hero-subtitle {
    font-family: var(--font-body); font-size: clamp(1rem, 2vw, 1.5rem); color: #ccc;
    letter-spacing: 0.4em; text-transform: uppercase; margin-top: 2rem;
}

/* Horizontal Scroll Section (Rezonart Style) */
.horizontal-container {
    width: 100%; height: 100vh; overflow: hidden; position: relative; background: #000;
}
.horizontal-wrapper {
    display: flex; width: 600vw; height: 100%;
}
.horizontal-panel {
    width: 100vw; max-width: 100%; height: 100vh; display: flex; align-items: center; justify-content: space-between;
    padding: 0 10vw; position: relative; overflow: hidden;
    background: radial-gradient(circle at 75% 50%, #1a1a1a 0%, #050505 50%, #000000 100%);
}
.horizontal-panel img {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: auto; max-height: 80vh; width: 60%; object-fit: contain;
    mask-image: linear-gradient(to right, transparent 0%, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
}
.panel-content {
    position: relative; z-index: 2; max-width: 500px;
}
.panel-content h2 {
    font-size: 4rem; line-height: 1; margin-bottom: 1rem; color: #fff;
}
.panel-content p {
    font-size: 1.2rem; color: var(--text-secondary); line-height: 1.8;
}

.specs-section {
    padding: 10rem 4rem; background: var(--bg-dark);
}
.specs-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; max-width: 1600px; margin: 0 auto;
}
.spec-card {
    background: linear-gradient(145deg, rgba(20,20,20,0.8) 0%, rgba(5,5,5,0.95) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 3px solid transparent;
    padding: 3rem 2.5rem;
    border-radius: 4px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.spec-card::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(255,26,26,0.1) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.4s; z-index: 1; pointer-events: none;
}
.spec-card:hover {
    transform: translateY(-10px);
    border-left: 3px solid var(--wolf-red);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 20px rgba(255,26,26,0.05);
    border-color: rgba(255,255,255,0.1);
}
.spec-card:hover::before { opacity: 1; }
.spec-card h3 {
    font-family: var(--font-body); font-weight: 300; font-size: 1.3rem; margin-bottom: 1rem; color: #fff; letter-spacing: 0.15em; text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,1);
    position: relative; z-index: 2;
}
.spec-card p {
    font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.8; font-size: 1rem;
    position: relative; z-index: 2;
    transition: color 0.4s;
}
.spec-card:hover p { color: rgba(255,255,255,0.9); }

/* Footer */
.footer-v3 {
    background: #000; padding: 4rem 4rem; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.footer-v3 p { color: var(--text-secondary); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Mobile Optimizations */
@media (max-width: 900px) {
    .premium-nav { padding: 1.5rem 2rem; }
    .premium-nav.scrolled { padding: 0.5rem 2rem; }
    .nav-links { display: none; }
    
    .hero-manifesto-box { left: 50% !important; right: auto !important; top: 50% !important; transform: translate(-50%, -50%) !important; width: 90vw !important; }
    .hero-manifesto-box > div { justify-content: center !important; }
    .hero-manifesto-box > div > div { text-align: center !important; }
    .hero-v3 .rezonart-hero-brand img { height: 70px; }
    .hero-v3 .rezonart-hero-brand h1 { font-size: 2rem; letter-spacing: 0.2em; }
    
    .horizontal-panel { padding: 0 5vw; align-items: flex-end; padding-bottom: 10vh; padding-top: 0; }
    .horizontal-panel img { 
        width: 120%; right: -10%; transform: none;
        height: auto; max-height: 50vh; top: 5vh; bottom: auto; 
        object-fit: contain;
        mask-image: linear-gradient(to bottom, black 50%, transparent 100%); 
        -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%); 
    }
    .panel-content { max-width: 100%; z-index: 3; }
    .panel-content h2 { font-size: 2.5rem; }
    .panel-content p { font-size: 1rem; }
    
    .edge-master-showcase h2 { font-size: 3rem !important; }
    .edge-master-showcase p { font-size: 1rem !important; }
    
    .specs-grid {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem !important;
        padding: 0 1rem 2rem 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,0,0,0.5) rgba(255,255,255,0.05);
    }
    .specs-grid::-webkit-scrollbar {
        height: 4px;
        display: block;
    }
    .specs-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
        margin: 0 2rem;
    }
    .specs-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 0, 0, 0.5);
        border-radius: 4px;
    }
    .spec-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        min-height: 280px;
    }
    .specs-section, .modules-section { padding: 4rem 1rem !important; }
    
    /* Energy Section Mobile Fix */
    .energy-saving-section {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin-top: 5rem;
    }
    .energy-saving-section video {
        position: relative !important;
        height: auto !important;
        width: 100% !important;
        object-fit: contain !important; /* Prevents zooming */
    }
    .energy-saving-section > div:nth-of-type(1) { 
        display: none !important; /* Hide dark gradient overlay on mobile */
    }
    .energy-saving-section .gsap-reveal {
        padding: 3rem 2rem !important;
        max-width: 100% !important;
    }
    .energy-saving-section div[style*="backdrop-filter"] {
        backdrop-filter: none !important; /* Remove blur on mobile */
        background: transparent !important;
        border: none !important;
        border-left: 3px solid var(--wolf-red) !important;
        padding: 0 0 0 1.5rem !important;
    }
}

.cinematic-studio {
    position: relative;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 30%, #2a2a2a 0%, #000000 80%);
    overflow: hidden;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cinematic-studio::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    transform: rotate(30deg);
}

.cinematic-studio::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    pointer-events: none;
}

.cinematic-studio img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,0.9)) drop-shadow(0 0 10px rgba(255,255,255,0.05));
    position: relative;
    z-index: 1;
}
