/* ==========================================
   SYNCRO MOTOS - Landing Page Styles
   Corporate Minimalist Theme
   ========================================== */

/* CSS Variables */
:root {
    /* Colors - Brand Palette (Premium) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #020617;
    /* Deeper dark */

    /* Brand Colors */
    --brand-accent: #FF6600;
    --brand-accent-light: #FF9D00;
    --brand-dark: #0f172a;

    /* Semantic Colors */
    --primary: #FF6600;
    --primary-hover: #ea580c;
    --text-main: #1e293b;
    --text-muted: #64748b;

    /* Gradients (Refined) */
    --gradient-primary: var(--brand-accent);
    /* Solid, but kept name for compatibility */
    --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    --gradient-glow: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0) 70%);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radius */
    --radius-xs: 0.25rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows - Premium Elevation */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(255, 102, 0, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3D / Premium Effects */
.perspective-container {
    perspective: 1000px;
}

/* Reemplazo de Tilt "mediocre" por "Lift & Glow" Premium */
/* Clean Card Hover */
.tilt-card {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    color: var(--slate-600);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Utilities */
/* Utilities */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

/* Buttons - Standardized System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-weight: 700;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    font-family: var(--font-heading);
    box-sizing: border-box;
    appearance: none;
    outline: none;
    background: none;
}

.btn i {
    width: 20px;
    height: 20px;
}

/* Variants */
/* Variant - Primary (The Unified Action Style) */
.btn-primary {
    background: var(--brand-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 102, 0, 0.2);
}

/* Success CTA (used in success message after form submit) */
.success-cta {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.75rem 1.25rem;
    font-weight: 800;
    border-radius: 9999px;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.18);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), opacity var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.success-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(5, 150, 105, 0.22);
}

/* Make the success CTA full width on small screens for better tap targets */
@media (max-width: 768px) {
    .success-cta {
        display: block;
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }
}

.btn-secondary {
    background: white;
    color: var(--slate-700);
    border-color: var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--slate-50);
    border-color: var(--brand-accent);
    color: var(--brand-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Sizing - Fixed Heights for Absolute Consistency */
.btn-sm {
    height: 2.25rem;
    /* 36px */
    padding: 0 1rem;
    font-size: 0.75rem;
}

.btn-md {
    height: 3rem;
    /* 48px */
    padding: 0 1.75rem;
    font-size: 0.875rem;
}

.btn-lg {
    height: 3.5rem;
    /* 56px */
    padding: 0 2.25rem;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    /* Force flex for block behavior */
    width: 100%;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--slate-100);
    color: var(--slate-700);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-md);
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--slate-100);
    color: var(--indigo-600);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-md);
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.header {
    position: absolute;
    /* Changed from fixed */
    top: 2rem;
    /* Added spacing from top */
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Mobile Menu Fix: Invert order on mobile */
@media (max-width: 768px) {
    .nav {
        flex-direction: row-reverse;
        /* Cambia el orden: Botón Menú <-> Logo */
    }

    .mobile-menu-btn {
        display: block;
        /* Asegurar que se muestre */
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--slate-900);
}

.logo-img {
    width: auto;
    height: 60px;
    /* Reduced from 90px */
    object-fit: contain;
}

/* Larger logo on tablets and desktop */
@media (min-width: 768px) {
    .logo-img {
        height: 80px;
        /* Reduced from 110px */
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color var(--transition-fast);
}

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

.nav-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--slate-700);
}

/* ==========================================
   HERO SECTION
   ========================================== */
/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    padding: 14rem 0 4rem;
    /* Increased top padding from 8rem */
    background: var(--slate-50);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-text h1 {
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
    margin-top: 1rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    /* Base vertical axis for both items */
    font-size: 1.4rem;
    /* Scaled slightly larger for weight 600 */
    line-height: 1;
    font-weight: 400;
    /* Semi-Bold to match visual stroke weight */
    color: var(--brand-accent);
    margin-bottom: 1rem;
}

.stat-number i {
    width: 3rem;
    /* Same scale as previous version */
    height: 3rem;
    stroke-width: 4.5px;
    /* Final visual weight to match 600 weight font */
}

.stat-label {
    font-size: 0.75rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* App Mockup */
.hero-image {
    display: flex;
    justify-content: center;
}

.app-mockup {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.app-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--slate-100);
    border-bottom: 1px solid var(--slate-200);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--slate-300);
}

.mockup-dots span:first-child {
    background: #ff5f57;
}

.mockup-dots span:nth-child(2) {
    background: #ffbd2e;
}

