/* ==========================================================================
   ACCESIUM SUITE LANDING PAGE DESIGN SYSTEM (GLASSMORPHISM EDITION)
   ========================================================================== */

:root {
    --bg-dark: #05070f;
    --bg-surface: rgba(13, 17, 30, 0.45);
    --bg-surface-card: rgba(18, 24, 43, 0.55);
    --bg-surface-hover: rgba(26, 35, 62, 0.65);
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.15);
    --secondary: #06b6d4;
    --secondary-light: #22d3ee;
    --accent: #ec4899;
    --accent-glow: rgba(236, 72, 153, 0.15);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --border-glow: rgba(99, 102, 241, 0.35);
    --gold: #f59e0b;
    --green: #10b981;
    --danger: #ef4444;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --glass-bg: rgba(10, 14, 26, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px) saturate(180%);
}

/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Colocado justo detrás del contenido pero sobre el HTML */
    pointer-events: none;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: transparent !important; /* Totalmente transparente para revelar el canvas animado */
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.w-full { width: 100%; }

/* Buttons & CTA styles (Glass-embedded) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #ffffff;
    /* box-shadow removed */
}

.btn-primary:hover {
    transform: translateY(-2px);
    /* box-shadow removed */
    background: linear-gradient(135deg, #818cf8, #4f46e5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

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

.btn-outline:hover, .btn-outline.active {
    background-color: var(--primary-glow);
    border-color: var(--primary);
    color: #ffffff;
}

.btn-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background-color: var(--danger);
    color: #ffffff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 14px;
}

section[id] {
    scroll-margin-top: 120px;
}

/* Section Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* NAVIGATION HEADER (Elite Glassmorphism) */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: rgba(10, 14, 26, 0.35);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* box-shadow removed */
}

.nav-container {
    height: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 12px; /* Espacio para separar el logo del texto */
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-brand:hover {
    opacity: 0.95;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 38px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.brand-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.brand-gradient {
    background: linear-gradient(135deg, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-sub {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px; /* Ampliado a 36px para una distribución horizontal uniforme y elegante */
}

.nav-link {
    font-weight: 500; /* Ajustado a font-weight: 500 según tu petición */
    font-size: 0.95rem; /* Aumentado a 0.95rem para excelente legibilidad */
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 10px;
}

.menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}

/* Mobile Menu (Glassmorphism) */
.mobile-menu {
    position: fixed;
    top: 100px;
    left: 5%;
    right: 5%;
    background: rgba(13, 17, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    /* box-shadow removed globally */
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 220px 0 120px 0;
    overflow: hidden;
}

.hero-bg-glow {
    display: none !important;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-container {
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border);
}

.badge i {
    width: 14px;
    height: 14px;
    color: var(--secondary);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 620px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    width: 18px;
    height: 18px;
    color: var(--secondary);
}

/* Hero Widget Mockup Card (Glassmorphic) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    /* box-shadow removed */
    z-index: 5;
    transition: all 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    /* box-shadow removed */
}

.card-header {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border);
}

.dot:nth-child(1) { background-color: var(--danger); }
.dot:nth-child(2) { background-color: var(--gold); }
.dot:nth-child(3) { background-color: var(--green); }

.window-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

/* Simulated Widget styling */
.mockup-widget {
    padding: 24px;
}

.widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.widget-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
}

.widget-logo i {
    color: var(--primary-light);
}

.widget-lang {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.widget-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-pill {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.profile-pill.active {
    background-color: var(--primary-glow);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.profile-pill i {
    width: 16px;
    height: 16px;
}

.widget-divider {
    height: 1px;
    background-color: var(--border);
    margin-bottom: 20px;
}

.widget-action-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.action-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid var(--border);
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background-color: var(--primary);
    color: #ffffff;
}

.slider-mock {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
    position: relative;
    margin: 10px 0;
}

.slider-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: 3px;
}

.slider-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid var(--primary);
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Floating Orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}

.f-orb-1 {
    width: 140px;
    height: 140px;
    background-color: rgba(99, 102, 241, 0.25);
    top: -30px;
    left: -50px;
    animation: float 6s ease-in-out infinite alternate;
}

.f-orb-2 {
    width: 110px;
    height: 110px;
    background-color: rgba(6, 182, 212, 0.25);
    bottom: -40px;
    right: -30px;
    animation: float 8s ease-in-out infinite alternate-reverse;
}

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

/* TRUST METRICS BAR (Individual Glassmorphic Cards with Glowing Icons) */
.trust-bar {
    padding: 80px 0;
    position: relative;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.metric-card {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    /* box-shadow removed */
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.metric-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    /* box-shadow removed */
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-icon-box {
    width: 58px; /* Matches feature icon box size */
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.metric-icon-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(14px);
    opacity: 0.5;
    border-radius: 50%;
    z-index: -1;
    transition: opacity 0.35s ease;
}

.metric-card:hover .metric-icon-box {
    transform: scale(1.1) rotate(6deg);
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.metric-card:hover .metric-icon-box::before {
    opacity: 0.8;
}

.metric-icon-box i {
    width: 24px;
    height: 24px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.15));
}

/* ==========================================================================
   METRICS CHROMATIC PALETTE (Nth-Child Selection) - Matches Feature Card Colors
   ========================================================================== */

/* Card 1: Compliance (Indigo) */
.metrics-grid .metric-card:nth-child(1) .metric-icon-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #818cf8;
    /* box-shadow removed globally */
}

/* Card 2: Blazing Fast (Pink) */
.metrics-grid .metric-card:nth-child(2) .metric-icon-box {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(236, 72, 153, 0.25);
    color: #f472b6;
    /* box-shadow removed globally */
}

/* Card 3: Layout Immunity (Cyan) */
.metrics-grid .metric-card:nth-child(3) .metric-icon-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: #22d3ee;
    /* box-shadow removed globally */
}

