﻿/* ==========================================================================
   Variables CSS — Fuente unica de verdad para colores, superficies y layout
   ========================================================================== */
:root {
    --primary: #8b5cf6;
    --primary-rgb: 139, 92, 246;
    --accent: #ec4899;
    --accent-rgb: 236, 72, 153;
    --success: #22c55e;
    --success-rgb: 34, 197, 94;
    --success-dark: #10b981;
    --warning: #f59e0b;
    --text: #fafafa;
    --text-muted: #a1a1aa;
    --text-dim: #a0a0a0;
    --text-light: #d4d4d8;
    --text-faint: #71717a;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --radius-card: 16px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

body {
    background: #000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: white;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="rgba(255,255,255,0.05)" d="M0 0h1v20H0zM10 0h1v20h-1zM20 0h1v20h-1zM0 0h20v1H0zM0 10h20v1H0zM0 20h20v1H0z"/></svg>');
}

/* Fondo Animado (se mantiene igual) */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 25s ease-in-out infinite;
    will-change: transform;
}


.bg-shape-1 { width: 400px; height: 400px; background: linear-gradient(135deg, var(--primary), var(--accent)); top: 5%; left: 10%; animation-delay: 0s; }
.bg-shape-2 { width: 300px; height: 300px; background: linear-gradient(135deg, var(--success-dark), #3b82f6); top: 50%; right: 10%; animation-delay: -8s; }
.bg-shape-3 { width: 350px; height: 350px; background: linear-gradient(135deg, var(--warning), #ef4444); bottom: 10%; left: 20%; animation-delay: -16s; }
.bg-shape-4 { width: 250px; height: 250px; background: linear-gradient(135deg, var(--accent), var(--primary)); top: 20%; right: 40%; animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
    25% { transform: translateY(-25px) translateX(15px) scale(1.1); }
    50% { transform: translateY(20px) translateX(-20px) scale(0.9); }
    75% { transform: translateY(-15px) translateX(25px) scale(1.05); }
}

/* Header */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.main-header .logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.main-header .logo i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.main-header .logo i:hover {
    transform: scale(1.05) rotate(5deg);
}

.main-header .logo span {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.main-header .logo .logo-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Contenedor Principal */
.container {
    text-align: center;
    padding: 120px 40px 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

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

/* Contenido del Hero */
.hero-content {
    margin-bottom: 60px;
    overflow: visible;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(var(--accent-rgb), 0.2));
    border: 1px solid var(--border-hover);
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 25px;
}

.badge-icon { font-size: 1rem; }
.badge-text { color: #f0f0f0; }

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.highlight-orange {
    color: var(--warning);
}

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

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Video del Hero */
.hero-video {
    max-width: 800px;
    width: 100%;
    margin: 2.5rem auto;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    display: block;
    position: relative;
}

.hero-video > div {
    border-radius: 12px;
    overflow: hidden;
}

.hero-video iframe {
    border-radius: 12px;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

/* Botones del Hero */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--warning), #ef4444);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Logos de Tecnologías */
.tech-logos {
    margin-top: 40px;
    width: 100%;
    text-align: center;
}

.logo-label {
    display: block;
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.logos-container:hover {
    filter: grayscale(0%) opacity(1);
}

.logos-container i, .logos-container span {
    font-size: 1.8rem;
    color: white;
}

/* Sección de Comparación */
.comparison-section {
    padding: 60px 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


.comparison-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
}

.comparison-card {
    background: var(--surface-hover);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px;
}

.comparison-card.ai-way {
    border-color: var(--warning);
}

.card-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 20px;
    background: #444;
    color: #ddd;
}

.card-badge.after {
    background: var(--warning);
    color: black;
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-dim);
}

.comparison-card ul li i {
    color: var(--warning);
}

/* Sección de Creaciones */
.creations-section {
    padding: 80px 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-subtitle {
    color: #28c940; /* Verde */
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.creations-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.highlight-green {
    color: #28c940;
}

.creations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    text-align: left;
}

/* Base card — superficie oscura y borde sutil compartidos por todos los elementos tipo card.
   Para agregar una nueva card, añadir su selector a esta lista. */
.creation-card,
.software-learning-box,
.software-module-card,
.pricing-card,
.faq-item,
.faq-contact,
.componentization-diagram,
.anatomy-diagram,
.process-step,
.comparison-table {
    background: var(--surface);
    border: 1px solid var(--border);
}

.creation-card {
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.creation-card:hover {
    transform: translateY(-5px);
    background: var(--surface-hover);
    border-color: #28c940;
}

.creation-card i {
    font-size: 1.8rem;
    color: #28c940;
    margin-bottom: 20px;
}

.creation-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.creation-card p {
    color: var(--text-dim);
    line-height: 1.6;
}

.more-text {
    margin-top: 50px;
    color: var(--text-dim);
    font-style: italic;
}

.creations-section .more-text {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Diseño Responsivo — regla de rango, no se mueve al bloque consolidado */
/* Tablets (768px - 992px) */
@media (max-width: 992px) and (min-width: 769px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .container {
        max-width: 750px;
    }
}

/* ==========================================================================
   Estilos transversales y temas básicos
   ========================================================================== */
/* Secciones eliminadas */

/* ==========================================================================
   Estilos para la sección de Software Listos
   ========================================================================== */

.software-section {
    padding: 80px 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.software-container {
    width: 100%;
}

/* Encabezado de la sección */
.software-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--accent-rgb), 0.2));
    border: 1px solid var(--border-hover);
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    color: #a78bfa;
    margin-bottom: 20px;
}

.section-badge i {
    font-size: 0.75rem;
}

.software-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.software-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Caja de aprendizaje */
.software-learning-box {
    border-radius: 15px;
    padding: 40px;
    margin: 50px 0;
    text-align: center;
}

.learning-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(var(--success-rgb), 0.2);
    border: 1px solid rgba(var(--success-rgb), 0.3);
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--success);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.software-learning-box h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.software-learning-box p {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* Grid de módulos */
.software-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.software-module-card {
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.software-module-card:hover {
    transform: translateY(-5px);
    background: var(--surface-hover);
    border-color: var(--border-hover);
}

.module-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: none;
    width: fit-content;
    align-self: flex-start;
}

.software-badge {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.dispatcher-badge {
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    color: #a78bfa;
}

.zapflow-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.maps-lead-extractor-badge {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.module-badge i {
    font-size: 0.9rem;
}

.module-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.module-description {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Sección de precio y botón del módulo */
.module-price-section {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.module-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price-symbol {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.btn-module-access {
    width: 100%;
    padding: 12px 24px;
    background: var(--surface-hover);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-hover);
    cursor: pointer;
    display: inline-block;
    box-sizing: border-box;
}

.btn-module-access:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.software-module-card {
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Estilos para la sección de Precios
   ========================================================================== */
.pricing-section {
    padding: 100px 0;
    position: relative;
}

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 2rem;
}

.pricing-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.2;
}

.pricing-header p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-items: center;
}

/* Una sola tarjeta (páginas de producto individuales) */
.pricing-container:has(.pricing-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 420px;
}

/* Tarjetas de precios */
.pricing-card {
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: var(--surface-hover);
    border-color: var(--border-hover);
}

/* Plan Básico */
.pricing-card.basic:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

/* Plan Profesional */
.pricing-card.professional:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.2);
}

/* Plan Completo - Recomendado */
.pricing-card.complete {
    border-color: var(--success);
    background: rgba(var(--success-rgb), 0.05);
    box-shadow: 0 10px 40px rgba(var(--success-rgb), 0.15);
}

.pricing-card.complete:hover {
    border-color: var(--success);
    box-shadow: 0 15px 50px rgba(var(--success-rgb), 0.3);
    transform: translateY(-8px) scale(1.02);
}

/* Plan Personalizado */
.pricing-card.personalized:hover {
    border-color: var(--warning);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.2);
}

/* Badge de Recomendado */
.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Títulos de planes */
.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.plan-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 40px;
}

/* Lista de características */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.features-list li i {
    color: var(--success);
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: 1rem;
}

/* Sección de precio */
.price-section {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 0.3rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
}

.period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-section.custom {
    min-height: 72px;
    align-items: center;
}

.contact-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--warning);
}

/* Botones de precios */
.btn-pricing {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    border: 1px solid var(--border-hover);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--surface-hover);
    color: white;
    margin-bottom: 1rem;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.btn-pricing:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-pricing.highlighted {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    border: none;
    box-shadow: 0 4px 15px rgba(var(--success-rgb), 0.3);
    color: white;
}

.btn-pricing.highlighted:hover {
    background: linear-gradient(135deg, var(--success-dark), var(--success));
    box-shadow: 0 8px 25px rgba(var(--success-rgb), 0.4);
    color: white;
    text-decoration: none;
}

/* Garantía */
.guarantee {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    line-height: 1.5;
}

.guarantee i {
    color: var(--success);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Estilos para la sección de Preguntas Frecuentes (FAQ)
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.faq-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.3;
    animation: pulse-faq-icon 2s ease-in-out infinite;
}

.faq-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 1;
}

