/* ========================================================================
1. DESIGN TOKENS & CSS VARIABLES (OCMagic Premium UI)
========================================================================
*/
:root {
    /* Brand Colors */
    --ocm-primary: #4f1b66; 
    --ocm-primary-rgb: 79, 27, 102;
    --ocm-secondary: #7c3aed;
    --ocm-accent: #6366f1;
    --ocm-dark: #0f172a;
    --ocm-darker: #020617;
    
    /* Grays & Neutrals */
    --ocm-gray-50: #f8fafc;
    --ocm-gray-100: #f1f5f9;
    --ocm-gray-200: #e2e8f0;
    --ocm-gray-300: #cbd5e1;
    --ocm-gray-600: #475569;
    --ocm-gray-800: #1e293b;
    --ocm-white: #ffffff;
    
    /* UI Elements */
    --ocm-radius-sm: 8px;
    --ocm-radius-md: 16px;
    --ocm-radius-lg: 24px;
    --ocm-shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --ocm-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --ocm-glass: rgba(255, 255, 255, 0.9);
    
    /* Animation */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s var(--ease);
    --transition-normal: 0.4s var(--ease);
    --transition-slow: 0.8s var(--ease);
}

/* ========================================================================
2. RESET & BASE STYLES
========================================================================
*/
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body { 
    background-color: var(--ocm-white); 
    color: var(--ocm-gray-800); 
    font-family: 'Inter', system-ui, sans-serif; 
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
section {padding: 120px 0;/* border-bottom: 1px solid var(--ocm-gray-100); */}
h1, h2, h3, h4 { color: var(--ocm-darker); font-weight: 800; letter-spacing: -0.02em; }
p { color: var(--ocm-gray-600); }
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

/* ========================================================================
3. GLOBAL COMPONENTS
========================================================================
*/
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(79, 27, 102, 0.08);
    color: var
(--ocm-primary);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.btn-magic {
    background: var(--ocm-primary);
    color: #fff !important;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(79, 27, 102, 0.3);
    text-align: center;
    justify-content: center;
}
.btn-magic:hover { transform: translateY(-3px); filter: brightness(1.1); box-shadow: 0 20px 30px -10px rgba(79, 27, 102, 0.4); }
.btn-magic:active { transform: translateY(-1px); }

.btn-outline {
    background: transparent; border: 2px solid var(--ocm-gray-200);
    padding: 14px 32px; border-radius: 14px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
}
.btn-outline:hover { border-color: var(--ocm-primary); color: var(--ocm-primary); background: var(--ocm-gray-50); }

/* ========================================================================
4. ACCESSIBILITY COMPONENT
========================================================================
*/
.accessibility-widget {
    position: fixed; top: 100px; right: 20px; z-index: 9999;
    background: var(--ocm-white); border: 1px solid var(--ocm-gray-200);
    border-radius: 50%; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: var(--ocm-shadow-lg); transition: var(--transition-normal);
}
.accessibility-panel {
    position: fixed; top: 160px; right: 20px; width: 280px;
    background: var(--ocm-white); border: 1px solid var(--ocm-gray-200);
    border-radius: var(--ocm-radius-md); padding: 24px; z-index: 9998;
    box-shadow: var(--ocm-shadow-lg); display: none;
    animation: slideInRight 0.3s ease;
}
.accessibility-panel.active { display: block; }
.acc-option { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

/* ========================================================================
5. HEADER & NAVIGATION
========================================================================
*/
header {
    position: fixed; top: 0; width: 100%; height: 84px; z-index: 1000;
    background: var(--ocm-glass); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ocm-gray-200);
    display: flex; align-items: center; transition: var(--transition-normal);
}
header.scrolled { height: 70px; box-shadow: var(--ocm-shadow-sm); }
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 26px; font-weight: 900; color: var(--ocm-primary); letter-spacing: -1px; }

nav ul { display: flex; gap: 40px; }
nav ul a { font-size: 15px; font-weight: 600; color: var(--ocm-gray-600); }
nav ul a:hover { color: var(--ocm-primary); }

