/* ============================================
   WEATHERPROOF MANUFACTURING - STYLES
   A storm-themed, 3D animated experience
   ============================================ */

/* CSS Variables */
:root {
    --primary: #5CACE2;
    --primary-dark: #4A9BD1;
    --secondary: #5CACE2;
    --dark: #000000;
    --dark-light: #0a0a0a;
    --dark-lighter: #141414;
    --light: #ffffff;
    --gray: #888888;
    --gray-light: #bbbbbb;
    --gradient-1: linear-gradient(135deg, #5CACE2 0%, #4A9BD1 100%);
    --gradient-2: linear-gradient(135deg, #5CACE2 0%, #6BB8F0 100%);
    --gradient-storm: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(92, 172, 226, 0.15);
    --shadow-glow: 0 0 30px rgba(92, 172, 226, 0.25);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

/* ============================================
   LOADER - 3D Animated Loading Screen
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#loader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loader-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.logo-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawPath 2s ease forwards;
}

.logo-roof {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawPath 1.5s ease 0.5s forwards;
}

.logo-drop {
    opacity: 0;
    transform: scale(0);
    animation: dropIn 0.5s ease 1.5s forwards;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

@keyframes dropIn {
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseText 2s ease infinite;
}

@keyframes pulseText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--dark-lighter);
    margin: 20px auto;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-1);
    width: 0%;
    border-radius: 3px;
    animation: loadProgress 3s ease forwards;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

.loader-subtext {
    color: var(--gray);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    animation: fadePulse 2s ease infinite;
}

@keyframes fadePulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.loader.hidden {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* ============================================
   RAIN CANVAS BACKGROUND
   ============================================ */
.rain-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.main-nav.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.nav-logo-svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transition: var(--transition-fast);
}

.nav-logo:hover .nav-logo-svg {
    transform: rotate(360deg);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--light);
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 30px 60px;
    overflow: hidden;
    background: url('../assets/hero.jpg') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235CACE2' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.badge-star {
    color: var(--secondary);
    letter-spacing: 0.1em;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.title-line {
    display: block;
    position: relative;
}

.title-line.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(0, 212, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.6);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--light);
    color: var(--light);
}

.btn-secondary:hover {
    background: var(--light);
    color: var(--dark);
}

.btn-glow {
    background: var(--gradient-1);
    color: var(--dark);
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-1);
    border-radius: 50px;
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn-glow:hover::before {
    opacity: 0.8;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--light);
}

.btn-outline-light:hover {
    border-color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    display: inline-block;
}

.stat-suffix {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

/* Hero 3D Roof Preview */
.hero-3d {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.roof-preview {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 20s linear infinite;
}

@keyframes rotate3d {
    from { transform: rotateY(0deg) rotateX(10deg); }
    to { transform: rotateY(360deg) rotateX(10deg); }
}

.roof-tile {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.tile-1 { transform: translateZ(100px) rotateX(20deg); top: 20%; left: 35%; }
.tile-2 { transform: translateZ(80px) rotateY(45deg) rotateX(20deg); top: 35%; left: 15%; }
.tile-3 { transform: translateZ(80px) rotateY(-45deg) rotateX(20deg); top: 35%; left: 55%; }
.tile-4 { transform: translateZ(60px) rotateY(90deg) rotateX(20deg); top: 60%; left: 20%; }
.tile-5 { transform: translateZ(60px) rotateY(-90deg) rotateX(20deg); top: 60%; left: 50%; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gray);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: var(--light);
}

.section-tag {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 100px 30px;
    background: var(--dark);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    color: var(--primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.icon-path {
    stroke-dasharray: 100;
    animation: drawIcon 3s ease infinite;
}

@keyframes drawIcon {
    0%, 100% { stroke-dashoffset: 0; }
    50% { stroke-dashoffset: 20; }
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.feature-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition-slow);
}

.feature-card:hover .feature-shine {
    left: 100%;
}

/* ============================================
   PRODUCTS PREVIEW SECTION
   ============================================ */
.products-preview {
    padding: 100px 30px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.products-showcase {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

.product-slide {
    display: none;
    align-items: center;
    gap: 60px;
    animation: slideIn 0.6s ease;
}

.product-slide.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-3d {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    position: relative;
    transform-style: preserve-3d;
    animation: productFloat 4s ease infinite;
}

@keyframes productFloat {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(5deg); }
}

.metal-sheet {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 25%, #a0a0a0 50%, #d0d0d0 75%, #909090 100%);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
}

.metal-sheet::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 28px,
        rgba(0, 0, 0, 0.1) 28px,
        rgba(0, 0, 0, 0.1) 30px
    );
    transform: perspective(500px) rotateX(60deg);
}

.tile-roof {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.tile-roof::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 48%, rgba(0, 0, 0, 0.2) 49%, rgba(0, 0, 0, 0.2) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(0, 0, 0, 0.2) 49%, rgba(0, 0, 0, 0.2) 51%, transparent 52%);
    background-size: 60px 40px;
    border-radius: 20px;
}

.membrane {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(0, 212, 255, 0.1);
}

.membrane::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-info p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.link-arrow {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.link-arrow:hover {
    gap: 15px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.products-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dark-lighter);
    border: 2px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-dot.active,
.nav-dot:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 100px 30px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-particle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    animation: particleFloat 15s ease infinite;
}

.bg-particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.bg-particle:nth-child(2) { top: 60%; right: 10%; animation-delay: -5s; }
.bg-particle:nth-child(3) { bottom: 10%; left: 40%; animation-delay: -10s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, -30px); }
    50% { transform: translate(-30px, 50px); }
    75% { transform: translate(-50px, -20px); }
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    animation: scrollTestimonials 30s linear infinite;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    min-width: 350px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.testimonial-rating {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

.author-name {
    display: block;
    font-weight: 700;
}

.author-role {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 120px 30px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-lighter) 0%, var(--dark) 100%);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cta-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='10' y1='0' x2='10' y2='10' stroke='%2300d4ff' stroke-width='1' opacity='0.1'/%3E%3C/svg%3E");
    animation: rainFall 1s linear infinite;
}

