/* ═══════════════════════════════════════════════════════
   Redacto — Landing Page CSS
   ═══════════════════════════════════════════════════════ */

:root {
    --bg: #0a0a0f;
    --bg-card: #13131a;
    --bg-card-hover: #1a1a25;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #ededf0;
    --text-secondary: #8888a0;
    --text-muted: #55556a;
    --primary: #7c5cfc;
    --primary-hover: #9478ff;
    --primary-glow: rgba(124,92,252,0.15);
    --success: #10b981;
    --radius: 12px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Gradient Text ──────────────────────────────────── */

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #b794f6, #10b981);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Buttons ────────────────────────────────────────── */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.65rem 1.4rem;
    border: none; border-radius: 8px;
    font-family: inherit; font-size: 0.88rem; font-weight: 600;
    cursor: pointer; transition: all var(--transition);
    text-decoration: none; color: #fff;
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 0.8rem 2rem; font-size: 0.95rem; border-radius: 10px; }
.btn-block { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #6949e0);
    box-shadow: 0 2px 16px var(--primary-glow);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-hover), var(--primary)); box-shadow: 0 4px 24px rgba(124,92,252,0.3); transform: translateY(-1px); }

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--text-secondary);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); color: var(--text); border-color: rgba(255,255,255,0.2); }

.btn-nav { padding: 0.45rem 1.1rem; font-size: 0.8rem; }

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */

.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0.75rem 0;
    background: transparent;
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}

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

.nav-logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 1.05rem; font-weight: 800;
    color: var(--text); text-decoration: none;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.82rem; font-weight: 500;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */

.hero {
    padding: 10rem 0 5rem; text-align: center;
    position: relative; overflow: hidden;
}

.hero-inner { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 99px;
    font-size: 0.72rem; font-weight: 600;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 900; line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-sub {
    font-size: 1.08rem; color: var(--text-secondary);
    max-width: 560px; margin: 0 auto 2rem;
    line-height: 1.7;
}
.hero-sub strong { color: var(--text); }

.hero-ctas { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; }

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

.hero-glow {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse at center, rgba(124,92,252,0.08) 0%, transparent 70%);
    pointer-events: none; z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════ */

.trust-bar { padding: 2.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.trust-inner { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }

.trust-item {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; font-weight: 600;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════ */

.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
    display: inline-block;
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 0.25rem 0.75rem; border-radius: 99px;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800; line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════ */

.features { padding: 5rem 0; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all 0.3s ease;
    opacity: 0; transform: translateY(20px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); transition: all 0.5s ease; }
.feature-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }

.feature-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-glow);
    border-radius: 10px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════ */

.how { padding: 5rem 0; }

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

.step {
    flex: 1; max-width: 280px; text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    opacity: 0; transform: translateY(20px);
}
.step.visible { opacity: 1; transform: translateY(0); transition: all 0.5s ease; }

.step-num {
    width: 40px; height: 40px; margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), #6949e0);
    color: #fff; font-size: 1rem; font-weight: 800;
    border-radius: 50%;
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

.step-arrow {
    color: var(--text-muted); font-size: 1.5rem;
    margin-top: 3.5rem; flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════ */

.pricing { padding: 5rem 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 720px; margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    opacity: 0; transform: translateY(20px);
}
.price-card.visible { opacity: 1; transform: translateY(0); transition: all 0.5s ease; }

.price-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px var(--primary-glow);
}

.price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #6949e0);
    color: #fff; font-size: 0.65rem; font-weight: 700;
    padding: 0.25rem 0.85rem; border-radius: 99px;
    letter-spacing: 0.02em;
}

.price-header { text-align: center; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.price-header h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.price-value { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.03em; }
.price-value span { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); }
.price-header p { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }

.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.75rem; }
.price-features li { font-size: 0.82rem; display: flex; align-items: center; gap: 0.5rem; }
.price-features li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background-size: 12px; background-position: center; background-repeat: no-repeat; }
.price-features li.included { color: var(--text); }
.price-features li.included::before { background-color: rgba(16,185,129,0.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.price-features li.excluded { color: var(--text-muted); }
.price-features li.excluded::before { background-color: rgba(255,255,255,0.04); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2355556a' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); }

.pricing-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 1.5rem; }
.pricing-note strong { color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════ */

.faq { padding: 5rem 0; }

.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    opacity: 0; transform: translateY(10px);
}
.faq-item.visible { opacity: 1; transform: translateY(0); transition: all 0.4s ease; }

.faq-item summary {
    padding: 1rem 1.25rem;
    font-size: 0.88rem; font-weight: 600;
    cursor: pointer; color: var(--text);
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--text-muted); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; color: var(--primary); }
.faq-item summary:hover { color: var(--primary); }

.faq-item p { padding: 0 1.25rem 1rem; font-size: 0.82rem; color: var(--text-secondary); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════ */

.final-cta {
    padding: 6rem 0; text-align: center;
    position: relative; overflow: hidden;
}
.final-cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 0.75rem; }
.final-cta p { font-size: 1rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

.cta-glow {
    position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse at center, rgba(124,92,252,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.footer { border-top: 1px solid var(--border); padding: 3rem 0 0; }

.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

.footer-brand { max-width: 260px; }
.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }

.footer-links { display: flex; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.3rem; }
.footer-col a { font-size: 0.78rem; color: var(--text-secondary); text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    margin-top: 2rem; padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    font-size: 0.68rem; color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 8rem 0 3.5rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .trust-inner { gap: 1.5rem; }
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); margin: 0; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .footer-links { gap: 2rem; }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero-badge, .hero h1, .hero-sub, .hero-ctas, .hero-hint {
    animation: fadeInUp 0.6s ease both;
}
.hero h1 { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.2s; }
.hero-ctas { animation-delay: 0.3s; }
.hero-hint { animation-delay: 0.4s; }