/* ========================================================================
6. FLOOR 1: HERO - THE MAGIC START
========================================================================
*/
.hero { padding: 220px 0 120px; text-align: center; background: radial-gradient(circle at center, #f5f3ff 0%, #fff 100%); }
.hero h1 { font-size: 82px; line-height: 1; margin-bottom: 32px; background: linear-gradient(135deg, var(--ocm-darker), var(--ocm-primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 22px; max-width: 750px; margin: 0 auto 48px; }

/* The Premium "Magic" Input Card */
.magic-card {
    max-width: 900px; margin: 0 auto; background: var(--ocm-white);
    border-radius: var(--ocm-radius-lg); padding: 40px;
    box-shadow: var(--ocm-shadow-lg); border: 1px solid var(--ocm-gray-200);
    position: relative; overflow: hidden;
}
.magic-input-group { display: flex; gap: 16px; position: relative; z-index: 2; }
.magic-input-group input { 
    flex: 1; height: 72px; padding: 0 32px; border-radius: 18px; 
    border: 2px solid var(--ocm-gray-100); background: var(--ocm-gray-50);
    font-size: 18px; font-weight: 500; transition: var(--transition-fast);
}
.magic-input-group input:focus { border-color: var(--ocm-primary); background: #fff; box-shadow: 0 0 0 5px rgba(79, 27, 102, 0.1); outline: none; }

/* ========================================================================
7. FLOOR 2: SITE INTELLIGENCE (RESEARCH ENGINE)
========================================================================
*/
.intelligence-section { background: var(--ocm-darker); color: #fff; padding: 140px 0; position: relative; overflow: hidden; }
.intel-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.intel-text h2 { color: #fff; font-size: 48px; margin-bottom: 24px; }
.intel-text p { color: var(--ocm-gray-300); font-size: 18px; }

.terminal-window {
    background: #000; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; height: 400px; padding: 30px; font-family: 'JetBrains Mono', monospace;
    font-size: 14px; color: #888; box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
}
.terminal-cursor { display: inline-block; width: 8px; height: 16px; background: var(--ocm-accent); animation: blink 1s infinite; }

/* ========================================================================
8. FLOOR 3: THE BENTO INTEGRATIONS (SEO, ACF, CF7, WOO)
========================================================================
*/
/* --- Bento Section Base --- */
.bento-section {
    padding: 160px 0;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
}

/* --- The Grid Core (Desktop) --- */
.bento-grid {
    display: grid !important; /* Force grid for desktop */
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 300px;
    gap: 24px;
}

/* --- Card Styling --- */
.bento-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 0px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-8px);
    border-color: var(--ocm-primary);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.08);
}

/* --- Grid Spanning --- */
.bento-seo {grid-column: span 6;}
.bento-woo {grid-column: span 6;}
.bento-acf {grid-column: span 6;}
.bento-cf7 {grid-column: span 6;}

/* --- Visual Ornament: Micro-Grid Pattern --- */
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#e5e7eb 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.bento-card:hover::before {
    opacity: 0.4;
}

/* --- Brand Elements --- */
.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

.brand-logo-wrap img, .brand-logo-wrap svg {
    width: 54px;
    height: 54px;
    border-radius: 14px;
}

.brand-name {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.card-body h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--ocm-darker);
    z-index: 1;
}

.card-footer-info {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

/* --- Mobile / Swiper Specifics --- */
@media (max-width: 991px) {
    .bento-grid {
        display: flex !important; /* Swiper needs flex */
        grid-template-columns: none;
        grid-auto-rows: auto;
    }

    .swiper-slide {
        height: auto;
        padding-bottom: 40px;
    }

    .bento-card {
        height: 450px; /* Fixed height for mobile uniformity */
        padding: 30px;
    }
    
    .bento-swiper {
        overflow: visible !important; /* For the "peek" effect */
    }
}

/* Hide pagination on desktop */
@media (min-width: 992px) {
    .swiper-pagination { display: none; }
}

/* ========================================================================
9. FLOOR 4: INTERACTIVE CODE VIEWER (PRO FEATURES)
========================================================================
*/
.code-viewer-section { padding: 140px 0; }
.code-tabs { display: flex; gap: 8px; margin-bottom: 24px; background: var(--ocm-gray-100); padding: 6px; border-radius: 12px; width: fit-content; }
.tab-btn { padding: 10px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.2s; border: none; background: transparent; }
.tab-btn.active { background: #fff; box-shadow: var(--ocm-shadow-sm); color: var(--ocm-primary); }

.code-display {
    background: #1e1e1e; border-radius: 16px; padding: 40px; color: #d4d4d4;
    font-family: 'JetBrains Mono', monospace; font-size: 15px; min-height: 300px;
}

/* ========================================================================
10. FLOOR 5: PRICING STRATEGY
========================================================================
*/
.pricing-section {
    padding: 140px 0;
    background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

/* דסקטופ - Grid יציב */
.pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

/* כרטיס בסיסי */
.price-card {
    background: #ffffff;
    border: 1px solid var(--ocm-gray-200);
    border-radius: 0;
    padding: 60px 45px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* אפקט Hover עוצמתי */
.price-card:hover {
    transform: translateY(-12px);
    border-color: var(--ocm-primary);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.08);
}

/* עיצוב כרטיס PRO / Popular */
.price-card.popular {
    background: #ffffff;
    border: 2px solid var(--ocm-primary);
}

/* תגית MOST POPULAR */
.price-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ocm-primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

/* טקסט וכותרות */
.price-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--ocm-darker);
    letter-spacing: -0.5px;
}

.price-card .cost {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 35px;
    color: var(--ocm-darker);
    letter-spacing: -2px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-card .cost::after {
    content: '/lifetime';
    font-size: 18px;
    font-weight: 600;
    color: var(--ocm-gray-400);
    letter-spacing: 0;
}

.price-card .plan-desc{
    margin-bottom: 20px;
}

/* רשימת פיצ'רים */
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
    flex-grow: 1;
}

.price-card ul li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ocm-gray-600);
}

.price-card ul li svg {
    color: #10b981; /* Success Green */
    flex-shrink: 0;
}

.price-card ul li b {
    color: var(--ocm-darker);
}

/* כפתורים בתוך הכרטיס */
.price-card .btn-outline, 
.price-card .btn-magic {
    width: 100%;
    justify-content: center;
    padding: 18px;
    border-radius: 18px;
    font-weight: 800;
}

/* ========================================================================
11. FLOOR 6: COOKIE & MODALS
========================================================================
*/
.cookie-consent {
    position: fixed; bottom: 32px; left: 32px; width: 400px;
    background: var(--ocm-white); border: 1px solid var(--ocm-gray-200);
    border-radius: var(--ocm-radius-md); padding: 24px; box-shadow: var(--ocm-shadow-lg);
    z-index: 9999; transform: translateY(200%); transition: var(--transition-slow);
}
.cookie-consent.visible { transform: translateY(0); }

/* ========================================================================
12. FOOTER
========================================================================
*/
footer { padding: 100px 0 60px; background: #fff; border-top: 1px solid var(--ocm-gray-100); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.footer-bottom { border-top: 1px solid var(--ocm-gray-100); padding-top: 40px; display: flex; justify-content: space-between; font-size: 14px; color: var(--ocm-gray-600); }

/* ========================================================================
13. ANIMATIONS & KEYFRAMES
========================================================================
*/
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes slideInRight { from { transform: translateX(50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.reveal {opacity: 0;transform: translateY(40px);transition: var(--transition-slow);margin-bottom: 40px;}
.reveal.active { opacity: 1; transform: translateY(0); }

/* Dark Mode Utility Classes */
body.dark-mode { background: #000; color: #fff; }
body.dark-mode section { border-color: #111; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3 { color: #fff; }
body.dark-mode .bento-card, body.dark-mode .price-card { background: #0a0a0a; border-color: #222; }

@media (max-width: 1024px) {
    .hero h1 { font-size: 54px; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-card { grid-column: span 1 !important; }
    .intel-grid, .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Comparison Table */
.comparison-section { padding: 80px 0; background: #fff; }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}
.compare-table th, .compare-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.compare-table th { background: #f8fafc; }

/* FAQ Section */
.faq-section { padding: 80px 0; background: #f8fafc; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.faq-item h4 { margin-bottom: 15px; color: #1e293b; }
.faq-item p { color: #64748b; line-height: 1.6; }

.section-title { text-align: center; font-size: 32px; font-weight: 800; }
.secure-text { text-align: center; font-size: 12px; margin-top: 15px; color: #94a3b8; }

/* --- Global Features Layout --- */
.features-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, #f8fafc 0%, #ffffff 100%);
}

.features-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin: 20px 0;
    letter-spacing: -0.03em;
}

/* --- Bento Refinement --- */
.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.brand-logo-wrap img, .brand-logo-wrap svg {
    height: 50px;
    width: 50px;
    border-radius: 10px;
    object-fit: contain;
}

.brand-name {
    font-weight: 900;
    font-size: 1.2rem;
}

/* --- Comparison Table Styling --- */
.comparison-section {
    padding: 100px 0;
    background: #fff;
}

.table-wrapper {
    margin-top: 50px;
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.compare-table th {
    background: #f8fafc;
    padding: 25px;
    text-align: left;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
}

.compare-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.positive { color: #10b981; font-weight: 600; }
.negative { color: #94a3b8; }

/* --- FAQ Grid --- */
.faq-section {
    padding: 100px 0;
    background: #f8fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.faq-item h4 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.faq-item p {
    color: #64748b;
    line-height: 1.7;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
}

/* --- Purchase Page Architecture --- */
.purchase-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f4f7fa;
    padding: 60px 0;
    font-family: 'Inter', sans-serif;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- Left Side --- */
.back-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
    display: block;
    margin-bottom: 30px;
}

.purchase-info h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.benefits-check {
    margin: 40px 0;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.icon-circle {
    width: 30px;
    height: 30px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.benefit-item h4 {
    margin: 0;
    color: #1e293b;
}

.benefit-item p {
    margin: 5px 0 0;
    color: #64748b;
}

/* --- Right Side (Checkout Card) --- */
.checkout-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.order-summary h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #475569;
}

.summary-line.total {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.2rem;
    padding-top: 10px;
}

.free-label {
    color: #10b981;
    font-weight: 700;
}

/* --- Buttons --- */
.btn-checkout {
    width: 100%;
    background: #ffc439; /* PayPal Yellow */
    color: #003087;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    margin-top: 20px;
}

.btn-checkout:hover {
    background: #f2ba36;
    transform: translateY(-2px);
}

.btn-stripe-sim {
    width: 100%;
    background: #0f172a;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.alternative-pay {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.alternative-pay::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    left: 0;
    top: 50%;
    z-index: 1;
}

.alternative-pay span {
    background: white;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    color: #94a3b8;
    font-size: 0.8rem;
}

.guarantee-text {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 25px;
}

/* --- Mobile Resp --- */
@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .purchase-info h1 { font-size: 2.5rem; }
}

/* --- Account Section Styling --- */
.account-section {
    padding: 120px 0;
    background-color: #ffffff;
    min-height: 100vh;
}

.account-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    margin-top: 50px;
}

/* License Box - Takes half width */
.license-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 40px;
}

.license-copy-wrapper {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 8px 8px 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: var(--ocm-primary);
    font-size: 1.1rem;
}

.btn-copy {
    background: #0f172a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-copy:hover {
    background: #6366f1;
}

.status-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: #10b981;
}

/* Download Box */
.download-box {
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
    border: 2px solid #ddd6fe;
    padding: 40px;
    text-align: center;
}

/* Table Box - Full Width */
.table-box {
    grid-column: span 2;
    padding: 40px;
    background: white;
    border: 1px solid #e2e8f0;
}

.version-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.version-table th {
    text-align: left;
    padding: 15px;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.version-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.text-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

/* Icon style */
.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 850px) {
    .account-bento-grid { grid-template-columns: 1fr; }
    .table-box { grid-column: span 1; }
}

/* --- About Hero --- */
.about-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent);
}

.hero-subtitle {
    max-width: 800px;
    margin: 30px auto;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
}

.hero-cta {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-affiliate-form {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.hero-affiliate-form .input-group {
    flex: 1;
}

.hero-affiliate-form input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.hero-affiliate-form input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.hero-affiliate-form .btn-magic {
    padding: 0 30px;
    white-space: nowrap;
    height: auto;
}

.form-disclaimer {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #64748b;
}

/* ×”×ª××ž×” ×œ× ×™×™×“ - ×”×•×¤×š ××ª ×”×˜×•×¤×¡ ×œ×× ×›×™ */
@media (max-width: 850px) {
    .hero-affiliate-form {
        flex-direction: column;
        padding: 20px;
    }
    
    .hero-affiliate-form .btn-magic {
        padding: 15px;
        width: 100%;
    }
}

/* --- Timeline Architecture --- */
.story-timeline {
    padding: 100px 0;
    position: relative;
}

.timeline {
    max-width: 800px;
    margin: 50px auto;
    border-left: 2px solid #e2e8f0;
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -49px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #6366f1;
    border: 4px solid white;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.time {
    font-weight: 800;
    color: #6366f1;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* --- Values Grid --- */
.values-section {
    padding: 100px 0;
    background: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
}

.v-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- Team Styling --- */
.team-section { padding: 100px 0; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    max-width: 600px;
    margin: 50px auto;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 120px;
    height: 120px;
    background: #e2e8f0;
    border-radius: 50%;
    margin: 0 auto 20px;
    /* Placeholder for real images */
    background-image: linear-gradient(135deg, #6366f1 0%, #a4286a 100%);
    opacity: 0.8;
    overflow: hidden;
}
.member-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role {
    display: block;
    color: #6366f1;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .values-grid, .team-grid { grid-template-columns: 1fr; }
}


/* --- Legal Content Styling --- */

.legal-page {
    padding: 80px 0 120px;
    background-color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.container-slim {
    max-width: 800px; /* ×¨×•×—×‘ ×ž×•×©×œ× ×œ×§×¨×™××” × ×•×—×” */
    margin: 0 auto;
    padding: 0 25px;
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 60px; /* ×¨×™×•×•×— ×’×“×•×œ ×‘×™×Ÿ ×¡×¢×™×¤×™× ×œ×™×¦×™×¨×ª ××•×•×™×¨ */
}

/* ×›×•×ª×¨×•×ª ×”×¡×¢×™×¤×™× */
.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ×˜×§×¡×˜ ×”×¡×¢×™×¤×™× */
.legal-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

/* ×”×“×’×©×ª ×¡×¢×™×£ ×”×”×—×–×¨ ×”×›×¡×¤×™ - ×¡×˜×™×™×œ ×ž×™× ×™×ž×œ×™×¡×˜×™ */
.highlight-info {
    padding: 40px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.highlight-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #6366f1, #a4286a);
}

.highlight-info h2 {
    color: #6366f1;
}

/* Footer ×©×œ ×”×¢×ž×•×“ */
.legal-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.legal-footer p {
    color: #94a3b8;
    font-size: 1rem;
}

.legal-footer a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.legal-footer a:hover {
    color: #a4286a;
}

/* ×”×ª××ž×” ×œ× ×™×™×“ */
@media (max-width: 768px) {
    .legal-page { padding: 40px 0 80px; }
    .legal-content h2 { font-size: 1.5rem; }
    .legal-content p { font-size: 1rem; }
}

/* --- Contact Page Architecture --- */
.contact-main {
    padding-bottom: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Info Cards Side */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    border: 1px solid #e2e8f0;
    transition: 0.3s ease;
}

.info-card:hover {
    border-color: #6366f1;
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: white;
    color: #6366f1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #0f172a;
}

.info-card p {
    color: #64748b;
    margin: 0;
}

/* Form Styling */
.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.magic-form .form-group {
    margin-bottom: 25px;
}

.magic-form label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.magic-form input, 
.magic-form select, 
.magic-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fcfdfe;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.2s;
}

.magic-form input:focus, 
.magic-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.btn-magic.full-width {
    width: 100%;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 30px; }
}

/* --- Documentation Framework --- */
.docs-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
}

/* Sidebar Styling */
.docs-sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 40px 30px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    margin-bottom: 40px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    color: #0f172a;
}

.nav-group {
    margin-bottom: 30px;
}

.nav-group h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.nav-group a {
    display: block;
    text-decoration: none;
    color: #475569;
    padding: 8px 0;
    font-size: 0.95rem;
    transition: 0.2s;
}

.nav-group a:hover, .nav-group a.active {
    color: #6366f1;
    font-weight: 600;
}

/* Content Styling */
.docs-content {
    padding: 80px 100px;
    max-width: 900px;
}

.docs-content section {
    margin-bottom: 80px;
    scroll-margin-top: 40px;
}

.docs-content h1 { font-size: 3rem; margin-bottom: 20px; }
.docs-content h2 { font-size: 2rem; margin-bottom: 20px; color: #0f172a; border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; }

.docs-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

/* Special Components */
.info-note {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.code-block {
    background: #0f172a;
    color: #e2e8f0;
    padding: 25px;
    border-radius: 12px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-header {
    color: #94a3b8;
    margin-bottom: 10px;
    font-weight: bold;
}

code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: #e11d48;
    font-family: monospace;
}

/* Mobile */
@media (max-width: 1024px) {
    .docs-layout { grid-template-columns: 1fr; }
    .docs-sidebar { display: none; }
    .docs-content { padding: 40px 20px; }
}

.error-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
}

.magic-illustration {
    position: relative;
    margin-bottom: 40px;
}

/* ×× ×™×ž×¦×™×™×ª ×¦×™×¤×” ×œ×ž×˜×” ×”×§×¡×ž×™× */
.magic-illustration svg {
    animation: floatWand 4s ease-in-out infinite;
}

/* ×× ×™×ž×¦×™×™×ª × ×¦× ×•×¥ ×œ×—×œ×§×™× ×‘-SVG */
.sparkle-one, .sparkle-two, .sparkle-three {
    animation: sparkle 2s infinite;
}

.sparkle-two { animation-delay: 0.5s; }
.sparkle-three { animation-delay: 1s; }

@keyframes floatWand {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.error-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.error-text p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .error-text h1 { font-size: 2.5rem; }
    .error-actions { flex-direction: column; }
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: #6366f1;
    background: #fcfdfe;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.15rem;
    color: #0f172a;
}

/* Icon Setup */
.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    background: #6366f1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before { width: 14px; height: 2px; } /* Line 1 */
.faq-icon::after { width: 2px; height: 14px; }  /* Line 2 */

/* The Magic Reveal */
.faq-answer-wrapper {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 24px 24px 24px;
    color: #475569;
    line-height: 1.7;
}

/* Active State */
.faq-item.active {
    border-color: #6366f1;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.05);
}

.faq-item.active .faq-answer-wrapper {
    max-height: 300px; /* ×’×•×‘×” ×ž×¡×¤×™×§ ×œ×ª×©×•×‘×” */
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.changelog-section {
    padding-bottom: 120px;
    background: #ffffff;
}

.timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid #f1f5f9;
}

/* ×›×œ ×¤×¨×™×˜ ×‘×™×•×ž×Ÿ */
.log-entry {
    position: relative;
    margin-bottom: 80px;
}

/* ×”×¢×™×’×•×œ ×¢×œ ×”×¦×™×¨ */
.log-entry::before {
    content: "";
    position: absolute;
    left: -49px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #cbd5e1;
    border: 4px solid #ffffff;
    z-index: 2;
}

.log-entry.latest::before {
    background: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Header */
.log-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.version-tag {
    font-weight: 800;
    font-size: 1.25rem;
    color: #0f172a;
}

.release-date {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Body */
.log-body h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.log-body p {
    color: #64748b;
    margin-bottom: 20px;
}

/* ×¨×©×™×ž×ª ×”×©×™× ×•×™×™× */
.change-list {
    list-style: none;
    padding: 0;
}

.change-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #475569;
}

.change-list span {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.new span { background: #dcfce7; color: #166534; }
.fix span { background: #fee2e2; color: #991b1b; }
.improve span { background: #fef9c3; color: #854d0e; }

/* Mobile */
@media (max-width: 600px) {
    .timeline { padding-left: 20px; }
    .log-entry::before { left: -29px; }
}

/* --- Affiliate Benefits --- */
.affiliate-benefits {
    padding: 80px 0;
    background: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

/* --- Steps Section --- */
.affiliate-process {
    padding-bottom: 120px;
}

.steps-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #a4286a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.step-text h4 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.step-text p {
    color: #475569;
    line-height: 1.6;
}

/* --- Mobile Fix --- */
@media (max-width: 768px) {
    .step-item { flex-direction: column; gap: 15px; }
}


.examples-main {
    padding-bottom: 120px;
}

.case-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    background: #ffffff;
    border-radius: 32px;
    padding: 20px;
}

.case-card.reverse {
    direction: rtl; /* ×”×•×¤×š ××ª ×”×¡×“×¨ ×•×™×–×•××œ×™×ª */
}

.case-card.reverse .case-info {
    direction: ltr; /* ×ž×—×–×™×¨ ××ª ×”×˜×§×¡×˜ ×œ×©×ž××œ */
}

/* Browser Screenshot Frame */
.case-image {
    background: #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image {
    transform: scale(1.02);
}

.browser-bar {
    background: #e2e8f0;
    padding: 10px 15px;
    display: flex;
    gap: 6px;
}

.browser-bar .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.case-image img {
    width: 100%;
    display: block;
    height: auto;
}

/* Info Styling */
.case-info {
    padding: 20px;
}

.case-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.case-info h3 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 20px;
}

.case-info p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Stats Styling */
.case-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #10b981; /* ×™×¨×•×§ ×¦×ž×™×—×” */
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 900px) {
    .case-card, .case-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

/* --- Premium Freedom Section (Brand Colors) --- */
.freedom-premium {
    position: relative;
    padding: 140px 0;
    background: var(--ocm-darker); /* עומק מקסימלי */
    overflow: hidden;
    color: var(--ocm-white);
}

/* Ambient Brand Glow */
.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 27, 102, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.premium-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Typography Refinement */
.premium-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ocm-accent); /* שימוש בירוק המותג לאישור המודל */
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.premium-title {
    font-size: 4.5rem;
    line-height: 0.95;
    font-weight: 900;
    margin-bottom: 30px;
}

.premium-title .highlight {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
    background: linear-gradient(135deg, var(--ocm-white), var(--ocm-secondary));
    -webkit-background-clip: text;
}

.premium-p {
    font-size: 1.2rem;
    color: var(--ocm-gray-300);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 45px;
}

/* Stats Logic */
.premium-stats-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 50px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
}

.p-num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--ocm-white);
    letter-spacing: -2px;
}

.p-desc {
    font-size: 0.8rem;
    color: var(--ocm-gray-600);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* Brand Button: Premium Glass Effect */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--ocm-primary);
    color: var(--ocm-white);
    padding: 22px 40px;
    border-radius: var(--ocm-radius-md);
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 15px 30px rgba(79, 27, 102, 0.4);
    transition: var(--transition-normal);
}

.btn-premium:hover {
    background: var(--ocm-secondary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.4);
}

/* The Core Key Visual */
.premium-key-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(40px);
    border-radius: var(--ocm-radius-lg);
    padding: 35px;
    box-shadow: var(--ocm-shadow-lg);
}

.key-field {
    background: rgba(2, 6, 23, 0.6);
    padding: 24px;
    border-radius: var(--ocm-radius-md);
    margin: 35px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--ocm-primary); /* מסגרת בצבע המותג */
}

.key-dots { 
    color: var(--ocm-gray-600); 
    letter-spacing: 4px; 
    font-family: 'Courier New', monospace;
}

.key-status { 
    font-size: 0.65rem; 
    font-weight: 900; 
    background: var(--ocm-accent); 
    color: var(--ocm-darker); 
    padding: 4px 8px; 
    border-radius: 4px; 
}

/* Mobile Adaptation */
@media (max-width: 900px) {
    .premium-wrapper { grid-template-columns: 1fr; text-align: center; }
    .premium-title { font-size: 3.2rem; }
    .premium-p { margin: 0 auto 40px; }
    .premium-stats-grid { justify-content: center; gap: 30px; }
    .btn-premium { width: 100%; justify-content: center; }
}

/* ========================================================================
   BYOK PREMIUM SECTION
   ======================================================================== */
.freedom-byok {
    position: relative;
    padding: 160px 0;
    background-color: var(--ocm-darker);
    overflow: hidden;
}

/* Background Ambiance */
.ambient-glow {
    position: absolute;
    top: 30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 27, 102, 0.2) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.byok-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

/* Typography & Titles */
.protocol-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ocm-accent);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.byok-title {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 900;
    color: var(--ocm-white);
    margin-bottom: 30px;
}

.text-accent {
    color: var(--ocm-accent);
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.byok-lead {
    font-size: 1.25rem;
    color: var(--ocm-gray-300);
    max-width: 540px;
    margin-bottom: 50px;
}

/* Feature Rows */
.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 50px;
}

.row { display: flex; gap: 20px; }
.row-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--ocm-gray-800);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-text h4 { color: var(--ocm-white); margin-bottom: 4px; }
.row-text p {color: var(--ocm-gray-300);font-size: 0.95rem;}

/* Action Buttons */
.btn-ocm-primary {
    background: var(--ocm-accent);
    color: var(--ocm-white);
    padding: 20px 40px;
    border-radius: var(--ocm-radius-md);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-normal);
}

.brand-glow {
    box-shadow: 0 10px 40px rgba(79, 27, 102, 0.4);
}

.link-secondary {
    margin-left: 25px;
    color: var(--ocm-gray-300);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.link-secondary:hover { color: var(--ocm-accent); }

/* --- Visual: Premium Card --- */
.premium-card-stack { position: relative; }

.api-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(30px);
    border-radius: var(--ocm-radius-lg);
    padding: 35px;
    box-shadow: var(--ocm-shadow-lg);
    z-index: 2;
    position: relative;
    color: var(--ocm-gray-300);
}

.key-display {
    background: var(--ocm-darker);
    padding: 24px;
    border-radius: var(--ocm-radius-md);
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--ocm-primary);
}

.status {
    background: var(--ocm-accent);
    color: var(--ocm-white);
    font-size: 0.65rem;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Animation Hooks */
.floating-card { animation: floating 6s ease-in-out infinite; }

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive */
@media (max-width: 1024px) {
    .byok-grid { grid-template-columns: 1fr; text-align: center; }
    .byok-lead { margin: 0 auto 40px; }
    .feature-rows { align-items: center; }
    .row { flex-direction: column; align-items: center; }
}





/* --- Context Intelligence Section --- */
.context-intelligence {
    padding: 140px 0;
    background: var(--ocm-dark);
    position: relative;
}

.context-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Visual Mockup Styles */
.site-preview-container {
    position: relative;
    height: 450px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--ocm-gray-800);
    border-radius: var(--ocm-radius-lg);
    overflow: hidden;
}

.site-card {
    position: absolute;
    width: 280px;
    background: var(--ocm-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--ocm-gray-200);
    padding: 20px;
    border-radius: var(--ocm-radius-md);
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: var(--ocm-shadow-lg);
    z-index: 2;
}

.recipe-site { top: 60px; left: 40px; }
.woo-site { bottom: 60px; right: 40px; border-color: var(--ocm-accent); }

.card-icon { font-size: 2rem; }
.site-type { font-weight: 700; color: var(--ocm-dark); display: block; }
.detected-badge { font-size: 0.7rem; font-weight: 800; color: var(--ocm-primary); text-transform: uppercase; margin-top: 5px; }
.detected-badge.success { color: var(--ocm-accent); }

/* The "Scanning" Animation */
.scanner-beam {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.1), transparent);
    border-bottom: 2px solid var(--ocm-accent);
    animation: scan 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes scan {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* Features List */
.context-features {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.c-feature {
    padding-left: 20px;
    border-left: 3px solid var(--ocm-accent);
}

.c-feature h4 { color: var(--ocm-white); margin-bottom: 8px; font-size: 1.1rem; }
.c-feature p {color: var(--ocm-gray-300);font-size: 0.95rem;}

/* AI Chip Indicator */
.ai-chip {
    width: 12px;
    height: 12px;
    background: var(--ocm-accent);
    border-radius: 3px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 900px) {
    .context-wrapper { grid-template-columns: 1fr; }
    .site-preview-container { height: 350px; }
    .site-card { width: 220px; font-size: 0.9rem; }
}


/* --- ACF & CPT Integration Section --- */
.acf-integration {
    padding: 140px 0;
    background: var(--ocm-darker);
    border-top: 1px solid rgba(255,255,255,0.03);
}

.acf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* Data Specs List */
.data-specs {
    margin: 40px 0;
    display: grid;
    gap: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ocm-gray-300);
    font-weight: 600;
}

.spec-dot {
    width: 12px;
    height: 8px;
    background: var(--ocm-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ocm-accent);
}

/* WP Badge */
.wp-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ocm-gray-300);
    border: 1px solid var(--ocm-gray-800);
}

/* Visual Mapper UI */
.field-mapper-ui {
    background: #1e293b;
    border-radius: var(--ocm-radius-lg);
    border: 1px solid var(--ocm-gray-800);
    box-shadow: var(--ocm-shadow-lg);
    overflow: hidden;
}

.ui-header {
    background: #0f172a;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--ocm-gray-800);
}

.ui-title { font-size: 0.8rem; font-weight: 800; color: var(--ocm-gray-300); text-transform: uppercase; }
.ui-status {font-size: 0.7rem;color: var(--ocm-white);font-weight: 700;}

.ui-body { padding: 15px; }

.field-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    border-radius: var(--ocm-radius-md);
    margin-bottom: 10px;
    transition: var(--transition-normal);
}

.field-row.active {
    border-color: var(--ocm-primary);
    background: rgba(79, 27, 102, 0.1);
}

.field-info { flex: 1; }
.f-name { display: block; font-size: 0.9rem; color: var(--ocm-white); font-family: monospace; }
.f-type {font-size: 0.7rem;color: var(--ocm-white);}

.field-link {
    padding: 0 20px;
    color: var(--ocm-white);
}

.ai-mapping {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ocm-white);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 100px;
}

/* Mobile */
@media (max-width: 900px) {
    .acf-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* --- SEO & Conversion Section --- */
.seo-conversion {
    padding: 140px 0;
    background: var(--ocm-dark);
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.seo-conversion h4{
    color: var(--ocm-gray-300);
}

.seo-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

/* SEO Visuals */
.optimization-hub {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yoast-status-card {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 260px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    color: #333;
    box-shadow: var(--ocm-shadow-lg);
    z-index: 3;
}

.yoast-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 800;
}

.yoast-logo {
    background: #a4286a; /* צבע מזוהה עם Yoast */
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.8rem;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.score-dot.green {
    width: 10px;
    height: 10px;
    background: #7ad03a;
    border-radius: 50%;
}

/* CF7 Card */
.form-gen-card {
    position: absolute;
    bottom: 40px;
    left: 20px;
    width: 240px;
    background: var(--ocm-darker);
    border: 1px solid var(--ocm-primary);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--ocm-shadow-lg);
    z-index: 2;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ocm-gray-300);
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.form-fields-skeleton { display: flex; flex-direction: column; gap: 8px; }
.skel-line {height: 6px;background: rgba(255,255,255,0.05);border-radius: 10px;width: 100%;}
.skel-line.w-70 { width: 70%; }
.skel-btn { 
    margin-top: 5px;
    background: var(--ocm-primary);
    color: white;
    font-size: 0.65rem;
    padding: 6px;
    text-align: center;
    border-radius: 4px;
    font-weight: 700;
}

/* Feature Bullets */
.feature-bullets {
    margin-top: 40px;
    display: grid;
    gap: 30px;
}

.bullet { display: flex; gap: 20px; }
.b-icon { font-size: 1.5rem; }
.b-text strong { display: block; color: var(--ocm-white); font-size: 1.1rem; margin-bottom: 5px; }
.b-text p {color: var(--ocm-gray-300);font-size: 0.95rem;}

.seo-chip {
    width: 12px;
    height: 12px;
    background: var(--ocm-accent);
    border-radius: 50%;
    display: inline-block;
}

/* Mobile */
@media (max-width: 900px) {
    .seo-grid { grid-template-columns: 1fr; }
    .optimization-hub { height: 300px; }
}

/* Desktop/Mobile Visibility */
.menu-toggle { display: none; background: none; border: none; color: var(--ocm-dark); cursor: pointer; }
.mobile-drawer { display: none; }

@media (max-width: 991px) {
    .desktop-nav, .hide-mobile { display: none !important; }
    .menu-toggle { display: block; }

    /* Drawer Styles */
    .mobile-drawer {
        display: block;
        position: fixed;
        top: 0; right: -100%; /* Start hidden */
        width: 300px; height: 100vh;
        background: var(--ocm-white);
        z-index: 9999;
        padding: 30px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .mobile-drawer.active { right: 0; }

    .drawer-header {
        display: flex; justify-content: space-between; align-items: center;
        margin-bottom: 40px; border-bottom: 1px solid var(--ocm-gray-100); padding-bottom: 20px;
    }

    #closeDrawer { font-size: 32px; background: none; border: none; cursor: pointer; }

    .mobile-nav ul { list-style: none; padding: 0; }
    .mobile-nav ul li { margin-bottom: 20px; }
    .mobile-nav ul li a { 
        font-size: 18px; font-weight: 600; color: var(--ocm-dark); text-decoration: none; 
    }

    /* Overlay */
    .drawer-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.5); visibility: hidden; opacity: 0;
        z-index: 9998; transition: 0.3s; backdrop-filter: blur(4px);
    }
    .drawer-overlay.active { visibility: visible; opacity: 1; }
}

/* ========================================================================
   PREMIUM OFF-CANVAS MENU (OCMagic PRO Style)
   ======================================================================== */

@media (max-width: 991px) {
    /* 1. Hamburger Toggle Styling */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.05); /* Subtle circle background */
        border: none;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        color: var(--ocm-dark);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .menu-toggle:active { transform: scale(0.9); }

    /* 2. Full Blur Overlay */
    .drawer-overlay {
        position: fixed;
        inset: 0; /* Full screen */
        background: rgba(10, 10, 15, 0.4); /* Dark tinted glass */
        backdrop-filter: blur(12px); /* Premium blur effect */
        -webkit-backdrop-filter: blur(12px);
        opacity: 0;
        visibility: hidden;
        z-index: 9998;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .drawer-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* 3. The Drawer (Side Menu) */
    .mobile-drawer {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 85%; /* Responsive width */
        max-width: 360px;
        height: 100vh;
        background: #ffffff;
        z-index: 9999;
        padding: 20px 30px;
        display: flex;
        flex-direction: column;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
    }

    .mobile-drawer.active {
        right: 0;
    }

    /* 4. Drawer Header */
    .drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
    }

    .drawer-header .logo {
        font-size: 1.25rem;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    #closeDrawer {
        background: var(--ocm-gray-100);
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        transition: background 0.2s;
    }

    /* 5. Navigation Links */
    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: block;
        padding-top: 20px;
    }

    .mobile-nav ul li {
        margin-bottom: 10px;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease;
    }

    /* Staggered animation for links when drawer opens */
    .mobile-drawer.active .mobile-nav ul li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Create delays for up to 5 menu items */
    .mobile-drawer.active .mobile-nav ul li:nth-child(1) { transition-delay: 0.1s; }
    .mobile-drawer.active .mobile-nav ul li:nth-child(2) { transition-delay: 0.15s; }
    .mobile-drawer.active .mobile-nav ul li:nth-child(3) { transition-delay: 0.2s; }
    .mobile-drawer.active .mobile-nav ul li:nth-child(4) { transition-delay: 0.25s; }

    .mobile-nav ul li a {
        display: block;
        padding: 6px 0;
        font-size: 1rem;
        font-weight: 700;
        color: var(--ocm-dark);
        text-decoration: none;
        transition: color 0.2s;
    }

    .mobile-nav ul li a:hover {
        color: var(--ocm-primary);
    }

    /* 6. Footer inside drawer */
    .drawer-footer {
        margin-top: auto;
        padding-top: 30px;
        border-top: 1px solid var(--ocm-gray-100);
    }

    .premium-label {
        justify-content: center;
    }

}

