/* Base Styles */
:root {
    --primary-color: #2563eb; /* Blue-600 */
    --primary-dark: #1d4ed8; /* Blue-700 */
    --accent-color: #f97316; /* Orange-500 */
    --text-primary: #1f2937; /* Gray-800 */
    --text-secondary: #4b5563; /* Gray-600 */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb; /* Gray-50 */
    --border-color: #e5e7eb; /* Gray-200 */
    --border-light: #f3f4f6; /* Gray-100 */
    --success-color: #10b981; /* Green-500 */
    --error-color: #ef4444; /* Red-500 */

    --font-family: 'Inter', sans-serif;
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #ea580c;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.navbar {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand a {
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand a:hover {
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-menu a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-section:last-child {
    border-bottom: none;
}

.dropdown-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    border-radius: 0;
    transition: color 0.2s ease;
}

.dropdown-section a:hover {
    color: var(--primary-color);
    background: none;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-secondary);
    transition: all 0.3s ease;
}

/* Mobile menu active state */
.navbar-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    gap: 1rem;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        min-width: auto;
        margin-left: 1rem;
    }
    
    .dropdown-section {
        padding: 0.5rem 0;
        border-bottom: none;
    }
    
    .dropdown-section h4 {
        margin-bottom: 0.5rem;
        font-size: 0.8rem;
    }
    
    .dropdown-section a {
        padding: 0.25rem 0;
        font-size: 0.9rem;
    }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Top Online Services Section */
.top-online-services {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.service-item.featured {
    border: 2px solid var(--accent-color);
    position: relative;
}

.service-item.featured::before {
    content: "★ TOP PICK ★";
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent-color), #ea580c);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0 0 0 var(--radius-md);
}

.service-rank {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    min-width: 80px;
}

.service-content {
    padding: 2rem;
}

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

.service-header h3 {
    color: var(--primary-color);
    margin-bottom: 0;
}

.service-badge {
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.service-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-rating {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.service-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pros h4, .cons h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
}

.pros li, .cons li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.25rem;
}

.pros li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.cons li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--error-color);
    font-weight: bold;
}

.service-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-actions .btn {
    flex: 1;
    min-width: 200px;
}

/* Affiliate Disclosure */
.affiliate-disclosure {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.affiliate-disclosure h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.affiliate-disclosure p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.affiliate-disclosure strong {
    color: var(--text-primary);
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-btn {
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background-color: #d97706;
}

/* Stats Section */
.stats {
    background-color: var(--bg-secondary);
    padding: 3rem 0;
}

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

.stat-item {
    padding: 2rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Options Section */
.options {
    padding: 4rem 0;
}

.options h2 {
    text-align: center;
    margin-bottom: 1rem;
}

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

.option-card {
    background-color: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.option-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.option-subtitle {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.option-features {
    list-style: none;
    margin-bottom: 2rem;
}

.option-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.option-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Featured Businesses Section */
.featured-businesses {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

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

.business-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.business-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.business-rating {
    text-align: right;
}

.stars {
    color: var(--accent-color);
    font-size: 1.125rem;
}

.rating-text {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.business-location,
.business-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.location-icon,
.phone-icon {
    font-size: 1.125rem;
}

.business-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* State Resources Section */
.state-resources {
    padding: 4rem 0;
}

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

.resource-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.resource-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    transition: color 0.2s ease;
}

.resource-link:hover {
    color: #ea580c;
}

/* Related States Section */
.related-states {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

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

.state-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.2s ease;
}

.state-card:hover {
    transform: translateY(-5px);
}

.state-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.state-services {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.state-link {
    color: var(--accent-color);
    font-weight: 600;
    transition: color 0.2s ease;
}

.state-link:hover {
    color: #ea580c;
}

/* No Businesses Section */
.no-businesses {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.no-businesses p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Browse States Section */
.browse-states {
    padding: 4rem 0;
}

.states-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.state-link-item {
    display: block;
    padding: 1rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
}

.state-link-item:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Calculators Section */
.calculators {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

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

.calculator-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.calculator-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.calculator-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Guides Section */
.guides {
    padding: 4rem 0;
}

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

.guide-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.guide-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.guide-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Tools Section */
.tools {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

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

.tool-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.tool-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* About Section */
.about {
    padding: 4rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

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

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-form {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Privacy Section */
.privacy {
    padding: 4rem 0;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.privacy-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Terms Section */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.terms-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.terms-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.terms-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.terms-content h2 {
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.terms-content .last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
    text-align: center;
}

/* City Page Styles */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.city-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.city-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.city-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.city-services {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.city-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.city-link:hover {
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
}

.back-to-state {
    background: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
}

.back-to-state-content h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.back-to-state-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.related-cities h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Top Cities Section */
.top-cities {
    padding: 4rem 0;
    background: var(--bg-light);
}

.top-cities h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.top-cities .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

/* Homepage Cities Section */
.top-cities-home {
    padding: 4rem 0;
    background: white;
}

.top-cities-home h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.top-cities-home .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.cities-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.city-card-home {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.city-card-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.city-card-home h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.city-card-home .city-services {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

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

.no-cities-message {
    text-align: center;
    padding: 2rem;
    grid-column: 1 / -1;
}

.no-cities-message p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Locations Page Styles */
.search-section {
    padding: 2rem 0;
    background: var(--bg-light);
}

.search-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.search-box {
    display: flex;
    max-width: 500px;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-btn {
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 1rem;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    font-size: 0.9rem;
}

.locations-grid-section {
    padding: 4rem 0;
}

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

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

.state-location-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.state-location-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.state-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.state-header h3 {
    color: var(--text-primary);
    margin: 0;
}

.state-services-total {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.cities-list h4 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cities-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.city-mini-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
    text-align: center;
}

.city-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.city-services {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.city-link-mini {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background-color 0.2s ease;
}

.city-link-mini:hover {
    background: var(--primary-dark);
    color: white;
}

.state-actions {
    text-align: center;
}

.quick-stats {
    padding: 4rem 0;
    background: var(--bg-light);
}

.quick-stats h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.stat-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.no-locations {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.no-locations p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-controls {
        gap: 1.5rem;
    }
    
    .filter-controls {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .cities-grid-mini {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ea580c 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: slideInUp 0.5s ease;
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
}

.sticky-cta-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.sticky-cta-btn {
    background-color: white;
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.sticky-cta-btn:hover {
    background-color: var(--bg-secondary);
    transform: scale(1.05);
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

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

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

    .states-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .sticky-cta {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .sticky-cta-content {
        min-width: auto;
    }

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

    .service-pros-cons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-details {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .service-actions {
        flex-direction: column;
    }

    .service-actions .btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .business-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .business-actions {
        flex-direction: column;
    }
}