@keyframes pulse-faq-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.faq-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.2;
}

.faq-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Lista de preguntas */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Item individual de FAQ */
.faq-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: var(--surface-hover);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.faq-item.active {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: var(--primary);
}

/* Botón de pregunta */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.question-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-icon i {
    color: white;
    font-size: 1.1rem;
}

.question-text {
    flex-grow: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.toggle-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.toggle-icon i {
    color: var(--primary);
    font-size: 1.2rem;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

/* Respuesta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    padding-left: 56px;
}

/* Sección de contacto al final del FAQ */
.faq-contact {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
}

.faq-contact-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.faq-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.faq-contact-btn i {
    font-size: 1.5rem;
}


/* ==========================================================================
   Estilos para el Footer
   ========================================================================== */
.main-footer {
    background: transparent;
    margin-top: 100px;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 30px;
    background: transparent;
    position: relative;
}

/* Semáforos en la esquina superior izquierda */
.traffic-lights-footer {
    display: flex;
    gap: 6px;
    margin-bottom: 30px;
}

.traffic-light-footer {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.traffic-light-footer.red { 
    background-color: #ff5f57;
}

.traffic-light-footer.yellow { 
    background-color: #ffbd2e;
}

.traffic-light-footer.green { 
    background-color: #28c940;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 40px;
}

/* Columna del logo y descripción */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

.logo-icon i {
    font-size: 1.5rem;
    color: white;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.logo-accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.footer-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 350px;
}

/* Columna de enlaces legales */
.footer-links h4 {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links ul li a:hover::after {
    width: 100%;
}

/* Columna de contacto */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.contact-item span {
    color: var(--text-muted);
    transition: all 0.3s ease;
    cursor: default;
}

.contact-item span:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* Línea divisoria */
.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

/* Información inferior del footer */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
    align-items: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.company-info {
    color: var(--text-faint);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.5;
}

.address {
    color: var(--text-faint);
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Estilos para páginas de producto — Sección "Cómo Funciona"
   ========================================================================== */

.componentization-section {
    padding: 100px 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.componentization-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.componentization-text p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 15px;
}

.componentization-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 25px 0 15px;
}

.componentization-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.componentization-text ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #c0c0c0;
}

.componentization-text ul li i {
    color: var(--primary);
    font-size: 0.85rem;
}

.summary-box {
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 10px;
    padding: 20px 25px;
    margin-top: 20px;
}

.summary-box p {
    color: #c0c0c0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.summary-box strong {
    color: #ffffff;
}

/* Diagrama de flujo (componentization + anatomy) */
.componentization-diagram,
.anatomy-diagram {
    border-radius: 16px;
    overflow: hidden;
}

.diagram-header {
    background: var(--surface-hover);
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.diagram-badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.diagram-header h3,
.diagram-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.diagram-header p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0;
}

.diagram-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.diagram-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.diagram-block {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.diagram-component {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.diagram-component.purple {
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    color: #a78bfa;
}

.diagram-component.orange {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.diagram-list-item {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.diagram-list-item.green {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.diagram-row.small-components {
    flex-wrap: wrap;
    gap: 8px;
}

.diagram-small-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #808080;
}

.diagram-small-item span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #808080;
    display: inline-block;
    flex-shrink: 0;
}

.diagram-footer {
    padding: 12px 25px;
    background: var(--surface);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.diagram-footer span {
    font-size: 0.8rem;
    color: #606060;
}

/* ==========================================================================
   Estilos para páginas de producto — Sección "Características Avanzadas"
   ========================================================================== */

.software-anatomy-section {
    padding: 100px 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.anatomy-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 15px 0 20px;
    line-height: 1.2;
}

.anatomy-text p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 15px;
}

.anatomy-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 20px 0 12px;
}

.anatomy-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.anatomy-text ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #c0c0c0;
}

.anatomy-text ul li i {
    color: var(--primary);
    font-size: 0.85rem;
}

.diagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
}

.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.82rem;
    color: var(--text-dim);
    text-align: center;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.file-item i {
    font-size: 1.4rem;
    color: var(--primary);
}

/* ==========================================================================
   Estilos para el Pop-up de Video (DisparadorPro)
   ========================================================================== */

.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    width: 90%;
    max-width: 860px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.popup-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
}

.traffic-lights {
    display: flex;
    gap: 6px;
    align-items: center;
}

.traffic-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.2s;
}

.traffic-light.red    { background-color: #ff5f57; }
.traffic-light.yellow { background-color: #ffbd2e; }
.traffic-light.green  { background-color: #28c940; }

.traffic-light.close-btn:hover { opacity: 0.75; }

.responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   Estilos para ZapFlow — Video embebido en Hero
   ========================================================================== */

.hero-cta {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.video-demo-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: #0a0a0a;
}

.video-demo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--surface-hover);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-demo-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dim);
}

/* ==========================================================================
   Estilos para ExtractorMaps — Secciones exclusivas
   ========================================================================== */

/* Trust badge bajo el hero */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(var(--success-rgb), 0.1);
    border: 1px solid rgba(var(--success-rgb), 0.3);
    border-radius: 9999px;
    font-size: 0.85rem;
    color: #86efac;
    margin-top: 1.5rem;
}