.swiper-pagination-bullet {
    border-radius: 0;
}

.swiper-pagination-bullet-active {
    background: var(--ocm-primary);
}

/* ========================================================================
   10. SITE FOOTER
   ======================================================================== */
.site-footer {
    /* background-color: var(--ocm-darker); */
    /* color: #ffffff; */
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand .logo {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--ocm-primary);
}

.footer-tagline {
    max-width: 300px;
    color: var(--ocm-gray-500);
    line-height: 1.6;
    font-size: 15px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--ocm-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Menus */
.footer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li a {
    color: var(--ocm-gray-500);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-list li a:hover {
    color: var(--ocm-primary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    font-size: 14px;
    color: var(--ocm-gray-500);
}

.footer-terms-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-terms-menu li a {
    color: var(--ocm-gray-500);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-terms-menu li a:hover {
    /* color: #ffffff; */
}


/* ========================================================================
   SINGLE POST - ARCHITECTURAL STYLES
   ======================================================================== */

/* 1. Global Reset for Full-Width */
.full-width-layout {
    width: 100%;
    overflow-x: hidden;
}

/* 2. Post Hero Styling */
.post-hero {
    padding: 140px 0 160px;
    background: radial-gradient(circle at 70% 20%, rgba(124, 58, 237, 0.08), transparent),
                radial-gradient(circle at 30% 80%, rgba(16, 185, 129, 0.05), transparent);
}

.entry-title {
    max-width: 950px;
    margin: 0 auto 24px;
    letter-spacing: -0.04em;
}

/* 3. Breakout Image Logic (Cinema Scope) */
.post-image-breakout {
    max-width: 1300px;
    margin: -100px auto 100px;
    padding: 0 30px;
    z-index: 20;
    position: relative;
}

.featured-img-box {
    border-radius: 40px;
    overflow: hidden;
    height: 65vh; /* Responsive height based on viewport */
    box-shadow: var(--ocm-shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 4. Content Grid System */
.post-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px; /* Modern asymmetric grid */
    gap: 80px;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
}

/* 5. Typography & Readability */
.entry-content {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--ocm-gray-700);
}

.entry-content h2, .entry-content h3 {
    color: var(--ocm-darker);
    margin: 2.5rem 0 1.25rem;
    font-weight: 800;
}

.entry-content p {
    margin-bottom: 1.8rem;
}

/* 6. Sticky Sidebar Cards */
.sticky-sidebar {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 24px;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--ocm-gray-200);
    padding: 32px;
    border-radius: 28px;
}

.author-card {
    background: #f8fafc;
}

.label-caps {
    display: block;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--ocm-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* 7. Footer & Navigation */
.post-nav-section {
    background: #0f172a; /* Dark theme contrast */
    padding: 120px 0;
    margin-top: 100px;
}

.nav-grid .content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-grid .content:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

/* 8. Responsive Breakpoints */
@media (max-width: 1100px) {
    .post-grid-layout {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }
    .post-image-breakout {
        margin-top: -60px;
    }
    .featured-img-box {
        height: 45vh;
    }
}

/* ========================================================================
   14. WOOCOMMERCE PRODUCT PAGE REFINEMENT
   ======================================================================== */

/* Main Wrapper Alignment */
.woocommerce-full-width .product {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Image left, content right */
    gap: 80px;
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 40px;
}

/* Product Image Gallery - Premium Look */
.woocommerce-product-gallery {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid var(--ocm-gray-200);
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.woocommerce-product-gallery:hover img {
    transform: scale(1.05);
}

/* Summary Section (Price, Title, Add to Cart) */
.summary.entry-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product_title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: var(--ocm-darker);
}

.woocommerce-product-details__short-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--ocm-gray-600);
    margin-bottom: 40px;
}

/* Pricing - Big & Bold */
.summary .price {
    font-size: 48px !important;
    font-weight: 900 !important;
    color: var(--ocm-primary) !important;
    margin-bottom: 30px !important;
    display: block;
}

.summary .price ins {
    text-decoration: none;
}

/* Add to Cart Button - Magic Style */
.single_add_to_cart_button {
    background: var(--ocm-primary) !important;
    color: #fff !important;
    padding: 20px 40px !important;
    border-radius: 18px !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2) !important;
}

.single_add_to_cart_button:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.3) !important;
    background: var(--ocm-darker) !important;
}

