/* Solar Calculator Styles - Matching CarbonChecks Brand */

:root {
    --primary-green: #22c55e;
    --dark-green: #16a34a;
    --dark-bg: #0a0f0a;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border-color: #e5e7eb;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
}

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

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

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

/* Navigation */
.main-nav {
    background: white;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Calculator Section */
.calculator-section {
    padding: 3rem 0;
    background: white;
}

.calculator-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-container {
    background: white;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

.input-with-symbol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-with-symbol .symbol {
    font-weight: 600;
    color: var(--text-light);
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-group.vertical {
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.radio-option:hover {
    border-color: var(--primary-green);
    background: rgba(34, 197, 94, 0.05);
}

.radio-option input[type="radio"] {
    margin: 0;
}

.radio-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--primary-green);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-next,
.btn-calculate,
.btn-back {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-next,
.btn-calculate {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    flex: 1;
}

.btn-next:hover,
.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.btn-back {
    background: var(--light-bg);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-back:hover {
    background: var(--border-color);
}

/* Results Section */
.results-section {
    padding: 3rem 0;
    background: var(--light-bg);
}

.affiliate-disclosure {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.affiliate-disclosure a {
    color: var(--dark-green);
    font-weight: 600;
}

/* Hero Results Card */
.hero-results-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: var(--card-shadow-hover);
}

.hero-results-card h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.savings-display {
    font-size: 4rem;
    font-weight: 700;
    margin: 1rem 0;
}

.roi-display {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #fbbf24;
}

.system-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.system-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.system-detail-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.system-detail-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.env-impact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.env-impact h3 {
    margin-bottom: 1rem;
}

.env-stats-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.env-stat-item {
    text-align: center;
}

.env-stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.env-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-button {
    flex: 1;
    min-width: 200px;
    padding: 1.25rem 2rem;
    background: white;
    color: var(--primary-green);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

/* Pathway Cards */
.pathways-section {
    margin: 3rem 0;
}

.pathways-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.pathway-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.2s;
}

.pathway-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

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

.pathway-card .pathway-type {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.pathway-features {
    list-style: none;
    margin: 1.5rem 0;
}

.pathway-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pathway-features li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: 700;
}

.pathway-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1rem 0;
}

.pathway-savings {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pathway-cta {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.2s;
}

.pathway-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

/* Product Tabs */
.products-section {
    margin: 3rem 0;
}

.product-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--primary-green);
}

.tab-btn.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.2s;
}

.product-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

.specs {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.specs ul {
    list-style: none;
    padding: 0;
}

.specs li {
    padding: 0.25rem 0;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1rem 0;
}

.btn-affiliate {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.2s;
    margin-top: 1rem;
}

.btn-affiliate:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.btn-compare {
    width: 100%;
    padding: 0.75rem;
    background: var(--light-bg);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.2s;
}

.btn-compare:hover {
    background: var(--border-color);
}

/* Comparison Table */
.comparison-section {
    margin: 3rem 0;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--light-bg);
    font-weight: 600;
}

.comparison-table tr:hover {
    background: rgba(34, 197, 94, 0.05);
}

/* Lead Form */
.lead-form-section {
    margin: 3rem 0;
}

.lead-form-card {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border-left: 5px solid var(--primary-green);
}

.lead-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.lead-benefits {
    list-style: none;
    margin: 1.5rem 0;
}

.lead-benefits li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

#leadForm input,
#leadForm select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.btn-lead {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.2s;
}

.btn-lead:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.lead-disclaimer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* Environmental Section */
.environmental-section {
    margin: 3rem 0;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.environmental-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.env-stat {
    text-align: center;
}

.env-stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.env-stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

.carbon-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.btn-carbon {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-carbon:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    background: var(--light-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--border-color);
}

.faq-answer {
    padding: 1rem;
    display: none;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem;
}

.sticky-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sticky-summary {
    font-weight: 600;
    color: var(--text-dark);
}

.sticky-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-sticky {
    padding: 0.75rem 1.5rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-sticky:hover {
    background: var(--dark-green);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

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

    .savings-display {
        font-size: 2.5rem;
    }

    .pathway-cards {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

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

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

    .sticky-content {
        flex-direction: column;
        text-align: center;
    }

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

    .btn-sticky {
        flex: 1;
    }
}

