/* =========================================
   SimpleAccount Landing Page — Styles
   Brand: Teal #14b8a6
   ========================================= */

/* --- Self-hosted Inter (privacy-friendly, sin Google Fonts) ---
   Archivos esperados en assets/fonts/ — correr scripts/download-fonts.sh
   para descargarlos la primera vez.
   Licencia: SIL Open Font License 1.1 (permite redistribución) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/inter-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('assets/fonts/inter-800.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('assets/fonts/inter-900.woff2') format('woff2');
}

:root {
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-200: #99f6e4;
    --primary-300: #5eead4;
    --primary-400: #2dd4bf;
    --primary-500: #14b8a6;
    --primary-600: #0d9488;
    --primary-700: #0f766e;
    --primary-800: #115e59;
    --primary-900: #134e4a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.nav-logo-img { height: 36px; width: auto; }

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

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

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

.nav-actions { display: flex; gap: 12px; align-items: center; }

.btn-ghost {
    text-decoration: none;
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-ghost:hover { background: var(--gray-100); }

.btn-primary-sm {
    text-decoration: none;
    background: var(--primary-500);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-primary-sm:hover { background: var(--primary-600); transform: translateY(-1px); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-50) 0%, white 100%);
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-300), transparent 70%);
    top: -200px; right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--primary-400), transparent 70%);
    bottom: -100px; left: -50px;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    top: 100px; left: 40%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: white;
    border: 1px solid var(--primary-200);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--primary-500);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary-500), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius);
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: white;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-200);
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--primary-300);
    color: var(--primary-700);
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-100);
}

.proof-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-item { text-align: center; }

.proof-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-600);
    line-height: 1;
}

.proof-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.proof-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.badge-dark {
    background: var(--gray-900);
    color: var(--primary-300);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-highlight {
    grid-row: span 2;
    background: linear-gradient(180deg, var(--primary-50), white);
    border-color: var(--primary-100);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-500);
    font-weight: 700;
}

.reports-banner {
    margin-top: 48px;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.reports-content h3 {
    font-size: 1.5rem;
    color: white;
    font-weight: 800;
    margin-bottom: 12px;
}

.reports-content p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== AI SECTION ===== */
.ai-section {
    padding: 100px 0;
    background: var(--gray-900);
    color: white;
}

.ai-section .section-header h2 { color: white; }
.ai-section .section-header p { color: var(--gray-400); }

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

.ai-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s;
}

.ai-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.ai-featured {
    grid-column: span 4;
    background: linear-gradient(135deg, rgba(20,184,166,0.15), rgba(99,102,241,0.1));
    border-color: rgba(20,184,166,0.3);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: center;
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.ai-avatar {
    font-size: 2rem;
    background: rgba(20,184,166,0.2);
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.ai-channels {
    font-size: 0.8rem;
    color: var(--primary-400);
    font-weight: 500;
}

.ai-featured p { color: var(--gray-300); font-size: 0.95rem; }

.ai-emoji {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.ai-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-card p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.ai-chat-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 90%;
    animation: fadeInUp 0.6s ease-out;
}

.chat-bubble.user {
    background: var(--primary-600);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
    background: rgba(255,255,255,0.1);
    color: var(--gray-200);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

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

/* ===== PRICING ===== */
.pricing {
    padding: 100px 0;
    background: var(--gray-50);
}

.pricing-toggle {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 48px;
    background: white;
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--gray-200);
}

.toggle-btn {
    padding: 10px 24px;
    border: none;
    background: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    font-family: inherit;
}

.toggle-btn.active {
    background: var(--primary-500);
    color: white;
}

.toggle-badge {
    background: #fbbf24;
    color: #92400e;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.price-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.price-card.popular {
    border-color: var(--primary-400);
    box-shadow: 0 8px 40px rgba(20,184,166,0.2);
    transform: scale(1.04);
}

.price-card.popular:hover { transform: scale(1.04) translateY(-6px); }

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 100px;
    white-space: nowrap;
}

.price-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900);
}

.price-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
    margin-bottom: 16px;
}

.price-amount {
    margin-bottom: 24px;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    vertical-align: top;
}

.price-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: var(--gray-400);
    font-weight: 500;
}

.price-savings {
    font-size: 0.8rem;
    color: var(--primary-600);
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: -16px;
}

.btn-price {
    display: block;
    padding: 14px;
    border: 1.5px solid var(--gray-200);
    background: white;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.2s;
    margin-bottom: 24px;
}

.btn-price:hover {
    border-color: var(--primary-400);
    color: var(--primary-700);
}

.btn-price-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    border-color: transparent;
}

.btn-price-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
}