/* Product Tabs (Description, Reviews) as Bento Cards */
.woocommerce-tabs {
    grid-column: span 2;
    margin-top: 100px;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 20px;
    border: none !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
}

.woocommerce-tabs ul.tabs li {
}

.woocommerce-tabs ul.tabs li.active {
}

.woocommerce-tabs ul.tabs li.active a {
}

.woocommerce-Tabs-panel {
    background: #fff;
}

.woocommerce div.product form.cart div.quantity {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9; /* Soft background to match bento style */
    padding: 6px;
    border-radius: 14px;
    margin-right: 15px; /* Gap between quantity and Add to Cart */
    border: 1px solid var(--ocm-gray-200);
}

/* The actual Input field */
.woocommerce div.product form.cart div.quantity input.qty {
    width: 50px;
    height: 44px;
    background: transparent !important;
    border: none !important;
    font-size: 16px;
    font-weight: 800;
    color: var(--ocm-darker);
    text-align: center;
    outline: none;
    -moz-appearance: textfield; /* Hide arrows for Firefox */
}

/* Hide Webkit spin buttons (arrows) for a cleaner look */
.woocommerce div.product form.cart div.quantity input::-webkit-outer-spin-button,
.woocommerce div.product form.cart div.quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Layout fix: ensure form items align horizontally */
.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Ensure it wraps on mobile */
    gap: 10px;
}

