/* 
   Snow Day Calculator — Premium Frost Theme 2026
   Design: Deep Glassmorphism · Vibrant Gradients · Micro-Animations
   ─────────────────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════
   1. DESIGN TOKENS
   ═══════════════════════════════════════ */
:root {
    /* Core Palette */
    --primary: #4c6ef5;
    --primary-light: #748ffc;
    --primary-dark: #364fc7;
    --secondary: #7048e8;
    --secondary-light: #9775fa;
    --accent: #38d9a9;
    --accent-dark: #20c997;
    --danger: #fa5252;
    --warning: #fab005;
    --success: #51cf66;

    /* Neutrals */
    --dark: #1e293b;
    --dark-deeper: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --light: #f8fafc;
    --white: #ffffff;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-bg-subtle: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.12);
    --glass-shadow-lg: 0 16px 48px rgba(31, 38, 135, 0.18);
    --glass-blur: blur(16px);
    --glass-blur-heavy: blur(24px);

    /* Gradient Presets */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(135deg, #4c6ef5 0%, #7048e8 50%, #9775fa 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-deeper) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #0ca678 100%);
    --gradient-warm: linear-gradient(135deg, #fab005 0%, #fd7e14 100%);

    /* Layout */
    --container-width: 1200px;
    --radius-xl: 28px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(76, 110, 245, 0.2);
    --shadow-glow-lg: 0 0 60px rgba(76, 110, 245, 0.15);
}

/* ═══════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100vh;
    background: var(--light);
    background-image:
        radial-gradient(ellipse at 0% 0%, rgba(76, 110, 245, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(112, 72, 232, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(56, 217, 169, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(250, 176, 5, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
}

::selection {
    background: rgba(76, 110, 245, 0.2);
    color: var(--dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.25;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* ═══════════════════════════════════════
   3. NAVIGATION
   ═══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: var(--container-width);
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    padding: 8px 24px;
    transition: var(--transition);
}

.navbar:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    gap: 10px;
    letter-spacing: -0.02em;
}

.nav-logo i {
    font-size: 1.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: spinSlow 12s linear infinite;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(76, 110, 245, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2.5px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-xs);
    transition: var(--transition-fast);
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.04);
}

.bar {
    width: 22px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ═══════════════════════════════════════
   4. HERO SECTION
   ═══════════════════════════════════════ */
.hero {
    padding: 180px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(76, 110, 245, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: floatOrb 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112, 72, 232, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: floatOrb 25s ease-in-out infinite reverse;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.15s backwards;
    line-height: 1.7;
}

/* Snow Animation */
.snow-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: rgba(181, 208, 255, 0.5);
    font-size: 1.2rem;
    animation: snowfall linear infinite;
}

/* ═══════════════════════════════════════
   5. WEATHER FORM
   ═══════════════════════════════════════ */
.weather-form {
    max-width: 580px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.form-group {
    display: flex;
    width: 100%;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1.5px solid var(--glass-border);
    padding: 6px 6px 6px 8px;
    border-radius: 60px;
    box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.form-group:hover {
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(76, 110, 245, 0.3);
}

.form-group:focus-within {
    border-color: var(--primary-light);
    box-shadow: var(--glass-shadow-lg), 0 0 0 4px rgba(76, 110, 245, 0.1);
}

.form-group input {
    flex: 1;
    padding: 14px 24px;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 500;
    outline: none;
    font-family: inherit;
    min-width: 0;
}

.form-group input::placeholder {
    color: var(--text-light);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(76, 110, 245, 0.35);
    white-space: nowrap;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(76, 110, 245, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(76, 110, 245, 0.3);
}

.form-help {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

/* ═══════════════════════════════════════
   6. LOADING & ERROR STATES
   ═══════════════════════════════════════ */
.loading {
    margin-top: 30px;
    text-align: center;
}

.spinner {
    border: 3px solid rgba(76, 110, 245, 0.12);
    border-top-color: var(--primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
    margin: 0 auto 12px;
}

.loading p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.error-message {
    background: linear-gradient(135deg, #fef2f2, #fff5f5);
    color: var(--danger);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    border: 1px solid #fecaca;
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
    font-weight: 500;
}

/* ═══════════════════════════════════════
   7. RESULTS SECTION
   ═══════════════════════════════════════ */
.weather-results {
    background: var(--white);
    margin: 40px 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.results-header {
    background: var(--gradient-hero);
    color: white;
    padding: 44px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.results-header::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.results-header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.results-header h2 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.location-name {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

/* Snow Day Probability Card */
.snow-day-card {
    padding: 48px 40px;
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--white);
}

.probability-circle {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.circle-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0deg, #f1f5f9 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(76, 110, 245, 0.18);
    transition: box-shadow 0.5s ease;
}

.circle-progress:hover {
    box-shadow: var(--shadow-glow), 0 8px 30px rgba(76, 110, 245, 0.25);
}

.circle-progress::before {
    content: '';
    position: absolute;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: var(--white);
}

.circle-progress span {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.probability-content h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    background: var(--gradient-dark);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.probability-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.recommendation-icon {
    font-size: 2.5rem;
    margin-top: 16px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

/* Weather Grid Cards */
.weather-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 40px 40px;
}

.weather-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.weather-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.weather-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border-color: var(--primary-light);
}

.weather-card:hover::before {
    opacity: 1;
}

.weather-card h3 {
    font-size: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-weight: 600;
}

.weather-info {
    position: relative;
}

.weather-info .temp,
.weather-info .temp-range {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.weather-info .condition {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.weather-info .details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.weather-info .details div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    background: rgba(76, 110, 245, 0.04);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.weather-info .details i {
    color: var(--primary);
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Factors Analysis */
.factors-analysis {
    padding: 36px 40px;
    background: var(--light);
    border-top: 1px solid var(--border);
}

.factors-analysis h3 {
    text-align: center;
    font-size: 1.35rem;
    margin-bottom: 28px;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.factor-item {
    background: var(--white);
    padding: 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.factor-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.factor-item i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
    width: 52px;
    height: 52px;
    line-height: 52px;
    background: linear-gradient(135deg, rgba(76, 110, 245, 0.08), rgba(112, 72, 232, 0.08));
    border-radius: 50%;
}

.factor-impact {
    height: 5px;
    background: var(--border);
    border-radius: 10px;
    margin-top: 14px;
    position: relative;
    overflow: hidden;
}

.factor-impact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--warning), var(--danger));
    border-radius: 10px;
    transition: width 1s ease-out;
}

-NoNewline

/* ═══════════════════════════════════════
   8. SEO & EDUCATIONAL CONTENT
   ═══════════════════════════════════════ */
.seo-content,
.educational-content {
    padding: 90px 20px;
    background: transparent;
    position: relative;
    z-index: 10;
}

.seo-content-wrapper h2,
.educational-content h2,
.faq-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 56px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    width: 100%;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.content-card,
.seo-feature {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: left;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.content-card:hover,
.seo-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(76, 110, 245, 0.3);
}

.content-card::before,
.seo-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.content-card:hover::before,
.seo-feature:hover::before {
    transform: scaleX(1);
}

.content-card i,
.seo-feature i {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.content-card h3,
.seo-feature h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.content-card p,
.seo-feature p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

/* How It Works */
.seo-how-it-works {
    margin: 70px 0;
    background: var(--white);
    padding: 56px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.seo-how-it-works h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 44px;
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 36px;
}

.step-item {
    text-align: center;
    padding-top: 20px;
    position: relative;
}

.step-num {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 18px;
    box-shadow: 0 8px 20px rgba(76, 110, 245, 0.3);
    transition: var(--transition);
}

.step-item:hover .step-num {
    transform: scale(1.1);
}

.step-text strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

/* Accuracy Section */
.seo-accuracy-section {
    background: var(--gradient-dark);
    color: white;
    padding: 56px;
    border-radius: var(--radius-xl);
    margin: 56px 0;
    position: relative;
    overflow: hidden;
}

.seo-accuracy-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(76, 110, 245, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.seo-accuracy-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 217, 169, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.seo-accuracy-section h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.seo-accuracy-section p {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.accuracy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 28px 0;
    position: relative;
    z-index: 1;
}

.accuracy-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.accuracy-highlights i {
    color: var(--accent);
    margin-top: 4px;
}

/* Tips */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.tip-card {
    background: rgba(76, 110, 245, 0.04);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(76, 110, 245, 0.1);
    transition: var(--transition);
}

.tip-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.tip-card i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 14px;
    display: inline-block;
}

.tip-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════
   9. FAQ
   ═══════════════════════════════════════ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 44px;
}

.faq-grid .faq-item {
    height: 100%;
    margin: 0;
}

/* ═══════════════════════════════════════
   10. FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 72px 24px 28px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 110, 245, 0.4), var(--accent), rgba(76, 110, 245, 0.4), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary-light);
    animation: spinSlow 12s linear infinite;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2.5px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: white;
    padding-left: 6px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 110, 245, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════
   11. SECONDARY PAGES
   ═══════════════════════════════════════ */
.page-hero {
    padding: 150px 20px 70px;
    text-align: center;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.page-hero .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content,
.faq-section,
.privacy-content {
    background: var(--light);
    padding: 60px 20px;
}

.content-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 36px;
    transition: var(--transition);
}

.content-section:hover {
    box-shadow: var(--shadow-md);
}

/* FAQ Page */
.faq-search {
    max-width: 600px;
    margin: 0 auto 36px;
}

.search-box {
    position: relative;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    padding: 14px 24px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(76, 110, 245, 0.08);
}

.search-box i {
    color: var(--primary);
    margin-right: 14px;
    font-size: 1.1rem;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.05rem;
    color: var(--dark);
    font-family: inherit;
}

.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.category-btn {
    padding: 10px 24px;
    border: 1.5px solid var(--border);
    background: var(--white);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    font-family: inherit;
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(76, 110, 245, 0.3);
    transform: translateY(-2px);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 22px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
}

.faq-question h3 i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.faq-question i.fa-chevron-down {
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    color: var(--text-muted);
    line-height: 1.8;
    background: var(--light);
}

.faq-item.active .faq-answer {
    padding-bottom: 22px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

/* Contact */
.faq-contact {
    text-align: center;
    padding: 56px 0 20px;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 44px;
}

.contact-option {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.contact-option i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(76, 110, 245, 0.08), rgba(112, 72, 232, 0.08));
    width: 72px;
    height: 72px;
    line-height: 72px;
    border-radius: 50%;
    display: inline-block;
}

.contact-option h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

/* About Page */
.about-hero {
    background: radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.features-grid,
.differences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.feature-card,
.difference-item {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card:hover,
.difference-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-card i,
.difference-item i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 18px;
    display: inline-block;
    padding: 18px;
    background: linear-gradient(135deg, rgba(76, 110, 245, 0.06), rgba(112, 72, 232, 0.06));
    border-radius: 50%;
    transition: var(--transition);
}

.feature-card:hover i,
.difference-item:hover i {
    background: var(--gradient-primary);
    color: white;
    -webkit-text-fill-color: white;
    transform: rotateY(180deg);
}

.feature-card h3,
.difference-item h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

/* Algorithm Steps */
.algorithm-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 44px;
    position: relative;
}

.algorithm-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: var(--border);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 3px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.step:hover .step-number {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(76, 110, 245, 0.3);
}

.step-content {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.step-content h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

/* Accuracy List */
.accuracy-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.accuracy-list li {
    background: rgba(56, 217, 169, 0.06);
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(56, 217, 169, 0.2);
    color: #166534;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.accuracy-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-dark);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 56px;
    text-align: center;
    border-radius: var(--radius-xl);
    margin-top: 56px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(76, 110, 245, 0.3);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.cta-section h2 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 14px;
}

.cta-section p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
    display: inline-flex;
    padding: 16px 36px;
    font-size: 1.05rem;
}

.cta-section .btn-primary:hover {
    background: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════
   12. STATE-SPECIFIC PAGES
   ═══════════════════════════════════════ */
.page-hero.state-hero {
    background: var(--gradient-hero);
    padding: 130px 20px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero.state-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 60%, rgba(255, 255, 255, 0.07) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero.state-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    margin: 0 auto;
}

.page-hero.state-hero h1 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.page-hero.state-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

.state-content {
    padding: 56px 20px;
}

.state-content .container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.state-content .content-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 28px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.state-content .content-section:hover {
    box-shadow: var(--glass-shadow-lg);
}

.state-content .content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.state-content .content-section h2 i {
    color: var(--primary);
    font-size: 1.25rem;
}

.state-intro p {
    font-size: 1.02rem;
    color: var(--text-main);
    line-height: 1.85;
}

/* State Factor Cards */
.state-factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.state-factor-card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.state-factor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.state-factor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(76, 110, 245, 0.25);
    background: rgba(255, 255, 255, 0.8);
}

.state-factor-card:hover::before {
    transform: scaleX(1);
}

.state-factor-card i {
    font-size: 1.8rem;
    margin-bottom: 14px;
    display: inline-block;
    width: 56px;
    height: 56px;
    line-height: 56px;
    background: linear-gradient(135deg, rgba(76, 110, 245, 0.08), rgba(112, 72, 232, 0.08));
    border-radius: 50%;
    color: var(--primary);
}

.state-factor-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.state-factor-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.65;
}

/* Cities Grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.city-card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: var(--transition);
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.8);
}

.city-card i {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 10px;
    display: block;
}

.city-card h3 {
    font-size: 1.02rem;
    margin-bottom: 5px;
}

.city-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.55;
}

/* State FAQ */
.state-faq-section .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.state-faq-section .faq-item {
    background: rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: var(--transition);
}

.state-faq-section .faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(76, 110, 245, 0.2);
}

.state-faq-section .faq-item h3 {
    font-size: 0.98rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--primary-dark);
}

.state-faq-section .faq-item h3 i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.state-faq-section .faq-item p {
    font-size: 0.93rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.75;
}

.state-calculator-section {
    background: linear-gradient(135deg, rgba(76, 110, 245, 0.06), rgba(112, 72, 232, 0.06)) !important;
    border-color: rgba(76, 110, 245, 0.18) !important;
}

/* ═══════════════════════════════════════
   SEO ACCURACY SECTION (Homepage)
   ═══════════════════════════════════════ */
.seo-accuracy-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-radius: var(--radius-xl);
    padding: 52px 48px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.seo-accuracy-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(76, 110, 245, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.seo-accuracy-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(56, 217, 169, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.accuracy-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.accuracy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(56, 217, 169, 0.15), rgba(56, 217, 169, 0.05));
    border: 1px solid rgba(56, 217, 169, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.accuracy-badge i {
    font-size: 0.9rem;
}

.accuracy-header h3 {
    color: #f1f5f9;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.accuracy-header p {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.accuracy-header p strong {
    color: #cbd5e1;
}

.accuracy-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.accuracy-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.accuracy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.accuracy-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(76, 110, 245, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(76, 110, 245, 0.1);
}

.accuracy-card:hover::before {
    transform: scaleX(1);
}

.accuracy-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(76, 110, 245, 0.15), rgba(112, 72, 232, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.3rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.accuracy-card:hover .accuracy-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.08);
}

.accuracy-card-stat {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e2e8f0, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.accuracy-card h4 {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.accuracy-card p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.accuracy-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    position: relative;
    z-index: 1;
}

.accuracy-disclaimer>i {
    color: #475569;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.accuracy-disclaimer p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
}

.accuracy-disclaimer p strong {
    color: #94a3b8;
}

/* Accuracy Section Responsive */
@media (max-width: 1024px) {
    .accuracy-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .seo-accuracy-section {
        padding: 36px 24px;
    }

    .accuracy-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .accuracy-card {
        padding: 24px 18px;
    }

    .accuracy-card-stat {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .seo-accuracy-section {
        padding: 28px 16px;
    }

    .accuracy-cards {
        grid-template-columns: 1fr;
    }

    .accuracy-disclaimer {
        flex-direction: column;
        gap: 10px;
    }
}

/* ═══════════════════════════════════════
   HOMEPAGE FAQ ACCORDION
   ═══════════════════════════════════════ */
.faq-section {
    padding: 72px 20px;
    background: var(--light);
}

.faq-section-header {
    text-align: center;
    margin-bottom: 44px;
}

.faq-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(76, 110, 245, 0.08), rgba(112, 72, 232, 0.08));
    border: 1px solid rgba(76, 110, 245, 0.15);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.faq-section-badge i {
    font-size: 0.85rem;
}

.faq-section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.faq-section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

.home-faq-accordion {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-faq-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.home-faq-item:hover {
    border-color: rgba(76, 110, 245, 0.2);
    box-shadow: var(--shadow-sm);
}

.home-faq-item[open] {
    border-color: rgba(76, 110, 245, 0.25);
    box-shadow: 0 4px 24px rgba(76, 110, 245, 0.08);
}

.home-faq-item summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: var(--transition);
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item summary::marker {
    display: none;
    content: "";
}

.home-faq-item summary:hover {
    background: rgba(76, 110, 245, 0.02);
}

.home-faq-q-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(76, 110, 245, 0.08), rgba(112, 72, 232, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    transition: var(--transition);
}

.home-faq-item[open] .home-faq-q-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.home-faq-item summary span {
    flex: 1;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

.home-faq-chevron {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-light);
    background: var(--light);
    transition: var(--transition);
}

.home-faq-item[open] .home-faq-chevron {
    transform: rotate(180deg);
    background: rgba(76, 110, 245, 0.1);
    color: var(--primary);
}

.home-faq-answer {
    padding: 0 24px 24px;
    padding-left: 82px;
    animation: faqSlideDown 0.3s ease;
}

.home-faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.home-faq-answer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(76, 110, 245, 0.3);
    transition: var(--transition-fast);
}

.home-faq-answer a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}

@keyframes faqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Accordion Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 48px 16px;
    }

    .home-faq-item summary {
        padding: 16px 18px;
        gap: 12px;
    }

    .home-faq-q-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 10px;
        font-size: 0.9rem;
    }

    .home-faq-item summary span {
        font-size: 0.95rem;
    }

    .home-faq-answer {
        padding: 0 18px 20px;
        padding-left: 66px;
    }

    .home-faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .home-faq-answer {
        padding-left: 18px;
    }
}

/* ═══════════════════════════════════════
   13. ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes snowfall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.7;
    }

    85% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-3px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(3px, 0, 0);
    }
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(30px, -20px);
    }

    50% {
        transform: translate(-20px, 15px);
    }

    75% {
        transform: translate(15px, 25px);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(76, 110, 245, 0.15);
    }

    50% {
        box-shadow: 0 0 40px rgba(76, 110, 245, 0.3);
    }
}

/* ═══════════════════════════════════════
   14. RESPONSIVE
   ═══════════════════════════════════════ */

/* Mobile Form Override */
@media (max-width: 600px) {
    .form-group {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 14px;
        background: var(--white);
    }

    .form-group input {
        width: 100%;
        margin-bottom: 10px;
        padding: 14px;
        background: var(--light);
        border-radius: var(--radius-sm);
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Algorithm Steps Responsive */
@media (max-width: 768px) {
    .algorithm-steps {
        flex-direction: column;
    }

    .algorithm-steps::before {
        width: 3px;
        height: calc(100% - 50px);
        left: 23px;
        top: 25px;
        right: auto;
    }

    .step {
        display: flex;
        text-align: left;
        gap: 20px;
    }

    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
}

/* Tablet & Mobile */
@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 20px);
        top: 10px;
        padding: 12px 16px;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        gap: 0;
        box-shadow: var(--shadow-xl);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1.05rem;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .weather-form {
        flex-direction: column;
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: 20px;
    }

    .form-group input {
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        margin-bottom: 10px;
    }

    .btn-primary {
        justify-content: center;
        width: 100%;
    }

    .snow-day-card {
        flex-direction: column;
        text-align: center;
        gap: 28px;
        padding: 28px 20px;
    }

    .weather-cards {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .weather-info .details {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero {
        padding: 120px 16px 50px;
    }

    .seo-how-it-works {
        padding: 32px 20px;
    }

    .seo-accuracy-section {
        padding: 32px 20px;
    }

    .cta-section {
        padding: 36px 20px;
    }

    /* State Pages */
    .page-hero.state-hero {
        padding: 110px 16px 44px;
    }

    .state-content .content-section {
        padding: 24px 20px;
        margin-bottom: 20px;
    }

    .state-factors-grid {
        grid-template-columns: 1fr;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .state-faq-section .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .cities-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ═══════════════════════════════════════
   15. DARK FAQ ACCORDION (State Pages)
   ═══════════════════════════════════════ */
.dark-faq {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dark-faq h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dark-faq h2 i {
    color: var(--primary-light);
    font-size: 1.25rem;
}

.dark-faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    min-height: 280px;
}

/* Left — Question List */
.dark-faq-questions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dark-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    gap: 16px;
    text-align: left;
    font-family: inherit;
    width: 100%;
    line-height: 1.4;
}

.dark-faq-q:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #e2e8f0;
}

.dark-faq-q.active {
    background: rgba(76, 110, 245, 0.12);
    border-color: rgba(76, 110, 245, 0.4);
    color: #93c5fd;
}

.dark-faq-q .faq-toggle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-light);
    border: 1px solid rgba(76, 110, 245, 0.3);
    background: transparent;
    transition: var(--transition);
    font-weight: 300;
}

.dark-faq-q.active .faq-toggle {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Right — Answer Panel */
.dark-faq-answer-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
}

.dark-faq-answer {
    display: none;
}

.dark-faq-answer.active {
    display: block;
    animation: faqFadeIn 0.35s ease;
}

.dark-faq-answer h3 {
    color: #f1f5f9;
    font-size: 1.15rem;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.dark-faq-answer p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* Nav Arrows */
.dark-faq-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

.dark-faq-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
    font-family: inherit;
}

.dark-faq-nav button:hover {
    background: rgba(76, 110, 245, 0.15);
    border-color: rgba(76, 110, 245, 0.4);
    color: #93c5fd;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark FAQ Responsive */
@media (max-width: 768px) {
    .dark-faq {
        padding: 28px 20px;
    }

    .dark-faq-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }

    .dark-faq-answer-panel {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .dark-faq {
        padding: 20px 16px;
    }

    .dark-faq-q {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
}