/* ═══════════════════════════════════════════════════════════════════
   OFExperts — Sistema de Diseño Institucional
   Cyberpunk Glassmorphism · Neon Pink → Purple · Outfit Font
   Ver: docs/design-system.md
   ═══════════════════════════════════════════════════════════════════ */

/* Variables CSS Oficiales del Sistema de Diseño */
:root {
    /* Fondos */
    --bg-primary:    #050609;
    --bg-secondary:  #0c0e14;
    --bg-card:       rgba(15, 18, 28, 0.7);

    /* Gradientes */
    --grad-primary:  linear-gradient(135deg, #FF007F 0%, #7B2CBF 100%);
    --grad-glow:     linear-gradient(135deg, rgba(255,0,127,0.15) 0%, rgba(123,44,191,0.15) 100%);

    /* Acentos */
    --color-accent:  #00F0FF;
    --color-pink:    #FF007F;
    --color-purple:  #8A2BE2;

    /* Textos */
    --text-primary:  #FFFFFF;
    --text-muted:    #94A3B8;
    --text-accent:   #E2E8F0;

    /* Bordes y Sombras */
    --border-glass:       rgba(255,255,255,0.08);
    --shadow-neon-pink:   0 8px 32px rgba(255,0,127,0.3);
    --shadow-neon-cyan:   0 8px 32px rgba(0,240,255,0.2);
    --shadow-neon-purple: 0 8px 32px rgba(138,43,226,0.25);

    /* Compatibilidad con variables de landing */
    --bg-dark:    #070714;
    --bg-deep:    #04040a;
    --text-white: #ffffff;
    --text-gray:  #9ba1b6;
    --neon-pink:  #ff007f;
    --neon-cyan:  #00f0ff;
    --neon-purple:#8a2be2;
    --card-bg:    rgba(255,255,255,0.03);
    --card-border:rgba(255,255,255,0.06);
    --font-outfit:'Outfit', 'Inter', sans-serif;
}

html, body {
    font-family: 'Outfit', 'Inter', 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overscroll-behavior-y: contain; /* Evita recarga pull-to-refresh y gestos de recarga del navegador en móvil */
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

/* ═══════════════════════════════════════════════════
   Login & Register — Diseño Institucional Glassmorphism
   ═══════════════════════════════════════════════════ */
.login-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-primary);
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(255,0,127,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(123,44,191,0.12) 0%, transparent 50%);
    font-family: var(--font-outfit);
    position: relative;
    overflow: hidden;
}

.login-layout::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,240,255,0.05) 0%, transparent 70%);
    top: -150px; right: -100px;
    pointer-events: none;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.login-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.8rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), var(--shadow-neon-purple);
    text-align: center;
    transition: box-shadow 0.4s ease;
}

.login-card:hover {
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255,0,127,0.15);
}

.login-card h1 {
    font-family: var(--font-outfit);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.3rem;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.login-error {
    background: rgba(255,0,127,0.1);
    border: 1px solid rgba(255,0,127,0.3);
    color: #ff6b9d;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    font-size: 0.875rem;
    text-align: left;
}

.form-group {
    text-align: left;
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-outfit);
    color: var(--text-primary);
    box-sizing: border-box;
    transition: all 0.25s ease;
    outline: none;
}

.form-input:focus {
    border-color: rgba(255,0,127,0.4);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 0 0 3px rgba(255,0,127,0.1);
}

.form-input option {
    background: #0c0e14;
    color: var(--text-primary);
}

/* Botón de login — btn-premium institucional */
.login-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--grad-primary);
    color: var(--text-primary);
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-family: var(--font-outfit);
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-neon-pink);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255,0,127,0.5);
    filter: brightness(1.08);
}

.login-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

/* ═══════════════════════════════════════════════════
   Dashboard — Diseño Institucional Cyberpunk
   ═══════════════════════════════════════════════════ */

/* Layout principal del dashboard */
.dashboard-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    background: var(--bg-primary);
    font-family: var(--font-outfit);
    background-image:
        radial-gradient(ellipse at 5% 0%, rgba(255,0,127,0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 95% 100%, rgba(123,44,191,0.08) 0%, transparent 40%);
}

/* Topbar del dashboard */
.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.8rem;
    background: rgba(5, 6, 9, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    flex-shrink: 0;
}

.topbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-user-name {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.topbar-user-role {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    background: rgba(255,0,127,0.12);
    border: 1px solid rgba(255,0,127,0.25);
    color: var(--color-pink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-logout {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    border-radius: 8px;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    font-family: var(--font-outfit);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    border-color: rgba(255,0,127,0.3);
    color: var(--color-pink);
    background: rgba(255,0,127,0.05);
}

/* Contenedor body del dashboard */
.dashboard-body {
    display: flex;
    flex: 1;
    width: 100%;
    overflow: hidden;
}

/* Sidebar de modelos */
.sidebar-models {
    width: 270px;
    flex-shrink: 0;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid var(--border-glass);
    padding: 1.5rem 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-models h3 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0 0 1rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.model-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.model-list li {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.model-list li:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border-color: var(--border-glass);
}

.model-list li.active {
    background: rgba(255,0,127,0.1);
    border-color: rgba(255,0,127,0.25);
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255,0,127,0.08);
}

.status-badge {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-badge.online {
    background: var(--color-accent);
    box-shadow: 0 0 8px rgba(0,240,255,0.5);
}

.status-badge.offline {
    background: rgba(255,255,255,0.2);
}

/* Área principal de chats */
.main-chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2rem;
    overflow-y: auto;
}

/* Cabecera del chat */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* btn-premium institucional */
.btn-premium {
    background: var(--grad-primary);
    color: var(--text-primary);
    border: none;
    border-radius: 9999px;
    padding: 0.55rem 1.4rem;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: var(--font-outfit);
    cursor: pointer;
    box-shadow: var(--shadow-neon-pink);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255,0,127,0.5);
}

.filter-btn {
    background: rgba(255,0,127,0.1);
    color: var(--color-pink);
    border: 1px solid rgba(255,0,127,0.2);
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-family: var(--font-outfit);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(255,0,127,0.18);
    border-color: rgba(255,0,127,0.4);
    box-shadow: 0 0 15px rgba(255,0,127,0.15);
}

/* Stream de mensajes */
.messages-stream {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* card-glass institucional */
.card-glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.37);
    transition: all 0.3s ease;
}

.card-glass:hover {
    border-color: rgba(255,0,127,0.3);
    transform: translateY(-5px);
}

.message-row {
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.message-row:hover {
    border-color: rgba(0,240,255,0.15);
    background: rgba(15,18,28,0.85);
}

.message-row strong {
    color: var(--color-accent);
    font-weight: 700;
}

.message-row .spent {
    color: #4ade80;
    font-weight: 700;
}

.message-row p {
    margin: 0.3rem 0 0;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Estados vacíos y loading */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-muted);
    gap: 1rem;
}

.empty-state-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.loading-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.api-error-banner {
    background: rgba(255,0,127,0.08);
    border: 1px solid rgba(255,0,127,0.2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: #ff6b9d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Landing Page Premium */
:root {
    --bg-dark: #070714;
    --bg-deep: #04040a;
    --text-white: #ffffff;
    --text-gray: #9ba1b6;
    --neon-pink: #ff007f;
    --neon-cyan: #00f0ff;
    --neon-purple: #8a2be2;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --font-outfit: 'Outfit', 'Inter', sans-serif;
}

.landing-page {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-outfit);
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header & Navigation */
.landing-header {
    background: rgba(7, 7, 20, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.landing-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
}

.brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.2));
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #fff 40%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Selector */
.lang-selector {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 2px;
    overflow: hidden;
}

.lang-btn-item {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn-item:hover {
    color: var(--text-white);
}

.lang-btn-item.active {
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    color: var(--text-white);
    box-shadow: 0 2px 10px rgba(255, 0, 127, 0.3);
}

/* Buttons */
.nav-btn {
    padding: 0.55rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.nav-btn-outline {
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.nav-btn-outline:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    background: rgba(0, 240, 255, 0.03);
}

.nav-btn-solid {
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.25);
}

.nav-btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.4);
    filter: brightness(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 2rem 5rem;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 40%);
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.06) 0%, transparent 70%);
    top: -10%;
    left: 20%;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

.hero-tag {
    display: inline-block;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--neon-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 40%, #a0a0ba 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title strong, .hero-title span.highlight {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions-container {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    color: var(--text-white);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn-primary svg {
    transition: transform 0.2s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 0, 127, 0.45);
}

.hero-btn-primary:hover svg {
    transform: translateX(4px);
}

.hero-btn-secondary {
    padding: 0.9rem 2.2rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--card-border);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-card-3d {
    position: relative;
    border-radius: 16px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.4) 0%, rgba(0, 240, 255, 0.4) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-12deg) rotateX(8deg);
    transition: all 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-card-3d:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    box-shadow: 0 25px 60px rgba(0, 240, 255, 0.2);
}

