:root {
    /* Colores principales - Modo Claro */
    --primary-color: #0F16A3;
    --primary-dark: #0A0F73;
    --primary-light: #1A21D4;
    --secondary-color: #bf2300;
    --secondary-dark: #8F1B00;
    --secondary-light: #EF2C00;
    --accent-color: #f59e0b;

    /* Tonos neutros - Modo Claro */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-tertiary: #f1f3f8;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --dark: #1f2937;
    --hero-text: #1f2937;
    --hero-bg-start: #e8eaff;
    --hero-bg-end: #ffe8e5;

    /* Colores de hover suaves para modo claro */
    --hover-primary: rgba(15, 22, 163, 0.04);
    --hover-secondary: rgba(191, 35, 0, 0.04);
    --hover-glow: rgba(15, 22, 163, 0.08);
    --pulse-primary: rgba(15, 22, 163, 0.2);
    --pulse-secondary: rgba(191, 35, 0, 0.3);

    /* Sombras */
    --shadow: 0 10px 30px rgba(15, 22, 163, 0.12);
    --shadow-lg: 0 20px 50px rgba(15, 22, 163, 0.18);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-red: 0 10px 30px rgba(191, 35, 0, 0.15);

    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #2E35F5;
    --primary-dark: #1A21D4;
    --primary-light: #4D53FF;
    --secondary-color: #FF3D1A;
    --secondary-dark: #EF2C00;
    --secondary-light: #FF5A3D;
    --accent-color: #fbbf24;

    --bg-primary: #0a0e2e;
    --bg-secondary: #111533;
    --bg-tertiary: #1a1f45;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-color: #2a2f55;
    --white: #ffffff;
    --dark: #0a0e2e;
    --hero-text: #ffffff;
    --hero-bg-start: #2E35F5;
    --hero-bg-end: #FF3D1A;

    /* Colores de hover más intensos para modo oscuro */
    --hover-primary: rgba(46, 53, 245, 0.15);
    --hover-secondary: rgba(255, 61, 26, 0.15);
    --hover-glow: rgba(46, 53, 245, 0.3);
    --pulse-primary: rgba(46, 53, 245, 0.4);
    --pulse-secondary: rgba(255, 61, 26, 0.6);

    --shadow: 0 10px 30px rgba(46, 53, 245, 0.25);
    --shadow-lg: 0 20px 50px rgba(46, 53, 245, 0.35);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-red: 0 10px 30px rgba(255, 61, 26, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

/* Fondo animado con líneas diagonales */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, transparent 48%, var(--primary-color) 49%, var(--primary-color) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--secondary-color) 49%, var(--secondary-color) 51%, transparent 52%);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.06;
    z-index: -1;
    animation: moveLines 20s linear infinite;
    pointer-events: none;
}

[data-theme="dark"] body::before {
    opacity: 0.05;
}

@keyframes moveLines {
    0% { background-position: 0 0, 40px 40px; }
    100% { background-position: 80px 80px, 120px 120px; }
}

/* Círculos decorativos animados */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-color) 1px, transparent 1px),
                radial-gradient(circle, var(--secondary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.03;
    z-index: -1;
    animation: rotate 60s linear infinite;
    pointer-events: none;
}

[data-theme="dark"] body::after {
    opacity: 0.06;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toggle de Dark Mode en Navbar */
.theme-toggle-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    color: white;
    margin-left: 2rem;
}

.theme-toggle-nav:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow), 0 0 20px var(--hover-glow);
}

/* Navegación */
.navbar {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) 1;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, var(--bg-primary) 0%, rgba(255,255,255,0.95) 100%);
}

[data-theme="dark"] .navbar {
    background: linear-gradient(to bottom, var(--bg-primary) 0%, rgba(10,14,46,0.95) 100%);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
    animation: shimmer 3s ease-in-out infinite;
}

/* Fallback para navegadores que no soportan background-clip */
@supports not (-webkit-background-clip: text) {
    .logo {
        color: var(--primary-color);
        background: none;
        -webkit-text-fill-color: initial;
    }
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
        background-size: 200% auto;
    }
    50% {
        background-position: 100% 50%;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover::after {
    width: 120%;
    height: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

/* Hero Section con fondo animado */
.hero {
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
    color: var(--hero-text);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px);
    animation: moveGrid 20s linear infinite;
    pointer-events: none;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255,255,255,0.1), transparent 50%);
    animation: floatGlow 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatGlow {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-20px); opacity: 0.8; }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

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

/* Botones con animaciones */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-red), 0 0 20px var(--secondary-color);
}

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

.btn-primary:hover {
    box-shadow: var(--shadow), 0 0 20px var(--primary-color);
}

.btn-secondary {
    background-color: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--hero-text);
    color: var(--hero-text);
}

.btn-outline:hover {
    background-color: var(--hero-text);
    color: var(--primary-color);
}

/* Secciones con fondos dinámicos */
section {
    padding: 5rem 2rem;
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

/* Features Grid con animaciones */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 30px var(--hover-glow);
    background: linear-gradient(135deg, var(--hover-primary) 0%, var(--hover-secondary) 100%);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

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

.feature-card:nth-child(even) .feature-icon {
    animation-delay: 1.5s;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Steps con indicadores animados */
.steps {
    background-color: var(--bg-secondary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow), 0 0 20px var(--pulse-primary);
    animation: numberPulse 2s ease-in-out infinite;
}

.step:nth-child(2) .step-number {
    animation-delay: 0.5s;
}

.step:nth-child(3) .step-number {
    animation-delay: 1s;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow), 0 0 20px var(--pulse-primary);
    }
    50% {
        transform: scale(1.05);
        box-shadow: var(--shadow-red), 0 0 30px var(--pulse-secondary);
    }
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
}