.price-features {
    list-style: none;
    text-align: left;
}

.price-features li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-50);
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li::before {
    content: '✓';
    color: var(--primary-500);
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-enterprise {
    text-align: center;
    margin-top: 40px;
    color: var(--gray-500);
    font-size: 0.95rem;
}

.pricing-enterprise a {
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: none;
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
}

.faq-grid {
    max-width: 740px;
    margin: 0 auto;
}

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

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

.faq-item summary:hover { color: var(--primary-600); }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-400);
    transition: transform 0.3s;
}

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

.faq-item p {
    padding: 0 0 20px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CTA FINAL ===== */
.cta-final {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-600), #4f46e5);
    text-align: center;
    color: white;
}

.cta-final h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-final p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final .btn-primary {
    background: white;
    color: var(--primary-700);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-final .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    padding: 64px 0 32px;
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-col a:hover .footer-icon { opacity: 1; }

.footer-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary-400); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-highlight { grid-row: span 1; }
    .ai-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-featured { grid-column: span 2; grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: flex; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: white;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }
    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(72px + var(--nav-links-height, 200px));
        left: 0; right: 0;
        background: white;
        padding: 0 24px 24px;
        gap: 12px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }
    .nav-actions.active .btn-primary-sm {
        display: block;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    .features, .ai-section, .pricing, .faq { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 24px; }
    .ai-grid { grid-template-columns: 1fr; }
    .ai-featured { grid-column: span 1; grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .price-card.popular { transform: none; }
    .price-card { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .proof-divider { display: none; }
    .proof-grid { gap: 24px; }
    .reports-banner { padding: 24px; }
    .reports-content h3 { font-size: 1.2rem; }
    .cta-final { padding: 60px 0; }
    .faq-item summary { font-size: 0.95rem; padding: 16px 0; }
    /* Touch-friendly tap targets */
    .btn-primary, .btn-outline, .btn-price, .btn-primary-sm, .btn-ghost {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 100px 0 40px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-badge { font-size: 0.75rem; padding: 5px 12px; }
    .hero-trust { flex-direction: column; gap: 12px; align-items: center; }
    .proof-number { font-size: 2rem; }
    .section-header h2 { font-size: 1.6rem; }
    .price-value { font-size: 2.2rem; }
    .ai-card { padding: 16px; }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
    border-top: 1px solid var(--gray-200);
    z-index: 95;
    padding: 20px 24px;
    animation: cookie-slide-up 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner[hidden] { display: none; }

@keyframes cookie-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-banner-text { flex: 1; min-width: 0; }

.cookie-banner-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 6px;
}

.cookie-banner-text p {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.55;
}

.cookie-banner-text a {
    color: var(--primary-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover { color: var(--primary-700); }

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: var(--primary-500);
    color: white;
}

.cookie-btn-primary:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20,184,166,0.35);
}

.cookie-btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.cookie-btn-secondary:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.cookie-btn-link {
    background: transparent;
    color: var(--gray-600);
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 10px 8px;
}

.cookie-btn-link:hover { color: var(--primary-600); }

.cookie-btn:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: cookie-modal-in 0.25s ease;
}

.cookie-modal[hidden] { display: none; }

@keyframes cookie-modal-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cookie-modal-dialog {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 70px rgba(0,0,0,0.3);
    animation: cookie-dialog-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookie-dialog-in {
    from { transform: translateY(16px) scale(0.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.cookie-modal-close {
    background: transparent;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.cookie-modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.cookie-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.cookie-category {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.cookie-category:last-child { border-bottom: none; }

.cookie-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.cookie-category-head strong {
    font-size: 0.98rem;
    color: var(--gray-900);
    font-weight: 600;
}

.cookie-always-on {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 4px;
}

.cookie-category p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin: 0;
}

/* ===== SWITCH TOGGLE ===== */
.cookie-switch {
    position: relative;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookie-slider {
    position: absolute;
    inset: 0;
    background: var(--gray-300);
    border-radius: 24px;
    transition: background 0.2s;
}

.cookie-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.cookie-switch input:checked + .cookie-slider {
    background: var(--primary-500);
}

.cookie-switch input:checked + .cookie-slider::before {
    transform: translateX(18px);
}

.cookie-switch-disabled {
    cursor: not-allowed;
}

.cookie-switch-disabled .cookie-slider {
    background: var(--primary-200);
    opacity: 0.7;
}

.cookie-switch input:focus-visible + .cookie-slider {
    box-shadow: 0 0 0 3px rgba(20,184,166,0.35);
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 0 0 16px 16px;
}

@media (max-width: 768px) {
    .cookie-banner { padding: 16px; }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .cookie-banner-actions {
        flex-wrap: wrap;
        justify-content: stretch;
    }
    .cookie-banner-actions .cookie-btn {
        flex: 1;
        min-width: 0;
        text-align: center;
    }
    .cookie-banner-actions .cookie-btn-link {
        flex-basis: 100%;
        order: -1;
    }
    .cookie-modal-dialog { max-height: 94vh; }
    .cookie-modal-footer {
        flex-direction: column-reverse;
    }
    .cookie-modal-footer .cookie-btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner,
    .cookie-modal,
    .cookie-modal-dialog { animation: none; }
}

/* ===== WHATSAPP FLOATING CTA ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.1);
    z-index: 90;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2.6s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.5), 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--gray-900);
    color: white;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -4px;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--gray-900);
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 6px 28px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.08); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
    .whatsapp-tooltip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { animation: none; }
}

/* ===== PRODUCT PREVIEW ===== */
.product-preview {
    padding: 100px 0;
    background: linear-gradient(180deg, white 0%, var(--primary-50) 100%);
}

.preview-main {
    max-width: 1100px;
    margin: 0 auto 60px;
}

.browser-frame {
    background: #f1f5f9;
    border-radius: 14px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #e2e8f0;
    border-bottom: 1px solid #cbd5e1;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #eab308; }
.browser-dot.green { background: #22c55e; }

.browser-url {
    margin-left: 16px;
    background: white;
    padding: 4px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--gray-500);
    flex: 1;
    text-align: center;
    max-width: 360px;
}

.screenshot-placeholder {
    position: relative;
    background: white;
    min-height: 480px;
    display: flex;
    overflow: hidden;
}

.screenshot-hero { padding: 0; }

.mock-sidebar {
    width: 200px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-logo {
    height: 32px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 6px;
    margin-bottom: 20px;
}

.mock-menu-item {
    height: 28px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
}

.mock-menu-item.active {
    background: rgba(20,184,166,0.2);
    border-left: 3px solid var(--primary-500);
}

.mock-content {
    flex: 1;
    padding: 32px 28px;
    background: linear-gradient(180deg, #f8fafc, white);
}

.mock-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.mock-kpi {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.mock-kpi span {
    display: block;
    font-size: 0.72rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.mock-kpi strong {
    font-size: 1.3rem;
    color: var(--gray-900);
    font-weight: 700;
}

.mock-chart {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    height: 240px;
    background-image: linear-gradient(180deg, rgba(20,184,166,0.08), transparent 70%),
                      repeating-linear-gradient(90deg, transparent 0, transparent 49px, rgba(0,0,0,0.03) 50px),
                      linear-gradient(135deg, transparent 50%, rgba(20,184,166,0.15) 50%, rgba(20,184,166,0.05) 65%, transparent 65%);
    position: relative;
}

.mock-chart::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
    border-radius: 2px;
}

.placeholder-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15,23,42,0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.preview-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.preview-screenshot {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.preview-facturacion {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.1), transparent),
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(255,255,255,0.08) 20px, rgba(255,255,255,0.08) 21px);
}

.preview-chatbot {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.preview-chatbot::before {
    content: '💬';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.3;
}

.preview-reportes {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.1), transparent),
        repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(255,255,255,0.1) 30px, rgba(255,255,255,0.1) 32px);
}

.preview-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    padding: 20px 24px 8px;
    margin: 0;
}

.preview-card p {
    padding: 0 24px 24px;
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 1024px) {
    .preview-grid { grid-template-columns: repeat(2, 1fr); }
    .mock-kpi-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .product-preview { padding: 60px 0; }
    .preview-grid { grid-template-columns: 1fr; }
    .browser-bar { padding: 8px 12px; }
    .browser-url { font-size: 0.7rem; max-width: 200px; }
    .mock-sidebar { display: none; }
    .mock-content { padding: 20px 16px; }
    .mock-kpi strong { font-size: 1rem; }
    .mock-chart { height: 180px; }
    .screenshot-placeholder { min-height: 340px; }
}

/* ===== ENTERPRISE PLANS ===== */
.enterprise-header {
    text-align: center;
    max-width: 680px;
    margin: 80px auto 36px;
}

.enterprise-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 14px 0 10px;
    letter-spacing: -0.02em;
}

.enterprise-header p {
    color: var(--gray-600);
    font-size: 1rem;
}

.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.enterprise-card {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(148,163,184,0.15);
    color: #e2e8f0;
}

.enterprise-card .price-header h3,
.enterprise-card .price-amount {
    color: white;
}

.enterprise-card .price-desc {
    color: #94a3b8;
}

.enterprise-card .price-currency {
    color: var(--primary-300);
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 4px;
}

.enterprise-card .price-value {
    color: white;
}

.enterprise-card .price-period {
    color: #94a3b8;
}

.enterprise-card .price-savings {
    color: var(--primary-300);
    font-weight: 500;
}

.enterprise-card .price-features {
    color: #cbd5e1;
}

.enterprise-card .price-features li {
    border-bottom-color: rgba(148,163,184,0.1);
}

.enterprise-card .price-features strong {
    color: var(--primary-300);
}

.enterprise-card .btn-price {
    background: rgba(20,184,166,0.1);
    color: var(--primary-300);
    border: 1px solid var(--primary-500);
}

.enterprise-card .btn-price:hover {
    background: var(--primary-500);
    color: white;
}

.enterprise-card .btn-price-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    border: none;
}

.enterprise-card .btn-price-primary:hover {
    background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
}

.enterprise-card.enterprise-pro {
    border: 2px solid var(--primary-500);
    box-shadow: 0 12px 50px rgba(20,184,166,0.25);
    position: relative;
}

.enterprise-card.enterprise-pro .popular-badge {
    background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
}

@media (max-width: 768px) {
    .enterprise-header { margin: 60px auto 24px; }
    .enterprise-header h3 { font-size: 1.4rem; }
    .enterprise-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(180deg, white, var(--gray-50));
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.05rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gray-700);
    font-style: normal;
    quotes: none;
    margin: 0;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--gray-900);
    font-size: 0.95rem;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--gray-500);
}

.testimonial-pending {
    background: linear-gradient(180deg, var(--primary-50), white);
    border: 2px dashed var(--primary-300);
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.testimonial-pending:hover {
    border-color: var(--primary-500);
    border-style: solid;
}

.pending-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
}

.pending-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.pending-text {
    font-size: 0.92rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.55;
    max-width: 260px;
}

.pending-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 18px;
    background: var(--primary-500);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.pending-cta:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .testimonials { padding: 60px 0; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 24px 20px; }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--primary-50) 0%, white 40%);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 16px 0 12px;
    letter-spacing: -0.02em;
}

