/* Header logo */
.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}
.logo-text {
    color: var(--accent);
    font-weight: 800;
}

/* Hero logo centrado arriba del grid */
.hero-logo-top {
    text-align: center;
    padding-top: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.hero-logo-top-img {
    max-width: 280px;
    width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(249, 115, 22, 0.25);
    display: inline-block;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-elevated: #222230;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --accent: #f97316;
    --accent-hover: #fb923c;
    --accent-glow: rgba(249, 115, 22, 0.3);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    color: white;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.btn-large { padding: 16px 32px; font-size: 1.125rem; }
.btn-full { width: 100%; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-accent {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: var(--transition); border-radius: 2px;
}
.nav-link:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
    display: none; background: none; border: none;
    color: var(--text-primary); font-size: 1.5rem; cursor: pointer;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse 600px 600px at 20% 30%, rgba(249, 115, 22, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 70%, rgba(251, 191, 36, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 50% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    animation: heroPulse 8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes heroPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 0.8; }
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-badge { margin-bottom: 24px; }
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #fde68a 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Dashboard mockup */
.hero-visual { position: relative; }
.dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}
.dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #fbbf24, #fde68a);
}
.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27ca40; }
.mockup-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.mockup-stat {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border);
}
.mockup-stat-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.mockup-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}
.mockup-stat-value.up { color: var(--success); }
.mockup-chart {
    height: 120px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    gap: 8px;
}
.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent), rgba(99, 102, 241, 0.3));
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
    min-height: 20px;
}
.chart-bar:nth-child(3) { background: linear-gradient(to top, var(--success), rgba(34, 197, 94, 0.3)); }
.chart-bar:nth-child(5) { background: linear-gradient(to top, var(--warning), rgba(245, 158, 11, 0.3)); }

/* Problem section */
.problem { background: var(--bg-secondary); position: relative; }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}
.problem-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.problem-icon {
    width: 48px; height: 48px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.problem-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.problem-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Solution / How it works */
.solution { position: relative; }
.solution-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.solution-steps::before {
    content: '';
    position: absolute;
    top: 40px; left: 16%; right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #fbbf24, var(--accent));
    opacity: 0.3;
    z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-glow);
    position: relative;
}
.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.3);
    animation: stepPulse 2s ease-in-out infinite;
}
@keyframes stepPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
}
.step h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.step p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; }

/* Features */
.features { background: var(--bg-secondary); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #fbbf24);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    width: 48px; height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 12px; }
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Widget demo */
.widget-demo { position: relative; overflow: hidden; }
.widget-demo::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 800px 600px at 50% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.widget-demo-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.widget-demo-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.widget-demo-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.widget-demo-list { list-style: none; }
.widget-demo-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}
.widget-demo-list li::before {
    content: '✓';
    width: 20px; height: 20px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.widget-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.widget-preview-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Demo cards */
.demo-cards { position: relative; }
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.demo-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #fbbf24);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.demo-card:hover::before { transform: scaleX(1); }
.demo-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.demo-card-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(251, 191, 36, 0.15) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
}
.demo-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.demo-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.demo-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent);
    border: 1px solid rgba(249, 115, 22, 0.2);
}
.demo-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 8px;
}
.demo-card-link:hover {
    gap: 10px;
    color: var(--accent-hover);
}

/* Pricing */
.pricing { background: var(--bg-secondary); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
}
.pricing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}
.pricing-card.popular:hover { transform: scale(1.05) translateY(-4px); }
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pricing-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 24px;
}
.pricing-price { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.pricing-price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-period { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}
.pricing-features li.included::before {
    content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0;
}
.pricing-features li.not-included { color: var(--text-muted); }
.pricing-features li.not-included::before {
    content: '—'; color: var(--text-muted); flex-shrink: 0;
}

/* Testimonials — Casos de uso */
.testimonials { position: relative; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border-hover); }
.testimonial-card .feature-icon {
    width: 48px; height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.testimonial-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 12px;
}
.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}
.testimonial-card p strong { color: var(--text-primary); }

.beta-banner {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.beta-banner p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}
.beta-banner a { color: var(--accent); text-decoration: none; }
.beta-banner a:hover { text-decoration: underline; }

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: ctaPulse 6s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.cta-final-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}
.cta-final h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}
.cta-final p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.cta-final .btn-secondary {
    background: white;
    color: var(--accent);
    border: none;
}
.cta-final .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.footer-social a:hover { color: var(--text-primary); }

/* ============================================
   MODAL DE REGISTRO (conservado del original)
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}
.modal-overlay.active {
    display: flex;
}
.modal-register {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border);
    position: relative;
    animation: slideUp 0.4s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), #fbbf24);
    border-radius: 24px 24px 0 0;
}
.modal-header {
    margin-bottom: 32px;
    text-align: center;
}
.modal-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.modal-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}
.register-benefits {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}
.register-benefits-title {
    color: #fb923c;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.register-benefits-list {
    color: var(--text-secondary);
    font-size: 13px;
    padding-left: 20px;
    margin: 0;
}
.register-benefits-list li {
    margin-bottom: 4px;
}
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}
.form-group {
    margin-bottom: 24px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.form-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}
.btn-register {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent), #fbbf24);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}
.btn-register:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.google-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: #333;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0;
}
.google-btn:hover {
    border-color: #4285f4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
    transform: translateY(-2px);
}
.google-btn img {
    width: 20px;
    height: 20px;
}
.google-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
    color: var(--text-secondary);
    font-size: 14px;
}
.google-divider::before,
.google-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.register-footer {
    margin-top: 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.register-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.register-footer a:hover {
    text-decoration: underline;
}
.message {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    display: none;
}
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}
.success-message {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #fb923c;
}
.loading-message {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    text-align: center;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (max-width: 600px) {
    .modal-register {
        padding: 32px 24px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .modal-title {
        font-size: 24px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid, .widget-demo-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; }
    .features-grid, .problem-grid, .testimonials-grid, .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-4px); }
    .solution-steps { grid-template-columns: 1fr; }
    .solution-steps::before { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .section-header h2 { font-size: 1.875rem; }
    .features-grid, .problem-grid, .testimonials-grid, .demo-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
