
/* Base Reset & Typography */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 80px;
    background: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: #0056b3;
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
header h1 { margin: 0; font-size: 1.8rem; }
.nav-link {
    color: white;
    text-decoration: none;
    margin: 10px 8px 0;
    display: inline-block;
    font-weight: bold;
    opacity: 0.9;
}
.nav-link:hover { opacity: 1; }

/* Breadcrumb */
.breadcrumb {
    padding: 10px 20px;
    background: #e9ecef;
    font-size: 0.9rem;
}
.breadcrumb a { color: #0056b3; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Layout */
.container { max-width: 900px; margin: 0 auto; padding: 20px; }

/* Hero Section */
.hero {
    background: white;
    padding: 50px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}
.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #0056b3;
}
.hero p { margin: 10px 0; color: #555; }

/* Tier 1 Premium Hero */
.hero.tier-1 {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid #0056b3;
    position: relative;
}
.hero.tier-1::before {
    content: "TOP RATED";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 15px 40px;
    font-size: 1.4rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
    transition: transform 0.2s, background-color 0.2s;
}
.cta-button:hover {
    transform: scale(1.05);
    background-color: #218838;
}

/* Sticky CTA Footer (Mobile) */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #28a745;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
}
.sticky-cta a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .sticky-cta { display: block; }
    .hero .cta-button { display: none; }
    .hero h2 { font-size: 1.8rem; }
    body { padding-bottom: 70px; }
}

/* Content Cards */
.content-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #0056b3;
}
.content-card h3 {
    color: #0056b3;
    margin-top: 0;
}

/* Feature Grid (Tier 1) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin: 20px 0;
}
.feature-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #333;
    border: 1px solid #e9ecef;
}
.feature-item::before {
    content: "\2713";
    color: #28a745;
    font-weight: bold;
    margin-right: 8px;
}

/* Video Section */
.video-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}
.video-section h3 {
    color: #0056b3;
    margin-bottom: 20px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 8px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* City Grid */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.city-link {
    display: block;
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: #0056b3;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
}
.city-link:hover {
    background: #0056b3;
    color: white;
    border-color: #0056b3;
}
.city-link.tier-1 {
    border: 2px solid #0056b3;
    font-weight: 700;
}

/* State Grid */
.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.state-link {
    display: block;
    background: white;
    border: 2px solid #0056b3;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #0056b3;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}
.state-link:hover {
    background: #0056b3;
    color: white;
}
.state-link small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* State Page Sections */
.tier-section {
    margin-bottom: 30px;
}
.tier-section h3 {
    color: #0056b3;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #777;
    font-size: 0.9rem;
    margin-top: 40px;
    border-top: 1px solid #e1e1e1;
}
.branded-search {
    background: #e8f4ea;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #2d5a3d;
    font-weight: 500;
}
