/* ==========================================================================
   kausho - Modern Dark Minimalist Portfolio & Discord Bots Platform
   Design Inspired by Linear, Vercel & Modern High-End Developer Portfolios
   ========================================================================== */

:root {
    --bg-black: #000000;
    --bg-dark: #08090d;
    --bg-card: rgba(18, 20, 29, 0.75);
    --bg-card-hover: rgba(26, 30, 44, 0.9);
    
    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(99, 102, 241, 0.5);
    --border-accent: rgba(88, 101, 242, 0.4);
    
    --primary-indigo: #6366f1;
    --primary-indigo-glow: rgba(99, 102, 241, 0.3);
    --discord-blurple: #5865F2;
    --discord-blurple-glow: rgba(88, 101, 242, 0.35);
    
    --discord-green: #23a55a;
    --discord-idle: #f0b232;
    --discord-dnd: #f23f43;
    --discord-offline: #80848e;
    
    --text-white: #ffffff;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-minecraft: 'Pixelify Sans', monospace;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
}

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

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    color-scheme: dark;
    background-color: var(--bg-black);
    overflow-y: scroll;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body {
    background-color: var(--bg-black);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

/* Ocultar barra de desplazamiento en todos los navegadores */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
    background: transparent !important;
}

/* ==========================================================================
   RESPLANDOR AMBIENTAL FIJO DE FONDO
   ========================================================================== */

.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.09) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(88, 101, 242, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #06070b 25%, #08090f 100%);
}

/* ==========================================================================
   BARRA SUPERIOR FLOTANTE (Fija y animada tras el Hero)
   ========================================================================== */

.glass-nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(-24px);
    width: calc(100% - 48px);
    max-width: 1140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    background: rgba(14, 16, 24, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.glass-nav.nav-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.nav-logo {
    width: 26px;
    height: 26px;
    border-radius: 6px;
}

.nav-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.nav-status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--discord-green);
    box-shadow: 0 0 10px var(--discord-green);
}

.nav-status-text {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.btn-nav-primary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--border-subtle);
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-nav-primary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-nav-discord {
    background: var(--discord-blurple);
    color: #fff;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px var(--discord-blurple-glow);
    transition: var(--transition-smooth);
}

.btn-nav-discord:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--discord-blurple-glow);
}

/* ==========================================================================
   PAGINACIÓN LATERAL (FULLPAGE DOTS)
   ========================================================================== */

.fullpage-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 99;
}

.fp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    padding: 0;
}

.fp-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.25);
}

.fp-dot.active {
    background: var(--discord-blurple);
    transform: scale(1.4);
    box-shadow: 0 0 12px var(--discord-blurple-glow);
}

/* ==========================================================================
   ESTRUCTURA GENERAL DE SECCIONES FULL-PAGE
   ========================================================================== */

.fullpage-section {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px 24px 40px;
    box-sizing: border-box;
    z-index: 1;
}

.layout-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Glassmorphism Tarjetas */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

/* Efecto Reveal On Scroll */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

body.js-reveal-active .reveal-on-scroll:not(.is-revealed) {
    opacity: 0;
    transform: translateY(24px);
}

body.js-reveal-active .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Badges comunes */
.badge-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 4px 12px;
    border-radius: 50px;
    width: fit-content;
}

/* ==========================================================================
   1. PANTALLA HERO (100% Negra Minimalista con Perfil de Discord)
   ========================================================================== */

.hero-section {
    padding: 40px 24px;
    background: #000000;
    justify-content: center;
}

.intro-center-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    max-width: 680px;
    margin: auto 0;
}

/* Avatar y Marco de Discord */
.avatar-stage {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    background: #111;
    position: absolute;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
    transition: transform 0.4s ease;
}

.avatar-stage:hover .discord-avatar {
    transform: scale(1.04);
}

.discord-decoration {
    position: absolute;
    width: 140px;
    height: 140px;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    transform: scale(1.18);
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.12));
}

.discord-decoration.hidden {
    display: none;
}

.status-ring {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3.5px solid #000000;
    z-index: 3;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.status-online { background-color: var(--discord-green); box-shadow: 0 0 12px var(--discord-green); }
.status-idle { background-color: var(--discord-idle); box-shadow: 0 0 12px var(--discord-idle); }
.status-dnd { background-color: var(--discord-dnd); box-shadow: 0 0 12px var(--discord-dnd); }
.status-offline { background-color: var(--discord-offline); }

/* Título 1 (H1) - Estilo Minecraft */
.intro-name {
    color: var(--text-white);
    font-family: var(--font-minecraft);
    font-size: clamp(2.8rem, 7vw, 4.4rem);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 255, 255, 0.15);
}

/* Caja Mecanográfica - Fuente Moderna y Ultra Legible */
.typewriter-box {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
}

