/* 
   KARI ELITE - ULTRA REPLICA SYSTEM 2026 
   Refined to match Image 2 exactly
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

html.is-profile-page {
    scroll-behavior: smooth;
}

body.is-profile-page {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #010103;
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Force Tailwind base style for headers in profile */
.is-profile-page h1,
.is-profile-page h2,
.is-profile-page h3,
.is-profile-page h4,
.is-profile-page h5,
.is-profile-page h6 {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
}

/* Hide WP default fluff ONLY on Profile Page */
.is-profile-page header:not(.site-header-custom),
.is-profile-page footer:not(.site-footer-premium),
.is-profile-page .site-header,
.is-profile-page .site-footer,
.is-profile-page #masthead,
.is-profile-page #colophon {
    display: none !important;
}

/* Hide Global Header on Profile Page */
body.is-profile-page .site-header-custom {
    display: none !important;
}

/* Global Background */
.bg-tech-main {
    background-image: linear-gradient(to right, rgba(0, 5, 20, 0.6), rgba(0, 5, 20, 0.6)), url('../img/hero-bg-official.png');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
}

/* Navigation Style */
.nav-linear-item {
    font-size: 13px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
    font-family: 'Outfit', sans-serif;
}

.nav-linear-item:hover {
    color: #fff;
    text-shadow: 0 0 10px #fff;
}

.btn-nav-glass {
    color: #d24e8e;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 20px;
    border: 1px solid rgba(210, 78, 142, 0.3);
    border-radius: 8px;
    background: rgba(210, 78, 142, 0.05);
    transition: all 0.3s ease;
}

.btn-nav-glass:hover {
    background: #d24e8e;
    color: #fff;
    box-shadow: 0 5px 15px rgba(210, 78, 142, 0.3);
}