/* Visual focus state */
.woocommerce div.product form.cart div.quantity:focus-within {
    border-color: var(--ocm-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .woocommerce-full-width .product {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }
    .product_title {
        font-size: 2.5rem;
    }
}

/* Demo Lead Text */
.lead-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--ocm-darker);
    font-weight: 500;
    margin-bottom: 40px;
}

/* Sidebar Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.features-list li {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--ocm-gray-700);
}

.features-list li .dot {
    width: 6px;
    height: 6px;
    background: var(--ocm-primary);
    border-radius: 50%;
    margin-right: 10px;
}

/* FAQ Styling */
.demo-faq-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--ocm-gray-100);
}

.faq-item {
    margin-bottom: 30px;
}

.faq-question {
    font-size: 1.25rem;
    color: var(--ocm-darker);
    margin-bottom: 10px;
}


/* ========================================================================
   WOOCOMMERCE ARCHIVE / SHOP PAGE - OCMAGIC STYLE
   ======================================================================== */

/** * 1. Global Shop Container
 */
.woocommerce-shop .woocommerce {
    padding: 80px 0;
    max-width: 1300px;
    margin: 0 auto;
}

.woocommerce-products-header__title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--ocm-darker);
}

/** * 2. Product Grid Layout
 */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.products::before, ul.products::after { display: none !important; } /* Clear Fix Removal */