/* Pricing con efectos de brillo */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, var(--primary-color) 50%, transparent 70%);
    opacity: 0;
    transform: rotate(0deg);
    transition: all 0.5s;
}

.pricing-card:hover::before {
    opacity: 0.1;
    transform: rotate(180deg);
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg), 0 0 40px var(--hover-glow);
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--hover-primary) 0%, var(--hover-secondary) 100%);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, var(--hover-primary), var(--hover-secondary));
    transform: scale(1.05);
    box-shadow: var(--shadow-lg), 0 0 30px var(--hover-glow);
}

.pricing-badge {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px var(--pulse-primary);
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 4px 15px var(--pulse-primary); }
    50% { box-shadow: 0 4px 25px var(--pulse-secondary); }
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-price {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: shimmer 3s ease-in-out infinite;
}

.pricing-period {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition);
}

.pricing-features li:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.pricing-features li:before {
    content: "✓ ";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Demo Widget */
.demo-container {
    max-width: 900px;
    margin: 3rem auto;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)),
                      linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.widget-preview {
    background-color: var(--bg-tertiary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.widget-frame {
    background-color: var(--bg-primary);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background-color: var(--bg-secondary);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--hover-primary), 0 0 20px var(--hover-secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Botón flotante de contacto */
.sticky-contact-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    z-index: 998;
    transition: all 0.3s ease;
}

.sticky-contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 2rem 2rem 5rem;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) 1;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    animation: slideGradient 3s ease-in-out infinite;
}

@keyframes slideGradient {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

.footer-section a:hover::after {
    width: 100%;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    /* Navegación móvil */
    .nav-container {
        padding: 1rem;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
        border-top: 1px solid var(--border-color);
        gap: 0.5rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .theme-toggle-nav {
        margin: 0.5rem auto 0 auto;
    }

    /* Hero más compacto en móvil */
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Secciones más compactas */
    section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Grid más flexible */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Botones más pequeños */
    .btn {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }

    /* Botón flotante adaptado */
    .sticky-contact-button {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    /* Footer compacto */
    .footer {
        padding: 2rem 1rem 4rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Pricing cards */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    /* Contacto/Demo containers */
    .demo-container,
    .contact-form {
        padding: 2rem 1.5rem;
        margin: 1.5rem 1rem;
    }

    /* Modal adaptado a móvil */
    #modal-contacto {
        width: 95% !important;
        max-width: 95% !important;
        padding: 1.5rem !important;
        max-height: 85vh !important;
    }

    #modal-contacto h3 {
        font-size: 1.5rem !important;
    }

    #modal-contacto p {
        font-size: 0.9rem !important;
    }

    #modal-contacto input,
    #modal-contacto select,
    #modal-contacto textarea {
        font-size: 16px !important; /* Evita zoom en iOS */
    }

    #modal-contacto button[type="submit"] {
        font-size: 1rem !important;
        padding: 0.85rem !important;
    }

    /* Widget demo responsive */
    #stickywork-widget {
        padding: 1.5rem !important;
        max-width: 100% !important;
    }

    #stickywork-widget h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    #stickywork-widget input,
    #stickywork-widget select {
        font-size: 16px !important; /* Evita zoom en iOS */
        padding: 0.65rem !important;
    }

    #stickywork-widget label {
        font-size: 0.9rem !important;
    }

    /* Grid de fecha/hora en columna en móvil */
    #demo-widget-form > div:last-of-type,
    #modal-form > div:last-of-type {
        grid-template-columns: 1fr !important;
    }

    #demo-widget-form button[type="submit"],
    #modal-form button[type="submit"] {
        font-size: 1rem !important;
        padding: 0.85rem !important;
    }

    /* Modal del widget demo */
    #modal-widget {
        width: 95% !important;
        max-width: 95% !important;
        padding: 1.5rem !important;
        max-height: 85vh !important;
    }

    #modal-widget h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    #modal-widget input,
    #modal-widget select {
        font-size: 16px !important;
        padding: 0.65rem !important;
    }

    #modal-widget label {
        font-size: 0.9rem !important;
    }

    /* Botones de selección de modo */
    #btnModoEmbedded,
    #btnModoModal {
        min-width: auto !important;
        width: 100%;
        padding: 0.85rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
}

/* Mejoras adicionales para móviles pequeños */
@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .pricing-price {
        font-size: 2.5rem;
    }

    /* Widget demo en móviles pequeños */
    #stickywork-widget {
        padding: 1.25rem !important;
    }

    #stickywork-widget h3 {
        font-size: 1.35rem !important;
    }

    #stickywork-widget input,
    #stickywork-widget select {
        padding: 0.6rem !important;
    }

    #demo-widget-form button[type="submit"],
    #modal-form button[type="submit"] {
        padding: 0.75rem !important;
        font-size: 0.95rem !important;
    }

    /* Modal widget en móviles pequeños */
    #modal-widget {
        padding: 1.25rem !important;
    }

    #modal-widget h3 {
        font-size: 1.35rem !important;
    }

    /* Botones de modo */
    #btnModoEmbedded,
    #btnModoModal {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
}

/* Gradients personalizados */
.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.gradient-border {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
                linear-gradient(90deg, var(--primary-color), var(--secondary-color)) border-box;
}

/* Animación de aparición para cards */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Efecto de onda al hacer click */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}