.trust-badge i {
    font-size: 0.8rem;
    color: var(--success);
}

/* Sección de proceso en 3 pasos */
.process-section {
    padding: 100px 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-top: 10px;
}

.process-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-step {
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(var(--primary-rgb), 0.25);
    line-height: 1;
    margin-bottom: 12px;
}

.step-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Tabla comparativa de precios (ExtractorMaps) */
.pricing-comparison {
    max-width: 600px;
    margin: 0 auto 50px;
    padding: 0 2rem;
}

.comparison-table {
    border-radius: 12px;
    overflow: hidden;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.comparison-item {
    font-size: 0.95rem;
    color: var(--text-dim);
}

.comparison-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ef4444;
}

.comparison-total {
    padding: 14px 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #606060;
}

.comparison-total strong {
    color: #808080;
}

/* ==========================================================================
   RESPONSIVE — Todas las media queries agrupadas por breakpoint
   Editar aqui para cambiar estilos en cualquier resolucion
   ========================================================================== */

/* ── max-width: 1200px ───────────────────────────────────────── */

/* ── max-width: 992px ───────────────────────────────────────── */

/* ── max-width: 768px ───────────────────────────────────────── */

/* ── max-width: 576px ───────────────────────────────────────── */

/* ==========================================================================
   RESPONSIVE - Todas las media queries agrupadas por breakpoint
   Editar aqui para cambiar estilos en cualquier resolucion
   ========================================================================== */