/* Card 4: Satisfied Users (Green) */
.metrics-grid .metric-card:nth-child(4) .metric-icon-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    /* box-shadow removed globally */
}

.metric-content h3 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.metric-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
}

/* Responsive grid rules */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* FEATURES SECTION */
.features-section {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%), var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* box-shadow removed globally */
}

.feature-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    bottom: -80px;
    right: -80px;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0;
    transform: scale(0.8);
    border-radius: 50%;
    filter: blur(25px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%), rgba(18, 23, 44, 0.75);
}

.feature-card:hover::after {
    opacity: 1;
    transform: scale(1.3);
}

.feat-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 50%; /* Esfera circular premium */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-icon-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(14px);
    opacity: 0.5;
    border-radius: 50%;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feat-icon-box {
    transform: scale(1.1) rotate(6deg);
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.feature-card:hover .feat-icon-box::before {
    opacity: 0.8;
}

.feat-icon-box i {
    width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.15));
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #ffffff;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: #cbd5e1;
}

/* ==========================================================================
   CARDS UNIQUE CHROMATIC PALETTE (Nth-Child Selection)
   ========================================================================== */

/* Card 1: Lector TTS (Indigo) */
.features-grid .feature-card:nth-child(1) .feat-icon-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.05));
    border-color: rgba(99, 102, 241, 0.25);
    color: #818cf8;
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(1):hover {
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(1)::after {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

/* Card 2: Contraste Smart (Pink) */
.features-grid .feature-card:nth-child(2) .feat-icon-box {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(236, 72, 153, 0.05));
    border-color: rgba(236, 72, 153, 0.25);
    color: #f472b6;
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(2):hover {
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(2)::after {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
}

/* Card 3: Dislexia (Cyan) */
.features-grid .feature-card:nth-child(3) .feat-icon-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(6, 182, 212, 0.05));
    border-color: rgba(6, 182, 212, 0.25);
    color: #22d3ee;
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(3):hover {
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(3)::after {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
}

/* Card 4: Máscara y Enfoque (Green) */
.features-grid .feature-card:nth-child(4) .feat-icon-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.05));
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(4):hover {
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(4)::after {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
}

/* Card 5: Mobile Friendly (Amber) */
.features-grid .feature-card:nth-child(5) .feat-icon-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.05));
    border-color: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(5):hover {
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(5)::after {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
}

/* Card 6: Inmunidad Scroll (Blue/Cobalt) */
.features-grid .feature-card:nth-child(6) .feat-icon-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.05));
    border-color: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(6):hover {
    /* box-shadow removed globally */
}
.features-grid .feature-card:nth-child(6)::after {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

/* LIVE SANDBOX SIMULATOR (Glassmorphism layout) */
.sandbox-section {
    padding: 120px 0;
    position: relative;
}

.sandbox-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.sandbox-controls {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* box-shadow removed */
}

.sandbox-controls h3 {
    font-size: 1.4rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 8px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* Mock web page in Sandbox (Glassmorphic) */
.sandbox-preview {
    position: relative;
    background-color: #080a13;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 440px;
    overflow: hidden;
    /* box-shadow removed globally */
    transition: all 0.3s ease;
}

.sandbox-bg-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="400" viewBox="0 0 800 400"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%231e1b4b" stop-opacity="0.6"/><stop offset="100%" stop-color="%230c0a0f" stop-opacity="0.9"/></linearGradient></defs><rect width="800" height="400" fill="url(%23g)"/><circle cx="650" cy="150" r="100" fill="%234f46e5" fill-opacity="0.25"/><circle cx="200" cy="300" r="120" fill="%2306b6d4" fill-opacity="0.15"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.reading-ruler-element {
    position: absolute;
    left: 0;
    right: 0;
    height: 32px;
    background-color: rgba(6, 182, 212, 0.15);
    border-top: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    z-index: 10;
    pointer-events: none;
    display: none;
    top: 180px;
}

.preview-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
    font-size: 0.9rem;
    transition: inherit;
}

