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

:root {
    --primary: #1a56db;
    --primary-dark: #1240a8;
    --primary-light: #e8effc;
    --accent: #f59e0b;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --whatsapp: #25D366;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header ──────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 16px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}
.logo-dot { color: var(--primary); }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-header {
    background: var(--primary);
    color: white;
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    font-size: 1.1rem;
}
.btn-whatsapp:hover { background: #1fb855; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ─── Hero ────────────────────────────────────────────── */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-cta { display: flex; gap: 12px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.stat strong { display: block; font-size: 1.5rem; color: var(--primary); }
.stat span { font-size: 0.85rem; color: var(--text-light); }

/* Phone Mockup */
.phone-mockup {
    background: #1f2937;
    border-radius: 32px;
    padding: 12px;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}
.phone-screen {
    background: #e5ddd5;
    border-radius: 22px;
    padding: 20px 12px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.chat-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    max-width: 85%;
    line-height: 1.4;
}
.chat-bubble.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-bubble.user {
    background: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* ─── Sections ────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
    font-size: 1.1rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    background: white;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
    width: 48px; height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.step-card h3 { margin-bottom: 8px; font-weight: 700; }
.step-card p { color: var(--text-light); font-size: 0.9rem; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 28px;
    border-radius: var(--radius);
    background: white;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { margin-bottom: 8px; font-weight: 700; }
.feature-card p { color: var(--text-light); font-size: 0.9rem; }

/* CTA */
.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
    color: white;
}
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: 2rem; margin-bottom: 12px; color: white; }
.cta-inner p { font-size: 1.1rem; margin-bottom: 28px; opacity: 0.9; }
.cta-note { display: block; margin-top: 12px; font-size: 0.85rem; opacity: 0.7; }

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer p { color: var(--text-light); font-size: 0.9rem; }

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { margin: 0 auto 24px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .steps-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.7rem; }
    .hero-stats { flex-direction: column; gap: 12px; }
}
