/* =========================================================
   LAYOUT.CSS - Structural Chassis and Responsiveness (Master)
   (Integrated Version - Base Layout + Hover Spotlight Engine)
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; overflow-x: hidden; width: 100%; transition: opacity 0.3s; color: inherit;}

/* --- CENTRAL NAVIGATION --- */
nav { position: fixed; top: 0; left: 0; width: 100%; background: #ffffff; padding: 20px 4%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; border-bottom: 1px solid #e5e7eb; height: 80px; }
body[data-theme="dark"] nav { background: #0b1120; border-color: rgba(255,255,255,0.05); }

.logo-container { display: flex; align-items: center; cursor: pointer; }
.logo-container h1 { font-size: 1.4rem; font-weight: 900; color: #111827; letter-spacing: -1px; }
body[data-theme="dark"] .logo-container h1 { color: #ffffff; }
.logo-container h1 span { color: #2563eb; font-weight: 700; }

.nav-right { display: flex; align-items: center; gap: 30px; }
.nav-links-main { display: flex; gap: 25px; }
.nav-links-main a, .nav-links-legal a { text-decoration: none; font-size: 0.9rem; font-weight: 600; color: #374151; transition: 0.2s; cursor: pointer;}
body[data-theme="dark"] .nav-links-main a, body[data-theme="dark"] .nav-links-legal a { color: #94a3b8; }
.nav-links-main a:hover { color: #2563eb; }

.nav-links-legal { display: none; flex-direction: column; gap: 10px; margin-top: 20px; border-top: 1px solid #e5e7eb; padding-top: 15px;}
body[data-theme="dark"] .nav-links-legal { border-color: rgba(255,255,255,0.05); }

.theme-btn { background: transparent; border: none; font-size: 1.3rem; cursor: pointer; transition: 0.3s; color: inherit;}
.theme-btn:hover { transform: scale(1.15); }

.nav-cta { background: #111827; color: #ffffff; border: none; padding: 12px 24px; border-radius: 6px; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; cursor: pointer; transition: 0.2s; letter-spacing: 1px;}
body[data-theme="dark"] .nav-cta { background: #ffffff; color: #111827; }
.nav-cta:hover { transform: translateY(-1px); }

.mobile-menu-btn { display: none; cursor: pointer; background: transparent; border: none; z-index: 1100;}
.mobile-menu-btn span { display: block; width: 25px; height: 3px; background: #374151; margin-bottom: 5px; transition: 0.3s; border-radius: 2px;}
body[data-theme="dark"] .mobile-menu-btn span { background: #ffffff; }

@media (max-width: 1024px) {
    .nav-right { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #ffffff; flex-direction: column; align-items: flex-start; padding: 100px 30px 40px; gap: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.05); transition: right 0.4s ease; }
    body[data-theme="dark"] .nav-right { background: #111827; }
    .nav-right.active { right: 0; }
    .nav-links-main { flex-direction: column; gap: 20px; width: 100%; }
    .nav-links-main a { font-size: 1.1rem; width: 100%; display: block; padding: 10px 0;}
    .nav-links-legal { display: flex; }
    .nav-cta { margin-top: 25px; width: 100%; padding: 12px 20px; font-size: 0.8rem; }
    .theme-btn { position: absolute; top: 25px; left: 30px; }
    .mobile-menu-btn { display: block; }
}

/* --- MAIN BANNER (HERO) ELITE STRUCTURE --- */
.hero { min-height: clamp(450px, 70vh, 800px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px 5% 60px; position: relative; z-index: 1; gap: 24px; background: #ffffff; width: 100%; }
.hero-tagline { font-size: 0.85rem; color: #2563eb; text-transform: uppercase; letter-spacing: 4px; font-weight: 900; background: #eff6ff; padding: 8px 20px; border-radius: 20px; border: 1px solid #bfdbfe; margin: 0; }
.hero h1 { font-size: 4.2rem; max-width: 1100px; line-height: 1.1; letter-spacing: -2px; font-weight: 900; color: #111827; margin: 0; }
.hero h1 span { color: #2563eb; }
.hero p { font-size: 1.2rem; color: #4b5563; max-width: 750px; line-height: 1.6; font-weight: 400; margin: 0; }
.hero-prompt-box { display: flex; width: 100%; max-width: 800px; background: #ffffff; border: 1px solid #d1d5db; border-radius: 12px; padding: 8px; margin-top: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); transition: 0.3s; }
.hero-prompt-box:focus-within { border-color: #2563eb; box-shadow: 0 15px 50px rgba(37,99,235,0.15); }
.hero-prompt-box input { flex: 1; background: transparent; border: none; color: #111827; padding: 18px 25px; font-size: 1.1rem; outline: none; font-weight: 500; }
.hero-prompt-box button { background: #2563eb; color: #ffffff; border: none; padding: 0 40px; border-radius: 8px; font-weight: 900; text-transform: uppercase; font-size: 1rem; letter-spacing: 1px; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 10px rgba(37,99,235,0.3); }
.hero-prompt-box button:hover { transform: scale(1.02); background: #1d4ed8; }

@media (max-width: 600px) {
    .hero-prompt-box { flex-direction: column; gap: 10px; background: transparent; border: none; box-shadow: none; padding: 0; }
    .hero-prompt-box input { width: 100%; background: #ffffff; border: 1px solid #d1d5db; border-radius: 12px; padding: 18px 25px; }
    .hero-prompt-box button { width: 100%; padding: 18px; border-radius: 12px; }
}

/* --- SHOWCASE AND PRICING --- */
.showcase-grid { padding: 80px 5%; background: #f8fafc; }
.section-title { text-align: center; font-size: 2.3rem; margin-bottom: 15px; color: #111827; font-weight: 900; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: #6b7280; margin: 0 auto 40px; }
.case-container { display: flex; flex-direction: column; gap: 40px; max-width: 1000px; margin: 0 auto; }
.case-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.case-card img { width: 100%; height: auto; }
.case-content { padding: 35px; }

.pricing-section { padding: 80px 5%; background: #ffffff; border-top: 1px solid #e5e7eb; width: 100%; overflow: hidden;}
.ppp-notice { text-align: center; color: #6b7280; font-size: 0.85rem; margin-bottom: 45px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1400px; margin: 0 auto; align-items: stretch; }
.price-card { background: #f9fafb; border: 1px solid #e5e7eb; border-top: 4px solid #d1d5db; padding: 35px 25px; border-radius: 12px; text-align: center; display: flex; flex-direction: column; min-height: 600px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.price-card.popular { border-top-color: #2563eb; background: #ffffff; border-color: #bfdbfe; box-shadow: 0 20px 40px rgba(37,99,235,0.08); transform: scale(1.05); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #2563eb; color: #fff; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; padding: 6px 15px; border-radius: 20px; }
.p-name { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; color: #4b5563; margin-bottom: 12px; font-weight: 900; }
.p-price { font-size: 2.8rem; font-weight: 900; color: #111827; margin-bottom: 20px; font-family: monospace; }
.p-price span { font-size: 1rem; color: #9ca3af; font-weight: normal; }
.p-limits { font-size: 0.85rem; color: #374151; font-weight: 800; background: #f3f4f6; padding: 12px; border-radius: 8px; margin-bottom: 25px; border: 1px solid #e5e7eb; }
.p-features { list-style: none; text-align: left; margin-bottom: 30px; flex-grow: 1; display: flex; flex-direction: column; gap: 14px; }
.p-features li { font-size: 0.85rem; color: #4b5563; padding-left: 26px; position: relative; }
.p-features li::before { content: '✓'; position: absolute; left: 0; color: #10b981; font-weight: 900; }
.p-btn { width: 100%; padding: 14px; border-radius: 6px; border: 1px solid #d1d5db; background: transparent; color: #111827; font-weight: 800; cursor: pointer; text-transform: uppercase; font-size: 0.85rem; pointer-events: none; }
.price-card.popular .p-btn { background: #2563eb; color: #fff; border: none; }

/* =========================================================
   ORGANIC FRAGMENTED MANUAL (HOVER SPOTLIGHT ENGINE)
   ========================================================= */
.manual-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    z-index: 7999;
    opacity: 0;
    pointer-events: none !important; /* CLICKJACKING SHIELD */
    transition: opacity 0.25s ease;
}
.manual-overlay.active { opacity: 1; }

.manual-elevated {
    position: relative;
    z-index: 8000 !important;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25) !important;
    transform: scale(1.01) translateY(-2px);
    background: #ffffff !important;
    transition: all 0.25s ease;
}
body[data-theme="dark"] .manual-elevated { background: #111827 !important; }

.manual-balloon {
    position: absolute;
    background: #ffffff;
    width: 320px;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    z-index: 8001;
    border: 1px solid #e5e7eb;
    text-align: left;
    pointer-events: none !important; /* CLICKJACKING SHIELD */
    animation: fadeInBalloon 0.2s ease-out;
}
body[data-theme="dark"] .manual-balloon { background: #1e293b; border-color: #334155; color: #f8fafc; }
@keyframes fadeInBalloon { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.manual-balloon-header { font-size: 1.1rem; font-weight: 900; color: #111827; margin-bottom: 4px; text-transform: uppercase; letter-spacing: -0.5px; }
body[data-theme="dark"] .manual-balloon-header { color: #ffffff; }
.manual-balloon-tag { font-size: 0.75rem; font-weight: 800; color: #2563eb; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.5px; }
.manual-balloon-desc { font-size: 0.85rem; color: #4b5563; line-height: 1.5; margin-bottom: 0; }
body[data-theme="dark"] .manual-balloon-desc { color: #94a3b8; }
.manual-balloon-footer { font-size: 0.7rem; color: #9ca3af; margin-top: 12px; border-top: 1px solid #f1f5f9; padding-top: 8px; font-weight: 700; text-transform: uppercase; }
body[data-theme="dark"] .manual-balloon-footer { border-color: #334155; color: #64748b; }

/* SHOWCASE RESPONSIVENESS */
@media (max-width: 850px) {
    .price-grid { display: flex; flex-direction: column; width: 100% !important; }
    .price-card { min-height: auto; width: 100% !important; margin-bottom: 20px; }
    .manual-balloon { width: 90% !important; left: 5% !important; transform: none !important; position: fixed; bottom: 20px; top: auto !important; }
}