/* ========================================
   Valens Automotive - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-green: #10b981;
    --dark-navy: #0a1628;
    --light-navy: #1e293b;
    --accent-navy: #1a2f4a;
    --text-light: #e5e7eb;
    --text-gray: #9ca3af;
    --text-slate: #cbd5e1;
    --border-color: #334155;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark-navy);
    color: var(--text-light);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Navigation
   ======================================== */
nav {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.logo:hover {
    color: #059669;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    font-weight: 500;
}

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

.nav-cta {
    background: var(--primary-green);
    color: white !important;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.nav-cta:hover {
    background: #059669;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--accent-navy) 100%);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(16,185,129,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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

.hero-stats {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    padding: 30px;
    max-width: 800px;
    margin: 40px auto;
}

.hero-stats h2 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.hero-stats p {
    font-size: 1.2rem;
    color: var(--text-slate);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-note {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
}

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

.section-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Expertise Section
   ======================================== */
.expertise-section {
    padding: 80px 0;
    background: var(--dark-navy);
}

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

.expertise-card {
    background: var(--light-navy);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
}

.expertise-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.expertise-card p {
    color: var(--text-slate);
    line-height: 1.8;
}

/* ========================================
   Panel Upgrade Section
   ======================================== */
.panel-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-navy) 0%, #0f172a 100%);
}

.panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.panel-text h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.panel-text p {
    color: var(--text-slate);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    padding: 12px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.feature-list li:before {
    content: "⚡";
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-right: 12px;
}

.panel-specs {
    background: #0f172a;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--primary-green);
}

.panel-specs h3 {
    color: var(--primary-green);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.spec-label {
    color: var(--text-gray);
    font-weight: 500;
}

.spec-value {
    color: var(--primary-green);
    font-weight: 600;
}

.schneider-badge {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-radius: 8px;
}

.schneider-badge p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.schneider-badge strong {
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    padding: 80px 0;
    background: var(--dark-navy);
}

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

.service-card {
    background: var(--light-navy);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-slate);
    line-height: 1.7;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    margin-top: 15px;
}

.service-card ul li {
    color: var(--text-slate);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* ========================================
   Process Section
   ======================================== */
.process-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-navy) 0%, #0f172a 100%);
}

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

.step {
    text-align: center;
    padding: 30px;
    background: var(--dark-navy);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.step:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-slate);
    line-height: 1.7;
}

/* ========================================
   Why Choose Section
   ======================================== */
.why-choose-section {
    padding: 80px 0;
    background: var(--dark-navy);
}

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

.benefit-card {
    background: var(--light-navy);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.benefit-number {
    font-size: 3rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-card h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.benefit-card p {
    color: var(--text-slate);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #059669 100%);
    padding: 80px 40px;
    margin: 80px 0;
    border-radius: 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3rem;
    color: #d1fae5;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-section .btn-primary {
    background: white;
    color: var(--primary-green);
}

.cta-section .btn-primary:hover {
    background: #f3f4f6;
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-green);
}

/* ========================================
   Footer
   ======================================== */
footer {
    background: #0f172a;
    padding: 60px 0 30px;
    border-top: 2px solid var(--primary-green);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .panel-content {
        grid-template-columns: 1fr;
    }

    .panel-text h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .expertise-grid,
    .services-grid,
    .process-steps,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .panel-text h2 {
        font-size: 1.75rem;
    }
}