/* ═══════════════════════════════════════════════════
   Nexia Landing — Premium Dark Theme v2.0
   Partículas, glassmorphism, micro-animaciones
   ═══════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-hover: rgba(255,255,255,0.07);
    --bg-glass: rgba(255,255,255,0.06);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --text-primary: #f0f0f5;
    --text-secondary: rgba(240,240,245,0.65);
    --text-muted: rgba(240,240,245,0.4);
    --accent: #6c5ce7;
    --accent-2: #00cec9;
    --accent-glow: rgba(108,92,231,0.35);
    --accent-glow-2: rgba(0,206,201,0.3);
    --gradient: linear-gradient(135deg, #6c5ce7, #a29bfe, #00cec9);
    --gradient-bg: radial-gradient(ellipse at 20% 50%, rgba(108,92,231,0.12) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(0,206,201,0.08) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 100%, rgba(253,121,168,0.06) 0%, transparent 50%);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(108,92,231,0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xl: 24px;
    --container: 1200px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mx-auto { max-width: 600px; margin-left: auto; margin-right: auto; }

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(108,92,231,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(108,92,231,0.5); }

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.nav.scrolled {
    padding: 10px 0;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after { width: 100%; }

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

.lang-toggle {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover { border-color: var(--border-hover); color: var(--text-primary); }

.btn-ghost {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.btn-ghost:hover { color: var(--text-primary); }

.btn-primary, .btn-primary-lg {
    padding: 10px 24px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-primary-lg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::before, .btn-primary-lg:hover::before { opacity: 1; }

.btn-primary:hover, .btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary-lg { padding: 16px 36px; font-size: 16px; border-radius: 14px; }

.btn-outline {
    padding: 16px 32px;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: rgba(108,92,231,0.08);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-bg);
    z-index: 0;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeUp 0.8s ease;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00b894;
    box-shadow: 0 0 8px rgba(0,184,148,0.5);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease 0.1s both;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
    animation: fadeUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 56px;
    animation: fadeUp 0.8s ease 0.4s both;
}

.hero-stat-value {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── Hero Visual — Chat Mockup ── */
.hero-visual {
    position: relative;
    animation: fadeUp 1s ease 0.4s both;
}

.hero-mockup {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.mockup-dot:first-child { background: #ff5f56; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #27c93f; }

.mockup-chat {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 280px;
}

.mockup-msg {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 85%;
    animation: msgAppear 0.5s ease both;
}

.mockup-msg.user {
    align-self: flex-end;
    background: var(--accent);
    color: white;
    border-bottom-right-radius: 4px;
}

.mockup-msg.bot {
    align-self: flex-start;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
    color: var(--text-primary);
}

.mockup-msg:nth-child(1) { animation-delay: 0.5s; }
.mockup-msg:nth-child(2) { animation-delay: 1.2s; }
.mockup-msg:nth-child(3) { animation-delay: 2s; }
.mockup-msg:nth-child(4) { animation-delay: 2.8s; }

/* ── Floating cards ── */
.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

.float-icon { font-size: 18px; }

.card-1 { top: 15%; right: -30px; animation: float 6s ease-in-out infinite; }
.card-2 { bottom: 15%; left: -20px; animation: float 6s ease-in-out infinite 3s; }

/* ═══════════════════════════════════════
   TRUSTED BY / INDUSTRIES
   ═══════════════════════════════════════ */
.trusted {
    padding: 64px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trusted-label {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.trusted-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trusted-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: var(--transition);
}

.trusted-item:hover {
    border-color: var(--accent);
    background: rgba(108,92,231,0.08);
    transform: translateY(-2px);
}

.t-icon { font-size: 18px; }

/* ═══════════════════════════════════════
   SECTIONS COMMON
   ═══════════════════════════════════════ */
.section {
    padding: 120px 0;
    position: relative;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(108,92,231,0.1);
    border: 1px solid rgba(108,92,231,0.2);
    border-radius: 50px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 56px;
}

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

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(108,92,231,0.1);
    border: 1px solid rgba(108,92,231,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

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

.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px var(--accent-glow);
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   PRICING
   ═══════════════════════════════════════ */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
}

.pricing-toggle span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.pricing-toggle span.active { color: var(--text-primary); }

.toggle-switch {
    width: 48px;
    height: 26px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 8px var(--accent-glow);
}

.toggle-switch.annual::after { transform: translateX(22px); }

.save-badge {
    padding: 4px 10px;
    background: rgba(0,206,201,0.15);
    color: var(--accent-2);
    border-radius: 50px;
    font-size: 11px !important;
    font-weight: 700 !important;
}

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

.pricing-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.pricing-card.popular {
    border-color: var(--accent);
    background: rgba(108,92,231,0.06);
    box-shadow: 0 0 60px rgba(108,92,231,0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 28px;
}

.pricing-amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
}

.pricing-period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-2);
    font-weight: 700;
    font-size: 14px;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-features li.disabled::before {
    content: '—';
    color: var(--text-muted);
}

.pricing-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.pricing-btn.primary {
    background: var(--gradient);
    color: white;
}

.pricing-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.pricing-btn.outline {
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.pricing-btn.outline:hover {
    border-color: var(--accent);
    background: rgba(108,92,231,0.08);
}

/* ═══════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

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

.testimonial-stars {
    color: #f1c40f;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
}

.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ═══════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════ */
.cta-section {
    padding: 120px 0;
}

.cta-box {
    background: rgba(108,92,231,0.06);
    border: 1px solid rgba(108,92,231,0.2);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(108,92,231,0.1), transparent 70%);
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
}

.cta-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    position: relative;
}

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

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

.footer-brand-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

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

.footer-col-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 16px;
}

