/* 
   ROXON Premium Design System (Inspired by Renac Power)
   Typography: Montserrat
   Color Palette:
   - Primary: #101E2A (Dark tech blue)
   - Secondary: #FFFFFF (White)
   - Accent: #0066FF (More vibrant tech blue for accents)
   - Support: #F8F9FA (Extra light gray)
   - Technical: #4A5568 (Deep cool gray)
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #101E2A;
    --secondary-color: #FFFFFF;
    --accent-color: #0066FF;
    --text-main: #1A202C;
    --text-muted: #4A5568;
    --bg-light: #F8F9FA;
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --container-xl: 1400px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--secondary-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Layout Utilities */
.container {
    width: min(var(--container-xl), 92%);
    margin: 0 auto;
}

section {
    padding: clamp(6rem, 12vw, 10rem) 0;
}

.full-bleed {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

/* Header & Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--secondary-color);
    transition: var(--transition-smooth);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav.scrolled .logo {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav.scrolled .nav-links a {
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition-smooth);
}

nav.scrolled .menu-toggle {
    color: var(--primary-color);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-color);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 2rem;
}

.mobile-overlay.active {
    right: 0;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
}

.mobile-links a {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.mobile-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* Modern Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    color: var(--secondary-color);
}

/* Renac-style hero background (gradient + large industrial feel) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, var(--primary-color) 30%, transparent 100%);
    z-index: 1;
}

/* Placeholder for high-end photography background */
.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1509391366360-fe5bb658582f?q=80&w=2070&auto=format&fit=crop') no-repeat center right;
    background-size: cover;
    opacity: 0.4;
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    color: var(--secondary-color);
    line-height: 1;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    max-width: 650px;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    padding: 1.2rem 3rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.4);
    background: #0052cc;
}

/* Photographic Section Style */
.photo-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 70vh;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color) 0%, transparent 100%);
}

/* Feature Grid Refined */
.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    padding: 4rem;
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: var(--secondary-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    transform: translateY(-15px);
}

.feature-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 102, 255, 0.1);
    line-height: 1;
    margin-bottom: 2rem;
}

/* Product Card - Clean & Photographic */
.product-card-premium {
    background: var(--secondary-color);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    border: 1px solid #eee;
}

.product-img-wrap {
    background: #fdfdfd;
    height: 350px;
    margin-bottom: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img-wrap img {
    max-height: 80%;
    transition: var(--transition-smooth);
}

.product-card-premium:hover img {
    transform: scale(1.05);
}

/* Footer Premium */
footer {
    background: #081119;
    padding: 8rem 0 3rem;
    color: var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 6rem;
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: var(--transition-smooth);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}