/* ==========================================
   DESIGN SYSTEM - SANITARYGIS LANDING PAGE
   by SIGIMASTER
   ========================================== */

/* 1. CONFIGURACIÓN Y VARIABLES DE COLOR (THEME DE GAMA ALTA) */
:root {
    --bg-dark: #070a13;
    --bg-card: rgba(13, 20, 38, 0.6);
    --bg-card-hover: rgba(18, 27, 51, 0.8);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 122, 255, 0.2);

    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --primary-gradient: linear-gradient(135deg, #007aff 0%, #00f0ff 100%);
    --accent-blue: #007aff;
    --accent-cyan: #00f0ff;
    --accent-green: #00e676;
    --accent-orange: #ff7043;
    --accent-purple: #ab47bc;
    --accent-yellow: #ffd600;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 122, 255, 0.25);
}

/* 2. RECONSTRUCT Y RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* SCROLLBAR PERSONALIZADO */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1f2a44;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* 3. CLASES DE UTILIDAD & BOTONES */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.text-center { text-align: center; }
.text-green { color: var(--accent-green) !important; }
.hidden { display: none !important; }
.w-100 { width: 100% !important; }
.mt-4 { margin-top: 1.5rem !important; }

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.5), 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px stroke var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(30deg);
    transition: 0.8s;
    left: -100%;
}
.btn-glow:hover::after {
    left: 100%;
}

.btn-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: 0.5rem;
}

/* ======== 4. HEADER & NAV DE NAVEGACIÓN ======== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 10, 19, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    line-height: 1.1;
}

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

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.nav-link:hover {
    color: var(--accent-cyan);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* MENÚ MÓVIL TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 2rem;
}
.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

.mobile-overlay {
    position: fixed;
    top: 4.5rem;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(7, 10, 19, 0.98);
    z-index: 999;
    overflow: hidden;
    transition: var(--transition-smooth);
    border-bottom: 0px solid var(--border-color);
}
.mobile-overlay.active {
    height: calc(100vh - 4.5rem);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
    transition: var(--transition-smooth);
}
.mobile-link:hover {
    color: var(--accent-cyan);
    padding-left: 0.5rem;
}

/* ======== 5. HERO SECTION ======== */
.hero-section {
    padding: 10rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-bg-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}
.glow-1 {
    top: -10%;
    right: 15%;
    width: 350px;
    height: 350px;
    background: rgba(0, 122, 255, 0.15);
}
.glow-2 {
    bottom: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(0, 240, 255, 0.12);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-new-version {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 122, 255, 0.08);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.trust-divider {
    color: var(--accent-blue);
}

/* Previsualización del CAD */
.hero-visual {
    width: 100%;
}

.preview-card {
    background: #0b101d;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-premium), 0 0 30px rgba(0, 230, 118, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}
.preview-card:hover {
    transform: scale(1.01) translateY(-2px);
    border-color: rgba(0, 230, 118, 0.2);
}

.preview-header {
    display: flex;
    align-items: center;
    background: #090c15;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 6px;
    margin-right: 1.5rem;
}

.window-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.window-dots .red { background-color: #ff5252; }
.window-dots .yellow { background-color: #ffd600; }
.window-dots .green { background-color: #00e676; }

.window-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
}

.preview-body {
    padding: 1rem;
}

.cad-preview {
    width: 100%;
    height: auto;
    display: block;
}

/* ======== 6. CARACTERÍSTICAS GRID ======== */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent-blue);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.25rem;
    transition: var(--transition-smooth);
}
.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.feature-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 1.6rem;
    height: 1.6rem;
    color: #fff;
}

.bg-blue { background: rgba(0, 122, 255, 0.15); border: 1px solid rgba(0, 122, 255, 0.3); }
.bg-orange { background: rgba(255, 112, 67, 0.15); border: 1px solid rgba(255, 112, 67, 0.3); }
.bg-green { background: rgba(0, 230, 118, 0.15); border: 1px solid rgba(0, 230, 118, 0.3); }
.bg-yellow { background: rgba(255, 214, 0, 0.15); border: 1px solid rgba(255, 214, 0, 0.3); }
.bg-purple { background: rgba(171, 71, 188, 0.15); border: 1px solid rgba(171, 71, 188, 0.3); }
.bg-cyan { background: rgba(0, 240, 255, 0.15); border: 1px solid rgba(0, 240, 255, 0.3); }

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* ======== 7. CALCULADORA ROI INTERACTIVA ======== */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-premium);
    align-items: center;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.label-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label-area label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.val-display {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-cyan);
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #1f2a44;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: transform 0.1s;
}
.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Caja de Resultados ROI */
.calc-results {
    background: rgba(7, 10, 19, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.calc-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.result-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.result-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.result-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.result-divider {
    height: 1px;
    background-color: var(--border-color);
}

.result-footer {
    background: rgba(0, 230, 118, 0.05);
    border: 1px solid rgba(0, 230, 118, 0.15);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-align: center;
}

.roi-payback-text {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-green);
}

/* ======== 8. MATRIZ DE PRECIOS ======== */
.pricing-section {
    position: relative;
    overflow: hidden;
}

.pricing-bg-glow {
    position: absolute;
    bottom: -10%;
    left: 30%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 122, 255, 0.06);
    filter: blur(120px);
    pointer-events: none;
}

