/* ===== ALTOWEB.CL — Minimalist Pastel Design System ===== */
:root {
    --pastel-purple: #E8D5F5;
    --pastel-blue: #D5EBF5;
    --pastel-peach: #F5E6D5;
    --pastel-green: #D5F5E3;
    --pastel-pink: #F5D5E0;
    --pastel-yellow: #F5F0D5;
    --primary: #7C5CFC;
    --primary-light: #A78BFA;
    --primary-dark: #5B3FD4;
    --accent: #F97066;
    --bg: #FAFBFE;
    --bg-alt: #F3F4F8;
    --card: #FFFFFF;
    --text: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border: #E8ECF4;
    --shadow-sm: 0 1px 3px rgba(124,92,252,.06);
    --shadow-md: 0 4px 16px rgba(124,92,252,.08);
    --shadow-lg: 0 12px 40px rgba(124,92,252,.12);
    --shadow-xl: 0 20px 60px rgba(124,92,252,.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(250,251,254,.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    padding: 16px 0;
    transition: all .3s;
}
nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    font-size: 1.5rem; font-weight: 800; color: var(--text);
    text-decoration: none; letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }
.nav-links {
    display: flex; gap: 32px; list-style: none;
}
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: .9rem; font-weight: 500;
    transition: color .3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
    background: var(--primary); color: white;
    padding: 10px 24px; border-radius: 50px;
    text-decoration: none; font-size: .85rem; font-weight: 600;
    transition: all .3s;
    box-shadow: 0 4px 16px rgba(124,92,252,.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(124,92,252,.4); }
.mobile-menu {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px;
}
.mobile-menu span {
    display: block; width: 24px; height: 2px; background: var(--text);
    border-radius: 2px; transition: all .3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px; margin: 0 auto;
    gap: 60px;
}
.hero-content { flex: 1; }
.hero-badge {
    display: inline-block; background: var(--pastel-purple);
    padding: 8px 20px; border-radius: 50px;
    font-size: .8rem; font-weight: 600; color: var(--primary-dark);
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -1.5px; 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-desc {
    font-size: 1.15rem; color: var(--text-muted);
    max-width: 500px; margin-bottom: 32px;
}
.hero-desc strong { color: var(--text); }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: .95rem;
    transition: all .3s; border: none; cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 6px 24px rgba(124,92,252,.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(124,92,252,.45); }
.btn-ghost { color: var(--text-muted); background: transparent; }
.btn-ghost:hover { color: var(--primary); }
.btn-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); background: var(--pastel-purple); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* Hero trust */
.hero-trust { display: flex; align-items: center; gap: 12px; }
.trust-avatars { display: flex; }
.avatar {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; margin-left: -8px;
    border: 2px solid white;
}
.avatar:first-child { margin-left: 0; }
.hero-trust p { font-size: .85rem; color: var(--text-muted); }
.hero-trust strong { color: var(--text); }

/* Hero visual */
.hero-visual { flex: 1; display: flex; justify-content: center; }
.browser-mockup {
    width: 100%; max-width: 480px;
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    overflow: hidden; border: 1px solid var(--border);
}
.browser-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #FF6B6B; }
.browser-dots span:nth-child(2) { background: #FECA57; }
.browser-dots span:nth-child(3) { background: #48DBFB; }
.browser-url {
    flex: 1; text-align: center;
    font-size: .75rem; color: var(--text-muted);
    background: white; padding: 6px 12px; border-radius: 6px;
}
.browser-content { padding: 20px; }
.mock-hero-block {
    height: 80px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-blue));
    margin-bottom: 16px;
}
.mock-cards { display: flex; gap: 10px; margin-bottom: 16px; }
.mock-card {
    flex: 1; height: 60px; border-radius: 8px;
    background: var(--bg-alt); border: 1px solid var(--border);
}
.mock-cta-block {
    height: 36px; border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: white; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 24px;
}
.stats-inner {
    max-width: 1000px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.stat { text-align: center; }
.stat-val {
    display: block; font-size: 1.8rem; font-weight: 800;
    color: var(--primary); letter-spacing: -0.5px;
}
.stat-lbl { font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== SECTIONS ===== */
.section { padding: 100px 24px; }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 60px; }
.section-tag {
    display: inline-block; background: var(--pastel-purple);
    color: var(--primary-dark); padding: 6px 18px; border-radius: 50px;
    font-size: .75rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800; letter-spacing: -0.5px;
    margin-bottom: 12px; line-height: 1.2;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px;
    transition: all .4s; position: relative;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.featured-card { border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.card-badge {
    position: absolute; top: -10px; left: 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white; padding: 4px 14px; border-radius: 20px;
    font-size: .7rem; font-weight: 700; letter-spacing: .5px;
}
.service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.service-card > p { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.service-features { list-style: none; }
.service-features li {
    padding: 4px 0; font-size: .85rem; color: var(--text-muted);
}

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px;
    transition: all .4s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
    font-size: 2.5rem; font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 16px;
}
.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; }
.step-visual { margin-top: auto; }

/* Chat bubbles */
.chat-bubble {
    padding: 10px 14px; border-radius: 12px;
    font-size: .8rem; margin-bottom: 8px; max-width: 85%;
}
.chat-bubble.incoming {
    background: var(--pastel-blue); color: var(--text);
    border-bottom-left-radius: 4px;
}
.chat-bubble.outgoing {
    background: var(--primary); color: white;
    border-bottom-right-radius: 4px; margin-left: auto;
}

/* Progress bar visual */
.progress-bar-visual {
    height: 8px; background: var(--bg-alt);
    border-radius: 10px; overflow: hidden; margin-bottom: 8px;
}
.progress-fill {
    height: 100%; width: 75%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    animation: progressAnim 2s ease-in-out infinite;
}
@keyframes progressAnim {
    0%, 100% { width: 75%; }
    50% { width: 95%; }
}
.progress-label { font-size: .75rem; color: var(--text-muted); }

/* Link preview */
.link-preview {
    display: flex; align-items: center; gap: 8px;
    background: var(--pastel-green); padding: 12px 16px;
    border-radius: var(--radius-sm); font-size: .85rem;
    font-weight: 600; color: #16a34a;
}
.link-icon { font-size: 1.2rem; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px 32px;
    text-align: center; transition: all .4s; position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.price-featured:hover { transform: scale(1.03) translateY(-6px); }
.price-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white; padding: 6px 20px; border-radius: 50px;
    font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.price-card h3 { font-size: 1.3rem; font-weight: 700; }
.price-desc { color: var(--text-muted); font-size: .85rem; margin-bottom: 8px; }
.price-amount {
    font-size: 2.5rem; font-weight: 800; color: var(--primary);
    margin: 16px 0 24px;
}
.price-amount small { font-size: .85rem; color: var(--text-muted); font-weight: 400; }
.price-features {
    list-style: none; text-align: left; margin-bottom: 28px;
}
.price-features li {
    padding: 8px 0 8px 24px; position: relative;
    font-size: .9rem; color: var(--text-muted);
}
.price-features li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--primary); font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
    transition: all .4s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars { margin-bottom: 12px; font-size: .9rem; }
.testimonial-card > p {
    color: var(--text-muted); font-size: .9rem;
    font-style: italic; margin-bottom: 20px; line-height: 1.6;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700; color: var(--primary-dark);
}
.testimonial-author strong { font-size: .9rem; }
.testimonial-author span { font-size: .8rem; color: var(--text-light); }

/* ===== CTA ===== */
.cta-final { padding: 60px 24px 100px; }
.cta-card {
    max-width: 800px; margin: 0 auto; text-align: center;
    background: linear-gradient(135deg, var(--pastel-purple) 0%, var(--pastel-blue) 50%, var(--pastel-peach) 100%);
    border-radius: var(--radius-lg); padding: 72px 48px;
    border: 1px solid rgba(124,92,252,.15);
}
.cta-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px;
}
.cta-card p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 32px; }

/* ===== FOOTER ===== */
footer { background: white; border-top: 1px solid var(--border); padding: 60px 24px 0; }
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px;
}
.footer-brand p { color: var(--text-muted); font-size: .85rem; margin-top: 12px; max-width: 280px; }
.footer-links h4 { font-size: .85rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-links a {
    display: block; color: var(--text-muted); text-decoration: none;
    font-size: .85rem; padding: 4px 0; transition: color .3s;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0; text-align: center;
    max-width: 1100px; margin: 0 auto;
}
.footer-bottom p { font-size: .8rem; color: var(--text-light); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: all .3s;
    animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
    50% { box-shadow: 0 4px 32px rgba(37,211,102,.6); }
}

/* ===== ANIMATIONS ===== */
.animate-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }
.animate-in:nth-child(2) { transition-delay: .12s; }
.animate-in:nth-child(3) { transition-delay: .24s; }
.animate-in:nth-child(4) { transition-delay: .36s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero { flex-direction: column; text-align: center; min-height: auto; padding-top: 100px; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { order: -1; }
    .browser-mockup { max-width: 380px; }
    .services-grid, .steps-grid, .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .price-featured { transform: none; }
    .price-featured:hover { transform: translateY(-6px); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: white; padding: 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .stats-inner { flex-wrap: wrap; gap: 24px; justify-content: center; }
    .stat-divider { display: none; }
    .cta-card { padding: 48px 24px; }
    .footer-inner { grid-template-columns: 1fr; }
}
