/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(to bottom, #e6f3ff 0%, #cce7ff 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    padding: 40px 0 20px 0;
}

.logo h1 {
    font-size: 3rem;
    font-weight: normal;
    color: #2c9aa0;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.nav-tab {
    background: #2c9aa0;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-tab:first-child {
    border-radius: 8px 0 0 8px;
}

.nav-tab:last-child {
    border-radius: 0 8px 8px 0;
}

.nav-tab.active,
.nav-tab:hover {
    background: #238a91;
}

/* Main container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section styles */
.section-title {
    color: #2c9aa0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Profile section */
.profile-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.profile-table,
.finance-table,
.address-table {
    width: 100%;
    margin-bottom: 20px;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.table-label {
    font-weight: 500;
    color: #666;
    width: 200px;
    flex-shrink: 0;
    background: #f8f9fa;
    padding: 8px 15px;
    margin-right: 15px;
    border-radius: 4px;
}

.table-value {
    color: #333;
    cursor: pointer;
    padding: 8px 0;
    flex: 1;
}

.table-value:hover {
    background: #f0f8ff;
    border-radius: 4px;
    padding: 8px;
}

/* Finance section */
.finance-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Discover more section */
.discover-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.discover-content {
    text-align: left;
}

.discover-text {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-pill {
    background: #f0f8ff;
    color: #0066cc;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #e0e8f0;
    transition: all 0.3s ease;
}

.service-pill:hover {
    background: #e0f0ff;
    border-color: #0066cc;
}

/* Generator section */
.generator-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.generator-title {
    color: #2c9aa0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.phone-number {
    color: #0066cc;
    text-decoration: none;
}

.phone-number:hover {
    text-decoration: underline;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.generate-btn,
.copy-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generate-btn {
    background: #2c9aa0;
    color: white;
}

.generate-btn:hover {
    background: #238a91;
}

.copy-btn {
    background: #6c757d;
    color: white;
}

.copy-btn:hover {
    background: #5a6268;
}

/* Address in area section */
.address-area-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.state-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.state-link {
    color: #0066cc;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 102, 204, 0.2);
    text-align: center;
    display: block;
    font-weight: 500;
}

.state-link:hover {
    background: rgba(0, 102, 204, 0.1);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Related generator section */
.related-generator-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.generator-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.generator-link {
    color: #0066cc;
    text-decoration: none;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.generator-link:hover {
    border-bottom-color: #0066cc;
}

/* Footer */
.footer {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.footer-content {
    color: #666;
    font-size: 14px;
}

.footer-link {
    color: #0066cc;
    text-decoration: none;
}

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

/* Privacy notice */
.privacy-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    z-index: 1000;
    max-width: 300px;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #999;
}

.close-btn:hover {
    color: #333;
}

.privacy-icon {
    font-size: 16px;
}

.privacy-text {
    color: #666;
}

/* SEO Article Section Styles */
.seo-article-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.7;
    color: #333;
}

.article-header {
    text-align: center;
    padding: 40px 0 30px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 40px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #666;
    font-size: 0.95rem;
}

.article-meta time,
.reading-time {
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.article-content {
    padding: 0 40px 40px;
}

.article-intro {
    margin-bottom: 40px;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0;
}

.table-of-contents {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
}

.table-of-contents h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.table-of-contents ol {
    margin: 0;
    padding-left: 20px;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.article-section {
    margin: 50px 0;
    scroll-margin-top: 100px;
}

.article-section h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.article-section h4 {
    color: #495057;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px;
}

.article-section p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-section ul,
.article-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-section li {
    margin-bottom: 10px;
}

.article-section strong {
    color: #2c3e50;
    font-weight: 600;
}

.article-conclusion {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 30px;
    margin: 50px 0;
    border-radius: 0 8px 8px 0;
}

.article-conclusion h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.article-faq {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.article-faq h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    margin: 0;
    color: #495057;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1001;
}

.toast.show {
    transform: translateX(0);
}

/* Responsive design */
/* Responsive Design */
@media (max-width: 768px) {
    .seo-article-section {
        margin: 20px 10px;
        padding: 0 10px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 0 20px 30px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .table-of-contents {
        padding: 20px;
    }
    
    .article-section h3 {
        font-size: 1.5rem;
    }
    
    .article-section h4 {
        font-size: 1.2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 20px 0 15px 0;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .navigation {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .nav-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .nav-tab:first-child,
    .nav-tab:last-child {
        border-radius: 6px;
    }
    
    .table-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .table-label {
        width: 100%;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .service-pills {
        gap: 8px;
    }
    
    .service-pill {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .state-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .generator-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .generate-btn,
    .copy-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.7rem;
    }
    
    .article-content {
        padding: 0 15px 20px;
    }
    
    .table-of-contents {
        padding: 15px;
    }
    
    .article-section ul,
    .article-section ol {
        padding-left: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .services-section,
    .generator-section {
        padding: 15px;
    }
    
    .address-table td:first-child {
        width: 120px;
        font-size: 12px;
    }
    
    .address-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* Loading animation */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
    display: inline-block;
}

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