.typewriter-text {
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    font-weight: 500;
    letter-spacing: -0.2px;
}

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.25em;
    background-color: #ffffff;
    animation: blinkCursor 0.9s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Indicador de Discord en vivo */
.live-discord-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 0.88rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-online { background-color: var(--discord-green); box-shadow: 0 0 8px var(--discord-green); }
.dot-idle { background-color: var(--discord-idle); box-shadow: 0 0 8px var(--discord-idle); }
.dot-dnd { background-color: var(--discord-dnd); box-shadow: 0 0 8px var(--discord-dnd); }
.dot-offline { background-color: var(--discord-offline); }

.indicator-status { font-weight: 600; color: #fff; }
.indicator-sep { color: #555; }
.indicator-activity { color: var(--text-secondary); }

/* ==========================================================================
   INDICADOR INTERACTIVO DE MOUSE SCROLL ("DESLIZA")
   ========================================================================== */

.scroll-mouse-btn {
    margin-top: auto;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 20;
    outline: none;
}

.mouse-icon-wrap {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    position: relative;
    display: flex;
    justify-content: center;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.mouse-scroll-wheel {
    width: 3px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 7px;
    animation: mouseWheelScroll 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes mouseWheelScroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    40% {
        transform: translateY(13px);
        opacity: 0.15;
    }
    41% {
        transform: translateY(-4px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.mouse-label {
    font-family: var(--font-main);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    text-transform: uppercase;
    animation: floatGently 2.2s ease-in-out infinite;
}

@keyframes floatGently {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.scroll-mouse-btn:hover .mouse-icon-wrap {
    border-color: var(--discord-blurple);
    box-shadow: 0 0 16px var(--discord-blurple-glow);
    transform: translateY(2px);
}

.scroll-mouse-btn:hover .mouse-label {
    color: #ffffff;
}

.scroll-mouse-btn.faded-out {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

/* ==========================================================================
   2. PANTALLA SERVICIOS (Bots personalizados & 8 Capacidades)
   ========================================================================== */

.services-page-section {
    justify-content: center;
}

.section-hero-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Título 2 (H2) - Estilo Minecraft */
.section-hero-header h2 {
    font-family: var(--font-minecraft);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 2.5px 2.5px 0px rgba(0, 0, 0, 0.9);
}

.hero-prompt-text {
    font-size: 1.08rem;
    font-weight: 600;
    color: #e2e8f0;
}

.hero-lead-text {
    font-size: 0.94rem;
    color: var(--text-secondary);
    max-width: 740px;
    line-height: 1.5;
}

.capabilities-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.capabilities-title-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.capabilities-title-row h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.4px;
}

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

/* Grilla de 8 Servicios - Optimizada para pantalla completa */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.service-card {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-indigo-glow);
}

.card-icon-bubble {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.service-card h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.service-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* ==========================================================================
   3. PANTALLA COMUNIDAD (Spotlight & Contacto Discord)
   ========================================================================== */

.community-page-section {
    justify-content: center;
}

.community-card-spotlight {
    padding: 44px 50px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.12) 0%, rgba(18, 20, 29, 0.95) 100%);
    border: 1px solid rgba(88, 101, 242, 0.35);
    width: 100%;
}

.community-spotlight-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
}

/* Título 2 (H2) - Estilo Minecraft */
.community-spotlight-content h2 {
    font-family: var(--font-minecraft);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    text-shadow: 2.5px 2.5px 0px rgba(0, 0, 0, 0.9);
}

.community-lead-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 720px;
}

.community-features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
    margin: 12px 0;
    text-align: left;
}

.comm-feature-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-fast);
}

.comm-feature-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.comm-icon-bubble {
    font-size: 1.4rem;
}

.comm-feature-box h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
}

.comm-feature-box p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.community-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary-glow {
    background: var(--discord-blurple);
    color: #ffffff;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 24px var(--discord-blurple-glow);
    transition: var(--transition-smooth);
}

.btn-primary-glow:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 30px rgba(88, 101, 242, 0.6);
}

