/*
- Qué hace el archivo: Estilos visuales de nivel internacional (Linear, Stripe, Vercel) para Avaspace.
- Fecha de última modificación: 26 de Mayo de 2026
- Nombre del autor: Antigravity
*/

/* -------------------------------------------------------------
   VARIABLES Y CONFIGURACIÓN DEL SISTEMA DE DISEÑO
   ------------------------------------------------------------- */
:root {
    --bg-color: #0D0D0D;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-hover-border: rgba(224, 48, 37, 0.4);
    
    --brand-red: #E03025;
    --brand-red-hover: #C52218;
    --brand-red-glow: rgba(224, 48, 37, 0.25);
    
    --text-white: #FFFFFF;
    --text-gray-light: #F3F4F6;
    --text-gray-muted: #8C8C8C;
    --text-gray-dark: #4B5563;
    
    --font-titles: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-smooth);
}

/* -------------------------------------------------------------
   ESTILOS DE UTILIDADES
   ------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.text-red {
    color: var(--brand-red);
}

.font-red {
    color: var(--brand-red) !important;
}

.section-padding {
    padding: 8rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-2-align {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition-smooth);
    letter-spacing: 0.03em;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background-color: var(--brand-red);
    color: var(--text-white);
    box-shadow: 0 4px 20px var(--brand-red-glow);
}

.btn-primary:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(224, 48, 37, 0.4);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--brand-red-glow);
}

.btn-white {
    border-color: var(--text-white);
}

.btn-white:hover {
    background-color: var(--text-white);
    color: var(--bg-color);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-white-solid {
    background-color: var(--text-white);
    color: var(--bg-color);
}

.btn-white-solid:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2);
}

.btn-white-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-white-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

/* Cabeceras de Sección */
.section-header {
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-titles);
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--text-gray-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* -------------------------------------------------------------
   NAVEGACIÓN (HEADER) E INTEGRACIÓN DEL LOGO
   ------------------------------------------------------------- */
.header {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: var(--container-width);
    z-index: 1000;
    background-color: rgba(13, 13, 13, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.75rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 3rem;
    flex-shrink: 0;
}

.logo-svg {
    height: 32px;  /* Altura ideal para la barra cápsula flotante */
    width: auto;
    display: block;
}

.logo-svg g:first-of-type path {
    fill: var(--text-white);
    transition: var(--transition-smooth);
}

.logo:hover .logo-svg g:first-of-type path {
    fill: var(--brand-red);
}

.logo-svg .cls-1 {
    fill: #d00014 !important;
}

.logo-svg .cls-2 {
    fill: #f01821 !important;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-size: 0.85rem;
    color: var(--text-gray-muted);
    font-weight: 500;
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.02);
}

.nav-link.active {
    color: var(--text-white);
    background-color: rgba(224, 48, 37, 0.08);
    border-color: rgba(224, 48, 37, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 20px;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

/* -------------------------------------------------------------
   01 — HERO SECTION (ESTILO PREMIUM / GLOW OVERLAY)
   ------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-color: var(--bg-color);
    z-index: 1;
    overflow: hidden;
}

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

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Cuadrícula sutil */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center top;
    pointer-events: none;
}

.grid-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 15%, var(--bg-color) 70%);
}

/* Decoraciones de Teclas de Teclado */
.keyboard-keys-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.keycap {
    position: absolute;
    background: #171717;
    border: 1px solid #2d2d2d;
    box-shadow: 0 4px 0 #000, inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #555;
    font-family: var(--font-body);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    user-select: none;
    opacity: 0.15;
    transition: all 0.6s ease;
    animation: keyFloat 8s ease-in-out infinite alternate;
}

.keycap:hover {
    opacity: 0.8;
    color: var(--brand-red);
    border-color: rgba(224, 48, 37, 0.3);
    box-shadow: 0 4px 0 #000, 0 0 15px rgba(224, 48, 37, 0.2);
}

