/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Libre+Franklin:wght@300;400;500;600;700&display=swap');

/* ─── Shared (non-color) tokens ──────────────────────────── */
:root {
    --font-header: 'Libre Baskerville', serif;
    --font-body: 'Libre Franklin', sans-serif;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ─── Light Theme ────────────────────────────────────────── */
[data-theme="light"] {
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --card-border: #e4e4e7;
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --text-dark: #333333;
    --text-muted: #999;
    --accent-color: #48E86B;
    --accent-hover: #39da5d;
    --link-color: #2563eb;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --tag-bg: #f4f4f5;
    --tag-text: #3f3f46;
    --surface-bg: #f9fafb;
    --surface-hover-bg: #f3f4f6;
    --border-light: #e5e7eb;
    --border-hover: #d1d5db;
    --badge-bg: #f3f4f6;
    --badge-text: #6b7280;
    --cta-bg: rgba(73, 97, 246, 0.1);
    --cta-heading-color: #333333;
    --detail-heading-color: #1f2937;
    /* Header glass */
    --header-blur-gradient: linear-gradient(135deg, rgba(137, 250, 138, 0), rgba(137, 250, 138, 0), rgba(137, 250, 138, 0), rgba(137, 250, 138, 0.4)), color-mix(in srgb, #ffffff 14%, transparent);
    --header-blur-bg: color-mix(in srgb, #ffffff 14%, transparent);
    --glass-inset-1: rgba(255, 255, 255, 0.22);
    --glass-inset-2: rgba(255, 255, 255, 0.70);
    --glass-inset-3: rgba(255, 255, 255, 0.60);
    --glass-inset-4: rgba(255, 255, 255, 0.40);
    --header-text-color: rgba(15, 23, 42, 0.9);
    --signup-btn-color: #0f172a;
    /* Footer */
    --footer-border: #eeeeee;
    --footer-text: #333333;
    --footer-muted: #999;
    --powered-by-color: #3ADA5C;
    /* Icon wrapper */
    --icon-wrapper-bg: #ffffff;
    --icon-wrapper-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ─── Dark Theme ─────────────────────────────────────────── */
[data-theme="dark"] {
    --bg-color: #151515;
    --card-bg: #1F1F1F;
    --card-border: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: #c8ccd4;
    --text-dark: #ffffff;
    --text-muted: #a0a6b2;
    --accent-color: #48E86B;
    --accent-hover: #39da5d;
    --link-color: #89FA8A;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --tag-bg: #272727;
    --tag-text: #c8ccd4;
    --surface-bg: #1F1F1F;
    --surface-hover-bg: #272727;
    --border-light: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(255, 255, 255, 0.2);
    --badge-bg: rgba(255, 255, 255, 0.1);
    --badge-text: #a0a6b2;
    --cta-bg: rgba(73, 97, 246, 0.08);
    --cta-heading-color: #ffffff;
    --detail-heading-color: #ffffff;
    /* Header glass */
    --header-blur-gradient: linear-gradient(135deg, rgba(137, 250, 138, 0), rgba(137, 250, 138, 0), rgba(137, 250, 138, 0), rgba(137, 250, 138, 0.15)), color-mix(in srgb, #333333 60%, transparent);
    --header-blur-bg: color-mix(in srgb, #333333 60%, transparent);
    --glass-inset-1: rgba(255, 255, 255, 0.08);
    --glass-inset-2: rgba(255, 255, 255, 0.15);
    --glass-inset-3: rgba(255, 255, 255, 0.10);
    --glass-inset-4: rgba(255, 255, 255, 0.08);
    --header-text-color: rgba(255, 255, 255, 0.9);
    --signup-btn-color: #0f172a;
    /* Footer */
    --footer-border: rgba(255, 255, 255, 0.12);
    --footer-text: #c8ccd4;
    --footer-muted: #a0a6b2;
    --powered-by-color: #89FA8A;
    /* Icon wrapper */
    --icon-wrapper-bg: #272727;
    --icon-wrapper-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    padding-top: 80px;
}

h1, h2 {
    font-family: var(--font-header);
}

h3, h4, h5, h6 {
    font-family: var(--font-body);
}

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

/* ===== BUTTONS ===== */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 380px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    font-size: 17px;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-google {
    background-color: #4285F4;
    color: #fff;
    padding: 2px;
    position: relative;
    border: none;
    border-radius: 8px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-google:hover {
    background-color: #3367D6;
}

.btn-google .google-icon-wrapper {
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    flex-shrink: 0;
}

.btn-google .google-icon-wrapper img {
    width: 20px;
    height: 20px;
}

.btn-google .btn-text {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 17px;
    padding-right: 42px;
}

/* ===== BOTTOM CTA SECTION ===== */
.bottom-cta-section {
    background-color: var(--cta-bg);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    margin-top: 0;
}

.bottom-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--cta-heading-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body);
}

.bottom-cta-section .cta-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===== SITE HEADER STYLES ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 74px;
    z-index: 3000;
}

.site-header-inner {
    position: relative;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header-inner .logo,
.site-header-inner .auth-actions {
    position: relative;
    z-index: 1;
}

.site-header .logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-family: 'Libre Baskerville', serif;
    color: var(--text-dark);
    text-decoration: none;
}

.site-header .logo img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* Glassy, pill-shaped header background */
.header-blur {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 12px;
    right: 18px;
    border-radius: 9999px;
    background: var(--header-blur-bg);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    background: var(--header-blur-gradient);
    box-shadow:
        inset 0 0 0 1px var(--glass-inset-1),
        inset 1.8px 3px 0 -2px var(--glass-inset-2),
        inset -2px -2px 0 -2px var(--glass-inset-3),
        inset -3px -8px 1px -6px var(--glass-inset-4),
        inset -0.3px -1px 4px 0 rgba(0, 0, 0, 0.12),
        inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, 0.18),
        inset 0 3px 4px -2px rgba(0, 0, 0, 0.18),
        0 6px 16px rgba(0, 0, 0, 0.08);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    filter: blur(5px);
    transition: opacity 260ms cubic-bezier(.2, .9, .2, 1), filter 260ms cubic-bezier(.2, .9, .2, 1);
    will-change: opacity, filter;
}

.header-blur[data-scrolled="true"] {
    filter: blur(0px);
    opacity: 1;
}

/* Auth actions */
.auth-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    font-family: 'Libre Franklin', sans-serif;
}

.header-plain-action {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--header-text-color);
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    transition: opacity .15s ease, color .15s ease;
    text-decoration: none;
}

.header-plain-action:hover {
    opacity: 0.9;
    text-decoration: none;
}

.header-plain-action:focus-visible {
    outline: 2px solid rgba(58, 180, 72, 0.9);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Glassy signup button */
.signup-button-header-style {
    background:
        linear-gradient(135deg, rgba(137, 250, 138, 1), rgba(137, 250, 138, 1)),
        color-mix(in srgb, #ffffff 14%, transparent);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    border: 1px solid var(--glass-inset-1);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--signup-btn-color);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .15s;
    text-decoration: none;
    box-shadow:
        inset 0 0 0 1px var(--glass-inset-1),
        inset 1.8px 3px 0 -2px var(--glass-inset-2),
        inset -2px -2px 0 -2px var(--glass-inset-3),
        inset -3px -8px 1px -6px var(--glass-inset-4),
        inset -0.3px -1px 4px 0 rgba(0, 0, 0, 0.12),
        inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, 0.18),
        inset 0 3px 4px -2px rgba(0, 0, 0, 0.18),
        0 6px 16px rgba(0, 0, 0, 0.08);
}

.signup-button-header-style:hover {
    background:
        linear-gradient(135deg, rgba(137, 250, 138, 0.9), rgba(137, 250, 138, 0.9)),
        color-mix(in srgb, #ffffff 14%, transparent);
    box-shadow:
        inset 0 0 0 1px var(--glass-inset-1),
        inset 1.8px 3px 0 -2px var(--glass-inset-2),
        inset -2px -2px 0 -2px var(--glass-inset-3),
        inset -3px -8px 1px -6px var(--glass-inset-4),
        inset -0.3px -1px 4px 0 rgba(0, 0, 0, 0.12),
        inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, 0.18),
        inset 0 3px 4px -2px rgba(0, 0, 0, 0.18),
        0 8px 20px rgba(0, 0, 0, 0.12);
}

.signup-button-header-style:active {
    transform: translateY(1px);
}

.signup-button-header-style .arrow {
    font-size: 16px;
    line-height: 1.2;
}


/* ===== SITE FOOTER STYLES ===== */
.footer {
    width: 90%;
    max-width: 800px;
    font-family: 'Libre Franklin', sans-serif;
    text-align: center;
    font-weight: 300;
    font-size: 14px;
    color: var(--footer-muted);
    margin: 48px auto 32px auto;
    border-top: 1px solid var(--footer-border);
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)) 20px;
}

