/* ============================================== */
/* Reddit Campaign Landing Page Styles            */
/* ============================================== */

:root {
    --bg-primary: #0D0D0D;
    --bg-secondary: #141414;
    --bg-alt: #111111;
    --bg-card: #1A1A1A;
    --bg-elevated: #222222;

    --stroke-default: #2A2A2A;
    --stroke-light: #333333;

    --accent-blue: #2196F3;
    --accent-cyan: #4FC3F7;
    --accent-gold: #FFC107;
    --accent-green: #4CAF50;

    --text-primary: #FFFFFF;
    --text-secondary: #AAAAAA;
    --text-dim: #666666;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --container-max: 860px;
    --container-narrow: 640px;
}

/* ============================================== */
/* RESET & BASE                                   */
/* ============================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-primary);
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================== */
/* TOP NAV                                        */
/* ============================================== */

.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stroke-default);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--text-primary);
    opacity: 0.85;
}

.nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--accent-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #1976D2;
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================== */
/* HERO                                           */
/* ============================================== */

.hero {
    padding: 80px 24px 72px;
    text-align: center;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(33, 150, 243, 0.08) 0%, transparent 70%);
    border-bottom: 1px solid var(--stroke-default);
}

.hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.25);
}

.hero-headline {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero-headline-dim {
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-sub {
    max-width: 640px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================== */
/* BUTTONS                                        */
/* ============================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.3);
}

.btn-primary:hover {
    background: #1976D2;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(33, 150, 243, 0.4);
}

.btn-primary.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ============================================== */
/* SECTIONS                                       */
/* ============================================== */

.section {
    padding: 64px 24px;
    border-bottom: 1px solid var(--stroke-default);
}

.section-alt {
    background: var(--bg-alt);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.label-blue {
    background: rgba(33, 150, 243, 0.12);
    color: var(--accent-blue);
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.label-cyan {
    background: rgba(79, 195, 247, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.label-gold {
    background: rgba(255, 193, 7, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.section-title {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 680px;
}

.section-body:last-child {
    margin-bottom: 0;
}

/* ============================================== */
/* CALLOUT                                        */
/* ============================================== */

.callout {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    border-left: 3px solid;
}

.callout strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.callout-tip {
    background: rgba(76, 175, 80, 0.07);
    border-color: var(--accent-green);
    color: #c8e6c9;
}

.callout-tip strong {
    color: var(--accent-green);
}

/* ============================================== */
/* FEATURE LIST                                   */
/* ============================================== */

.feature-list {
    list-style: none;
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

.dot-blue { background: var(--accent-blue); }
.dot-cyan { background: var(--accent-cyan); }
.dot-gold { background: var(--accent-gold); }

/* ============================================== */
/* VIEW MODES GRID                                */
/* ============================================== */

.subsection-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 36px;
    letter-spacing: -0.01em;
}

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

.mode-card {
    background: var(--bg-card);
    border: 1px solid var(--stroke-default);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: border-color 0.2s ease;
}

.mode-card:hover {
    border-color: var(--stroke-light);
}

.mode-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.badge-browser {
    background: rgba(33, 150, 243, 0.15);
    color: var(--accent-blue);
}

.badge-text {
    background: rgba(79, 195, 247, 0.12);
    color: var(--accent-cyan);
}

.badge-structure {
    background: rgba(255, 193, 7, 0.12);
    color: var(--accent-gold);
}

.mode-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================== */
/* EXTRAS (API CLIENT / HAR)                      */
/* ============================================== */

.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.extra-card {
    background: var(--bg-card);
    border: 1px solid var(--stroke-default);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color 0.2s ease;
}

.extra-card:hover {
    border-color: var(--stroke-light);
}

.extra-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.free-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(76, 175, 80, 0.15);
    color: var(--accent-green);
}

.extra-body {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================== */
/* CONTACT LIST                                   */
/* ============================================== */

.contact-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-dim);
}

.contact-list a {
    color: var(--accent-cyan);
}

.contact-list a:hover {
    color: var(--text-primary);
}

/* ============================================== */
/* FINAL CTA SECTION                              */
/* ============================================== */

.cta-section {
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(33, 150, 243, 0.07) 0%, transparent 70%);
    border-bottom: none;
    padding: 80px 24px;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(33, 150, 243, 0.2);
    margin-bottom: 4px;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.cta-sub {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ============================================== */
/* FOOTER                                         */
/* ============================================== */

.footer {
    padding: 32px 24px;
    border-top: 1px solid var(--stroke-default);
    background: var(--bg-secondary);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.footer-logo:hover {
    color: var(--text-primary);
}

.footer-logo-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
}

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

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

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

/* ============================================== */
/* RESPONSIVE — TABLET                            */
/* ============================================== */

@media (max-width: 768px) {
    .hero {
        padding: 56px 20px 52px;
    }

    .hero-headline {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
    }

    .modes-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .extras-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .section {
        padding: 48px 20px;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .top-nav {
        padding: 12px 16px;
    }

    .nav-cta {
        font-size: 12px;
        padding: 7px 14px;
    }
}

/* ============================================== */
/* RESPONSIVE — MOBILE                            */
/* ============================================== */

@media (max-width: 480px) {
    .hero-icon {
        width: 56px;
        height: 56px;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .btn-primary.btn-large {
        padding: 15px 20px;
    }

    .hero {
        padding: 44px 16px 44px;
    }

    .hero-headline {
        font-size: 1.4rem;
    }

    .hero-sub {
        font-size: 0.97rem;
    }

    .section {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .nav-cta {
        display: none;
    }

    .contact-list li {
        font-size: 0.9rem;
    }

    .footer-nav {
        gap: 4px 14px;
    }
}
