/* ================================================
   AFFORDABLE SOCIAL MEDIA MANAGEMENT
   Complete Design System — Built from scratch
   ================================================ */

/* --- Design Tokens --- */
:root {
    --navy: #192734;
    --lime: #d7e278;
    --lime-hover: #cdd86e;
    --everglow: #9399cc;
    --bg: #f7f6f3;
    --white: #ffffff;
    --text: #2d3748;
    --text-light: #718096;
    --border: rgba(25, 39, 52, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Base --- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-family: 'Urbanist', sans-serif;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.75rem;
    font-weight: 800;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
}

h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

p {
    color: var(--text);
}

strong {
    color: var(--navy);
}

em {
    font-style: italic;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 36px;
    width: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Urbanist', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-lime {
    background: var(--lime);
    color: var(--navy);
}

.btn-lime:hover {
    background: var(--lime-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* --- Hero --- */
.hero {
    padding-top: 140px;
    padding-bottom: 64px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--lime);
    color: var(--navy);
    border-radius: 100px;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 16px;
}

.hero p:last-child {
    margin-bottom: 0;
}

/* --- Answer Box --- */
.answer-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-md);
    max-width: 760px;
    margin: 0 auto;
}

.answer-box-label {
    display: block;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--everglow);
    margin-bottom: 12px;
}

.answer-box p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    margin: 0;
}

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table thead th {
    text-align: left;
    padding: 12px 16px;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 2px solid var(--border);
}

.comparison-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

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

.comparison-table tbody tr:nth-child(3) {
    background: rgba(215, 226, 120, 0.12);
    border-radius: var(--radius-sm);
}

.comparison-table tbody tr:nth-child(3) td {
    font-weight: 600;
    color: var(--navy);
}

.comparison-table tbody tr:nth-child(3) td:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.comparison-table tbody tr:nth-child(3) td:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* --- Two-Column Cards (Buyer's Guide) --- */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.column-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.column-card.green {
    border-left: 3px solid var(--lime);
}

.column-card.red {
    border-left: 3px solid var(--everglow);
}

.column-card h3 {
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
}

.column-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.column-card ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.column-card.green ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7a8a2e;
    font-weight: 700;
}

.column-card.red ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: var(--everglow);
    font-weight: 700;
}

/* --- Prose Section (AI Economics) --- */
section p+p {
    margin-top: 20px;
}

/* --- FAQ --- */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

details {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

details[open] {
    box-shadow: var(--shadow-sm);
}

summary {
    padding: 18px 24px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

summary::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--text-light);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.2s ease;
}

details[open] summary::after {
    content: "−";
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* --- CTA Block --- */
.cta-block {
    background: var(--navy);
    border-radius: 20px;
    padding: 64px 40px;
    text-align: center;
}

.cta-block h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.cta-block p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

footer p {
    font-size: 0.8rem;
    color: var(--text-light);
}

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

    h2 {
        font-size: 1.4rem;
    }

    section {
        padding: 56px 0;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .hero p {
        font-size: 1rem;
    }

    .answer-box {
        padding: 24px;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
    }

    .cta-block {
        padding: 48px 24px;
    }
}