.preview-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-nav {
    display: flex;
    gap: 16px;
    color: var(--text-secondary);
}

.preview-hero {
    position: relative;
    z-index: 5;
    margin-top: 32px;
    max-width: 480px;
    transition: inherit;
}

.preview-hero h2 {
    font-size: 2.1rem;
    margin-bottom: 16px;
    line-height: 1.2;
    transition: inherit;
}

.preview-hero p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
    transition: inherit;
}

.preview-buttons {
    display: flex;
    gap: 12px;
}

/* Sandbox state transitions */
/* Dyslexia Mode */
.sandbox-dyslexia, .sandbox-dyslexia * {
    font-family: 'OpenDyslexic', 'Comic Sans MS', sans-serif !important;
}

/* Grayscale Mode */
.sandbox-grayscale {
    filter: grayscale(100%) !important;
}

/* High Contrast Mode */
.sandbox-high-contrast {
    background-color: #000000 !important;
}

.sandbox-high-contrast .sandbox-bg-img {
    display: none !important;
}

.sandbox-high-contrast .preview-header,
.sandbox-high-contrast .preview-hero,
.sandbox-high-contrast .preview-hero * {
    color: #ffff00 !important;
    border-color: #ffff00 !important;
    background: transparent !important;
}

.sandbox-high-contrast button {
    border: 2px solid #ffff00 !important;
    color: #ffff00 !important;
    background: #000000 !important;
}

/* Dark Contrast Mode (Supports dynamic background isolated clones) */
.sandbox-dark-contrast {
    filter: invert(100%) hue-rotate(180deg) !important;
    background-color: #000000 !important;
}

.sandbox-dark-contrast .accesium-bg-isolated {
    background-image: none !important;
}

.sandbox-dark-contrast .accesium-bg-cloned {
    filter: invert(100%) hue-rotate(180deg) !important;
}

/* ACTIVE DEPLOYMENTS SHOWCASE SECTION */
.showcase-section {
    padding: 100px 0;
    position: relative;
}

.showcase-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.showcase-window {
    overflow: hidden;
    width: 100%;
    padding: 20px 4px; /* Vertical padding so card hover scaling & shadows are not cropped */
}

.showcase-track {
    display: flex;
    gap: 24px;
    align-items: stretch; /* Force all cards to have the exact same height */
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    width: max-content;
}

.showcase-card {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: auto; /* Let flex stretch control the height */
    min-height: 220px;
    width: calc((100% - 24px) / 2); /* exactly 2 cards visible on desktop */
    flex-shrink: 0;
}

.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.showcase-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    /* box-shadow removed */
}

