/* ── RepShed Landing Page ────────────────────────────── */
:root {
    --bg: #0a0b10;
    --surface: #12141d;
    --surface-2: #1a1d2a;
    --border: #252838;
    --text: #e8e8ec;
    --text-muted: #8b8fa3;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --gradient-1: #6366f1;
    --gradient-2: #a855f7;
    --gradient-3: #ec4899;
    --radius: 12px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── Navigation ───────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

.nav-cta:hover { background: var(--accent-light) !important; }

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
    padding: 140px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.4);
}

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

.hero-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Trust Bar ────────────────────────────────────────── */
.trust {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.trust-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-icon { font-size: 1.2rem; }

/* ── Section Common ───────────────────────────────────── */
.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

/* ── Features ─────────────────────────────────────────── */
.features {
    padding: 96px 0;
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ── How It Works ─────────────────────────────────────── */
.how-it-works {
    padding: 96px 0;
    background: var(--surface);
}

.steps {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    justify-content: center;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-arrow {
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 300;
    margin-top: 10px;
    flex-shrink: 0;
}

/* ── Use Cases ────────────────────────────────────────── */
.use-cases {
    padding: 96px 0;
}

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

.case-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: border-color 0.2s;
}

.case-card:hover { border-color: var(--accent); }

.case-emoji {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.case-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ── CTA Section ──────────────────────────────────────── */
.cta-section {
    padding: 80px 0;
    background: var(--surface);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq {
    padding: 96px 0;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-item summary:hover { color: var(--accent-light); }

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 0 20px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

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

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

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

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

.footer-copy {
    width: 100%;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

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

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
    }

    .nav-links.open { display: flex; }
    .nav-mobile-toggle { display: block; }

    .features-grid,
    .cases-grid { grid-template-columns: 1fr; }

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

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .hero { padding: 120px 20px 60px; }

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

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

    .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .btn-primary { padding: 12px 24px; font-size: 0.95rem; }
}
