/* 
   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 {
    position: relative;
    padding: 24px 15px;
    /* Added more vertical padding */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #121426 0%, #070812 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}


.frame-silver {
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.frame-gold {
    border: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}


/* Pricing Elements - Minimalist Clean Style */
.price-display {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .price-display {
        font-size: 36px;
        letter-spacing: -1.5px;
        margin-bottom: 15px;
    }
}

.plan-name-bar {
    background: none;
    color: #ffffff;
    padding: 0 0 15px 0;
    font-weight: 500;
    font-size: 16px;
    text-transform: none;
    /* Let the user input dictate case, like "Plan Starter" */
    margin: 0;
    box-shadow: none;
    position: relative;
}

.plan-name-bar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 90%);
}

@media (min-width: 768px) {
    .plan-name-bar {
        font-size: 20px;
        padding-bottom: 18px;
    }
}

.plan-sub-bar {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    max-width: 200px;
    margin: 15px auto 10px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .plan-sub-bar {
        font-size: 13px;
        margin: 15px auto 10px;
    }
}

/* Base button override for pricing to make them golden specifically here */
.pricing-card-compact .btn-metallic {
    background: linear-gradient(180deg, #fde047 0%, #d97706 100%);
    color: #000000;
    border: none;
    border-radius: 8px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 4px 10px rgba(0, 0, 0, 0.3);
}


/* Compact Centered Section Separator */
.pricing-header-bar {
    width: auto;
    max-width: 600px;
    margin: 20px auto 15px;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    letter-spacing: 0.3em;
    position: relative;
    display: block;
    font-family: 'Outfit', sans-serif;
    color: #fbbf24;
    -webkit-text-fill-color: #fbbf24;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.pricing-header-bar::before {
    content: none;
}

.pricing-header-bar::after {
    content: none;
}

/* Expandable Features Container */
.feature-expandable-container {
    max-height: 80px;
    /* Base height for ~3 features */
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    position: relative;
    cursor: pointer;
}

@media (min-width: 768px) {
    .feature-expandable-container {
        max-height: 90px;
    }
}

.pricing-card-compact.expanded .feature-expandable-container,
.pricing-card-compact:focus-within .feature-expandable-container {
    max-height: 600px;
    -webkit-mask-image: none;
    mask-image: none;
}

/* Card Hover/Tap Effects */
.pricing-card-compact {
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s linear 0s;
}

.pricing-card-compact.expanded {
    z-index: 20;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s linear 0s;
}

/* 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);
}