/* ===== DESIGN TOKENS ===== */
:root {
    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --accent-light: #eef2ff;
    --accent-glow: rgba(79, 70, 229, 0.15);

    --bg: #ffffff;
    --bg-alt: #f8f9fb;
    --bg-dark: #0a0a0a;
    --bg-dark-card: #141414;

    --text: #0a0a0a;
    --text-secondary: #6b7280;
    --text-light: #ffffff;
    --text-light-secondary: #a1a1aa;

    --border: #e5e7eb;
    --border-dark: #1f1f1f;

    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 4px 24px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,.1);

    --transition: 0.25s cubic-bezier(.4,0,.2,1);
    --transition-slow: 0.5s cubic-bezier(.4,0,.2,1);

    --container: 1120px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--accent); }

/* ===== ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.3s; }
[data-animate][data-delay="4"] { transition-delay: 0.4s; }
[data-animate][data-delay="5"] { transition-delay: 0.5s; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.938rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-accent:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}
.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.nav-links a:hover {
    color: var(--text);
}
.nav-links .btn {
    color: white;
    background: var(--text);
}
.nav-links .btn:hover {
    background: var(--accent);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 0 24px 24px;
}
.mobile-menu a {
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child {
    border-bottom: none;
    margin-top: 8px;
    text-align: center;
}
.mobile-menu .btn {
    color: white;
    background: var(--text);
    justify-content: center;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 80px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.825rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.stat span {
    font-size: 0.825rem;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: var(--text-light-secondary);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 36px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px var(--accent-glow);
    transform: translateY(-4px);
}

.service-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg) 100%);
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 24px;
    padding: 4px 14px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--accent);
}

.service-card.featured .service-icon {
    background: white;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== DEMOS ===== */
.demos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.demo-card {
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-dark);
    overflow: hidden;
    transition: all var(--transition);
    background: var(--bg-dark-card);
}

.demo-card:hover {
    border-color: #333;
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

.demo-preview {
    padding: 24px 24px 0;
}

.demo-mockup {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-bottom: none;
}

.mockup-bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
}

.mockup-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
}

.mockup-content {
    padding: 16px;
    min-height: 140px;
}

.mockup-hero-block {
    height: 40px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.demo-salon .mockup-hero-block { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); }
.demo-dental .mockup-hero-block { background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%); }
.demo-realestate .mockup-hero-block { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); }

.mockup-text-sm {
    height: 8px;
    background: #2a2a2a;
    border-radius: 4px;
    margin-bottom: 6px;
    width: 80%;
}

.mockup-text-sm.short { width: 50%; margin-bottom: 14px; }

.mockup-grid-3, .mockup-grid-2 {
    display: grid;
    gap: 8px;
}

.mockup-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mockup-grid-2 { grid-template-columns: repeat(2, 1fr); }

.mockup-grid-3 > div, .mockup-grid-2 > div {
    height: 32px;
    background: #2a2a2a;
    border-radius: 4px;
}

.demo-info {
    padding: 24px;
}

.demo-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 6px;
    display: block;
}

.demo-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-light);
}

.demo-info p {
    font-size: 0.875rem;
    color: var(--text-light-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap var(--transition);
}

.demo-card:hover .demo-link {
    gap: 10px;
}

/* ===== WHY US ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    padding: 36px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.why-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.why-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.why-card:hover .why-number {
    opacity: 1;
}

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

.why-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--bg-alt);
}

.cta-box {
    text-align: center;
    padding: 72px 48px;
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-box > p {
    color: var(--text-light-secondary);
    font-size: 1.05rem;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-section .btn-outline {
    border-color: #333;
    color: var(--text-light);
}
.cta-section .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cta-note {
    font-size: 0.825rem;
    color: var(--text-light-secondary);
    position: relative;
    z-index: 1;
}

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

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-left .logo {
    display: inline-block;
    margin-bottom: 8px;
}

.footer-left p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--text);
}

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

/* ===== STICKY WHATSAPP ===== */
.whatsapp-sticky {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    opacity: 0;
    transform: scale(0.8) translateY(20px);
}

.whatsapp-sticky.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.whatsapp-sticky:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    white-space: nowrap;
    background: var(--bg-dark);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(8px);
    transition: all var(--transition);
    pointer-events: none;
}

.whatsapp-sticky:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ===== SECTION ALT ===== */
.section-alt {
    background: var(--bg-alt);
}

/* ===== PROCESS ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.process-card {
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.process-step {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--accent);
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.process-line {
    position: absolute;
    top: 28px;
    left: calc(50% + 36px);
    width: calc(100% - 32px);
    height: 2px;
    background: var(--border);
}

.process-card:last-child .process-line { display: none; }

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

.process-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 40%);
    transform: scale(1.04);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.5;
}

.pricing-features {
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

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

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    gap: 16px;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--text-secondary);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .services-grid,
    .demos-grid,
    .why-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu.open { display: flex; }

    .hero-content {
        padding: 48px 0;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .services-grid,
    .demos-grid,
    .why-grid,
    .pricing-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-line {
        display: none;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .section {
        padding: 72px 0;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .whatsapp-sticky {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        justify-content: center;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