.footer-social a:hover { color: var(--text-primary); }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes msgAppear {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(108,92,231,0.1); }
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.reveal-delay-1 { transition-delay: 0.15s; }
.reveal.reveal-delay-2 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet (1024px)
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-content { align-items: center; display: flex; flex-direction: column; }
    .hero-description { max-width: 600px; margin-left: auto; margin-right: auto; }
    .hero-visual { max-width: 480px; margin: 0 auto; }
    .hero-float-card.card-1 { right: -10px; }
    .hero-float-card.card-2 { left: -10px; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card:last-child { grid-column: span 2; max-width: 400px; margin: 0 auto; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-card:last-child { grid-column: span 2; max-width: 400px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile (768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .container { padding: 0 16px; }

    /* ── Nav Mobile ── */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: rgba(10,10,15,0.97);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 80px 32px;
        gap: 24px;
        z-index: 999;
        border-left: 1px solid var(--border);
    }
    .nav-links.open { display: flex; animation: slideIn 0.3s ease; }
    .nav-links a { font-size: 18px; }
    .nav-toggle { display: block; }
    .btn-ghost { display: none; }
    .nav-actions .btn-primary { padding: 8px 16px; font-size: 13px; }
    .lang-toggle { padding: 4px 10px; font-size: 11px; }

    /* ── Hero Mobile ── */
    .hero { padding: 90px 0 48px; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .hero-content { align-items: center; display: flex; flex-direction: column; }
    .hero-title { font-size: clamp(28px, 7vw, 42px); letter-spacing: -1px; }
    .hero-description { font-size: 16px; max-width: 100%; margin-left: 0; margin-right: 0; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
    .hero-stat-value { font-size: 24px; }
    .hero-float-card { display: none; }
    .hero-visual { max-width: 100%; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn-primary-lg,
    .hero-actions .btn-outline { width: 100%; text-align: center; display: block; }
    .btn-primary-lg { padding: 14px 24px; font-size: 15px; }
    .btn-outline { padding: 14px 24px; font-size: 15px; }

    /* ── Sections Mobile ── */
    .section-title { font-size: clamp(24px, 6vw, 32px); letter-spacing: -0.5px; }
    .section-subtitle { font-size: 15px; margin-bottom: 36px; }

    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px 20px; }

    .steps-grid { grid-template-columns: 1fr; gap: 20px; }
    .steps-grid::after { display: none; }
    .step-card { padding: 28px 20px; }

    .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
    .pricing-card { padding: 28px 20px; }
    .pricing-card:last-child { grid-column: span 1; max-width: none; }
    .pricing-amount { font-size: 40px; }

    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .testimonial-card:last-child { grid-column: span 1; max-width: none; }
    .testimonial-card { padding: 24px 20px; }

    .cta-box { padding: 40px 20px; }
    .cta-title { font-size: 24px; }
    .cta-desc { font-size: 15px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

    /* ── Trusted Mobile ── */
    .trusted { padding: 40px 0; }
    .trusted-grid { gap: 12px; }
    .trusted-item { font-size: 12px; padding: 8px 14px; }
    .trusted-label { font-size: 11px; letter-spacing: 2px; }

    /* ── Pricing Toggle Mobile ── */
    .pricing-toggle { margin-bottom: 32px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Small Phone (480px)
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .hero { padding: 80px 0 40px; }
    .hero-title { font-size: 26px; letter-spacing: -0.5px; }
    .hero-description { font-size: 14px; line-height: 1.7; }
    .hero-badge { font-size: 11px; padding: 5px 12px; }
    .hero-stat-value { font-size: 20px; }
    .hero-stat-label { font-size: 11px; }
    .hero-stats { gap: 16px; }
    .feature-card { padding: 20px 16px; }
    .feature-title { font-size: 16px; }
    .feature-desc { font-size: 13px; }
    .step-card { padding: 24px 16px; }
    .pricing-card { padding: 24px 16px; }
    .pricing-amount { font-size: 34px; }
    .pricing-name { font-size: 18px; }
    .section { padding: 48px 0; }
    .section-title { font-size: 22px; }
    .section-subtitle { font-size: 14px; margin-bottom: 28px; }
    .cta-box { padding: 32px 16px; border-radius: 16px; }
    .cta-title { font-size: 20px; }
    .mockup-chat { padding: 16px; min-height: 200px; }
    .mockup-msg { font-size: 13px; padding: 10px 14px; }
    .footer { padding: 40px 0 24px; }
    .nav-inner { padding: 0 12px; }
    .nav-logo { font-size: 18px; }
    .logo-icon { width: 28px; height: 28px; font-size: 14px; }
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