.footer-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-nav-extra {
    display: flex;
    gap: 30px;
}

.footer-nav-extra button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--footer-text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.footer-nav-extra button:hover {
    opacity: 0.7;
}

.footer-main-row {
    justify-content: space-between;
    gap: 40px;
}

.footer-social-and-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-secondary-row {
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-family: 'Libre Baskerville', serif;
    color: var(--footer-text);
    text-decoration: none;
    padding-bottom: 1px;
}

.footer-logo:hover {
    opacity: 0.8;
    text-decoration: none;
}

.footer-logo img {
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.footer-nav a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-social img {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    color: var(--footer-text);
    font-size: 15px;
    text-align: center;
}

.mobile-copyright {
    display: none;
}

.powered-by-link {
    color: var(--powered-by-color);
    text-decoration: none;
}

.powered-by-link:hover {
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════
   COMPARISON PAGE STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ===== HERO SECTION ===== */
.compare-hero {
    text-align: center;
    padding: 60px 20px 80px;
}

.compare-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 40px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--text-primary);
}

.compare-hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-logo-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
}

.hero-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.compare-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.compare-hero-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-cta {
    margin-top: 8px;
    display: inline-flex;
    font-size: 16px;
    padding: 10px 60px;
}


/* ===== SECTION HEADINGS ===== */
.section-heading {
    font-family: var(--font-header);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 48px;
}