.card-glow {
    position: absolute;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    top: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    filter: blur(35px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 20px;
    pointer-events: none;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

@keyframes float {
    0% { transform: perspective(1000px) rotateY(-12deg) rotateX(8deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(-12deg) rotateX(8deg) translateY(-15px); }
    100% { transform: perspective(1000px) rotateY(-12deg) rotateX(8deg) translateY(0px); }
}

/* Stats Section */
.stats-section {
    padding: 3rem 2rem;
    background: var(--bg-deep);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -1px;
}

.text-gradient-pink {
    background: linear-gradient(135deg, #fff 0%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #fff 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Common Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 50%, #a0a0ba 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Audience / Profile Section */
.audience-section {
    padding: 6rem 2rem;
    position: relative;
}

.audience-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.audience-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.audience-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    top: -125px;
    right: -125px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.12;
    transition: all 0.4s ease;
}

.model-theme .audience-glow {
    background: var(--neon-pink);
}

.agency-theme .audience-glow {
    background: var(--neon-cyan);
}

.audience-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.audience-card:hover .audience-glow {
    opacity: 0.25;
    transform: scale(1.2);
}

.model-theme:hover {
    border-color: rgba(255, 0, 127, 0.3);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.08);
}

.agency-theme:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08);
}

.audience-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.audience-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
}

.model-theme .audience-icon {
    color: var(--neon-pink);
    border-color: rgba(255, 0, 127, 0.2);
}

.agency-theme .audience-icon {
    color: var(--neon-cyan);
    border-color: rgba(0, 240, 255, 0.2);
}

.audience-card h3 {
    font-size: 1.6rem;
    font-weight: 750;
    margin: 0;
}

.audience-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.audience-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audience-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-white);
}

.audience-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.model-theme .audience-features li svg {
    color: var(--neon-pink);
}

.agency-theme .audience-features li svg {
    color: var(--neon-cyan);
}

/* Features Section */
.features-section {
    position: relative;
    padding: 6rem 2rem;
    background: var(--bg-deep);
}

.features-bg-radial {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.04) 0%, transparent 70%);
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card-premium {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-premium:hover::before {
    opacity: 1;
}

.feature-card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 10px 35px rgba(138, 43, 226, 0.12);
}

.feat-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card-premium:hover .feat-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.feature-card-premium h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card-premium p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

/* Success Stories / Cases Section */
.cases-section {
    padding: 6rem 2rem;
}

.cases-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.case-card:hover {
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.05);
}

.case-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(138, 43, 226, 0.15) 100%);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--neon-cyan);
    font-size: 0.85rem;
    font-weight: 750;
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    margin-bottom: 1.8rem;
}

.case-card h3 {
    font-size: 1.6rem;
    font-weight: 750;
    margin-bottom: 1.2rem;
}

.case-quote {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.case-quote::before {
    content: '"';
    font-size: 3rem;
    color: rgba(255, 0, 127, 0.15);
    position: absolute;
    left: -15px;
    top: -20px;
    font-family: serif;
}

.case-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.avatar-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 750;
    font-size: 0.95rem;
    color: white;
}

.bg-gradient-cyan {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    box-shadow: 0 4px 10px rgba(0, 240, 255, 0.2);
}

.bg-gradient-pink {
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    box-shadow: 0 4px 10px rgba(255, 0, 127, 0.2);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, var(--neon-purple) 0%, #4b0082 100%);
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.2);
}

.author-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-white);
}

.author-role {
    display: block;
    font-size: 0.82rem;
    color: var(--text-gray);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 2rem;
    background: var(--bg-deep);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.025);
}

.stars {
    color: #ffbf00;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.test-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.user-info h4 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
}

.user-info span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* CTA Banner Section */
.cta-section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, rgba(7, 7, 20, 0.9) 0%, rgba(138, 43, 226, 0.2) 100%);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 24px;
    padding: 5rem 3rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.15);
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-btn-glow {
    display: inline-block;
    padding: 1.1rem 3rem;
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    color: var(--text-white);
    font-weight: 750;
    font-size: 1.1rem;
    text-decoration: none !important;
    border-radius: 35px;
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.cta-btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(255, 0, 127, 0.6);
    filter: brightness(1.1);
}

