/*
Theme Name: KHmix 3D Farm - Interactive Pricing
Theme URI: https://example.com/
Author: KHmix DevTeam
Description: KHmix Farm Pricing - 3D Tilt Style matching the provided image with centered layout and interactive price toggling.
Version: 2.0
*/
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background-color: #18191A; color: #E4E6EB; margin: 0; padding: 0; overflow-x: hidden; position: relative; }
.orb-1 { position: absolute; top: -20%; left: 10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(24,119,242,0.15) 0%, rgba(0,0,0,0) 70%); border-radius: 50%; z-index: 0; pointer-events: none; }

/* Navbar */
.khmix-nav-bar { 
    background: #242526; 
    border-bottom: 1px solid #3A3B3C; 
    padding: 15px 40px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-radius: 40px;
    margin: 20px auto;
    max-width: 1200px;
    position: relative; z-index: 10;
}
.khmix-logo-area { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: 0.5px; color: #E4E6EB; }
.khmix-logo-area img { height: 28px; }
.khmix-menu { display: flex; gap: 30px; font-size: 0.9rem; font-weight: 500; color: #B0B3B8; }
.khmix-menu div { display: flex; align-items: center; gap: 6px; cursor: pointer; transition: 0.2s; }
.khmix-menu div:hover { color: #1877F2; }
.khmix-menu svg { width: 16px; height: 16px; }
.khmix-sign-in { background: #1877F2; color: #fff; padding: 8px 24px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: 0.3s; }
.khmix-sign-in:hover { background: #145dbf; }

/* Header section */
.khmix-header { text-align: center; margin-top: 60px; margin-bottom: 40px; position: relative; z-index: 1; }
.khmix-header h1 { font-size: 3.5rem; font-weight: 700; margin: 0 0 15px 0; color: #E4E6EB; }
.khmix-header p { color: #B0B3B8; font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* Toggle */
.khmix-toggle-container { text-align: center; margin-bottom: 60px; position: relative; z-index: 1; }
.khmix-toggle { 
    display: inline-flex; background: #242526; border-radius: 30px; padding: 6px; 
    border: 1px solid #3A3B3C; 
}
.khmix-toggle button { 
    background: transparent; border: none; color: #B0B3B8; padding: 12px 35px; 
    border-radius: 25px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.3s ease; 
}
.khmix-toggle button.active { background: #1877F2; color: #ffffff; }

/* Center Layout Grid (Single Row on large, Pyramid on small) */
.centered-grid {
    display: flex;
    flex-direction: row; /* Defaut to row for all 3 cards */
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    max-width: 1100px; /* Wider to accommodate 3 cards */
    margin: 0 auto 100px;
    position: relative; z-index: 1;
    perspective: 1000px;
}

.top-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex: 2; /* Allow top row (if used in pyramid) to take more space */
}

/* Tilt Card Base */
.tilt-card {
    background: #242526; border: 1px solid #3A3B3C; border-radius: 20px; 
    flex: 1; 
    min-width: 300px;
    max-width: 350px;
    padding: 35px 30px; text-align: left; display: flex; flex-direction: column;
    transform-style: preserve-3d;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
}
.tilt-card-content { transform: translateZ(30px); display: flex; flex-direction: column; height: 100%; }
.tilt-card h3 { font-size: 1.3rem; font-weight: 700; margin: 0 0 10px 0; color: #E4E6EB; }
.price { font-size: 2.8rem; font-weight: 800; margin: 0 0 30px 0; display: flex; align-items: baseline; gap: 5px; color: #E4E6EB; transition: all 0.3s ease; }
.price span { font-size: 1.1rem; color: #B0B3B8; font-weight: 500; }

.tilt-list { list-style: none; padding: 0; margin: 0 0 35px 0; flex-grow: 1; }
.tilt-list li { margin-bottom: 16px; color: #B0B3B8; display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.icon-check { 
    width: 18px; height: 18px; background: rgba(24, 119, 242, 0.15); border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-check svg { width: 10px; height: 10px; stroke: #1877F2; stroke-width: 3; }

.btn-base { 
    width: 100%; padding: 14px; border-radius: 10px; border: none; font-weight: 700; font-size: 1rem; 
    display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: 0.3s; 
}
.btn-dark { background: #3A3B3C; color: #E4E6EB; }
.btn-dark:hover { background: #4E4F50; }
.btn-blue { background: #1877F2; color: #fff; }
.btn-blue:hover { background: #145dbf; }

/* Popular Card Override */
.popular { 
    background: linear-gradient(180deg, #1c2e4a 0%, #242526 100%); 
    border: 2px solid #1877F2; 
}
.popular-badge {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%) translateZ(40px);
    background: #1877F2; color: #ffffff; padding: 6px 16px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; gap: 6px;
}

/* Footer Section */
.khmix-footer {
    background-color: #111214; 
    padding: 40px 50px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    font-size: 14px; 
    border-top: 1px solid #242526;
}
.khmix-footer-left { display: flex; flex-direction: column; gap: 15px; }
.khmix-footer-links { color: #8b949e; }
.khmix-footer-links a { color: #ffffff; text-decoration: none; font-weight: 600; transition: 0.2s; }
.khmix-footer-links a:hover { color: #1877F2; }
.khmix-footer-copy { color: #8b949e; }
.khmix-footer-copy strong { color: #ffffff; font-weight: 700; }
.khmix-footer-right { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.khmix-footer-we-accept { color: #8b949e; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.khmix-payment-icons { display: flex; gap: 8px; align-items: center; }
.khmix-payment-icons span { 
    display: inline-flex; justify-content: center; align-items: center;
    padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; color: white; height: 16px;
}
.pay-aba { background: #005575; }
.pay-khqr { background: #e31837; }
.pay-binance { background: #fcc918; color: #000 !important; }
.pay-usdt { background: #26a17b; }

@media (max-width: 1050px) {
    /* Switch from single row to pyramid on medium screens */
    .centered-grid {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 800px) {
    .top-row { flex-direction: column; align-items: center; }
    .khmix-footer { flex-direction: column; gap: 30px; text-align: center; }
    .khmix-footer-right { align-items: center; }
}
