/* Apple-style CSS with smooth animations and modern design */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
}

/* Dark mode body adjustments */
:root.dark-mode body {
    background-color: var(--background-primary);
    color: var(--text-primary);
}

:root.dark-mode .hero {
    background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
}

:root.dark-mode .features {
    background: var(--background-secondary);
}

:root.dark-mode .feature-card {
    background: #2c2c2e;
    border: 1px solid var(--border-color);
}

:root.dark-mode .nav {
    background: rgba(0, 0, 0, 0.8);
    border-bottom-color: var(--border-color);
}

:root.dark-mode .nav-menu {
    background-color: var(--background-primary) !important;
}

/* CSS Variables for consistent theming - Optimized Color Palette */
:root {
    /* Primary Colors - Ocean Depth Palette */
    --primary-color: #0066CC;
    --secondary-color: #4A90E2;
    --tertiary-color: #1E3A8A;
    
    /* Accent Colors */
    --accent-success: #10B981;
    --accent-warning: #F59E0B;
    --accent-purple: #8B5CF6;
    
    /* Gray Scale */
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Semantic Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --background-primary: #ffffff;
    --background-secondary: var(--gray-50);
    --background-tertiary: var(--gray-100);
    --border-color: var(--gray-200);
    
    /* Shadows */
    --shadow-light: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-medium: 0 8px 32px rgba(15, 23, 42, 0.12);
    --shadow-heavy: 0 16px 64px rgba(15, 23, 42, 0.16);
    
    /* Border Radius */
    --border-radius: 12px;
    --border-radius-large: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode variables - Updated with new palette */
:root.dark-mode {
    --text-primary: var(--gray-50);
    --text-secondary: var(--gray-300);
    --background-primary: var(--gray-900);
    --background-secondary: var(--gray-800);
    --background-tertiary: #2D3748;
    --border-color: #4A5568;
}

/* Auto dark/light mode transition */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-light);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    font-size: 24px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-medium);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 120px 0 80px;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-medium);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--tertiary-color);
}

.btn-primary.large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

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

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

.btn-icon {
    font-size: 1.2em;
}

/* iPhone-style Phone Mockup */
.phone-mockup {
    width: 320px;
    height: 650px;
    background: linear-gradient(145deg, #1a1a1a, #000);
    border-radius: 48px;
    padding: 6px;
    margin: 0 auto;
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 50px 100px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 3;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: #333;
    border-radius: 50%;
    z-index: 4;
}

/* Side buttons */
.phone-mockup {
    position: relative;
}

.phone-mockup:has(.chat-interface) {
    position: relative;
}

.phone-mockup .phone-screen::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 120px;
    width: 4px;
    height: 60px;
    background: linear-gradient(180deg, #1a1a1a, #000);
    border-radius: 0 2px 2px 0;
    z-index: 5;
}

.phone-mockup .phone-screen::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 100px;
    width: 4px;
    height: 100px;
    background: linear-gradient(180deg, #1a1a1a, #000);
    border-radius: 2px 0 0 2px;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
}

.chat-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: var(--primary-color);
    padding: 85px 20px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    overflow: hidden;
}

.chat-avatar img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.chat-info {
    flex: 1;
}

.chat-name {
    color: white;
    font-weight: 600;
    font-size: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #ffffff;
}