/* ===== FEATURE COMPARISON TABLE ===== */
.compare-table-section {
    padding: 80px 20px;
}

.compare-table-section .container {
    max-width: 900px;
}

.compare-table {
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
}

.compare-table-header {
    display: grid;
    grid-template-columns: 1fr 200px 200px;
    background: var(--surface-bg);
    border-bottom: 2px solid var(--card-border);
    padding: 16px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.compare-col {
    display: flex;
    align-items: center;
    gap: 8px;
}

.maia-col, .competitor-col {
    justify-content: center;
    text-align: center;
}

.table-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
}

.compare-table-category {
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-color);
    background: var(--surface-bg);
    border-top: 1px solid var(--card-border);
}

.compare-table-row {
    display: grid;
    grid-template-columns: 1fr 200px 200px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: background 0.15s;
}

.compare-table-row:last-child {
    border-bottom: none;
}

.compare-table-row:hover {
    background: var(--surface-hover-bg);
}

.check-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.cross-icon {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-phrase {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.feature-tooltip {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: 4px;
    cursor: help;
    position: relative;
}

.feature-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #333333;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: normal;
    width: max-content;
    max-width: 260px;
    line-height: 1.4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.feature-tooltip:hover::after {
    opacity: 1;
}


/* ===== DETAILED COMPARISON SECTIONS ===== */
.compare-details-section {
    padding: 80px 20px;
}

.compare-details-section .container {
    max-width: 1000px;
}

.compare-detail-block {
    margin-bottom: 48px;
}

.detail-block-heading {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 24px;
}

.detail-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-col {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.detail-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-col-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.detail-col h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.detail-col p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Maia column gets a subtle green accent border */
.maia-detail {
    border-color: rgba(72, 232, 107, 0.3);
}


/* ===== FAQ SECTION ===== */
.compare-faq-section {
    padding: 80px 20px;
}

.compare-faq-section .container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--card-bg);
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] .faq-question::after {
    content: '\2212';
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ===== INDEX PAGE: COMPARISONS GRID ===== */
.index-hero {
    text-align: center;
    padding: 60px 0 48px;
}

.index-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.index-hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.comparisons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 80px;
}

.comparison-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comparison-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.comparison-card-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--icon-wrapper-bg);
    box-shadow: var(--icon-wrapper-shadow);
}

.logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.vs-badge {
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.comparison-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.comparison-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}


/* ===== RELATED COMPARISONS ===== */
.related-comparisons {
    padding: 60px 20px;
}

.related-comparisons .container {
    max-width: 900px;
}

.related-comparisons h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-primary);
}

.related-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto;
}

.related-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.related-card:hover {
    background: var(--surface-hover-bg);
}

.related-card .arrow {
    color: var(--accent-color);
    font-size: 1.1rem;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .compare-hero h1 {
        font-size: 2.2rem;
    }

    .compare-hero-desc {
        font-size: 1rem;
    }

    .index-hero h1 {
        font-size: 2.2rem;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .compare-table-header,
    .compare-table-row {
        grid-template-columns: 1fr 120px 120px;
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .compare-table-category {
        padding: 10px 16px;
    }

    .detail-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .hero-logo-wrapper {
        width: 56px;
        height: 56px;
        padding: 10px;
    }

    .btn {
        min-width: 300px;
    }

    .bottom-cta-section h2 {
        font-size: 1.8rem;
    }

    .bottom-cta-section .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .compare-table-header,
    .compare-table-row {
        grid-template-columns: 1fr 70px 70px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .table-logo {
        display: none;
    }

    .btn {
        min-width: 260px;
    }
}

@media (max-width: 700px) {
    .auth-actions .login-link {
        display: none;
    }

    .footer {
        padding: 15px 0 !important;
        width: 90% !important;
        box-sizing: border-box;
        transform: none !important;
        max-width: none !important;
        margin: 24px auto 24px auto !important;
        position: static !important;
    }

    .footer-content {
        gap: 16px !important;
        padding: 0 20px !important;
    }

    .footer-row {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }

    .footer-main-row {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
        gap: 12px !important;
    }

    .footer-secondary-row {
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        width: 100%;
        gap: 16px !important;
    }

    .footer-social-and-nav {
        flex-direction: row !important;
        gap: 20px !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }

    .footer-left {
        gap: 12px !important;
        align-items: flex-start !important;
    }

    .footer-nav-extra {
        gap: 16px !important;
    }

    .footer-nav {
        gap: 16px !important;
        justify-content: flex-start !important;
    }

    .footer-social {
        gap: 12px !important;
    }

    .footer-nav a {
        font-size: 14px;
    }

    .desktop-copyright {
        display: none !important;
    }

    .mobile-copyright {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-copyright span {
        font-size: 14px;
        color: var(--footer-text);
    }

    .footer-secondary-row {
        align-items: center !important;
    }

    .footer-copyright {
        text-align: center !important;
    }
}
