:root {
    --primary: #001f3f;
    --accent: #ff851b;
    --white: #ffffff;
    --bg: #f4f7f9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--bg);
    color: var(--primary);
}

header {
    display: none;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #003366 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.accent-text { color: var(--accent); }

.lead-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    max-width: 450px;
    margin: 40px auto 0;
    color: var(--primary);
}

input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

button {
    background: var(--accent);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: transform 0.2s;
}

button:hover { transform: translateY(-2px); }

.status-box {
    margin-top: 20px;
    padding: 10px;
    background: #e7f3ff;
    border-radius: 5px;
    font-size: 0.9rem;
}

.hidden { display: none; }

.calculator-section { padding: 80px 0; text-align: center; }

.calc-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    text-align: left;
    margin-top: 40px;
}

.input-group { margin-bottom: 30px; }

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary);
}

.range-display {
    text-align: right;
    font-weight: bold;
    color: var(--accent);
    font-size: 1.2rem;
}

.calc-results {
    background: var(--primary);
    color: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-item { margin-bottom: 20px; }
.result-item span { font-size: 0.9rem; opacity: 0.8; }
.result-item h2 { font-size: 2.5rem; margin: 5px 0; color: #ff4136; } /* Warning Red */
.result-item h3 { font-size: 1.8rem; margin: 5px 0; }

@media (max-width: 768px) {
    .calc-grid { grid-template-columns: 1fr; }
}
.pricing-section { padding: 100px 0; background: #fff; text-align: center; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: start; /* FIXED: Aligns cards to top */
}

.price-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    position: relative;
    display: flex; /* FIXED: Makes card a flex container */
    flex-direction: column; /* FIXED: Stacks content vertically */
    min-height: 600px; /* FIXED: Ensures consistent minimum height */
}

.price-card.featured {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 0 3px var(--accent); /* FIXED: Removed scale, added glow */
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.card-price { margin: 30px 0; }
.setup-fee { display: block; font-size: 2rem; font-weight: bold; }
.monthly-fee { font-size: 1.1rem; opacity: 0.8; }

.features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    flex-grow: 1; /* FIXED: Makes features take up available space, pushing button to bottom */
}

.features li { margin-bottom: 12px; font-size: 0.95rem; }
.features li::before { content: "✓ "; color: var(--accent); font-weight: bold; }

.price-card.featured .features li::before { color: var(--accent); }

.secondary-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: auto; /* FIXED: Pushes button to bottom of card */
}

.price-card.featured .primary-btn {
    background: var(--accent);
    border: none;
    color: white;
    padding: 15px;
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: auto; /* FIXED: Pushes button to bottom of card */
}
input[type=range] { width: 100%; cursor: pointer; }
/* Smooth Scroll & Transitions */
html { scroll-behavior: smooth; }


.process-step {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border-bottom: 5px solid var(--accent); /* That Safety Orange pop */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.step-num {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 20px;
}

/* The SMS Mockup */
.sms-bubble {
    background: #e9e9eb;
    padding: 15px;
    border-radius: 18px;
    position: relative;
    max-width: 80%;
    margin: 20px auto;
    color: black;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* Process Section Styling */
.process-section { padding: 100px 0; background: #fff; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-card {
    background: var(--bg);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border-bottom: 4px solid var(--accent);
}

.step-icon {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Review Engine Styling */
.review-engine { padding: 100px 0; background: var(--primary); color: white; }

.review-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.review-content { flex: 1; min-width: 300px; }

.benefit-list { list-style: none; padding: 0; margin-top: 30px; }
.benefit-list li { margin-bottom: 15px; font-size: 1.1rem; }
.benefit-list li::before { content: "⭐"; margin-right: 10px; }

/* The Phone Mockup */
.phone-container { flex: 1; display: flex; justify-content: center; min-width: 300px; }

.phone-mockup {
    background: #000;
    width: 300px;
    height: 500px;
    border-radius: 40px;
    border: 8px solid #333;
    padding: 20px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.sms-header { color: #888; text-align: center; font-size: 0.7rem; margin-bottom: 20px; }

.sms-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.sms-bubble.grey { background: #E9E9EB; color: #000; align-self: flex-start; }
.sms-bubble.blue { background: #007AFF; color: #fff; margin-left: 20%; }
.faq-section { padding: 80px 0; background: var(--bg); }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmin(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.faq-item h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}
.final-cta {
    padding: 100px 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.final-cta h2 { font-size: 2.5rem; margin-bottom: 20px; }

.cta-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    margin: 40px auto;
}

.signature-text { margin-top: 40px; opacity: 0.7; font-style: italic; }

footer {
    padding: 40px 0;
    background: #000b1a; /* Even darker navy */
    color: #888;
    text-align: center;
    font-size: 0.9rem;
}

.local-trust {
    padding: 80px 0;
    background: var(--bg); /* Light grey background instead of white */
}

.trust-flex {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.trust-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.trust-text h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 15px;
}

.trust-text p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .trust-flex {
        flex-direction: column;
        text-align: center;
    }
}
.dashboard-demo { padding: 100px 0; background: #fff; }

.dashboard-mockup {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 40px;
}

.lead-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lead-table th {
    background: var(--primary);
    color: white;
    padding: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lead-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.badge {
    background: #e7f3ff;
    color: #007aff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

@media (max-width: 600px) {
    .lead-table thead { display: none; }
    .lead-table td { 
        display: block; 
        text-align: right; 
        padding-left: 50%; 
        position: relative;
        border-bottom: 1px solid #eee;
    }
    /* This tells CSS to grab the 'data-label' from your HTML and show it */
    .lead-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 20px;
        font-weight: bold;
        text-transform: uppercase;
        color: var(--primary);
    }
}
.consultation { padding: 80px 0; background: #fdfdfd; }

.consult-box {
    background: white;
    padding: 50px;
    border-radius: 25px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.consult-text h2 { margin-top: 0; color: var(--primary); }

.consult-features {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--accent);
}

@media (max-width: 768px) {
    .consult-box { flex-direction: column; text-align: center; }
    .consult-features { flex-direction: column; gap: 10px; }
}
.small-print { font-size: 0.75rem; margin-top: 10px; opacity: 0.5; }

.faq-item p { color: #555; line-height: 1.6; padding-left: 19px; }
/* --- FINAL MOBILE POLISH --- */

@media (max-width: 768px) {
    .hero { padding: 60px 20px; } /* Less dead space on small screens */
    
    .hero h1 { font-size: 1.8rem; } /* Keeps the headline from breaking into 5 lines */

    .faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Fixes the 400px overflow */
    }

    .price-card.featured {
        margin: 20px 0; /* Add space around it since it's the highlight */
    }
    
    .price-card {
        min-height: auto; /* Remove min-height on mobile */
    }

    .consult-box {
        padding: 30px 20px; /* More room for the content */
    }

    .review-flex {
        gap: 30px;
        text-align: center;
    }

    .benefit-list {
        text-align: left; /* Keeps the stars aligned even if text is centered */
        display: inline-block;
    }
}

/* Accessibility: Ensure Zeus is readable */
.small-print {
    opacity: 0.7; /* Increased from 0.5 for better readability on bright screens */
}