/* ============================================
   ORYON STUDIO SECURITY — Shared Styles
   ============================================ */

/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #050508;
    color: #ffffff;
    overflow-x: hidden;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050508; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg,#3B82F6,#2563EB); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg,#60A5FA,#3B82F6); }

/* === PARTICLES CANVAS === */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* === GLASS EFFECTS === */
.glass {
    background: rgba(16, 17, 26, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card {
    background: rgba(14, 15, 22, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, rgba(96,165,250,0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.glass-card:hover {
    background: rgba(20, 22, 34, 0.9);
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 40px rgba(59,130,246,0.15);
}

/* === NAVIGATION === */
.glass-nav {
    background: rgba(5, 5, 10, 0.82);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(59,130,246,0.15);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* === BUTTONS === */
.btn-primary {
    background: linear-gradient(135deg, #2563EB, #3B82F6, #60A5FA);
    background-size: 200% 200%;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.55s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    box-shadow: 0 0 40px rgba(59,130,246,0.5), 0 0 80px rgba(37,99,235,0.25);
    transform: translateY(-3px) scale(1.02);
}

.btn-secondary {
    border: 1px solid rgba(59,130,246,0.4);
    background: rgba(59,130,246,0.08);
    transition: all 0.35s ease;
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(59,130,246,0.18);
    border-color: rgba(59,130,246,0.7);
    box-shadow: 0 0 30px rgba(59,130,246,0.25);
    transform: translateY(-3px);
}

/* === GRADIENT TEXT === */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #93C5FD 40%, #60A5FA 70%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #FCD34D, #F59E0B, #EF4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === HERO ORBS === */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
    top: -100px; left: -100px;
    animation-delay: 0s;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    bottom: -80px; right: 10%;
    animation-delay: -3s;
}
.hero-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(96,165,250,0.12) 0%, transparent 70%);
    top: 30%; right: 20%;
    animation-delay: -5s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* === FEATURE ICON === */
.feature-icon {
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(96,165,250,0.1));
    border: 1px solid rgba(59,130,246,0.3);
    transition: all 0.35s ease;
}
.glass-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(96,165,250,0.15));
    border-color: rgba(59,130,246,0.6);
    box-shadow: 0 0 25px rgba(59,130,246,0.35);
}

/* === PLAN CARDS === */
.plan-popular {
    border: 1px solid rgba(59,130,246,0.5);
    box-shadow: 0 0 50px rgba(59,130,246,0.15), 0 20px 60px rgba(0,0,0,0.4);
    background: linear-gradient(160deg, rgba(20,22,40,0.95) 0%, rgba(14,15,28,0.95) 100%);
}
.plan-popular:hover {
    box-shadow: 0 0 80px rgba(59,130,246,0.3), 0 20px 60px rgba(0,0,0,0.5);
}
.plan-popular-badge {
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    animation: shimmerBadge 3s ease infinite;
}

.plan-premium {
    border: 1px solid rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 50px rgba(245, 158, 11, 0.2), 0 20px 60px rgba(0,0,0,0.5);
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.1) 0%, transparent 60%), linear-gradient(160deg, rgba(26,22,15,0.95) 0%, rgba(14,15,28,0.95) 100%);
    position: relative;
    /* overflow: hidden quitado para que no recorte el cartelito de arriba */
}
.plan-premium:hover {
    box-shadow: 0 0 80px rgba(245, 158, 11, 0.35), 0 20px 60px rgba(0,0,0,0.6);
}
.plan-premium > * {
    position: relative;
    z-index: 1;
}
.plan-premium-badge {
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
    animation: shimmerBadge 3s ease infinite;
    color: #111;
}
.btn-premium {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: #111;
}
.btn-premium:hover {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.5), 0 0 80px rgba(245, 158, 11, 0.25);
    transform: translateY(-3px) scale(1.02);
}

@keyframes shimmerBadge {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

/* === FAQ === */
.faq-item {
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.35s ease;
}
.faq-item:hover { border-color: rgba(59,130,246,0.3); }
.faq-item.faq-open {
    border-color: rgba(59,130,246,0.5);
    background: rgba(59,130,246,0.05);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}
.faq-item.faq-open .faq-answer { max-height: 350px; }
.faq-item.faq-open .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform 0.35s ease; }

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* === INPUT FIELDS === */
.input-field {
    background: rgba(14,15,22,0.8);
    border: 1px solid rgba(59,130,246,0.2);
    transition: all 0.3s ease;
}
.input-field:focus {
    border-color: rgba(59,130,246,0.6);
    box-shadow: 0 0 24px rgba(59,130,246,0.2);
    outline: none;
}

/* === GRID BACKGROUND === */
.grid-bg {
    background-image:
        linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
}

/* === SHIELD ILLUSTRATION === */
.shield-illustration { position: relative; }
.shield-illustration::before {
    content: '';
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
    animation: pulse-glow 3.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}
.float-animation { animation: float 5s ease-in-out infinite; }

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.rotate-slow { animation: rotate-slow 22s linear infinite; }

/* Floating badge animation */
@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.badge-float { animation: badge-float 2.5s ease-in-out infinite; }

/* === MOBILE MENU === */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }

/* === SECTION DIVIDER === */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), rgba(96,165,250,0.3), transparent);
}

/* === WHY CARD === */
.why-card { position: relative; overflow: hidden; }
.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563EB, #60A5FA, transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.why-card:hover::before { opacity: 1; }

/* === PAYMENT === */
.payment-badge {
    background: rgba(14,15,22,0.8);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.payment-badge:hover {
    border-color: rgba(59,130,246,0.4);
    background: rgba(59,130,246,0.1);
}

.payment-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.payment-modal.open { opacity: 1; visibility: visible; }
.payment-modal-content {
    transform: scale(0.92) translateY(24px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.payment-modal.open .payment-modal-content { transform: scale(1) translateY(0); }

/* === LEGAL CONTENT === */
.legal-content { color: #d1d5db; }
.legal-content h1 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.legal-content h2 { font-size: 1.25rem; font-weight: 600; color: #fff; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.25rem; }
.legal-content hr { border-color: rgba(255,255,255,0.1); margin: 2rem 0; }
.legal-content strong { color: #fff; }

/* === LANGUAGE SWITCHER === */
.lang-btn { transition: all 0.25s ease; }
.lang-btn.active {
    background: rgba(59,130,246,0.2);
    color: #60A5FA;
    border-color: rgba(59,130,246,0.5);
}

/* === STATS === */
.stat-number {
    background: linear-gradient(135deg, #fff 0%, #93C5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === ICON COLOR VARIANTS === */
.icon-blue   { color: #60A5FA; }
.icon-purple { color: #A78BFA; }
.icon-green  { color: #34D399; }
.icon-yellow { color: #FCD34D; }
.icon-red    { color: #F87171; }
.icon-pink   { color: #F472B6; }

/* === GLOW RING === */
@keyframes ring-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); }
    50% { box-shadow: 0 0 0 20px rgba(59,130,246,0); }
}
.ring-pulse { animation: ring-pulse 3s ease-in-out infinite; }

/* === CUSTOM SCROLLBAR (modals) === */
.custom-scrollbar::-webkit-scrollbar { width: 5px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.5); border-radius: 4px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-orb { transform: scale(0.55); }
}