.discord-tag-pill {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   4. PANTALLA SUSCRIPCIÓN & FOOTER (Hosting 24/7 PayPal)
   ========================================================================== */

.pricing-page-section {
    justify-content: center;
}

.pricing-card {
    padding: 34px 38px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 36px;
    align-items: start;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(16, 18, 26, 0.92) 0%, rgba(10, 12, 18, 0.98) 100%);
    width: 100%;
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Título 2 (H2) - Estilo Minecraft */
.pricing-details h2 {
    font-family: var(--font-minecraft);
    font-size: clamp(1.7rem, 3.5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    text-shadow: 2.5px 2.5px 0px rgba(0, 0, 0, 0.9);
}

.pricing-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 4px 0;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-row strong {
    font-size: 0.9rem;
    color: #fff;
    display: block;
}

.feature-row p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Banner de No Reembolso */
.no-refund-banner {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.no-refund-badge {
    color: #f87171;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.no-refund-banner p {
    font-size: 0.8rem;
    color: #e2e8f0;
    line-height: 1.45;
}

/* ==========================================================================
   CHECKOUT PANEL - DISEÑO PREMIUM & ELEGANTE
   ========================================================================== */

.checkout-panel {
    background: linear-gradient(180deg, rgba(20, 24, 38, 0.95) 0%, rgba(12, 14, 22, 0.98) 100%);
    border: 1px solid rgba(99, 102, 241, 0.28);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(88, 101, 242, 0.12);
    position: relative;
    overflow: hidden;
}

/* Barra de resplandor superior sutil */
.checkout-glow-bar {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5865F2, #818cf8, transparent);
}

.checkout-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
}

.checkout-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.checkout-secure-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
}

.checkout-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
}

.chip-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.checkout-title-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.checkout-title-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.checkout-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Mini resumen visual del plan */
.plan-mini-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-top: 2px;
}

.plan-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-sum-icon {
    font-size: 1.15rem;
}

.plan-sum-texts {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.plan-sum-texts strong {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 700;
}

.plan-sum-texts span {
    font-size: 0.74rem;
    color: var(--text-secondary);
}

.plan-sum-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Checkbox Términos Estilizado */
.terms-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.terms-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.4);
}

.terms-box.is-checked {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
}

.terms-box.highlight-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.15) !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    animation: shakeBox 0.4s ease-in-out;
}

@keyframes shakeBox {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.45;
    user-select: none;
}

.terms-checkbox-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.terms-custom-box {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 5px;
    border: 1.8px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: all 0.2s ease;
}

.terms-check-svg {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.terms-checkbox-input:checked + .terms-custom-box {
    background: var(--discord-blurple);
    border-color: var(--discord-blurple);
    box-shadow: 0 0 10px var(--discord-blurple-glow);
}

.terms-checkbox-input:checked + .terms-custom-box .terms-check-svg {
    opacity: 1;
    transform: scale(1);
}

.terms-label-text {
    flex: 1;
}

.terms-link-btn {
    background: none;
    border: none;
    color: #818cf8;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.terms-link-btn:hover {
    color: #a5b4fc;
}

/* Bandeja Oficial de Pago Adaptada al Color Oscuro de la Página */
.paypal-payment-tray {
    background: rgba(14, 16, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
}

.tray-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 6px;
}

.tray-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: var(--text-secondary);
}

.tray-brands {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-pill {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.brand-paypal {
    background: rgba(0, 112, 186, 0.25);
    color: #38bdf8;
    border: 1px solid rgba(0, 112, 186, 0.45);
}

.brand-card {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tray-subtext {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
    text-align: left;
}

.paypal-wrapper {
    min-height: 52px;
    width: 100%;
}

/* Footer del Checkout */
.checkout-footer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: left;
    padding: 0 2px;
}

.footer-shield-icon {
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: -1px;
}

.footer-note-text {
    flex: 1;
}

/* Footer integrado */
.footer-wrap {
    padding: 16px 0 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-links a,
.btn-terms-footer {
    background: none;
    border: none;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}

.footer-links a:hover,
.btn-terms-footer:hover {
    color: #fff;
}

/* ==========================================================================
   MODAL DE TÉRMINOS Y CONDICIONES
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.hidden {
    display: none;
}

.modal-card {
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: #0f111a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(20, 24, 36, 0.9);
}

.modal-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: #fff;
}

.modal-content {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-item h4 {
    color: #fff;
    font-size: 0.96rem;
    margin-bottom: 5px;
}

.modal-item.item-alert {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    padding: 12px 16px;
    border-radius: 6px;
}

.modal-item.item-alert h4 {
    color: #f87171;
}

.modal-item.item-alert p {
    color: #f1f5f9;
}

.text-accent {
    color: #818cf8;
    font-weight: 600;
}

.modal-foot {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(20, 24, 36, 0.9);
    display: flex;
    justify-content: flex-end;
}

.btn-modal-accept {
    background: var(--discord-blurple);
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-modal-accept:hover {
    background: #4752c4;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #181b26;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.88rem;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE & MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .community-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .pricing-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }
    .fullpage-dots {
        display: none;
    }
}

@media (max-width: 768px) {
    .glass-nav {
        width: calc(100% - 32px);
        padding: 10px 18px;
    }
    .nav-status-pill {
        display: none;
    }
    .fullpage-section {
        padding: 70px 16px 30px;
        min-height: auto;
        height: auto;
    }
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 30px 16px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .community-card-spotlight {
        padding: 30px 20px;
    }
    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}
