/* ══════════════════════════════════════════════════════════════════
   HOME PAGE — MD3 landing page styles
   ══════════════════════════════════════════════════════════════════ */

.home-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--gap-lg);
}

/* ── Hero Section ─────────────────────────────────────────────── */

.home-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 72px 16px 56px;
    gap: 8px;
}

.home-hero-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 24px rgba(157, 36, 153, 0.35));
}

.home-hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-high);
    margin: 0;
}

.home-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-medium);
    margin: 4px 0 0;
}

.home-hero-desc {
    font-size: 0.95rem;
    color: var(--text-low);
    line-height: 1.6;
    max-width: 420px;
    margin: 8px 0 0;
}

.home-hero-cta {
    margin-top: 24px;
    height: 48px;
    padding: 0 32px;
    font-size: 1rem;
}

.home-hero-cta .material-symbols-rounded {
    font-size: 1.25rem;
}

/* ── Section Title ────────────────────────────────────────────── */

.home-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-high);
    text-align: center;
    margin: 0 0 32px;
    letter-spacing: -0.01em;
}

/* ── Features Grid ────────────────────────────────────────────── */

.home-features {
    padding: 48px 0;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-feature-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1),
                box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1),
                border-color 0.2s ease;
}

.home-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-2);
    border-color: rgba(157, 36, 153, 0.3);
}

.home-feature-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: block;
}

.home-feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-high);
    margin: 0 0 8px;
    opacity: 1;
}

.home-feature-card p {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
}

/* ── Module Section ──────────────────────────────────────────── */

.home-module {
    padding: 48px 0;
    border-top: 1px solid var(--border-subtle);
}

.home-module-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    justify-content: center;
}

.home-module-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.home-module-header .home-section-title {
    text-align: left;
    margin: 0;
}

.home-module-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 4px 0 0;
    line-height: 1.4;
}

.home-module-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* ── Comparison Table ─────────────────────────────────────────── */

.home-comparison {
    padding: 48px 0;
}

.home-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--surface-card);
}

.home-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.home-table th,
.home-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-high);
}

.home-table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-medium);
    background: rgba(255, 255, 255, 0.03);
}

.home-table td:first-child,
.home-table th:first-child {
    text-align: left;
}

.home-table tbody tr:last-child td {
    border-bottom: none;
}

.home-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.home-table-brand {
    color: var(--color-primary) !important;
    font-weight: 600;
}

/* Icons inside table */
.home-check,
.home-cross,
.home-warn {
    font-size: 1.25rem;
    vertical-align: middle;
}

.home-check { color: var(--color-success); }
.home-cross { color: var(--color-danger); opacity: 0.7; }
.home-warn  { color: var(--color-warning); opacity: 0.8; }

/* ── Footer ───────────────────────────────────────────────────── */

.home-footer {
    text-align: center;
    padding: 40px 0 48px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 8px;
}

.home-footer p {
    font-size: 0.8rem;
    color: var(--text-low);
    margin: 0;
}

.home-footer-copy {
    margin-top: 6px !important;
    font-size: 0.75rem !important;
    opacity: 0.7;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 768px) {
    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-hero {
        padding: 48px 16px 40px;
    }

    .home-hero-title {
        font-size: 2.25rem;
    }

    .home-table th,
    .home-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .home-features-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-title {
        font-size: 1.85rem;
    }

    .home-hero-subtitle {
        font-size: 1.1rem;
    }

    .home-page {
        padding: 0 var(--gap-md);
    }
}