/** * 3. Individual Product Card (Bento Style)
 */
ul.products li.product {
    background: #ffffff !important;
    border: 1px solid var(--ocm-gray-100) !important;
    border-radius: 32px !important;
    padding: 24px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

ul.products li.product:hover {
    transform: translateY(-10px);
    box-shadow: var(--ocm-shadow-xl) !important;
    border-color: var(--ocm-primary) !important;
}

/** * 4. Image Handling
 */
ul.products li.product img {
    border-radius: 20px !important;
    margin-bottom: 20px !important;
    background: #f8fafc;
    transition: transform 0.5s ease !important;
}

ul.products li.product:hover img {
    transform: scale(1.05);
}

/** * 5. Title & Price
 */
ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--ocm-darker) !important;
    padding: 0 !important;
    margin: 10px 0 !important;
}

ul.products li.product .price {
    font-size: 1.1rem !important;
    color: var(--ocm-primary) !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    display: block !important;
}

ul.products li.product .price del {
    opacity: 0.5;
    font-weight: 400;
}

/** * 6. Add to Cart Button in Loop
 */
ul.products li.product .button {
    margin-top: auto !important;
    background: #f1f5f9 !important;
    color: var(--ocm-darker) !important;
    border-radius: 14px !important;
    padding: 12px 20px !important;
    font-weight: 700 !important;
    text-align: center;
    transition: all 0.3s ease !important;
    border: none !important;
}

