/* style.css — OpenDiscourse Landing Page */
/* Palette: Monochrome (B&W) + Beige (#D4C5A9, #F5F0E8) */

:root {
    --bg: #F5F0E8;
    --bg-darker: #EDE5D8;
    --text: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #7a7a7a;
    --accent: #D4C5A9;
    --accent-dark: #b8a98d;
    --black: #1a1a1a;
    --white: #F5F0E8;
    --card-bg: rgba(255, 255, 255, 0.6);
    --border: rgba(26, 26, 26, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--black) !important;
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.nav-cta:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

.btn-large {
    font-size: 17px;
    padding: 16px 36px;
    border-radius: 14px;
}

/* ── Hero ── */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 140px 24px 80px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--black);
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-illustration {
    flex: 0 0 400px;
}

.hero-illustration img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

/* ── Features ── */
.features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--black);
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(212, 197, 169, 0.3);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--black);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.feature-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ── How it Works ── */
.how-it-works {
    background: var(--bg-darker);
    padding: 80px 24px;
}

.steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.step p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
}

.step-divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin-top: 24px;
    flex-shrink: 0;
}

/* ── CTA ── */
.cta {
    padding: 80px 24px;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--black);
    color: var(--white);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.cta-inner h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--white);
}

.cta-inner p {
    font-size: 16px;
    color: rgba(245, 240, 232, 0.6);
    margin-bottom: 28px;
}

.cta-inner .btn-primary {
    background: var(--accent);
    color: var(--black);
}

.cta-inner .btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 8px 30px rgba(212, 197, 169, 0.3);
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}

.footer-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── Use Cases ── */
.use-cases {
    background: var(--bg-darker);
    padding: 80px 24px;
}

.use-cases-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.use-case-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.use-case-emoji {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.use-case-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--black);
}

.use-case-card p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ── Why / Comparison ── */
.why {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.why .section-header p {
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 8px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--card-bg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: center;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 18px;
}

.comparison-table thead th.us {
    color: var(--black);
    background: rgba(212, 197, 169, 0.15);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text);
}

.comparison-table td.us {
    background: rgba(212, 197, 169, 0.08);
    font-weight: 600;
}

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

.comparison-table tbody tr:hover {
    background: rgba(212, 197, 169, 0.04);
}

.check {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 16px;
}

.cross {
    color: #b0b0b0;
    font-weight: 700;
    font-size: 16px;
}

.comparison-table small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.tag-dead {
    display: inline-block;
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 120px 20px 60px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-illustration {
        flex: none;
        width: 100%;
    }

    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .steps {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .step-divider {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .cta-inner {
        padding: 40px 24px;
    }

    .cta-inner h2 {
        font-size: 26px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 30px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}