.mockup-dots span:last-child {
    background: #28c940;
}

.mockup-title {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.mockup-content {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 60px;
    background: var(--slate-900);
}

.mockup-main {
    flex: 1;
    padding: var(--space-lg);
    background: var(--slate-100);
}

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.mockup-card {
    height: 60px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.mockup-chart {
    height: 120px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background-image: linear-gradient(135deg, var(--indigo-600) 0%, var(--violet-600) 100%);
    opacity: 0.2;
}

/* Real Screenshot Mockup */
.app-mockup-real {
    max-width: 600px;
}

.mockup-screenshot {
    overflow: hidden;
    background: var(--slate-100);
}

.mockup-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Decoration */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

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

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-glow);
    top: -100px;
    right: -100px;
    filter: blur(60px);
    opacity: 0.8;
}

.shape-2 {
    display: block;
    width: 400px;
    height: 400px;
    background: var(--gradient-glow);
    bottom: -100px;
    left: -100px;
    filter: blur(80px);
    opacity: 0.4;
}

/* ==========================================
   SECTIONS COMMON
   ========================================== */
section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    /* Compact professional spacing */
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: 1.125rem;
}

/* ==========================================
   WHY SYNCRO SECTION
   ========================================== */
.why-section {
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.why-card {
    position: relative;
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-accent);
}

.why-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-100);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    color: var(--primary);
}

.why-icon i {
    width: 24px;
    height: 24px;
}

.why-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
}

.why-card p {
    font-size: 0.875rem;
}

.exclusive-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--slate-100);
    color: var(--primary);
    border-radius: var(--radius-sm);
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
    background: var(--slate-50);
}

.features-split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.feature-group-title {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.feature-group-title i {
    color: var(--brand-accent);
}

.feature-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    margin-bottom: 1.5rem;
}

.feature-card:last-child {
    margin-bottom: 0;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    color: var(--brand-accent);
    transition: all var(--transition-normal);
}

.feature-body h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-body p {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing-section {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--slate-50);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--slate-200);
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-featured {
    background: white;
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-2xl);
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: var(--space-sm);
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.pricing-subtitle {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.pricing-price {
    margin-bottom: 0;
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-600);
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--slate-500);
}

.pricing-annual {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-bottom: var(--space-md);
}

.pricing-annual .discount {
    color: var(--emerald-600);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-md);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    padding: 2px 0;
    font-size: 0.875rem;
    color: var(--slate-700);
}

.pricing-features i {
    width: 18px;
    height: 18px;
    color: var(--emerald-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-enterprise {
    text-align: center;
    margin-top: var(--space-2xl);
}

.pricing-enterprise a {
    color: var(--indigo-600);
    font-weight: 600;
}

.pricing-enterprise a:hover {
    text-decoration: underline;
}

/* ==========================================
   SUPPORT SECTION (DOWNLOAD + FAQ)
   ========================================== */
.support-section {
    background: var(--slate-50);
    padding: var(--space-3xl) 0;
}

.support-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.section-header.align-left {
    text-align: left;
    margin-bottom: var(--space-xl);
}

/* Download Column */
.download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.download-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    transition: all var(--transition-normal);
}

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

.download-icon {
    width: 48px;
    height: 48px;
    background: var(--slate-50);
    color: var(--brand-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-info h4 {
    margin-bottom: 2px;
}

.download-info p {
    font-size: 0.8125rem;
    margin-bottom: 0;
}

.download-card .btn {
    width: auto;
}


/* FAQ Column */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.125rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    color: var(--slate-800);
    font-family: inherit;
    text-align: left;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--slate-50);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .support-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .download-card {
        grid-template-columns: auto 1fr;
    }

    .download-card .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info>p {
    margin-bottom: var(--space-xl);
}

.contact-features {
    margin-bottom: var(--space-xl);
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    color: var(--slate-700);
}

.contact-feature i {
    width: 20px;
    height: 20px;
    color: var(--emerald-500);
}

.contact-direct {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--slate-200);
}

.contact-direct p {
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
}

.contact-form {
    padding: clamp(2rem, 5vw, 3.5rem);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 20px 50px -12px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: transform var(--transition-normal);
}

.contact-form:hover {
    transform: translateY(-2px);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.625rem;
    transition: color var(--transition-fast);
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-normal);
    color: var(--slate-900);
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1);
}

.form-group input::placeholder {
    color: var(--slate-400);
}

.contact-form button[type="submit"] {
    margin-top: var(--space-lg);
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: var(--slate-500);
    opacity: 0.8;
}

.form-note i {
    width: 14px;
    height: 14px;
}

