:root { --primary: #007bff; --secondary: #0056b3; --bg-dark: #f0f4f8; --card-bg: #ffffff; --glass: rgba(0, 0, 0, 0.03); --glass-border: rgba(0, 0, 0, 0.08); --text-dim: #64748b; --text-dark: #1e293b; --footer-heading: #1e293b; }
body { margin: 0; background: var(--bg-dark); color: var(--text-dark); font-family: 'Inter', -apple-system, sans-serif; min-height: 100vh; overflow-y: scroll; padding-bottom: 30px; -webkit-tap-highlight-color: transparent; }
.wrap { max-width: 460px; margin: 0 auto; padding: 20px 16px; }
.logo-container { text-align: center; margin: 10px 0 15px; }
.tagline-container { text-align: center; margin-bottom: 30px; }
.tagline { background: rgba(0, 123, 255, 0.1); color: var(--primary); padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; border: 1px solid rgba(0, 123, 255, 0.2); display: inline-block; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; padding: 18px; border-radius: 20px; font-size: 17px; font-weight: 700; margin-bottom: 15px; background: var(--card-bg); border: 1px solid var(--glass-border); transition: 0.2s; cursor: pointer; color: var(--primary); box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.btn:active { transform: scale(0.96); }
.casebtn { background: linear-gradient(135deg, #007bff, #0056b3); border: none; box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25); color: #fff; }
@keyframes softPulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
.pulse-text { margin-top: 30px; margin-bottom: 15px; text-align: center; font-size: 12px; letter-spacing: 2px; font-weight: 800; color: var(--secondary); animation: softPulse 3s infinite ease-in-out; text-transform: uppercase; }
.sticky-header { position: sticky; top: 0; z-index: 100; background: rgba(240, 244, 248, 0.95); backdrop-filter: blur(12px); padding: 15px 0 10px; margin: -15px 0 15px; }
.search-wrapper { position: relative; width: 100%; display: flex; align-items: center; }
.search { width: 100%; padding: 18px 80px 18px 20px; border-radius: 20px; border: 1px solid var(--glass-border); background: #ffffff; color: var(--text-dark); font-size: 16px; box-sizing: border-box; outline: none; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; font-weight: 600; }
.search:focus { border-color: var(--primary); box-shadow: 0 0 15px rgba(0, 123, 255, 0.15); border-radius: 20px 20px 0 0 !important; }
.mic-btn { position: absolute; right: 12px; background: none; border: none; font-size: 18px; color: var(--primary); cursor: pointer; padding: 10px; }
.clear-btn { position: absolute; right: 48px; background: none; border: none; font-size: 16px; color: var(--text-dim); cursor: pointer; padding: 10px; display: none; }
.tab-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 5px 0 15px; scrollbar-width: none; }
.tab-scroll::-webkit-scrollbar { display: none; }
.tab-btn { padding: 10px 18px; background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 24px; font-size: 12px; font-weight: 700; color: var(--text-dim); white-space: nowrap; cursor: pointer; transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.tab-btn.active { background: var(--primary); color: #fff; border-color: transparent; box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2); }
.result-header { background: rgba(0, 123, 255, 0.05); border: 1px solid rgba(0, 123, 255, 0.15); border-radius: 16px; padding: 16px; margin-bottom: 20px; text-align: center; animation: fadeIn 0.3s ease; }
.rh-title { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.rh-cat { font-size: 11px; font-weight: 800; color: var(--text-dim); background: rgba(0,0,0,0.05); padding: 4px 12px; border-radius: 12px; display: inline-block; margin-bottom: 8px; letter-spacing: 0.5px; }
.rh-count { font-size: 13px; font-weight: 700; color: #2ecc71; margin-top: 5px; }
.card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 24px; padding: 20px; margin-bottom: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: 0.3s; animation: fadeIn 0.3s ease; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; gap: 10px; }
.card-title { font-size: 17px; color: var(--text-dark); font-weight: 800; line-height: 1.3; }
.badge { padding: 5px 10px; border-radius: 8px; font-size: 10px; font-weight: 800; letter-spacing: 0.5px; white-space: nowrap; text-transform: uppercase; }
.b-hd { background: rgba(52, 152, 219, 0.1); color: #2780b9; border: 1px solid rgba(52, 152, 219, 0.2); }
.b-ag { background: rgba(155, 89, 182, 0.1); color: #8e44ad; border: 1px solid rgba(155, 89, 182, 0.2); }
.b-uv { background: rgba(241, 196, 15, 0.1); color: #d35400; border: 1px solid rgba(241, 196, 15, 0.2); }
.b-priv { background: rgba(231, 76, 60, 0.1); color: #c0392b; border: 1px solid rgba(231, 76, 60, 0.2); }
.b-18 { background: rgba(46, 204, 113, 0.1); color: #27ae60; border: 1px solid rgba(46, 204, 113, 0.2); }
.chip-container { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.model-chip { background: rgba(0, 0, 0, 0.03); color: var(--text-dark); padding: 8px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; border: 1px solid rgba(0, 0, 0, 0.06); transition: 0.2s; cursor: pointer; user-select: none; }
.model-chip:active { transform: scale(0.94); background: rgba(0, 0, 0, 0.06); }
.model-chip.highlight { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 800; box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2); }
.no-result { text-align: center; padding: 40px 20px; background: rgba(231, 76, 60, 0.05); border-radius: 24px; border: 1px dashed rgba(231, 76, 60, 0.3); margin-top: 20px; }
.no-res-icon { font-size: 40px; margin-bottom: 10px; display: block; }
.req-btn { background: #e74c3c; color: white; text-decoration: none; padding: 14px 24px; border-radius: 16px; font-size: 14px; font-weight: 800; display: inline-block; border: none; margin-top: 20px; box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2); }
.share-action { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; background: rgba(46, 204, 113, 0.1); color: #27ae60; border: 1px solid rgba(46, 204, 113, 0.2); border-radius: 12px; font-size: 13px; font-weight: 800; cursor: pointer; transition: 0.2s; border-radius: 12px; border: none; }
.share-action:active { transform: scale(0.95); }
.contact-box { background: var(--card-bg); padding: 20px; border-radius: 20px; border: 1px solid var(--glass-border); margin: 20px auto; max-width: 320px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.contact-mail { display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(0, 123, 255, 0.05); padding: 12px; border-radius: 12px; border: 1px solid rgba(0, 123, 255, 0.1); margin-top: 10px; transition: 0.2s; text-decoration: none; }
.contact-mail:active { transform: scale(0.96); }
mark { background: rgba(0, 123, 255, 0.15); color: #000; border-radius: 3px; padding: 0 2px; }
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.section-title { font-size: 11px; color: var(--text-dim); margin-bottom: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-top: 5px; }
.result-count { font-size: 12px; color: var(--secondary); margin: 5px 0 10px 5px; font-weight: 700; min-height: 15px; }

/* Styles cleanup */
.faq-item { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 12px; margin-bottom: 12px; padding: 14px 18px; cursor: pointer; }
.faq-item summary { font-weight: 800; color: var(--text-dark); font-size: 14px; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 12px; color: var(--text-dim); font-size: 13px; line-height: 1.6; }

/* Skeleton Loader */
.skeleton { background: #e2e8f0; height: 120px; border-radius: 24px; margin-bottom: 16px; position: relative; overflow: hidden; border: 1px solid var(--glass-border); }
.skeleton::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); animation: shimer 1.5s infinite; }
@keyframes shimer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Toast Notification */
#toast { visibility: hidden; min-width: 250px; background-color: #1e293b; color: #fff; text-align: center; border-radius: 12px; padding: 16px; position: fixed; z-index: 9999; left: 50%; bottom: 30px; font-size: 14px; font-weight: 600; transform: translateX(-50%); opacity: 0; transition: opacity 0.3s, bottom 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.2); border: 1px solid #334155; }
#toast.show { visibility: visible; opacity: 1; bottom: 50px; }
