/* QuickCounty API Home Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

.hero {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.hero .tagline {
    font-size: 1.2em;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 30px;
}

.section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.section h3 {
    color: #34495e;
    margin: 20px 0 10px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature {
    padding: 20px;
    border-left: 4px solid #3498db;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
}

.feature h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.benefits {
    list-style: none;
    margin: 20px 0;
}

.benefits li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.benefits li:before {
    content: "✅";
    position: absolute;
    left: 0;
}

.why-matters {
    list-style: none;
    margin: 20px 0;
}

.why-matters li {
    padding: 10px 0;
    padding-left: 40px;
    position: relative;
}

.why-matters li:before {
    content: "🎯";
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.demo-section {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-align: center;
}

.demo-section h2 {
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.zip-form {
    max-width: 500px;
    margin: 30px auto;
}

.form-group {
    margin: 20px 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn {
    background: #e74c3c;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #c0392b;
}

.btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.result {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.result pre {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre-wrap;
    font-size: 0.9em;
}

.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #e74c3c;
}

.api-info {
    background: #ecf0f1;
}

.endpoint {
    background: #2c3e50;
    color: white;
    padding: 15px;
    border-radius: 6px;
    font-family: monospace;
    margin: 15px 0;
}

.status-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

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

.status-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.status-number {
    font-size: 2em;
    font-weight: bold;
    color: #3498db;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .hero {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .section {
        padding: 20px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}