/* --- 1. DESIGN TOKENS --- */
:root {
    --bg-primary: #161930;
    --bg-secondary: #212540;
    --text-primary: #ffffff;
    --text-muted: #a1a4c0;
    --accent: #4da9ff; 
    --accent-hover: #3a8ee6;
    --border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f6f8fb;
    --text-primary: #0f172a;
    --text-muted: #575f73;
    --accent: #2563eb; 
    --border-color: rgba(0, 0, 0, 0.08);
}

/* --- 2. RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    scroll-behavior: smooth; 
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background 0.2s ease;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { 
    font-family: 'Merriweather', serif; 
    font-weight: 700; 
    color: var(--text-primary); 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 2.4rem; 
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

/* --- 3. NAVIGATION --- */
.navbar {
    height: 8rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    z-index: 100;
}

.navbar .container { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 2.4rem;
}

.logo { 
    font-size: 2.2rem; 
    font-weight: 700; 
    white-space: nowrap;
}

.logo span { color: var(--accent); }

.nav-back-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    padding-left: 2rem;
    border-left: 1px solid var(--border-color);
    height: 2.4rem;
}

.nav-back-link:hover {
    color: var(--accent);
    transform: translateX(-3px);
}

.nav-right { 
    display: flex; 
    align-items: center; 
    gap: 2.5rem; 
}

#theme-toggle { 
    background: none; 
    border: none; 
    color: var(--text-muted); 
    cursor: pointer; 
    display: flex; 
    padding: 0.5rem; 
}

[data-theme="dark"] .sun, 
[data-theme="light"] .moon { display: none; }

/* --- 4. BUTTONS --- */
.btn {
    display: inline-block;
    padding: 1.6rem 3.2rem;
    border-radius: 0.4rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 1.5rem;
    text-align: center;
}

.btn-primary { 
    background-color: var(--accent); 
    color: #161930 !important; /* Dark text on light blue background for better contrast */
    font-weight: 700;
}

.btn-primary:hover { 
    background-color: var(--accent-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 10px 20px -10px var(--accent); 
}

.btn-outline { 
    border: 1.5px solid var(--accent); 
    color: var(--accent); 
}

.btn-outline:hover { background: var(--bg-secondary); }

.btn-sm { padding: 1rem 2rem; font-size: 1.3rem; }

/* --- 5. HERO SECTION --- */
.hero { 
    padding: 14rem 0 8rem; 
    text-align: center; 
}

.badge {
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.6rem;
    border-radius: 5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    color: var(--accent);
    margin-bottom: 2.5rem;
    display: inline-block;
    font-weight: 700;
}

.hero h1 { 
    font-size: clamp(3rem, 6vw, 6rem); 
    margin-bottom: 2.5rem; 
    line-height: 1.15; 
}

.hero p { 
    max-width: 65rem; 
    margin: 0 auto 4rem; 
    color: var(--text-muted); 
    font-size: 1.9rem; 
}

.hero-actions { 
    display: flex; 
    gap: 1.6rem; 
    justify-content: center; 
}

/* --- 6. ABOUT / EXPERT SECTION --- */
.about-expert { padding: 10rem 0; }

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 6rem; 
    align-items: center; 
}

.about-image img { 
    width: 100%; 
    height: auto; 
    border-radius: 0.8rem; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}

.about-content h2 { 
    font-size: 3.4rem; 
    margin-bottom: 2.5rem; 
}

.about-content p { 
    font-size: 1.7rem; 
    color: var(--text-muted); 
    margin-bottom: 2rem; 
}

.signature { 
    margin-top: 3.5rem; 
    padding-top: 2rem; 
    border-top: 1px solid var(--border-color); 
}

.signature strong { 
    display: block; 
    font-size: 2rem; 
    color: var(--text-primary); 
}

.signature span { 
    color: var(--accent); 
    font-size: 1.2rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

/* --- 7. FEATURES GRID --- */
.features { 
    padding: 10rem 0; 
    background-color: var(--bg-secondary); 
}

.section-header { 
    text-align: center; 
    margin-bottom: 6rem; 
}

.feature-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr)); 
    gap: 3.2rem; 
}

.feature-card { 
    background: var(--bg-primary); 
    padding: 4rem; 
    border-radius: 0.8rem; 
    border: 1px solid var(--border-color); 
    transition: 0.3s ease; 
}

.feature-card:hover { 
    border-color: var(--accent); 
    transform: translateY(-5px); 
}

.icon-wrapper { 
    width: 5.6rem; 
    height: 5.6rem; 
    color: var(--accent); 
    margin-bottom: 2rem; 
}

.feature-card h3 { 
    margin-bottom: 1.5rem; 
    font-size: 2.2rem; 
}

.feature-card p { 
    color: var(--text-muted); 
    font-size: 1.5rem; 
}

/* --- 8. CTA / EVALUATION FORM --- */
.cta-section { padding: 10rem 0; }