/* Footer Premium */
.landing-footer-premium {
    background: var(--bg-deep);
    border-top: 1px solid var(--card-border);
    padding: 4rem 2rem 2.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-brand {
    text-align: center;
}

.footer-brand .brand-link {
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-gray);
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #62627a;
    margin: 0;
}

/* Responsive Rules */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-card-3d {
        transform: none !important;
        animation: float-simple 6s ease-in-out infinite;
    }
    .hero-card-3d:hover {
        transform: scale(1.02) !important;
    }
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .audience-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cases-container {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Cabecera ultra-compacta en móviles para evitar obstrucción visual */
    .dashboard-topbar {
        padding: 0.5rem 0.8rem !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.5rem;
    }

    .topbar-brand {
        font-size: 1.1rem !important;
    }

    .topbar-divider {
        margin: 0 4px !important;
        font-size: 0.8rem;
    }

    .topbar-tenant {
        font-size: 0.75rem !important;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        vertical-align: middle;
    }

    .topbar-user {
        gap: 0.4rem !important;
    }

    .topbar-user-name {
        display: none !important; /* Ocultamos el nombre de pila del usuario en móvil */
    }

    .topbar-user-role {
        font-size: 0.65rem !important;
        padding: 0.15rem 0.5rem !important;
    }

    .btn-logout {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.75rem !important;
    }

    /* Desbloquear scroll nativo de ventana para evitar recortes de menu e interferencias */
    .dashboard-layout {
        height: auto !important;
        min-height: 100vh;
        display: block !important;
    }

    .dashboard-body {
        display: block !important;
        overflow: visible !important;
        height: auto !important;
    }

    .onboarding-container {
        min-height: calc(100vh - 60px) !important;
        height: auto !important;
        overflow: visible !important;
        padding: 1.5rem 0.5rem !important;
    }

    .onboarding-card {
        margin-bottom: 2rem !important;
    }

    .landing-header {
        padding: 0.8rem 1rem;
    }
    .nav-links {
        display: none; /* Hide nav links on mobile for simplicity */
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-actions-container {
        flex-direction: column;
        width: 100%;
    }
    .hero-btn-primary, .hero-btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .stats-container {
        grid-template-columns: 1fr;
    }
    .cta-card {
        padding: 3rem 1.5rem;
    }
    .cta-card h2 {
        font-size: 1.8rem;
    }
}

@keyframes float-simple {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ═══════════════════════════════════════════════════
   Utilidades comunes — Diseño Institucional
   ═══════════════════════════════════════════════════ */

.register-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}
.register-back:hover { color: var(--color-accent); }

.password-wrapper {
    position: relative;
}
.password-wrapper .form-input {
    padding-right: 3rem;
}
.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.password-toggle:hover { color: var(--color-accent); }

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--color-pink);
}

/* Divider neon */
.neon-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
    margin: 1.5rem 0;
}

/* Links de login */
.login-card a, .login-card a:visited {
    color: var(--color-pink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.login-card a:hover { color: var(--color-accent); }

.auth-link {
    color: var(--color-pink) !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.auth-link:hover {
    color: var(--color-accent) !important;
    text-decoration: underline;
}

/* Pricing Section Styles */
.pricing-section {
    padding: 6rem 2rem;
    background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.05) 0%, transparent 60%);
    position: relative;
    border-top: 1px solid var(--card-border);
}

.pricing-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.pricing-tabs {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 40px;
    padding: 4px;
    display: flex;
    gap: 4px;
}

.pricing-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-family: var(--font-outfit);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-tab-btn.active {
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.35);
}

.pricing-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    border-color: rgba(255, 0, 127, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.pricing-card.premium-plan {
    border-color: rgba(0, 240, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.pricing-card.premium-plan:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.1);
}

.pricing-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--neon-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-card.premium-plan .pricing-badge {
    background: rgba(255, 0, 127, 0.1);
    border-color: rgba(255, 0, 127, 0.25);
    color: var(--neon-pink);
}

.pricing-card-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.pricing-price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-gray);
    margin-left: 0.5rem;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.pricing-features-list li svg {
    color: var(--neon-cyan);
    flex-shrink: 0;
    margin-top: 4px;
}

.pricing-card.premium-plan .pricing-features-list li svg {
    color: var(--neon-pink);
}

.pricing-btn {
    width: 100%;
    padding: 0.9rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pricing-btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-white);
}

.pricing-btn-outline:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.pricing-btn-solid {
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    border: none;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.2);
}

.pricing-btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.35);
}


