/* Ad Banners */
.ad-banner {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    color: #6c757d;
    border-radius: 8px;
}

.ad-banner-top {
    max-width: 1200px;
    margin: 20px auto;
}

/* Main Content */
main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
}

.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    min-width: 200px;
}

.cta-button:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.feature-card h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
}

.seo-content {
    background: white;
    padding: 40px 20px;
}

.seo-content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.seo-content h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.seo-content p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 1.1rem;
}

.smaller p {
    margin-top: 1rem;
    color: #000;
    font-size: 0.6rem;
    text-align: center;
}

/* Calculator Container */
.calculator-container {
    background: white;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.calc-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.calc-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.calc-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.form-section {
    padding: 40px;
    background: #f8f9fa;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.calculate-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    min-width: 200px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.calculate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.results-section {
    padding: 40px;
    background: white;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.result-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-card.cost-per-hour {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-left: 5px solid #4facfe;
}

.result-card.gas-usage {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    border-left: 5px solid #ff6b6b;
}

.result-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.period-info {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.result-item {
    background: rgba(255,255,255,0.7);
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    border-left: 3px solid #4facfe;
}

.result-item.usage-item {
    border-left-color: #ff6b6b;
}

.result-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.result-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

.result-value.large {
    font-size: 1.6rem;
    color: #2c3e50;
}

.hidden {
    display: none;
}

.supplier-input, .standing-charge-inputs {
    display: none;
}

.supplier-input.show, .standing-charge-inputs.show {
    display: block;
}

.status-message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

.status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.suggestion-box {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    border-left: 5px solid #fdcb6e;
}

.suggestion-box h4 {
    color: #2d3436;
    margin-bottom: 10px;
}

.suggestion-box p {
    color: #333;
    font-size: 0.9rem;
}

.suggestion-item {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 3px solid rgba(255,255,255,0.4);
}

.suggestion-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.suggestion-text {
    color: #fff;
    line-height: 1.4;
    flex: 1;
}

.annual-projection {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: center;
}

.annual-projection h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.projection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.projection-item {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
}

.projection-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.projection-value {
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 5px;
}

.carbon-footprint {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.email-results {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.email-input {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 15px auto;
}

.email-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.email-btn {
    background: #2196f3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

/* Bottom Content */
.bottom-content {
    background: white;
    padding: 40px 20px;
}

.bottom-content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.bottom-content h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.bottom-content h3 {
    color: #444;
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
}

.bottom-content p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.7;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.info-card h4 {
    color: #333;
    margin-bottom: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .form-section, .results-section {
        padding: 20px;
    }
    
    .projection-grid {
        grid-template-columns: 1fr;
    }
    
    .email-input {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 20px;
    }
    
    .calc-header {
        padding: 20px;
    }
    
    .calc-header h2 {
        font-size: 1.5rem;
    }
}