ul.products li.product .button:hover {
    background: var(--ocm-primary) !important;
    color: #ffffff !important;
}

/** * 7. Sale Badge - Floating Glassmorphism
 */
span.onsale {
    background: var(--ocm-primary) !important;
    backdrop-filter: blur(5px);
    border-radius: 100px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    min-height: auto !important;
    min-width: auto !important;
    top: 20px !important;
    left: 20px !important;
}



.woocommerce-ordering {
    margin-bottom: 40px !important;
    float: none !important; /* Reset default float */
    display: flex;
    justify-content: flex-end; /* Align to the left/right based on site direction */
}

.woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center; /* Position the custom arrow */
    background-size: 18px;
    
    padding: 12px 45px 12px 20px !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--ocm-darker);
    border: 1px solid var(--ocm-gray-200);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 220px;
    box-shadow: var(--ocm-shadow-sm);
}

.woocommerce-ordering select:hover {
    border-color: var(--ocm-primary);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.1);
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--ocm-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* RTL Adjustment (For Hebrew) */
body.rtl .woocommerce-ordering select {
    background-position: left 15px center;
    padding: 12px 20px 12px 45px !important;
}

/* ========================================================================
   ARCHIVE & POST-TYPE-ARCHIVE STYLES
   ======================================================================== */

.archive-layout {
    padding-bottom: 100px;
}

/* 1. Archive Hero Adjustments */
.archive-hero {
    text-align: center;
    padding: 100px 0 80px;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.archive-description {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

/* 2. Responsive Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-top: -40px; /* Overlap with hero for depth */
}

/* 3. Card Styling (Bento Look) */
.archive-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid var(--ocm-gray-100);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.archive-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ocm-shadow-xl);
    border-color: var(--ocm-primary);
}

.card-image {
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.archive-card:hover .card-image img {
    transform: scale(1.08);
}

.card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ocm-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.card-title a {
    color: var(--ocm-darker);
    text-decoration: none;
}

.card-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ocm-gray-600);
    margin-bottom: 25px;
}

.read-more-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--ocm-primary);
    text-decoration: none;
    font-size: 14px;
}

/* 4. Pagination Styling */
.archive-pagination {
    margin-top: 80px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a, .pagination span {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1f5f9;
    font-weight: 700;
    transition: all 0.3s ease;
}

.pagination span.current, .pagination a:hover {
    background: var(--ocm-primary);
    color: #ffffff;
}