.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}
.toggle-label.active {
    color: #fff;
}

.discount-badge {
    background: rgba(0, 230, 118, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 230, 118, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

.billing-toggle {
    background: #1f2a44;
    border: none;
    width: 3.25rem;
    height: 1.75rem;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}
.billing-toggle.active {
    background: var(--accent-blue);
}

.toggle-circle {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.billing-toggle.active .toggle-circle {
    left: 1.75rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.25rem 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
}

.pricing-card.recommended {
    background: rgba(13, 22, 48, 0.85);
    border: 2px solid var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.recommended-badge {
    position: absolute;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    padding: 0.35rem 1rem;
    border-radius: 50px;
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    min-height: 2.5rem;
}

.plan-price-area {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-top: 1.5rem;
}

.price-symbol {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-annual-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.5rem;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

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

.check-icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--accent-green);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.cross-icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--text-muted);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* ======== 9. PREGUNTAS FRECUENTES (FAQ) ======== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
    text-align: left;
    outline: none;
}

.faq-arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(7, 10, 19, 0.3);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

/* ======== 10. SECCIÓN CONTACTO Y FORMULARIO ======== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}
.info-item:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateX(5px);
    background: var(--bg-card-hover);
}

.info-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(0, 122, 255, 0.08);
    border: 1px solid rgba(0, 122, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-cyan);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.info-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

/* Tarjeta Formulario de Leads */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-premium);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-control-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-control-wrapper label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

.form-control-wrapper input,
.form-control-wrapper select {
    background: rgba(7, 10, 19, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #fff;
    outline: none;
    transition: var(--transition-smooth);
    width: 100%;
}
.form-control-wrapper input:focus,
.form-control-wrapper select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.form-control-wrapper select option {
    background-color: var(--bg-dark);
    color: #fff;
}

/* ======== 11. FOOTER ======== */
.main-footer {
    background-color: #04060b;
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
}
.footer-logo .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-slogan {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-legal {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ======== 12. MODAL INTERACTIVO DE SIMULACIÓN ======== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 11, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #0b101f;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    position: relative;
    padding: 3rem 2.25rem;
    box-shadow: var(--shadow-premium), 0 0 40px rgba(0, 122, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
}
.modal-close-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.modal-close-btn svg {
    width: 100%;
    height: 100%;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-badge {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.2);
    color: var(--accent-cyan);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}
.modal-title.text-green {
    background: linear-gradient(135deg, #00e676 0%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Caja de Plan Seleccionado */
.selected-plan-box {
    background: rgba(0, 122, 255, 0.05);
    border: 1px solid rgba(0, 122, 255, 0.15);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.plan-box-details {
    display: flex;
    flex-direction: column;
}

.selected-plan-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.selected-plan-billing {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.selected-plan-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--accent-cyan);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-card-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Éxito de simulación */
.text-center { text-align: center; }

.success-icon-wrapper {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.success-check {
    width: 2.25rem;
    height: 2.25rem;
}

.license-card {
    background: #060912;
    border: 1px solid rgba(255,255,255,0.03);
    border-left: 4px solid var(--accent-green);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.license-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    padding-bottom: 0.5rem;
}
.license-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lic-label {
    color: var(--text-muted);
}

.lic-val {
    font-weight: 600;
    color: #fff;
}

.token-text {
    font-family: 'Courier New', monospace;
    color: var(--accent-cyan) !important;
    background: rgba(0,240,255,0.05);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.alert-info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 214, 0, 0.05);
    border: 1px solid rgba(255, 214, 0, 0.15);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 2rem;
}

.info-alert-icon {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--accent-yellow);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.alert-info-box p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ======== 13. RESPONSIVE MEDIA QUERIES ======== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-trust {
        justify-content: center;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .main-header {
        height: 4.5rem;
    }
    
    .nav-menu,
    .btn-nav-trial {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .form-group-flex {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-links {
        align-items: center;
    }
}

/* ANIMACIONES */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 230, 118, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}