/* ==========================================
   FOOTER (ORIGINAL RESTORED)
   ========================================== */
.footer {
    background: var(--slate-900);
    color: var(--slate-300);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-logo {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Mantenemos el fix de visibilidad */
    object-position: left;
    margin-right: auto;
}

.footer h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: auto;
}

.footer-links h5,
.footer-contact h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: var(--slate-400);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--brand-accent);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-contact i {
    color: var(--brand-accent);
    width: 20px;
    height: 20px;
}

/* Bottom Bar */
.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-500);
}

.footer-legal-info {
    margin-bottom: 2rem;
    color: var(--slate-400);
}

.footer-legal-info p {
    margin-bottom: 0.25rem;
    color: var(--slate-400);
}

.footer-legal-info strong {
    color: white;
    font-family: var(--font-heading);
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--slate-500);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Responsive Overrides (Preserving User's Mobile Fixes) */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--space-xl) 0;
        text-align: center;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-xl);
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
        object-position: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    /* Hide by default on desktop; show only on mobile via media query below */
    display: none;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    color: white;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    width: 28px;
    height: 28px;
}

/* MOBILE-SPECIFIC: show whatsapp floating button and trial sticky bar only on small screens */
@media (max-width: 768px) {
    .whatsapp-float {
        display: flex;
        /* push above the sticky trial bar when present */
        bottom: 84px;
    }

    /* Sticky trial bar (mobile only) */
    .trial-sticky {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        background: linear-gradient(90deg, rgba(255, 102, 0, 1), rgba(255, 157, 0, 1));
        color: white;
        padding: 0.5rem 1rem;
        gap: 0.75rem;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
    }

    .trial-text {
        font-weight: 700;
        font-size: 0.95rem;
    }

    .trial-cta {
        height: 40px;
        padding: 0 1rem;
        border-radius: 9999px;
        font-size: 0.95rem;
        background: white;
        color: var(--brand-accent);
        box-shadow: none;
        border: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Ensure the sticky bar is not displayed on desktop */
@media (min-width: 769px) {
    .trial-sticky {
        display: none !important;
    }
}

/* ==========================================
   MOBILE MODAL FORM STYLES
   ========================================== */
.modal-overlay {
    /* Keep the overlay in the flow but hidden by opacity for smooth animations.
       display:flex allows the overlay to be visible when opacity transitions to 1.
       On desktop .modal-overlay is forced hidden via media query. */
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 300ms ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    /* Prepare for animated open/close: fade + scale + translate */
    transform-origin: center top;
    transform: scale(0.96) translateY(12px);
    opacity: 0;
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

/* Ensure modal styles only affect small screens visually (but can be opened by JS) */
@media (min-width: 769px) {
    .modal-overlay {
        display: none !important;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
/* When overlay is open, bring modal to full size and opacity */
.modal-overlay.open .modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);

    /* Respect reduced motion preferences */
    @media (prefers-reduced-motion: reduce) {

        .modal-overlay,
        .modal {
            transition: none !important;
        }
    }
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN (Refined)
   ==========================================*/
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .hero-subtitle {
        margin: 0 auto var(--space-xl);
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: var(--space-xl);
    }

    .hero-image {
        order: -1;
    }

    .app-mockup {
        max-width: 500px;
        margin: 0 auto;
    }

    .why-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Base spacing adjustments */
    section {
        padding: var(--space-2xl) 0;
    }

    /* Navigation */
    .nav {
        height: 64px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: white;
        padding: var(--space-xl);
        gap: var(--space-lg);
        z-index: 999;
        text-align: center;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
        animation: slideInDown 0.3s ease-out;
    }

    @keyframes slideInDown {
        from {
            transform: translateY(-10px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
        padding: var(--space-md) 0;
        border-bottom: 1px solid var(--slate-100);
        width: 100%;
    }

    .nav-buttons .btn-primary {
        display: none;
        /* Hide Agendar Demo on mobile nav bar */
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hero Section */
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    /* Grids */
    .why-grid,
    .features-grid,
    .pricing-grid,
    .download-grid,
    .features-split-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg) !important;
    }

    .pricing-featured {
        transform: none;
        margin: var(--space-md) 0;
    }

    .pricing-card {
        padding: var(--space-xl);
    }

    /* Why & Feature Cards */
    .why-card,
    .feature-card {
        padding: var(--space-lg);
    }

    /* Support Section */
    .support-wrapper {
        gap: var(--space-2xl);
    }

    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-icon {
        margin: 0 auto;
    }

    /* Contact Section */
    .contact-form {
        padding: var(--space-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Footer Layout Optimization */
    .footer {
        padding: var(--space-xl) 0;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl) var(--space-md);
        text-align: center;
    }

    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: var(--space-md);
    }

    .footer-links {
        text-align: center;
    }

    .footer-contact {
        grid-column: 1 / -1;
        margin-top: var(--space-md);
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-brand p {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.875rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   NEW PRICING & UPSELLS STYLES
   ========================================== */

/* ==========================================
   MASTERCLASS UI: UNIFIED & COMPACT OFFER
   ========================================== */

.unified-offer-wrapper {
    width: 100%;
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    padding: 3rem 0;
    margin: 3rem 0;
    color: white;
    border-top: 1px solid rgba(255, 102, 0, 0.1);
    border-bottom: 1px solid rgba(255, 102, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.unified-offer-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 350px 1px 1fr;
    gap: 3.5rem;
    align-items: center;
    /* Aligned center for better height balance */
}

/* Compact Main Plan */
.compact-main-plan {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--brand-accent);
    letter-spacing: 0.15rem;
    margin-bottom: 0.5rem;
}

.offer-header h3 {
    color: white;
    font-size: 1.5rem;
    /* Standard professional size */
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.plan-description {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.offer-price {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    text-align: center;
}

.offer-price .amount {
    display: block;
    font-size: 2.25rem;
    /* Compact professional pricing */
    font-weight: 800;
    color: white;
    line-height: 1;
}

.offer-price .term {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-accent);
    letter-spacing: 0.1rem;
    margin-top: 0.25rem;
    display: block;
}

.offer-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.offer-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.offer-features li i {
    width: 14px;
    height: 14px;
    color: #10b981;
}

.offer-note {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Divider */
.offer-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Expansion Pack */
.expansion-pack {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pack-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--brand-accent);
    letter-spacing: 0.2rem;
    margin-bottom: 0.25rem;
}

.pack-header h4 {
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.pack-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    height: 100%;
}

.module-item {
    padding: 1.75rem 2.25rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.module-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 102, 0, 0.6);
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 102, 0, 0.2);
    z-index: 2;
}

.module-item i {
    width: 32px;
    height: 32px;
    background: rgba(255, 102, 0, 0.1);
    color: var(--brand-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.module-info h5 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.module-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.module-info strong {
    font-size: 0.75rem;
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    display: block;
    margin-top: auto;
    /* Push to bottom */
}

.badge-discount {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 102, 0, 0.15);
    color: var(--brand-accent);
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05rem;
    margin-top: auto;
}

.module-item.electronica-item {
    border-color: rgba(255, 102, 0, 0.2);
    background: rgba(255, 102, 0, 0.05);
}

.module-info p strong {
    color: white;
    display: inline;
}

/* ==========================================
   ANIMATIONS & PREMIUM EFFECTS
   ========================================== */

@keyframes fadeInUpStagger {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(255, 102, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 102, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 102, 0, 0.4);
    }
}

.animate-stagger {
    opacity: 0;
}

.unified-offer-wrapper.visible .animate-stagger {
    animation: fadeInUpStagger 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s !important;
}

.delay-200 {
    animation-delay: 0.25s !important;
}

.delay-300 {
    animation-delay: 0.4s !important;
}

.module-item i {
    display: none;
}

.compact-main-plan .btn-primary {
    animation: pulseGlow 2s infinite;
}

/* Premium Button Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.btn-primary:hover::after {
    left: 150%;
}

/* Floating Animations */
@keyframes float-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-x {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(15px);
    }
}

.hero-decoration .shape {
    animation: float-y 6s ease-in-out infinite;
}

.hero-decoration .shape-2 {
    animation: float-x 8s ease-in-out infinite;
    animation-delay: 1s;
}

/* Premium Mockup Shadow */
.app-mockup-real {
    box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator Animation */
@keyframes bounce-subtle {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}



/* Responsive Masterclass Refinado */
@media (max-width: 1200px) {
    .unified-offer-container {
        grid-template-columns: 320px 1px 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .pack-modules {
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .unified-offer-container {
        grid-template-columns: 1fr;
        max-width: 800px;
        gap: 0;
    }

    .offer-divider {
        display: none;
    }

    .compact-main-plan {
        margin-bottom: 3rem;
    }

    .pack-modules {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .expansion-pack h4 {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .pack-label {
        text-align: center;
        display: block;
    }
}

@media (max-width: 640px) {
    .pack-modules {
        grid-template-columns: 1fr;
    }

    .module-item {
        padding: 2rem;
    }
}