/* PowerStack Solar - Modern Solar Energy Website */

:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --secondary: #0ea5e9;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-brand i {
    font-size: 1.75rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 80vh;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fff 50%, #e0f2fe 100%);
}

.hero-content {
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -1px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.hero-image {
    padding: 2rem;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 16px;
    background: var(--light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
}

/* Benefits Section */
.benefits {
    padding: 6rem 2rem;
    background: var(--light);
}

.benefit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefit-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.benefit-text > p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.benefit-list i {
    color: var(--success);
    font-size: 1.25rem;
}

.benefit-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Page Header */
.page-header {
    background: var(--gradient);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* About Page */
.about-content {
    padding: 4rem 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Mission Section */
.mission {
    padding: 6rem 2rem;
    background: var(--light);
    text-align: center;
}

.mission h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.mission-statement {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--dark);
}

.stat-card p {
    color: var(--gray);
}

/* Team/Features List */
.team {
    padding: 6rem 2rem;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    padding: 2rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.3s;
}

.feature-item:hover {
    border-color: var(--primary);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gray);
}

/* Contact Page */
.contact-section {
    padding: 4rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

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

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    transition: background 0.3s;
}

.contact-card:hover {
    background: #e2e8f0;
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    text-align: center;
}

.contact-details h3 {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.contact-details p {
    font-weight: 600;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--light);
    border-radius: 50%;
    color: var(--gray);
    font-size: 1.25rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

/* Contact Form */
.contact-form {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 16px;
}

.contact-form h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Privacy Page */
.privacy-content {
    padding: 4rem 2rem;
}

.privacy-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.last-updated {
    color: var(--gray);
    margin-bottom: 2rem;
}

.privacy-wrapper h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--dark);
}

.privacy-wrapper p {
    margin-bottom: 1rem;
    color: var(--gray);
    line-height: 1.8;
}

.privacy-wrapper ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.privacy-wrapper li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.privacy-wrapper a {
    color: var(--primary);
    text-decoration: none;
}

.privacy-wrapper a:hover {
    text-decoration: underline;
}

.back-btn {
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .benefit-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-image,
    .about-image {
        order: -1;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features h2,
    .mission h2,
    .team h2 {
        font-size: 1.75rem;
    }
}