.message {
    max-width: 80%;
    animation: messageSlideIn 0.5s ease;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.message-text {
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.bot-message .message-text {
    background: #ffffff;
    color: var(--gray-900);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.15);
    border: 2px solid var(--gray-200);
}

.user-message .message-text {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-secondary);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    z-index: 2;
    margin-top: 0;
    clear: both;
}

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

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.feature-demo {
    background: var(--gray-100);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.feature-demo code {
    color: var(--primary-color);
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    font-weight: 500;
}

/* Stats Section */
.stats {
    padding: 120px 0;
    background: var(--gray-800);
    color: white;
    position: relative;
    z-index: 3;
}

.stats .section-title,
.stats .section-subtitle {
    color: white;
}

.stats .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.stat-label {
    font-size: 1.4rem;
    color: white;
    font-weight: 600;
    margin-bottom: 12px;
}

.stat-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 4;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 24px;
    color: white;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    z-index: 5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-links code {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-links code {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, monospace;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy p {
    color: rgba(255, 255, 255, 0.6);
}

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

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link:hover {
    color: white;
}

.social-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: inherit;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 {
    transition-delay: 0.1s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    /* Mejor tamaño del mockup para tablets */
    .phone-mockup {
        width: 280px;
        height: 580px;
    }
    
    /* Asegurar que se vea completo en tablets */
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 600px;
    }
}

/* Media query específica para tablets/iPad */
@media (max-width: 1024px) and (min-width: 769px) {
    .phone-mockup {
        width: 300px;
        height: 610px;
    }
    
    .hero-visual {
        min-height: 650px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Ajustar el padding del hero para tablets */
    .hero {
        padding: 120px 0 80px;
    }
    
    /* Mejorar el contenido del chat en tablets */
    .chat-messages {
        padding: 16px;
        gap: 12px;
    }
}

/* iPad en orientación vertical - más específico */
@media (max-width: 834px) and (min-width: 769px) and (orientation: portrait) {
    .phone-mockup {
        width: 280px;
        height: 580px;
    }
    
    .hero-visual {
        min-height: 650px;
        padding: 30px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-content {
        gap: 50px;
    }
    
    /* Asegurar que el mockup del chat se vea completo */
    .chat-messages {
        flex: 1;
        padding: 15px;
        overflow: hidden;
    }
}

/* iPad Pro y iPad Air - orientación vertical */
@media (max-width: 1024px) and (min-width: 768px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
    .phone-mockup {
        width: 280px;
        height: 580px;
    }
    
    .hero-visual {
        min-height: 620px;
        padding: 30px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero {
        padding: 120px 0 80px;
        min-height: 100vh;
    }
}

/* Tablets - mantener 2 columnas */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid {
        gap: 30px;
        max-width: 800px;
    }
    
    .feature-card {
        padding: 30px;
    }
    
    .feature-icon {
        font-size: 3rem;
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--background-primary);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        padding: 20px 0;
        box-shadow: var(--shadow-light);
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }
    
    /* El contenedor de navegación debe permitir que el menú se posicione correctamente */
    .nav-container {
        position: relative;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .phone-mockup {
        width: 220px;
        height: 450px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
        margin: 20px auto;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero-visual {
        min-height: 480px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    /* Ajustar contenido del chat para móviles */
    .chat-header {
        padding: 55px 16px 16px;
    }
    
    .chat-avatar {
        width: 36px;
        height: 36px;
    }
    
    .chat-avatar img {
        width: 28px;
        height: 28px;
    }
    
    .chat-name {
        font-size: 15px;
    }
    
    .chat-status {
        font-size: 12px;
    }
    
    .chat-messages {
        padding: 12px;
        gap: 8px;
        flex: 1;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .message {
        max-width: 85%;
        animation: messageSlideIn 0.5s ease;
    }
    
    .message-text {
        padding: 8px 12px;
        border-radius: 16px;
        font-size: 12px;
        line-height: 1.4;
        font-weight: 500;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .bot-message {
        align-self: flex-start;
    }
    
    .user-message {
        align-self: flex-end;
    }
    
    .bot-message .message-text {
        background: #ffffff;
        color: var(--gray-900);
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
        border: 1px solid var(--gray-200);
    }
    
    .user-message .message-text {
        background: var(--primary-color);
        color: white;
        box-shadow: 0 2px 6px rgba(0, 102, 204, 0.2);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f5f5f7;
        --text-secondary: #a1a1a6;
        --background-primary: #000000;
        --background-secondary: #1c1c1e;
        --border-color: #38383a;
    }
    
    body {
        background-color: var(--background-primary);
        color: var(--text-primary);
    }
    
    .nav {
        background: rgba(0, 0, 0, 0.8);
        border-bottom-color: var(--border-color);
    }
    
    .nav.scrolled {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .hero {
        background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
    }
    
    .features {
        background: var(--background-secondary);
    }
    
    .feature-card {
        background: #2c2c2e;
        border: 1px solid var(--border-color);
    }
    
    /* Menú móvil en modo oscuro */
    .nav-menu {
        background-color: var(--background-primary) !important;
    }
}

/* Time Saved Counter */
.time-saved-counter {
    margin-top: 40px;
    padding: 25px;
    background: rgba(0, 102, 204, 0.05);
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    max-width: 400px;
    transition: all 0.3s ease;
}

.time-saved-counter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.counter-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.counter-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.counter-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
    line-height: 1;
}

.counter-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 10px;
    opacity: 0.9;
}

/* Responsive design for counter */
@media (max-width: 768px) {
    .time-saved-counter {
        margin-top: 30px;
        padding: 20px;
        max-width: 100%;
    }
    
    .counter-value {
        font-size: 2.8rem;
    }
    
    .counter-label {
        font-size: 0.9rem;
    }
    
    .counter-subtitle {
        font-size: 1rem;
    }
}

/* Dark mode support for counter */
@media (prefers-color-scheme: dark) {
    .time-saved-counter {
        background: rgba(0, 102, 204, 0.1);
        border: 1px solid rgba(0, 102, 204, 0.2);
    }
}

/* Emoji Icons Styles - Centered and Enhanced */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    line-height: 1;
    transition: all 0.3s ease;
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
}

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

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    opacity: 1;
    transform: scale(1.1);
}}