.cta-box { 
    background: var(--bg-secondary); 
    padding: 7rem 4rem; 
    border-radius: 1.2rem; 
    text-align: center; 
    border: 1px solid var(--border-color); 
}

.cta-box h2 { font-size: 3.4rem; margin-bottom: 2rem; }

.eval-form { 
    margin: 3.5rem auto 0; 
    display: flex; 
    gap: 1.2rem; 
    max-width: 65rem; 
}

.eval-form input { 
    flex: 1; 
    padding: 1.8rem; 
    border-radius: 0.4rem; 
    border: 1px solid var(--border-color); 
    background: var(--bg-primary); 
    color: var(--text-primary); 
    font-size: 1.6rem; 
}

.eval-form input:focus {
    outline: none;
    border-color: var(--accent);
}

/* --- 9. FOOTER --- */
.footer { 
    padding: 8rem 0 4rem; 
    border-top: 1px solid var(--border-color); 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 4rem; 
    margin-bottom: 6rem; 
}

.footer h3 { 
    margin-bottom: 2.5rem; 
    font-size: 1.6rem; 
    color: var(--accent); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.footer ul li { list-style: none; margin-bottom: 1.2rem; }

.footer ul li a { 
    color: var(--text-muted); 
    font-size: 1.5rem; 
    display: inline-block; 
}

.footer ul li a:hover { 
    color: var(--accent); 
    transform: translateX(5px); 
}

.footer-bottom { 
    text-align: center; 
    border-top: 1px solid var(--border-color); 
    padding-top: 3rem; 
    color: var(--text-muted); 
    font-size: 1.3rem; 
}

/* --- 10. MEDIA QUERIES --- */
@media (max-width: 768px) {
    .about-grid, 
    .footer-grid, 
    .hero-actions, 
    .eval-form { 
        flex-direction: column; 
    }

    .about-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }

    .about-image { order: -1; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- 11. LEAD MAGNET BOX --- */
.lead-magnet-box {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border: 2px solid var(--accent);
    padding: 6rem 4rem;
    border-radius: 1.2rem;
    text-align: center;
    margin: 6rem auto;
    max-width: 90rem;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}

.lead-magnet-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.lead-magnet-box p {
    font-size: 1.7rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* --- 12. TESTIMONIALS & REVIEWS --- */
.testimonials { padding: 10rem 0; }

.review-badge {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--bg-secondary);
    padding: 0.8rem 1.6rem;
    border-radius: 5rem;
    border: 1px solid var(--border-color);
    width: fit-content;
    margin: 0 auto 3rem;
}

.review-badge .stars { color: #f59e0b; font-size: 1.4rem; }
.review-badge span { font-size: 1.3rem; font-weight: 700; color: var(--text-primary); }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 3.2rem;
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: 4rem;
    border-radius: 0.8rem;
    border-left: 4px solid var(--accent);
}

.testimonial-card p {
    font-size: 1.6rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-card .client-name {
    display: block;
    font-weight: 700;
    color: var(--accent);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-cta-box {
    background: linear-gradient(rgba(77, 169, 255, 0.1), rgba(77, 169, 255, 0.05));
    border: 1px dashed var(--accent);
    padding: 4rem;
    border-radius: 1.2rem;
    text-align: center;
    margin-top: 4rem;
}

.google-rating-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.google-rating-footer .stars { color: #f59e0b; }
.google-rating-footer a { font-size: 1.3rem; font-weight: 700; color: var(--text-muted); }
.google-rating-footer a:hover { color: var(--accent); }

.social-links {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-muted);
    transition: 0.3s ease;
    display: flex;
    padding: 0.5rem;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* --- 13. ROI CALCULATOR --- */
.roi-calculator {
    background: var(--bg-secondary);
    padding: 4rem;
    border-radius: 1.2rem;
    border: 1px solid var(--border-color);
    margin: 4rem 0;
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.roi-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roi-option {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 0.8rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-align: left;
    transition: 0.3s ease;
    width: 100%;
    color: var(--text-primary);
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
}

.roi-option:hover {
    border-color: var(--accent);
}

.roi-option.active {
    border-color: var(--accent);
    background: rgba(77, 169, 255, 0.1);
}

.roi-display {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.roi-stat {
    margin-bottom: 2.5rem;
}

.roi-stat:last-child { margin-bottom: 0; }

.roi-label {
    display: block;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.roi-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Merriweather', serif;
}

/* --- 14. DATA SUMMARY TABLES (GEO) --- */
.data-summary-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    padding: 3rem;
    margin: 4rem 0;
}

.data-summary-box h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table tr {
    border-bottom: 1px solid var(--border-color);
}

.data-table tr:last-child {
    border-bottom: none;
}

.data-table td {
    padding: 1.5rem 0;
    font-size: 1.5rem;
}

.data-table td:first-child {
    font-weight: 700;
    color: var(--text-primary);
}

.data-table td:last-child {
    text-align: right;
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .data-summary-box { padding: 2rem; }
}

@media (max-width: 768px) {
    .roi-grid { grid-template-columns: 1fr; }
}