/* Reset and 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;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.button-primary {
    background-color: #3b82f6;
    color: white;
}

.button-primary:hover {
    background-color: #2563eb;
}

.button-secondary {
    background-color: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.button-secondary:hover {
    background-color: #3b82f6;
    color: white;
}

.button-outline {
    background-color: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.button-outline:hover {
    background-color: #f9fafb;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: #3b82f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

.nav {
    display: flex;
    gap: 1rem;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link:hover {
    color: #1f2937;
    background-color: #f9fafb;
}

.cta-button {
    background-color: #1f2937;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.cta-button:hover {
    background-color: #374151;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    padding: 5rem 0 8rem;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #3b82f6;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background-color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-title {
    font-weight: 600;
    color: #1f2937;
}

.badge-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.stat-trend {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.trend-up {
    background-color: #fee2e2;
    color: #dc2626;
}

.trend-stable {
    background-color: #f3f4f6;
    color: #6b7280;
}

/* Calculator Section */
.calculator {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.form-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-title {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-value {
    background-color: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    color: #1f2937;
    font-weight: 500;
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
}

.result-card.primary {
    background-color: #dbeafe;
    border: 2px solid #bfdbfe;
}

.result-card.secondary {
    background-color: #d1fae5;
    border: 2px solid #a7f3d0;
}

.result-card.tertiary {
    background-color: #fed7aa;
    border: 2px solid #fdba74;
}

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

.result-card.primary .result-value { color: #3b82f6; }
.result-card.secondary .result-value { color: #10b981; }
.result-card.tertiary .result-value { color: #f59e0b; }

.result-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.cost-breakdown {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.breakdown-title {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.breakdown-items {
    margin-bottom: 1.5rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.breakdown-color {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.breakdown-name {
    flex: 1;
    font-weight: 500;
}

.breakdown-value {
    font-weight: 700;
    color: #1f2937;
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 2px solid #e5e7eb;
    font-weight: 700;
    font-size: 1.125rem;
}

.breakdown-total .breakdown-value {
    color: #3b82f6;
}

.calculator-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.calculator-disclaimer {
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    padding: 1rem;
    border-radius: 0.5rem;
    color: #92400e;
    font-size: 0.875rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.2s;
}

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

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.feature-link:hover {
    text-decoration: underline;
}

/* Guide Section */
.guide {
    padding: 5rem 0;
    background-color: #f9fafb;
}

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

.guide-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.guide-title {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

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

.guide-list li {
    padding: 0.5rem 0;
    color: #374151;
}

/* Funding Section */
.funding {
    padding: 5rem 0;
    background-color: white;
}

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

.funding-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.funding-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.funding-title {
    color: #1e40af;
    margin-bottom: 0;
}

.funding-status {
    background-color: #d1fae5;
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.funding-description {
    color: #1e40af;
    margin-bottom: 1.5rem;
}

.funding-details {
    margin-bottom: 1.5rem;
}

.funding-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.detail-label {
    color: #6b7280;
}

.detail-value {
    font-weight: 600;
    color: #1f2937;
}

/* Comparisons Section */
.comparisons {
    padding: 5rem 0;
    background-color: #f9fafb;
}

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

.comparison-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.comparison-title {
    color: #1f2937;
    margin-bottom: 1rem;
}

.comparison-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.comparison-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.comparison-region {
    display: flex;
    flex-direction: column;
}

.region-name {
    font-weight: 600;
    color: #1f2937;
}

.region-plot {
    font-size: 0.875rem;
    color: #6b7280;
}

.comparison-cost {
    text-align: right;
}

.cost-value {
    font-weight: 700;
    font-size: 1.125rem;
    color: #1f2937;
    display: block;
}

.cost-trend {
    font-size: 0.875rem;
}

.difficulty-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.difficulty-region {
    font-weight: 600;
    color: #1f2937;
}

.difficulty-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.difficulty-badge.high {
    background-color: #fee2e2;
    color: #dc2626;
}

.difficulty-badge.medium {
    background-color: #fef3c7;
    color: #d97706;
}

.difficulty-badge.low {
    background-color: #d1fae5;
    color: #065f46;
}

.criteria {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #dbeafe;
    border-radius: 0.5rem;
}

.criteria-title {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.criteria-list {
    list-style: none;
    color: #1e40af;
}

.criteria-list li {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background-color: white;
}

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

.benefits-title {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.benefits-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    color: #374151;
}

.cta-card {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    color: #bfdbfe;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background-color: #3b82f6;
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .button-primary {
    background-color: white;
    color: #3b82f6;
}

.cta .button-primary:hover {
    background-color: #f9fafb;
}

.cta .button-secondary {
    color: white;
    border-color: white;
}

.cta .button-secondary:hover {
    background-color: white;
    color: #3b82f6;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-title,
.footer-brand .logo-subtitle {
    color: white;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.contact-icon {
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: white;
}

.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background-color: #374151;
    border-radius: 0.75rem;
}

.newsletter-title {
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    padding: 0.75rem;
    border: 1px solid #4b5563;
    border-radius: 0.375rem;
    background-color: #1f2937;
    color: white;
    min-width: 250px;
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-button {
    padding: 0.75rem 1.5rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-button:hover {
    background-color: #2563eb;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid #374151;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #374151;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    transition: background-color 0.2s;
}

.social-link:hover {
    background-color: #4b5563;
}

.footer-disclaimer {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #374151;
    color: #6b7280;
    font-size: 0.75rem;
}

.footer-disclaimer p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calculator-content {
        grid-template-columns: 1fr;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-newsletter {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .cta-button {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .result-cards {
        grid-template-columns: 1fr;
    }
    
    .calculator-actions {
        flex-direction: column;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-input {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 3rem 0 5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-content {
        grid-template-columns: 1fr;
    }
    
    .funding-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-content {
        grid-template-columns: 1fr;
    }
}



/* Form Input Styles */
.form-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #d1d5db;
    outline: none;
    margin-top: 0.5rem;
}

.form-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
}

.form-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: none;
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    color: #1f2937;
    font-size: 1rem;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    color: #1f2937;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    accent-color: #3b82f6;
    cursor: pointer;
}

.form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

#area-display {
    color: #3b82f6;
    font-weight: 700;
}