.showcase-card:hover::before {
    opacity: 1;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.showcase-globe {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.showcase-card:hover .showcase-globe {
    background: var(--primary-glow);
    color: #ffffff;
    border-color: var(--primary-light);
    transform: rotate(15deg);
}

.status-badge {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--green);
    display: inline-block;
    animation: pulse-green 2s infinite;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.showcase-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.showcase-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    position: relative;
    z-index: 1;
}

.showcase-niche {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.showcase-link {
    font-size: 0.85rem;
    color: var(--secondary-light);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.showcase-card:hover .showcase-link {
    color: #ffffff;
}

.showcase-link i {
    width: 12px;
    height: 12px;
    transition: transform 0.25s ease;
}

.showcase-card:hover .showcase-link i {
    transform: translate(2px, -2px);
}

/* LEGAL COMPLIANCE */
.wcag-section {
    padding: 120px 0;
}

.wcag-box {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    padding: 60px;
    align-items: center;
    /* box-shadow removed */
}

.wcag-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.wcag-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.wcag-item i {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.wcag-item strong {
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.wcag-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.wcag-gavel {
    display: flex;
    justify-content: center;
}

.gavel-card {
    background: radial-gradient(circle at top, var(--primary-glow) 0%, transparent 100%), rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    max-width: 320px;
    /* box-shadow removed */
}

.gavel-icon {
    width: 64px;
    height: 64px;
    background-color: var(--accent-glow);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.gavel-icon i {
    width: 28px;
    height: 28px;
}

.gavel-card h3 {
    font-size: 1.42rem;
    margin-bottom: 12px;
}

.gavel-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.wcag-badge {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* PRICING SECTION (Glassmorphism Cards) */
.pricing-section {
    padding: 120px 0;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.billing-toggle span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.billing-toggle span.active,
.billing-toggle span.active > span {
    color: #ffffff;
}

.toggle-switch {
    width: 48px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.toggle-switch::after {
    content: "";
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toggle-switch.active {
    background-color: var(--primary);
}

.toggle-switch.active::after {
    transform: translateX(24px);
}

.discount-pill, .billing-toggle span .discount-pill {
    background-color: var(--accent) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    margin-left: 6px !important;
    display: inline-block !important;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    align-items: stretch;
}

.price-card {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* box-shadow removed */
}

.price-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    /* box-shadow removed */
}

.price-card.plan-disabled {
    opacity: 0.75;
    filter: grayscale(0.2);
    cursor: default;
}

.price-card.plan-disabled:hover {
    transform: none;
    border-color: var(--border);
    /* box-shadow removed */
}

.price-card.plan-disabled .price-header h3,
.price-card.plan-disabled .price-header p,
.price-card.plan-disabled .price,
.price-card.plan-disabled .price-features {
    filter: blur(0.4px);
}

.price-card.plan-disabled .btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    transform: none;
}

.price-card.popular {
    border-color: var(--primary-light);
    /* box-shadow removed */
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%), var(--bg-surface-card);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #d01c70);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.price-header h3 {
    font-size: 1.55rem;
    margin-bottom: 8px;
}

.price-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 32px;
}

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

.amount {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
}

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

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.price-features li.disabled {
    color: var(--text-muted);
}

.price-features li i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.price-features li i[data-lucide="check"] {
    color: var(--secondary);
}

.price-features li i[data-lucide="x"] {
    color: var(--danger);
}

/* TESTIMONIALS (Glossy sliding carousel) */
.testimonials-section {
    padding: 120px 0;
    position: relative;
}

.testimonials-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.testimonials-window {
    overflow: hidden;
    width: 100%;
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 60px 0; /* Horizontal padding removed to ensure overflow hides neighboring slides perfectly */
    /* box-shadow removed */
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    width: max-content;
}

.testimonial-slide {
    width: 25%; /* Cada diapositiva es exactamente el 100% de la ventana */
    flex-shrink: 0;
    text-align: center;
    padding: 0 54px; /* Added internal padding so content does not touch the window border */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: var(--gold);
    margin-bottom: 24px;
}

.rating i {
    width: 20px;
    height: 20px;
    fill: var(--gold);
}

.quote {
    font-size: 1.05rem; /* Made the quote text size smaller and more elegant */
    line-height: 1.65; /* Increased line-height for readability */
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 36px;
    max-width: 720px;
    letter-spacing: -0.01em;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    /* box-shadow removed */
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.05em;
}

.gradient-1 { background: linear-gradient(135deg, #6366f1, #a855f7); } /* Indigo-Purple */
.gradient-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); } /* Pink-Red */
.gradient-3 { background: linear-gradient(135deg, #06b6d4, #3b82f6); } /* Cyan-Blue */
.gradient-4 { background: linear-gradient(135deg, #f59e0b, #e11d48); } /* Amber-Rose */

.user-details {
    text-align: left;
}

.user-details strong {
    display: block;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 2px;
    font-weight: 600;
}

.user-details span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.carousel-btn {
    background: var(--bg-surface-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* box-shadow removed */
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--bg-surface-hover);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    /* box-shadow removed */
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.dot.active {
    width: 28px; /* Píldora animada super premium */
    border-radius: 99px;
    background-color: var(--primary-light);
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.5);
}

@media (max-width: 768px) {
    .testimonials-container {
        flex-direction: column;
    }
    
    .carousel-btn {
        display: none !important; /* Escondemos flechas en móvil, confiamos en puntos deslizables */
    }
    
    .testimonials-window {
        padding: 40px 0; /* Horizontal padding removed to prevent adjacent slides from bleeding on mobile */
        border-radius: 24px;
    }
    
    .testimonial-slide {
        padding: 0 24px; /* Internal horizontal padding added here to space text from borders */
    }
    
    .quote {
        font-size: 0.95rem; /* Reduced for excellent mobile proportions and legibility */
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .user-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .user-details {
        text-align: center;
    }
}

/* FAQ ACCORDION (Glassmorphic) */
.faq-section {
    padding: 120px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
}

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

.faq-question i {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform 0.25s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(255, 255, 255, 0.01);
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FOOTER */
.main-footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 40px 0;
    background: rgba(10, 14, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 16px;
    max-width: 400px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    /* Collapse Navbar on Tablets & Mobiles */
    .navbar {
        width: 92%;
        top: 16px;
        height: 64px;
        border-radius: 16px;
    }
    .nav-container {
        padding: 0 24px;
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
    }
    .btn-nav {
        display: none;
    }
    #nav-lang-toggle {
        display: none !important; /* Hide in navbar on mobile to keep it clean */
    }
    .mobile-lang-container {
        display: block !important; /* Show inside the mobile drawer menu */
    }
    .mobile-menu {
        top: 92px;
        padding: 84px 32px 32px 32px !important; /* Increased top padding to 84px so the absolute language pill has its own row at the top */
    }

    /* Content adjustments */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    .hero-title {
        font-size: 2.6rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
        margin-bottom: 32px;
    }
    .hero-buttons, .hero-trust {
        justify-content: center;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .section-header h2 {
        font-size: 2.2rem;
        line-height: 1.25;
        margin-bottom: 16px;
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sandbox-container {
        grid-template-columns: 1fr;
    }
    .wcag-box {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    .showcase-card {
        width: calc((100% - 16px) / 2); /* 2 cards visible on tablet */
    }
    .showcase-carousel-wrapper, .showcase-track {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.25;
    }
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.25;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-grid .nav-brand {
        justify-content: center;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
        gap: 12px;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .preview-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .preview-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
    .showcase-card {
        width: 100%; /* 1 card visible on mobile */
    }
    .showcase-carousel-wrapper, .showcase-track {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.15rem;
        gap: 8px;
    }
    .brand-logo-container {
        width: auto;
        height: 28px;
    }
    .lang-pill-toggle {
        width: 84px;
        height: 32px;
    }
    .lang-pill-slider {
        width: 38px;
        height: 26px;
    }
    .lang-pill-toggle.active-en .lang-pill-slider {
        transform: translateX(40px);
    }
    .lang-pill-opt {
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   BILINGUAL ENGINE DESIGN SYSTEM (ES / EN)
   ========================================================================== */

/* Shared Sliding Pill Language Toggle Component */
.lang-pill-toggle {
    display: flex;
    align-items: center;
    position: relative;
    width: 96px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    padding: 3px;
    user-select: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lang-pill-toggle:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.12);
}

.lang-pill-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 44px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
    z-index: 1;
}

/* Sliding animation to EN (right) */
.lang-pill-toggle.active-en .lang-pill-slider {
    transform: translateX(46px);
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    box-shadow: 0 2px 10px rgba(6, 182, 212, 0.35);
}

.lang-pill-opt {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-muted);
    letter-spacing: 0.05em;
    z-index: 2;
    transition: color 0.3s ease;
}

.lang-pill-opt.active {
    color: #ffffff !important;
}

/* Mobile Language Container Layout (Positioned in Top-Right Corner of Drawer) */
.mobile-lang-container {
    position: absolute;
    top: 24px;
    right: 28px;
    z-index: 10;
}

.mobile-lang-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* Language Switch Section (Right after FAQ) */
.language-switch-section {
    padding: 40px 0 80px 0;
    position: relative;
}

.language-switch-box {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    /* box-shadow removed globally */
}

.lang-text-block {
    flex: 1;
}

.lang-text-block h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lang-text-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.lang-switch-control {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.lang-label {
    font-size: 0.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-muted);
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.lang-label.active {
    color: var(--secondary-light);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* Slide Switch Button */
.lang-slider-toggle {
    width: 64px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lang-slider-toggle::after {
    content: "";
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
    /* box-shadow removed globally */
}

.lang-slider-toggle.active {
    background-color: var(--secondary);
    border-color: var(--secondary-light);
}

.lang-slider-toggle.active::after {
    transform: translateX(32px);
}

/* Smooth Fade transition class */
[data-es] {
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.text-transitioning {
    opacity: 0 !important;
    transform: translateY(2px);
}

/* Switch Section Responsive */
@media (max-width: 768px) {
    .language-switch-box {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }
    .lang-switch-control {
        justify-content: center;
    }
}

/* ==========================================================================
   LEGAL SUBPAGES STYLES
   ========================================================================== */
.legal-section {
    padding: 140px 0 80px 0;
    position: relative;
    min-height: 100vh;
    z-index: 1;
}

.legal-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px;
    /* box-shadow removed */
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 28px 20px;
        border-radius: 16px;
    }
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .legal-title {
        font-size: 1.85rem;
    }
}

.legal-meta {
    font-size: 0.95rem;
    color: var(--primary-light);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.legal-meta i {
    width: 16px;
    height: 16px;
    color: var(--secondary-light);
}

.legal-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 36px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-content h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(to bottom, var(--primary-light), var(--secondary-light));
    border-radius: 2px;
}

.legal-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 24px;
    padding-left: 0;
}

.legal-content li {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
    position: relative;
    list-style-type: none;
    padding-left: 24px;
}

.legal-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-light);
    font-weight: bold;
}

.legal-footer-info {
    background: rgba(129, 140, 248, 0.05);
    border-left: 4px solid var(--primary-light);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin-top: 40px;
}

.legal-footer-info p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Active Simulator Range Slider Styling */
.slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.sim-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    transition: transform 0.1s ease;
}

.sim-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.sim-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.sim-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.slider-val-display {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    min-width: 45px;
    text-align: right;
}

/* Premium Simulator original buttons styling matching Image 2 */
.sandbox-premium-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--text-secondary) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: none !important;
}

.sandbox-premium-btn i, .sandbox-premium-btn svg {
    color: var(--primary-light) !important;
    width: 16px !important;
    height: 16px !important;
    transition: transform 0.2s ease !important;
}

.sandbox-premium-btn:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.sandbox-premium-btn:hover i {
    transform: scale(1.1) !important;
}

/* Active states that light up like Image 2 */
.sandbox-premium-btn.active {
    background-color: rgba(99, 102, 241, 0.08) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2), inset 0 0 10px rgba(99, 102, 241, 0.1) !important;
}

/* Premium Reset Button */
.sandbox-premium-btn-danger {
    width: 100%;
    background: rgba(239, 68, 68, 0.04) !important;
    border: 1px solid rgba(239, 68, 68, 0.18) !important;
    border-radius: 12px !important;
    padding: 11px 14px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #fca5a5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.sandbox-premium-btn-danger:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   CHECKOUT PREMIUM GLASSMORPHIC MODAL STYLES
   ========================================================================== */

.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 8, 16, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.checkout-modal-container {
    background: linear-gradient(185deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%), var(--bg-surface-card);
    border: 1px solid rgba(255, 255, 255, 0.07);
    /* box-shadow removed globally */
    border-radius: 28px;
    width: 90%;
    max-width: 480px;
    padding: 36px;
    position: relative;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff;
}

.checkout-modal-overlay.active .checkout-modal-container {
    transform: scale(1) translateY(0);
}

.checkout-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.checkout-close-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.25);
    transform: rotate(90deg);
}

.checkout-close-btn i {
    width: 16px;
    height: 16px;
}

/* Step Layouts */
.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
    animation: fadeInModalStep 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Step Header */
.checkout-header {
    text-align: center;
    margin-bottom: 28px;
}

.checkout-header .badge {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 12px;
}

.checkout-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.checkout-header .selected-plan {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.checkout-header .selected-plan strong {
    color: #ffffff;
}

/* Form inputs styling */
.checkout-form-group {
    margin-bottom: 20px;
}

.checkout-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.checkout-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.checkout-input:focus {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-light);
    box-shadow: 0 0 14px rgba(129, 140, 248, 0.12);
}

.checkout-secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.checkout-secure-notice i {
    width: 14px;
    height: 14px;
    color: var(--secondary-light);
}

/* Sandbox Payment Selectors */
.payment-selectors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.payment-method-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.payment-method-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.payment-method-card.active {
    background: rgba(99, 102, 241, 0.06);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.payment-icon-wrap {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-method-card.active .payment-icon-wrap {
    background: rgba(99, 102, 241, 0.12);
}

.payment-icon-wrap i {
    width: 22px;
    height: 22px;
    color: var(--text-secondary);
}

.payment-method-card.active .payment-icon-wrap i {
    color: var(--primary-light);
}

.payment-details {
    text-align: left;
}

.payment-details h4 {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: #ffffff;
}

.payment-details p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

/* Real-Time Integration Loading Screen */
.checkout-loading-screen {
    text-align: center;
    padding: 30px 0;
}

.checkout-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(99, 102, 241, 0.1);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: checkout-spin 0.8s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes checkout-spin {
    to { transform: rotate(360deg); }
}

.checkout-loading-screen p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* Success Card */
.checkout-success-badge {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.checkout-success-badge i {
    width: 28px;
    height: 28px;
}

.success-plan-info {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px;
    font-size: 0.88rem;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.success-plan-info strong {
    color: #ffffff;
}

/* License Generation Copy widget */
.license-key-widget {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.03) 100%);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.license-key-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: block;
}

.license-key-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.license-key-input {
    flex: 1;
    background: rgba(6, 8, 16, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.02em;
    cursor: default;
    outline: none;
}

.license-copy-btn {
    background: var(--primary);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.license-copy-btn:hover {
    background: var(--primary-light);
    transform: scale(1.04);
}

.license-copy-btn i {
    width: 16px;
    height: 16px;
}

/* Back triggers */
.checkout-back-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 20px auto 0 auto;
    transition: color 0.2s ease;
}

.checkout-back-link:hover {
    color: #ffffff;
}

.checkout-back-link i {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   RESTORED SECTIONS FROM DESIGN SYSTEM
   ========================================================================== */

/* ACTIVE DEPLOYMENTS SHOWCASE SECTION */
.showcase-section {
    padding: 100px 0;
    position: relative;
}

.showcase-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.showcase-window {
    overflow: hidden;
    width: 100%;
    padding: 20px 4px; 
}

.showcase-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.showcase-card {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 220px;
    width: calc((100% - 24px) / 2); 
    flex-shrink: 0;
}

.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.showcase-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    /* box-shadow removed */
}

.showcase-card:hover::before { opacity: 1; }

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.showcase-globe {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.showcase-card:hover .showcase-globe {
    background: var(--primary-glow);
    color: #ffffff;
    border-color: var(--primary-light);
    transform: rotate(15deg);
}

.status-badge {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--green);
    display: inline-block;
    animation: pulse-green 2s infinite;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.showcase-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.showcase-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    position: relative;
    z-index: 1;
}

.showcase-niche {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.showcase-link {
    font-size: 0.85rem;
    color: var(--secondary-light);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.showcase-card:hover .showcase-link { color: #ffffff; }

.showcase-link i {
    width: 12px;
    height: 12px;
    transition: transform 0.25s ease;
}

.showcase-card:hover .showcase-link i { transform: translate(2px, -2px); }

/* LEGAL COMPLIANCE */
.wcag-section {
    padding: 120px 0;
}

.wcag-box {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    padding: 60px;
    align-items: center;
    /* box-shadow removed */
}

.wcag-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.wcag-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.wcag-item i {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.wcag-item strong {
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.wcag-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.wcag-gavel {
    display: flex;
    justify-content: center;
}

.gavel-card {
    background: radial-gradient(circle at top, var(--primary-glow) 0%, transparent 100%), rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    max-width: 320px;
    /* box-shadow removed */
}

.gavel-icon {
    width: 64px;
    height: 64px;
    background-color: var(--accent-glow);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.gavel-icon i {
    width: 28px;
    height: 28px;
}

.gavel-card h3 {
    font-size: 1.42rem;
    margin-bottom: 12px;
}

.gavel-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.wcag-badge {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* PRICING SECTION */
.pricing-section {
    padding: 120px 0;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.billing-toggle span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.billing-toggle span.active,
.billing-toggle span.active > span {
    color: #ffffff;
}

.toggle-switch {
    width: 48px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.toggle-switch::after {
    content: "";
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toggle-switch.active { background-color: var(--primary); }
.toggle-switch.active::after { transform: translateX(24px); }

.discount-pill, .billing-toggle span .discount-pill {
    background-color: var(--accent) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    margin-left: 6px !important;
    display: inline-block !important;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    align-items: stretch;
}

.price-card {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* box-shadow removed */
}

.price-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    /* box-shadow removed */
}

.price-card.popular {
    border-color: var(--primary-light);
    /* box-shadow removed */
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%), var(--bg-surface-card);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #d01c70);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.price-header h3 { font-size: 1.55rem; margin-bottom: 8px; }
.price-header p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }

.price { display: flex; align-items: baseline; margin-bottom: 32px; }
.currency { font-size: 1.8rem; font-weight: 600; color: var(--text-muted); }
.amount { font-size: 3.8rem; font-weight: 800; line-height: 1; }
.period { color: var(--text-muted); font-size: 1rem; font-weight: 600; }

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.price-features li.disabled { color: var(--text-muted); }
.price-features li i { width: 18px; height: 18px; flex-shrink: 0; }
.price-features li i[data-lucide="check"] { color: var(--secondary); }
.price-features li i[data-lucide="x"] { color: var(--danger); }

/* TESTIMONIALS */
.testimonials-section {
    padding: 120px 0;
    position: relative;
}

.testimonials-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.testimonials-window {
    overflow: hidden;
    width: 100%;
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 60px 0;
    /* box-shadow removed */
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    width: 400%; 
}

.testimonial-slide {
    width: 25%;
    flex-shrink: 0;
    text-align: center;
    padding: 0 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: var(--gold);
    margin-bottom: 24px;
}

.rating i { width: 20px; height: 20px; fill: var(--gold); }

.quote {
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 36px;
    max-width: 720px;
    letter-spacing: -0.01em;
}

.user-info { display: flex; align-items: center; justify-content: center; gap: 16px; }

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    /* box-shadow removed */
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.05em;
}

.gradient-1 { background: linear-gradient(135deg, #6366f1, #a855f7); }
.gradient-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.gradient-3 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.gradient-4 { background: linear-gradient(135deg, #f59e0b, #e11d48); }

.user-details { text-align: left; }
.user-details strong { display: block; font-size: 1.05rem; color: #ffffff; margin-bottom: 2px; font-weight: 600; }
.user-details span { display: block; font-size: 0.85rem; color: var(--text-secondary); }

.carousel-btn {
    background: var(--bg-surface-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* box-shadow removed */
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--bg-surface-hover);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    /* box-shadow removed */
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dot:hover { background-color: rgba(255, 255, 255, 0.4); }

.dot.active {
    width: 28px;
    border-radius: 99px;
    background-color: var(--primary-light);
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.5);
}

/* FAQ ACCORDION */
.faq-section {
    padding: 120px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item:hover { border-color: var(--primary-light); }

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

.faq-question i {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform 0.25s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(255, 255, 255, 0.01);
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* LANGUAGE SWITCH SECTION */
.language-switch-section {
    padding: 40px 0 80px 0;
    position: relative;
}

.language-switch-box {
    background: var(--bg-surface-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    /* box-shadow removed globally */
}

.lang-text-block { flex: 1; }
.lang-text-block h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lang-text-block p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }

.lang-switch-control { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.lang-label { font-size: 0.8rem; font-weight: 800; font-family: var(--font-heading); color: var(--text-muted); letter-spacing: 0.05em; transition: color 0.2s ease; }
.lang-label.active { color: var(--secondary-light); text-shadow: 0 0 10px rgba(6, 182, 212, 0.4); }

.lang-slider-toggle {
    width: 64px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lang-slider-toggle::after {
    content: "";
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
    /* box-shadow removed globally */
}

.lang-slider-toggle.active { background-color: var(--secondary); border-color: var(--secondary-light); }
.lang-slider-toggle.active::after { transform: translateX(32px); }

/* RESPONSIVE OVERRIDES FOR CAROUSELS */
@media (max-width: 1024px) {
    .showcase-card { width: calc((100% - 16px) / 2); }
    .showcase-carousel-wrapper, .showcase-track { gap: 16px; }
}

@media (max-width: 768px) {
    .showcase-card { width: 100%; }
    .showcase-carousel-wrapper, .showcase-track { gap: 12px; }
    .testimonials-container { flex-direction: column; }
    .carousel-btn { display: none !important; }
    .testimonials-window { padding: 40px 0; border-radius: 24px; }
    .testimonial-slide { padding: 0 24px; }
    .quote { font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; }
    .user-info { flex-direction: column; gap: 12px; }
    .user-details { text-align: center; }
}

/* Responsividad para componentes Premium (WCAG y Pricing) */
@media (max-width: 1024px) {
    .wcag-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wcag-box {
        padding: 36px 32px;
    }
    .gavel-card {
        max-width: 100%;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}




