/* 
   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 {
    scroll-behavior: smooth;
}

body {
    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 */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
}

/* Hide WP default fluff */
header:not(.site-header-custom),
footer:not(.site-footer-premium),
.site-header,
.site-footer,
#masthead,
#colophon {
    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: #fff;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.btn-nav-metallic {
    background: linear-gradient(to bottom, #fff, #94a3b8);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 4px;
}

/* Floating Bar v2 (Image 2 Style) */
.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 */
.metallic-card {
    background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.15), transparent 70%),
        linear-gradient(135deg, #0f172a 0%, #020617 100%);
    position: relative;
    padding: 40px;
    clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
}

.metallic-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 6px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 30%, #1e293b 50%, #94a3b8 70%, #fff 100%);
    clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
}

.frame-gold::before {
    background: linear-gradient(135deg, #fefce8 0%, #eab308 20%, #422006 50%, #eab308 80%, #fefce8 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;
}

.btn-metallic {
    background: linear-gradient(180deg, #94a3b8 0%, #cbd5e1 45%, #64748b 55%, #1e293b 100%);
    color: #020617;
    font-weight: 900;
    padding: 16px 24px;
    border: 2px solid #fff;
    border-radius: 4px;
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

.btn-metallic:hover {
    transform: translateY(-3px);
}

.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);
}