.legal-meta {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    box-shadow: var(--shadow-md);
    line-height: 1.7;
    color: var(--gray-700);
}

.legal-intro {
    font-size: 1.05rem;
    color: var(--gray-700);
    padding: 20px;
    background: var(--primary-50);
    border-left: 4px solid var(--primary-500);
    border-radius: 8px;
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-100);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 24px 0 10px;
}

.legal-content p { margin-bottom: 14px; }

.legal-content ul {
    margin: 12px 0 20px 20px;
    padding-left: 16px;
}

.legal-content ul li { margin-bottom: 8px; }

.legal-content a {
    color: var(--primary-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover { color: var(--primary-700); }

.legal-notice {
    margin-top: 40px;
    padding: 20px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #78350f;
}

@media (max-width: 768px) {
    .legal-page { padding: 100px 0 40px; }
    .legal-header h1 { font-size: 1.8rem; }
    .legal-content { padding: 28px 20px; }
    .legal-content h2 { font-size: 1.2rem; }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== MICRO-INTERACTIONS ===== */
.feature-card:active {
    transform: scale(0.98);
}

.ai-card:active {
    transform: scale(0.98);
}

.price-card:active {
    transform: scale(0.98);
}

/* Subtle glow on focused buttons for keyboard nav */
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-price:focus-visible,
.btn-primary-sm:focus-visible {
    outline: 3px solid var(--primary-300);
    outline-offset: 2px;
}

/* Smooth icon hover rotation */
.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Chat message typing animation */
.chat-bubble.bot {
    animation: fadeInUp 0.6s ease-out, typing 0.3s ease;
}

/* Pricing popular pulse */
.price-card.popular {
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 8px 40px rgba(20,184,166,0.2); }
    50% { box-shadow: 0 8px 50px rgba(20,184,166,0.35); }
}

/* FAQ chevron smooth rotation */
.faq-item summary::after {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
}

/* Social proof counter animation */
.proof-number {
    transition: color 0.3s;
}

.proof-item:hover .proof-number {
    color: var(--primary-500);
}

/* Nav scroll shadow */
#navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* Trust items fade in stagger */
.hero-trust .trust-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}
.hero-trust .trust-item:nth-child(1) { animation-delay: 0.3s; }
.hero-trust .trust-item:nth-child(2) { animation-delay: 0.5s; }
.hero-trust .trust-item:nth-child(3) { animation-delay: 0.7s; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-trust .trust-item { opacity: 1; }
    .shape { animation: none; }
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary-600);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 200;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* High contrast focus rings */
*:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