.key-a { width: 45px; height: 45px; top: 15%; left: 6%; animation-delay: 0s; }
.key-v { width: 45px; height: 45px; bottom: 35%; left: 8%; animation-delay: 2s; }
.key-enter { width: 80px; height: 45px; top: 20%; right: 6%; font-size: 0.85rem; animation-delay: 1.5s; }
.key-cmd { width: 50px; height: 45px; bottom: 40%; right: 10%; animation-delay: 3s; }

@keyframes keyFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(5deg); }
}

/* Barra de Anuncio superior (Tipo Antigravity) */
.hero-announcement-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(224, 48, 37, 0.04);
    border: 1px solid rgba(224, 48, 37, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.hero-announcement-pill:hover {
    border-color: rgba(224, 48, 37, 0.4);
    box-shadow: 0 0 15px rgba(224, 48, 37, 0.1);
    transform: translateY(-1px);
}

.pill-badge {
    background-color: var(--brand-red);
    color: var(--text-white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    letter-spacing: 0.05em;
}

.pill-text {
    color: var(--text-gray-light);
    font-weight: 500;
}

/* Texto del Hero */
.hero-title {
    font-family: var(--font-titles);
    font-size: 6.5rem;
    line-height: 0.95;
    letter-spacing: 0.01em;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #FFFFFF 40%, #A3A3A3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-gray-muted);
    max-width: 650px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Portada del Hero con perspectiva 3D */
.hero-mockup-wrapper {
    margin-top: 5rem;
    perspective: 1500px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-mockup-card {
    position: relative;
    width: 100%;
    max-width: 950px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #121212;
    overflow: hidden;
    transform: rotateX(8deg) translateY(0px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.8), 
        0 0 50px rgba(224, 48, 37, 0.05);
    transition: 
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
        border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.hero-mockup-card:hover {
    transform: rotateX(2deg) translateY(-10px);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.9), 
        0 0 60px rgba(224, 48, 37, 0.15);
    border-color: rgba(224, 48, 37, 0.25);
}

.hero-mockup-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.hero-mockup-card:hover .hero-mockup-image {
    opacity: 1;
}

.mockup-status-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray-light);
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10B981;
    box-shadow: 0 0 8px #10B981;
    display: inline-block;
}

.mockup-glowing-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(224, 48, 37, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* -------------------------------------------------------------
   02 — QUÉ ES AVASPACE (DIAGRAMA & VS CODE EDITOR)
   ------------------------------------------------------------- */
.ecosystem-section {
    background-color: #080808;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.ecosystem-split {
    align-items: stretch;
}

.diagram-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ecosystem-svg {
    width: 100%;
    height: auto;
    display: block;
}

.node {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.node circle, .node rect {
    fill: #121212;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
    transition: var(--transition-smooth);
}

.node-bg-center {
    fill: #171717 !important;
    stroke: var(--brand-red) !important;
    stroke-width: 3 !important;
    filter: url(#glow-red);
}

.node-text {
    fill: var(--text-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-anchor: middle;
    pointer-events: none;
    dominant-baseline: middle;
}

.node-title-center {
    font-family: var(--font-titles);
    font-size: 18px;
    letter-spacing: 0.05em;
}

.node-desc-center {
    font-size: 8px;
    fill: var(--brand-red);
    letter-spacing: 0.1em;
    font-weight: 800;
}

.node-status {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    fill: var(--text-gray-muted);
}

.conn-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2;
    stroke-dasharray: 6, 6;
    transition: var(--transition-smooth);
}

.interactive-node:hover circle,
.interactive-node:hover rect,
.interactive-node.active-focus circle,
.interactive-node.active-focus rect {
    stroke: var(--brand-red);
    fill: #1b1313;
    filter: url(#glow-red);
}

.interactive-node.active .node-status { fill: #10B981; }
.interactive-node.soon .node-status { fill: #F59E0B; }
.interactive-node.pipeline .node-status { fill: #3B82F6; }
.interactive-node.dev .node-status { fill: #8B5CF6; }

.conn-line.flow-active {
    stroke: var(--brand-red);
    stroke-width: 2.5;
    stroke-dasharray: 8, 4;
    animation: dash 15s linear infinite;
    opacity: 0.7;
}

@keyframes dash {
    to { stroke-dashoffset: -1000; }
}

.diagram-info-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-smooth);
}

.diagram-info-card h4 {
    font-family: var(--font-titles);
    font-size: 1.75rem;
    color: var(--brand-red);
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.diagram-info-card p {
    color: var(--text-gray-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* VS CODE EDITOR MOCKUP */
.vscode-mockup {
    background-color: #08080c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.vscode-header {
    background-color: #121216;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.vscode-tabs {
    display: flex;
    gap: 2px;
}

.vscode-tab {
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    color: var(--text-gray-muted);
    border-radius: 4px 4px 0 0;
    font-family: 'SFMono-Regular', Consolas, monospace;
}

.vscode-tab.active {
    background-color: #08080c;
    color: var(--text-white);
    border-bottom: 2px solid var(--brand-red);
}

.vscode-editor {
    display: flex;
    flex-grow: 1;
    min-height: 380px;
}

.vscode-sidebar {
    width: 140px;
    background-color: #0f0f14;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.75rem;
    color: var(--text-gray-muted);
}

.sidebar-item {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.sidebar-item.active {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.02);
}

.sidebar-subitem {
    padding-left: 1.25rem;
    color: var(--text-gray-dark);
}

.sidebar-subitem.active {
    color: #10B981;
}

.vscode-code {
    flex-grow: 1;
    padding: 1.5rem;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    overflow-y: auto;
    color: #c9d1d9;
    text-align: left;
}

.vscode-line {
    white-space: pre-wrap;
    animation: lineFadeIn 0.3s ease-out forwards;
}

/* Colores de sintaxis */
.c-keyword { color: #ff7b72; }
.c-func { color: #d2a6ff; }
.c-str { color: #a5d6ff; }
.c-comment { color: #8b949e; font-style: italic; }
.c-tag { color: #f59e0b; }

/* -------------------------------------------------------------
   03 — PRODUCTOS (GLOW CARDS - LINEAR/STRIPE STYLE)
   ------------------------------------------------------------- */
.products-section {
    background-color: var(--bg-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

/* Borde degradado luminoso (glow border) */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(224, 48, 37, 0.4) 0%, transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(224, 48, 37, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.product-card:hover::after {
    opacity: 1;
}

.product-card-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.product-card-badge.active {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.product-card-badge.soon {
    background-color: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.product-card-badge.pipeline {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.product-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--brand-red);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-gray-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

/* Modales */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 480px;
    width: 90%;
    padding: 3rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-gray-muted);
}

.modal-close:hover {
    color: var(--text-white);
}

.modal-title {
    font-family: var(--font-titles);
    font-size: 2.25rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-gray-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

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

.form-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

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

.form-input:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 10px rgba(224, 48, 37, 0.15);
}

.modal-success-msg {
    display: none;
    text-align: center;
    color: #10B981;
    font-weight: 600;
    margin-top: 1rem;
}

/* Wrapper y delimitadores visuales de Admin JR */
.admin-jr-wrapper {
    position: relative;
    background: linear-gradient(180deg, rgba(0, 92, 75, 0.03) 0%, rgba(13, 13, 13, 0) 25%, rgba(13, 13, 13, 0) 75%, rgba(0, 92, 75, 0.03) 100%);
    border-left: 2px solid rgba(0, 168, 132, 0.15);
    transition: var(--transition-smooth);
}

.admin-jr-wrapper:hover {
    border-left-color: rgba(0, 168, 132, 0.35);
}

.spotlight-boundary {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 168, 132, 0.3) 50%, transparent 100%);
    z-index: 10;
}

.spotlight-boundary.start {
    margin-top: 4rem;
}

.spotlight-boundary.end {
    margin-bottom: 4rem;
}

.boundary-badge {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #00a884; /* Verde WhatsApp */
    background-color: #0D0D0D;
    padding: 0.4rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 168, 132, 0.3);
    box-shadow: 0 0 15px rgba(0, 168, 132, 0.12);
    text-transform: uppercase;
}

/* -------------------------------------------------------------
   04 — AGENTES.IO SPOTLIGHT (MOCKUP IPHONE)
   ------------------------------------------------------------- */
.spotlight-section {
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.spotlight-tag {
    font-family: var(--font-titles);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: var(--brand-red);
    margin-bottom: 1rem;
}

.spotlight-description {
    color: var(--text-gray-muted);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 3rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(224, 48, 37, 0.08);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    color: var(--text-gray-muted);
    font-size: 0.9rem;
}

.spotlight-pricing {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.spotlight-pricing .price {
    font-family: var(--font-titles);
    font-size: 2rem;
    color: var(--text-white);
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.spotlight-pricing .price-details {
    color: var(--text-gray-muted);
    font-size: 0.85rem;
}

/* MARCO IPHONE REALISTA */
.iphone-frame {
    width: 360px;
    height: 580px;
    background-color: #17171c;
    border: 12px solid #2d2d35;
    border-radius: 40px;
    position: relative;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.7), 
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin: 0 auto;
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 24px;
    background-color: #2d2d35;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.phone-simulator {
    width: 100%;
    height: 100%;
    background-color: #0b141a;
    display: flex;
    flex-direction: column;
}

.phone-header {
    background-color: #1f2c34;
    padding: 1.85rem 1rem 0.75rem 1rem; /* Margen superior para librar el notch */
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.phone-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--brand-red);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.phone-status h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.phone-status p {
    font-size: 0.7rem;
    color: #10B981;
}

.phone-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 15px 15px;
}

.msg {
    max-width: 80%;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    animation: popIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.msg-received {
    align-self: flex-start;
    background-color: #202c33;
    color: var(--text-white);
    border-top-left-radius: 0;
}

.msg-sent {
    align-self: flex-end;
    background-color: #005c4b;
    color: var(--text-white);
    border-top-right-radius: 0;
}

.msg-typing {
    align-self: flex-start;
    background-color: #202c33;
    color: var(--text-gray-muted);
    font-style: italic;
    border-top-left-radius: 0;
}

.phone-actions-container {
    background-color: #1f2c34;
    padding: 0.75rem 0.75rem 1.25rem 0.75rem; /* Margen extra inferior */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-suggestions {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none; /* Ocultar barra en Firefox */
}

.phone-suggestions::-webkit-scrollbar {
    display: none; /* Ocultar barra en Chrome/Safari */
}

.suggestion-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-gray-light);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.suggestion-btn:hover {
    background-color: rgba(224, 48, 37, 0.15);
    border-color: var(--brand-red);
    color: var(--text-white);
}

.phone-input-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.phone-input-form input {
    flex: 1;
    background-color: #2a3942;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: var(--text-white);
    font-size: 0.8rem;
    outline: none;
    transition: var(--transition-smooth);
}

.phone-input-form input:focus {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: #32434e;
}

.phone-input-form button {
    background-color: #00a884; /* Verde WhatsApp */
    color: var(--text-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.phone-input-form button:hover {
    background-color: #008f72;
    transform: scale(1.05);
}

.mini-dashboard {
    width: 100%;
    max-width: 360px;
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0 auto;
}

.mini-dashboard h4 {
    font-size: 0.9rem;
    color: var(--text-gray-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.chart-container {
    height: 120px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bar-chart {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 35%;
}

.bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-income {
    background-color: #10B981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.bar-expense {
    background-color: var(--brand-red);
    box-shadow: 0 0 10px rgba(224, 48, 37, 0.2);
}

.bar-group span {
    font-size: 0.75rem;
    color: var(--text-gray-muted);
}

.dashboard-stats {
    display: flex;
    justify-content: space-between;
}

.dashboard-stats div {
    display: flex;
    flex-direction: column;
}

.dashboard-stats .label {
    font-size: 0.75rem;
    color: #10B981;
    margin-bottom: 0.25rem;
}

.dashboard-stats .value {
    font-size: 1.1rem;
    font-weight: 700;
}

/* -------------------------------------------------------------
   05 — CÓMO FUNCIONA
   ------------------------------------------------------------- */
.how-it-works {
    background-color: var(--bg-color);
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.steps-timeline::after {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.step-card {
    position: relative;
    z-index: 2;
    background-color: var(--bg-color);
}

.step-number {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--brand-red);
    font-family: var(--font-titles);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.step-card:hover .step-number {
    border-color: var(--brand-red);
    box-shadow: 0 0 20px var(--brand-red-glow);
    transform: scale(1.05);
}

.step-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

/* -------------------------------------------------------------
   06 — JOURNEY DEL CLIENTE
   ------------------------------------------------------------- */
.journey-section {
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.journey-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.journey-tabs {
    display: flex;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 30px;
    padding: 0.4rem;
    margin-bottom: 3rem;
}

.journey-tab {
    flex: 1;
    padding: 0.85rem 1rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gray-muted);
    text-align: center;
}

.journey-tab:hover {
    color: var(--text-white);
}

.journey-tab.active {
    background-color: var(--brand-red);
    color: var(--text-white);
    box-shadow: 0 4px 15px var(--brand-red-glow);
}

.journey-content-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 3rem;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.journey-content-slide {
    display: none;
    width: 100%;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 3rem;
    align-items: center;
    animation: fadeInSlide 0.5s ease-out forwards;
}

.journey-content-slide.active {
    display: grid;
}

@keyframes fadeInSlide {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.journey-content-title {
    font-family: var(--font-titles);
    font-size: 2.25rem;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.journey-content-desc {
    color: var(--text-gray-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.journey-meta {
    font-size: 0.9rem;
    color: var(--text-white);
}

.journey-meta strong {
    color: var(--brand-red);
}

.journey-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(224, 48, 37, 0.05);
    border: 1px solid rgba(224, 48, 37, 0.15);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-visual span {
    font-size: 0.8rem;
    color: var(--text-gray-muted);
    text-align: center;
}

/* -------------------------------------------------------------
   07 — JMTECH.CODIGO (MOCKUP PANEL CÓDIGO)
   ------------------------------------------------------------- */
.jmtech-section {
    background-color: var(--bg-color);
}

.jmtech-card {
    background: radial-gradient(circle at bottom right, rgba(1, 224, 255, 0.12), rgba(42, 49, 242, 0.04) 50%, transparent 70%), #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 5rem 4rem;
    transition: var(--transition-smooth);
}

.jmtech-card:hover {
    border-color: rgba(1, 224, 255, 0.25);
    box-shadow: 0 15px 40px rgba(1, 224, 255, 0.03);
}

.jmtech-grid {
    gap: 4rem;
}

.jmtech-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0.4rem 0.85rem;
    background: rgba(1, 224, 255, 0.03);
    border: 1px solid rgba(1, 224, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.jmtech-brand:hover {
    border-color: rgba(1, 224, 255, 0.3);
    background: rgba(1, 224, 255, 0.06);
}

.jmtech-logo {
    width: 26px;
    height: auto;
    display: block;
}

.jmtech-brand-name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-white);
}

.jmtech-tag {
    font-family: var(--font-titles);
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    color: #01e0ff;
    margin-bottom: 1.5rem;
}

/* Hover de botón y paneles adaptados a los colores de JMTECH */
.jmtech-card .btn-white:hover {
    background-color: #01e0ff;
    border-color: #01e0ff;
    color: #0D0D0D;
    box-shadow: 0 4px 20px rgba(1, 224, 255, 0.3);
}

.jmtech-card .code-panel-header {
    border-bottom: 1px solid rgba(1, 224, 255, 0.08) !important;
}

.jmtech-card .panel-filename {
    color: #01e0ff !important;
}


.jmtech-desc {
    color: var(--text-gray-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.jmtech-services {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: var(--text-white);
    letter-spacing: 0.02em;
}

/* Code Panel JSON */
.jmtech-code-panel {
    background-color: #08080c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.code-panel-header {
    background-color: #121216;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.75rem;
    color: var(--text-gray-muted);
}

.code-panel-body {
    padding: 1.5rem;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e8eaed;
}

.json-key { color: #f28b82; }
.json-val { color: #81c995; }

/* -------------------------------------------------------------
   08 — COMUNIDAD + AFILIADOS
   ------------------------------------------------------------- */
.community-section {
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.community-tag {
    font-family: var(--font-titles);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: var(--brand-red);
    margin-bottom: 1rem;
}

.community-description {
    color: var(--text-gray-muted);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.community-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
}

.commission-badge {
    position: absolute;
    top: -15px;
    right: 2rem;
    background-color: var(--brand-red);
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px var(--brand-red-glow);
}

.community-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.community-card p {
    color: var(--text-gray-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.partner-perks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.perk {
    font-size: 0.9rem;
    color: var(--text-white);
}

.perk-bullet {
    color: var(--brand-red);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* -------------------------------------------------------------
   09 — SECCIÓN DE PRECIOS PREMIUM (ESTILO SAAS COMPETIDORES)
   ------------------------------------------------------------- */
.pricing-section {
    background-color: var(--bg-color);
}

/* Switcher Mensual/Anual */
.billing-switcher {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.billing-switcher span {
    color: var(--text-gray-muted);
    transition: var(--transition-smooth);
}

.billing-switcher span.active {
    color: var(--text-white);
}

.switcher-btn {
    width: 44px;
    height: 24px;
    background-color: var(--brand-red);
    border-radius: 12px;
    position: relative;
}

.switcher-btn::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

.billing-switcher.annual-active .switcher-btn::after {
    left: 23px;
}

/* Pricing Grid & Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
}

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

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card.featured {
    border-color: var(--brand-red-glow);
    background: radial-gradient(circle at top right, rgba(224, 48, 37, 0.05) 0%, rgba(255, 255, 255, 0.01) 80%);
    box-shadow: 0 10px 30px rgba(224, 48, 37, 0.04);
}

.pricing-card.featured:hover {
    border-color: var(--brand-red);
    box-shadow: 0 15px 40px rgba(224, 48, 37, 0.12);
}

.card-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: var(--brand-red);
    color: var(--text-white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-desc {
    color: var(--text-gray-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.price-box {
    display: flex;
    align-items: baseline;
    margin-bottom: 3rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 0.25rem;
}

.price-value {
    font-family: var(--font-titles);
    font-size: 4rem;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--text-white);
}

.price-period {
    color: var(--text-gray-muted);
    font-size: 0.95rem;
    margin-left: 0.5rem;
}

.pricing-card .features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
}

.pricing-card .features-list li {
    font-size: 0.95rem;
    color: var(--text-gray-light);
}

/* -------------------------------------------------------------
   10 — CTA FINAL
   ------------------------------------------------------------- */
.final-cta-section {
    background-color: var(--bg-color);
    padding: 8rem 0;
}

.final-cta-card {
    background-color: var(--brand-red);
    border-radius: 16px;
    padding: 6rem 4rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(224, 48, 37, 0.25);
    position: relative;
    overflow: hidden;
}

.final-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-title {
    font-family: var(--font-titles);
    font-size: 4.5rem;
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.final-cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.final-cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* -------------------------------------------------------------
   11 — FOOTER
   ------------------------------------------------------------- */
.footer {
    background-color: #060606;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 5rem 0 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.logo-footer {
    margin-bottom: 1.5rem;
}

.footer-about {
    color: var(--text-gray-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links-col a {
    display: block;
    color: var(--text-gray-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray-dark);
    font-size: 0.8rem;
}

/* -------------------------------------------------------------
   ANIMACIÓN SCROLL REVEAL Y RESPONSIVIDAD
   ------------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------
   11 — PREGUNTAS FRECUENTES (FAQ SECTION)
   ------------------------------------------------------------- */
.faq-section {
    background-color: #0b0b0b;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(224, 48, 37, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.faq-item[open] {
    border-color: rgba(224, 48, 37, 0.5);
    background: rgba(224, 48, 37, 0.02);
    box-shadow: 0 10px 30px rgba(224, 48, 37, 0.05);
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    user-select: none;
    letter-spacing: -0.01em;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-gray-muted);
    transition: var(--transition-smooth);
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
    color: var(--brand-red);
}

.faq-answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--text-white);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item[open] .faq-answer {
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsividad */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .header {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1rem 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 3rem 2rem;
        transition: var(--transition-smooth);
        z-index: 1050;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        background-color: transparent;
        border-color: transparent;
    }

    .nav-link:hover, .nav-link.active {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.05);
    }

    .nav-link.active {
        color: var(--brand-red) !important;
        background-color: rgba(224, 48, 37, 0.05);
        border-color: rgba(224, 48, 37, 0.15);
    }

    .header .btn-primary {
        width: 100%;
        margin-top: 1rem;
        padding: 0.8rem;
        font-size: 1rem;
        border-radius: 9999px;
    }

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

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

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

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }

    .grid-2, .grid-2-align {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Hero */
    .keyboard-keys-bg {
        display: none;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-mockup-wrapper {
        margin-top: 3rem;
        perspective: none;
    }

    .hero-mockup-card {
        transform: none !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    }

    .hero-mockup-card:hover {
        transform: none !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    }

    /* VS Code layout mobile */
    .vscode-mockup {
        min-height: auto;
    }
    
    .vscode-editor {
        flex-direction: column;
        min-height: 300px;
    }
    
    .vscode-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        padding: 1rem;
        flex-direction: row;
        overflow-x: auto;
    }
    
    .sidebar-subitem {
        display: none; /* Simplificar para mobile */
    }

    /* Productos */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cómo funciona (Timeline pasa a vertical) */
    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .steps-timeline::after {
        display: none;
    }

    /* Journey */
    .journey-tabs {
        flex-direction: column;
        border-radius: 12px;
        gap: 0.5rem;
        background-color: transparent;
        border: none;
    }

    .journey-tab {
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .journey-content-slide {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* JMTECH */
    .jmtech-card {
        padding: 3rem 2rem;
    }

    .jmtech-services {
        font-size: 1rem;
    }

    /* Tabla de Precios */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* CTA Final */
    .final-cta-card {
        padding: 4rem 2rem;
    }

    .final-cta-title {
        font-size: 2.75rem;
    }

    .final-cta-actions {
        flex-direction: column;
        gap: 1rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Ajustes específicos para móviles pequeños (ancho menor a 480px) */
@media (max-width: 480px) {
    /* Ajustes generales */
    .section-padding {
        padding: 4rem 0;
    }

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

    /* Hero */
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Marco del iPhone (WhatsApp Simulator) */
    .iphone-frame {
        width: 100%;
        max-width: 290px;
        height: 480px;
        border-width: 8px;
        border-radius: 28px;
    }

    .phone-header {
        padding: 1.25rem 0.5rem 0.5rem 0.5rem;
    }

    .phone-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .phone-status h4 {
        font-size: 0.8rem;
    }

    .phone-status p {
        font-size: 0.65rem;
    }

    .msg {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
        max-width: 85%;
    }

    .phone-suggestions {
        gap: 0.3rem;
    }

    .suggestion-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }

    .phone-input-form input {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .phone-input-form button {
        width: 28px;
        height: 28px;
    }

    /* Mini Dashboard en móvil */
    .mini-dashboard {
        max-width: 290px;
        padding: 1rem;
    }

    /* Delimitadores de Admin JR */
    .spotlight-boundary.start {
        margin-top: 2rem;
    }

    .spotlight-boundary.end {
        margin-bottom: 2rem;
    }

    .boundary-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.9rem;
    }

    /* Acordeones FAQ */
    .faq-item {
        padding: 1.2rem;
    }

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

    .faq-answer {
        font-size: 0.85rem;
    }
}