.btn-nav-metallic {
    background: linear-gradient(135deg, #d24e8e 0%, #7e3fa3 100%) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(210, 78, 142, 0.3) !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.btn-nav-metallic:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(210, 78, 142, 0.5) !important;
    filter: brightness(1.1) !important;
}

/* Main Content Box Layer (Pink Border + Soft Glass) */
.hero-content-frame {
    border: 1px solid rgba(210, 78, 142, 0.15) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
}

.hero-floating-bar-v2 {
    background: rgba(1, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.hero-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.hero-tab-item:last-child {
    border-right: none;
}

.hero-tab-item i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.hero-tab-item span {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

/* Metallic Card - Simplified to normal rounded box */
.metallic-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    position: relative;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.metallic-card::before {
    display: none;
    /* Remove beveled effect */
}

.frame-elite::before {
    background: linear-gradient(135deg, #fce7f3 0%, #d24e8e 20%, #7e3fa3 50%, #d24e8e 80%, #fce7f3 100%);
}

.price-display {
    font-size: 85px;
    font-weight: 950;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -5px;
}

.plan-name-bar {
    background: linear-gradient(to bottom, #fff, #94a3b8, #fff);
    color: #000;
    padding: 15px;
    font-weight: 950;
    font-size: 28px;
    text-transform: uppercase;
    margin: 10px -40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
}

/* ULTRA-PREMIUM SECTION SEPARATOR */
.pricing-header-bar {
    width: 100%;
    max-width: 1300px;
    margin: 80px auto 40px;
    padding: 0;
    text-align: left;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.4em;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(90deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-header-bar::before {
    content: "";
    width: 4px;
    height: 14px;
    background: #fff;
    box-shadow: 0 0 15px #fff;
    display: inline-block;
}

.pricing-header-bar::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Robots Section */
.robot-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
}

/* Footer Section */
.site-footer-premium {
    background: #000;
    padding: 120px 0 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
}

.footer-link-item {
    color: rgba(255, 255, 255, 0.4);
    font-size: 15px;
    transition: 0.3s;
    display: block;
    margin-bottom: 12px;
}

.footer-link-item:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-glass-newsletter {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 50px;
    text-align: center;
}

/* Premium Gradient Button (Pink/Purple) */
.btn-metallic,
.btn-premium {
    background: linear-gradient(90deg, #d24e8e 0%, #7e3fa3 100%);
    color: #fff !important;
    font-weight: 800;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(210, 78, 142, 0.3);
    cursor: pointer;
}

.btn-metallic:hover,
.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210, 78, 142, 0.5);
    filter: brightness(1.1);
}

.prose-invert {
    color: rgba(255, 255, 255, 0.7);
}

.prose-invert h1,
.prose-invert h2,
.prose-invert h3 {
    color: #fff;
}

.prose-invert a {
    color: #818cf8;
    text-decoration: underline;
}

/* --- PREMIUM MODALS SYSTEM --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 5, 20, 0.9);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: radial-gradient(circle at top right, rgba(30, 41, 59, 0.4), #020617);
    width: 100%;
    max-width: 1100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9) translateY(40px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .modal-container {
        grid-template-columns: 1fr 1.2fr;
    }
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-side-visual {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(2, 6, 23, 0.9)), url('../img/hero-bg-official.png');
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-form-side {
    padding: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-form-group {
    position: relative;
    margin-bottom: 25px;
}

.modal-form-group i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 20px;
    transition: all 0.3s ease;
}

.modal-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px 20px 60px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.modal-input:focus {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.modal-input:focus+i {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.close-modal-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
}

.close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* ==============================
   DYNAMIC AUTH MENU ITEMS 
   ============================== */
.kari-menu-auth-item {
    margin-left: 8px !important;
}

.kari-auth-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.kari-auth-link i {
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
}

/* Login Button - Premium Style (Solid to be visible) */
.kari-auth-login {
    color: #fff !important;
    background: linear-gradient(135deg, #7e3fa3 0%, #d24e8e 100%) !important;
    border: 1px solid rgba(126, 63, 163, 0.4) !important;
    box-shadow: 0 2px 12px rgba(126, 63, 163, 0.2) !important;
}

.kari-auth-login:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #d24e8e 0%, #7e3fa3 100%) !important;
    border-color: #d24e8e !important;
    box-shadow: 0 4px 20px rgba(210, 78, 142, 0.3) !important;
    transform: translateY(-2px) !important;
}

.kari-auth-login:hover i {
    transform: translateX(2px) !important;
}

/* Register Button - Golden Accent */
.kari-auth-register {
    color: #fff !important;
    background: linear-gradient(135deg, #d24e8e 0%, #7e3fa3 100%) !important;
    border: 1px solid rgba(210, 78, 142, 0.5) !important;
    box-shadow: 0 2px 15px rgba(210, 78, 142, 0.25) !important;
}

.kari-auth-register:hover {
    background: linear-gradient(135deg, #f472b6 0%, #d24e8e 100%) !important;
    box-shadow: 0 6px 30px rgba(210, 78, 142, 0.4) !important;
    transform: translateY(-2px) !important;
}

.kari-auth-register:hover i {
    transform: translateY(-2px) rotate(-15deg) !important;
}

/* Mi Perfil Button - Golden Outline */
.kari-auth-profile {
    color: #d24e8e !important;
    background: rgba(210, 78, 142, 0.08) !important;
    border: 1px solid rgba(210, 78, 142, 0.3) !important;
}

.kari-auth-profile:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #d24e8e 0%, #7e3fa3 100%) !important;
    border-color: #d24e8e !important;
    box-shadow: 0 6px 25px rgba(210, 78, 142, 0.35) !important;
    transform: translateY(-2px) !important;
}

.kari-auth-profile:hover i {
    transform: scale(1.15) !important;
}

/* Mobile adaptation for auth items */
@media (max-width: 1023px) {
    .kari-menu-auth-item {
        margin-left: 0 !important;
        margin-top: 4px !important;
    }

    .kari-auth-link {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        font-size: 10px !important;
        border-radius: 10px !important;
    }
}