@keyframes rainFall {
    from { transform: translateY(-20px); }
    to { transform: translateY(0); }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--dark-light);
    padding: 60px 30px 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--primary);
    letter-spacing: 0.1em;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    color: var(--gray);
    transition: var(--transition-fast);
}

.link-group a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.badge {
    padding: 5px 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-light);
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.page-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 30px 80px;
    background: linear-gradient(180deg, var(--dark-lighter) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    position: relative;
    z-index: 2;
}

.products-grid {
    padding: 80px 30px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(0, 212, 255, 0.3);
}

.product-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--dark-lighter), var(--dark));
    position: relative;
    overflow: hidden;
}

.product-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--dark) 100%);
}

.product-card-content {
    padding: 30px;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.product-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-list {
    padding: 80px 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--glass-border);
    align-items: flex-start;
}

.service-item:first-child {
    padding-top: 0;
}

.service-item:last-child {
    border-bottom: none;
}

.service-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    min-width: 80px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--gray);
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.service-feature {
    padding: 5px 15px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray-light);
}

/* ============================================
   ABOUT PAGE - TIMELINE
   ============================================ */
.about-content {
    padding: 80px 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 80px;
}

.about-intro p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--gradient-1);
}

.timeline-item {
    position: relative;
    padding-bottom: 50px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--dark);
    box-shadow: 0 0 20px var(--primary);
}

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--gray);
}

/* Team Section */
.team-section {
    padding: 80px 30px;
    background: var(--dark-light);
}

.team-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-1);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-card span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 80px 30px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    color: var(--gray);
}

.contact-item a:hover {
    color: var(--primary);
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--gray);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list .current {
    color: var(--primary);
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Map */
.map-section {
    padding: 0 30px 80px;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 400px;
    background: var(--dark-light);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.map-placeholder svg {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: var(--primary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-3d {
        display: none;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark-light);
        flex-direction: column;
        padding: 100px 30px;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        gap: 30px;
    }

    .product-slide.active {
        flex-direction: column;
        text-align: center;
    }

    .products-showcase {
        min-height: 600px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .service-item {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-card {
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .features-grid,
    .products-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .loader-text {
        font-size: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

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

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s infinite linear alternate-reverse;
    color: #ff00ff;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite linear alternate-reverse;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 95% 0); transform: translate(-2px, -2px); }
    20% { clip-path: inset(30% 0 60% 0); transform: translate(2px, 2px); }
    40% { clip-path: inset(60% 0 30% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(80% 0 10% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(10% 0 80% 0); transform: translate(-2px, 2px); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(80% 0 10% 0); transform: translate(2px, 2px); }
    20% { clip-path: inset(10% 0 80% 0); transform: translate(-2px, -2px); }
    40% { clip-path: inset(40% 0 50% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(70% 0 20% 0); transform: translate(-2px, 2px); }
    80% { clip-path: inset(20% 0 70% 0); transform: translate(2px, 2px); }
}

/* Floating Animation */
.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Pulse Glow */
.pulse-glow {
    animation: pulseGlow 2s ease infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.6); }
}

/* Magnetic Button Effect */
.magnetic {
    transition: transform 0.3s ease;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-1);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s;
}