/* ── max-width: 1200px ── */
@media (max-width: 1200px) {


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

/* ── max-width: 992px ── */
@media (max-width: 992px) {


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

    .software-section {
        padding: 60px 30px;
    }

    .software-header h2 {
        font-size: 2rem;
    }

    .software-learning-box h3 {
        font-size: 1.5rem;
    }

    .software-modules-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pricing-section {
        padding: 80px 0;
    }

    .pricing-header {
        margin-bottom: 50px;
    }

    .pricing-header h2 {
        font-size: 2.2rem;
    }

    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.5rem;
    }

    .faq-section {
        padding: 80px 0;
    }

    .faq-header {
        margin-bottom: 50px;
    }

    .faq-header h2 {
        font-size: 2.2rem;
    }

    .faq-container {
        padding: 0 1.5rem;
    }

    .main-footer {
        margin-top: 80px;
    }

    .footer-content {
        padding: 30px 30px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin-bottom: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-divider {
        margin-bottom: 20px;
    }

    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .componentization-section,
    .software-anatomy-section {
        padding: 80px 30px;
    }

    .componentization-text h2 {
        font-size: 1.9rem;
    }

    .anatomy-text h3 {
        font-size: 1.7rem;
    }
}

/* ── max-width: 768px ── */
@media (max-width: 768px) {


    .bg-shape {
        filter: blur(60px);
        opacity: 0.1;
    }

    .bg-shape-1 { width: 250px; height: 250px; }
    .bg-shape-2 { width: 200px; height: 200px; }
    .bg-shape-3 { width: 220px; height: 220px; }
    .bg-shape-4 { width: 180px; height: 180px; }

    .comparison-section {
        padding: 60px 30px;
    }

    .comparison-section h2 {
        font-size: 2rem;
    }

    .comparison-container {
        grid-template-columns: 1fr;
    }

    .creations-section {
        padding: 60px 30px;
    }

    .creations-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .creations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .creation-card {
        padding: 25px;
    }

    .creation-card i {
        font-size: 1.5rem;
    }

    .creation-card h3 {
        font-size: 1.1rem;
    }

    .creation-card p {
        font-size: 0.95rem;
    }

    body {
        padding: 0;
    }

    .main-header {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        z-index: 100;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .main-nav a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .container {
        padding: 100px 15px 40px;
        margin-top: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .hero-video {
        max-width: 95%;
        margin: 1.5rem auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
    }

    .logos-container {
        gap: 20px;
        padding: 0 10px;
    }

    .logos-container i, .logos-container span {
        font-size: 1.3rem;
    }

    /* Anatomía section responsive */
    .anatomy-text h3 {
        font-size: 1.8rem;
    }

    .anatomy-text p {
        font-size: 1rem;
    }

    .diagram-grid {
        gap: 1rem;
    }

    .software-section {
        padding: 60px 30px;
    }

    .software-header h2 {
        font-size: 1.8rem;
    }

    .software-description {
        font-size: 1rem;
    }

    .software-learning-box {
        padding: 30px 25px;
    }

    .software-learning-box h3 {
        font-size: 1.4rem;
    }

    .software-learning-box p {
        font-size: 1rem;
    }

    .module-title {
        font-size: 1.3rem;
    }

    .price-amount {
        font-size: 2.2rem;
    }

    .btn-module-access {
        font-size: 0.95rem;
        padding: 11px 20px;
    }

    .pricing-section {
        padding: 60px 30px;
    }

    .pricing-header {
        padding: 0;
        margin-bottom: 40px;
    }

    .pricing-header h2 {
        font-size: 1.8rem;
    }

    .pricing-header p {
        font-size: 1rem;
    }

    .pricing-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card {
        padding: 1.8rem;
    }

    .pricing-card h3 {
        font-size: 1.6rem;
    }

    .amount {
        font-size: 2.5rem;
    }

    .faq-section {
        padding: 60px 30px;
    }

    .faq-header {
        margin-bottom: 40px;
    }

    .faq-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .faq-icon i {
        font-size: 2rem;
    }

    .faq-header h2 {
        font-size: 1.8rem;
    }

    .faq-header p {
        font-size: 1rem;
    }

    .faq-container {
        padding: 0;
    }

    .faq-list {
        gap: 1.2rem;
    }

    .faq-question {
        padding: 1.2rem;
    }

    .question-icon {
        width: 35px;
        height: 35px;
    }

    .question-icon i {
        font-size: 1rem;
    }

    .question-text {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
        padding-left: 50px;
    }

    .faq-contact {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .faq-contact-text {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .faq-contact-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .faq-contact-btn i {
        font-size: 1.3rem;
    }

    .main-footer {
        margin-top: 60px;
    }

    .footer-content {
        padding: 25px 30px 20px;
    }

    .traffic-lights-footer {
        margin-bottom: 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-logo {
        gap: 0.8rem;
        justify-content: center;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .logo-icon i {
        font-size: 1.3rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .footer-description {
        font-size: 0.95rem;
    }

    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .footer-links ul {
        gap: 0.7rem;
    }

    .footer-links ul li a {
        font-size: 0.9rem;
    }

    .contact-item {
        font-size: 0.9rem;
        justify-content: center;
    }

    .footer-divider {
        margin-bottom: 18px;
    }

    .footer-bottom {
        gap: 0.25rem;
        text-align: center;
    }

    .copyright {
        font-size: 0.8rem;
    }

    .company-info {
        font-size: 0.75rem;
    }

    .address {
        font-size: 0.7rem;
    }

    .componentization-section,
    .software-anatomy-section {
        padding: 60px 20px;
    }

    .componentization-text h2 {
        font-size: 1.7rem;
    }

    .anatomy-text h3 {
        font-size: 1.5rem;
    }

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

    .popup-content {
        width: 95%;
    }

    .video-demo-container {
        max-width: 100%;
        margin: 1.5rem auto 0;
    }

    .process-section {
        padding: 60px 20px;
    }

    .process-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .pricing-comparison {
        padding: 0 1rem;
    }
}

/* ── max-width: 576px ── */
@media (max-width: 576px) {


    .comparison-section {
        padding: 40px 10px;
    }

    .creations-section {
        padding: 40px 10px;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    body {
        padding: 0;
    }

    .main-header {
        padding: 12px 10px;
        max-width: 100%;
    }

    .logo span {
        font-size: 1rem;
    }

    .main-nav a {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .container {
        padding: 80px 10px 30px;
    }

    .header-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .logos-container {
        gap: 15px;
    }

    .logos-container i, .logos-container span {
        font-size: 1.1rem;
    }

    .comparison-section h2,
    .creations-section h2 {
        font-size: 1.6rem;
    }

    .comparison-card,
    .creation-card {
        padding: 15px;
    }

    .anatomy-text h3 {
        font-size: 1.5rem;
    }

    .file-item {
        font-size: 0.8rem;
    }

    .file-item i {
        font-size: 1.5rem;
    }

    .software-section {
        padding: 40px 10px;
    }

    .software-container {
        padding: 0 0.5rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .software-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .software-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .software-learning-box {
        padding: 20px 15px;
        margin: 30px 0;
    }

    .learning-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }

    .software-learning-box h3 {
        font-size: 1.2rem;
    }

    .software-learning-box p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .software-modules-grid {
        gap: 20px;
        margin: 30px 0;
    }

    .software-module-card {
        padding: 20px 15px;
    }

    .module-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
        gap: 0.4rem;
    }

    .module-title {
        font-size: 1.1rem;
    }

    .module-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .price-symbol {
        font-size: 1rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .price-period {
        font-size: 0.85rem;
    }

    .btn-module-access {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .module-price-section {
        padding-top: 15px;
        gap: 12px;
    }

    .pricing-section {
        padding: 40px 10px;
    }

    .pricing-header {
        padding: 0 0.5rem;
        margin-bottom: 30px;
    }

    .pricing-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .pricing-header p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .pricing-container {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .recommended-badge {
        top: -10px;
        padding: 0.3rem 1rem;
        font-size: 0.7rem;
    }

    .pricing-card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }

    .plan-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        min-height: auto;
    }

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

    .features-list li {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        gap: 0.6rem;
    }

    .features-list li i {
        font-size: 0.9rem;
    }

    .price-section {
        margin-bottom: 1.2rem;
    }

    .currency {
        font-size: 1rem;
    }

    .amount {
        font-size: 2.2rem;
    }

    .period {
        font-size: 0.8rem;
    }

    .price-section.custom {
        min-height: 60px;
    }

    .contact-text {
        font-size: 1.5rem;
    }

    .btn-pricing {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .guarantee {
        font-size: 0.8rem;
    }

    .faq-section {
        padding: 40px 10px;
    }

    .faq-header {
        margin-bottom: 30px;
        padding: 0 0.5rem;
    }

    .faq-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.2rem;
    }

    .faq-icon i {
        font-size: 1.8rem;
    }

    .faq-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .faq-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .faq-container {
        padding: 0 0.5rem;
    }

    .faq-list {
        gap: 1rem;
    }

    .faq-item {
        border-radius: 10px;
    }

    .faq-question {
        padding: 1rem;
        gap: 0.8rem;
    }

    .question-icon {
        width: 32px;
        height: 32px;
    }

    .question-icon i {
        font-size: 0.9rem;
    }

    .question-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .toggle-icon {
        width: 25px;
        height: 25px;
    }

    .toggle-icon i {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
        line-height: 1.6;
        padding-left: 40px;
    }

    .faq-contact {
        margin-top: 1.5rem;
        padding: 1.2rem;
    }

    .faq-contact-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .faq-contact-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }

    .faq-contact-btn i {
        font-size: 1.2rem;
    }

    .main-footer {
        margin-top: 40px;
    }

    .footer-content {
        padding: 20px 10px 15px;
    }

    .traffic-lights-footer {
        gap: 5px;
        margin-bottom: 20px;
        margin-left: 0.5rem;
    }

    .traffic-light-footer {
        width: 8px;
        height: 8px;
    }

    .footer-container {
        padding: 0 0.5rem;
        gap: 2rem;
        margin-bottom: 20px;
    }

    .footer-logo {
        gap: 0.7rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-icon i {
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 0.03em;
    }

    .footer-description {
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .footer-links h4 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .footer-links ul {
        gap: 0.6rem;
    }

    .footer-links ul li a {
        font-size: 0.85rem;
    }

    .footer-contact {
        gap: 1rem;
    }

    .contact-item {
        font-size: 0.85rem;
        gap: 0.6rem;
        justify-content: center;
    }

    .contact-item i {
        font-size: 1rem;
        width: 18px;
    }

    .footer-divider {
        margin-bottom: 15px;
    }

    .footer-bottom {
        padding: 0 0.5rem;
        gap: 0.2rem;
    }

    .copyright {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .company-info {
        font-size: 0.7rem;
    }

    .address {
        font-size: 0.65rem;
        line-height: 1.6;
    }

    .componentization-section,
    .software-anatomy-section {
        padding: 50px 15px;
    }

    .componentization-text h2 {
        font-size: 1.5rem;
    }

    .anatomy-text h3 {
        font-size: 1.3rem;
    }

    .diagram-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px;
        gap: 8px;
    }

    .file-item {
        padding: 12px 8px;
        font-size: 0.75rem;
    }

    .file-item i {
        font-size: 1.2rem;
    }

    .diagram-content {
        padding: 15px;
    }

    .summary-box {
        padding: 15px 18px;
    }

    .hero-cta {
        padding: 0 10px;
    }

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

    .process-section {
        padding: 50px 15px;
    }

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

    .process-step {
        padding: 30px 20px;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .comparison-header {
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}