/* ========================================
   MEDIATOOLS — GLOBAL STYLES
   ======================================== */

:root {
    --primary-bg:   #040f0f;
    --secondary-bg: #071a1a;
    --card-bg:      #0b2323;
    --card-hover:   #0e2a2a;
    --accent:       #a3e635;
    --accent-dim:   rgba(163, 230, 53, 0.15);
    --accent-glow:  rgba(163, 230, 53, 0.35);
    --text-primary: #f0fdf4;
    --text-muted:   #6b7280;
    --text-dim:     #9ca3af;
    --border:       rgba(255, 255, 255, 0.06);
    --border-accent:rgba(163, 230, 53, 0.2);
    --radius-sm:    10px;
    --radius-md:    16px;
    --radius-lg:    24px;
    --radius-xl:    32px;
    --radius-2xl:   48px;
    --ease-bounce:  cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
    --transition:   all 0.35s var(--ease-smooth);
    --shadow-card:  0 8px 32px rgba(0,0,0,0.4);
    --shadow-glow:  0 0 40px rgba(163, 230, 53, 0.15);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--primary-bg); }
::-webkit-scrollbar-thumb {
    background: #1e3a3a;
    border-radius: 99px;
    transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ========================================
   NAVBAR
   ======================================== */
.glass-nav {
    background: rgba(4, 15, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-accent);
    transition: var(--transition);
}

.glass-nav.scrolled {
    background: rgba(4, 15, 15, 0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-link {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dim);
    transition: color 0.25s ease;
    letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--accent); }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 280px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px var(--border-accent);
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    pointer-events: none;
    transition: all 0.22s var(--ease-smooth);
    z-index: 100;
}
.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    text-decoration: none;
    color: var(--text-primary);
}
.tool-item:hover { background: rgba(255,255,255,0.05); }
.tool-item .icon-wrap {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--accent-dim);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.tool-item p { font-size: 13px; font-weight: 600; line-height: 1.2; }
.tool-item span { font-size: 11px; color: var(--text-muted); }

/* Mobile Menu */
.mobile-menu {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: slideDown 0.28s var(--ease-smooth);
}
.mobile-tools {
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 2px solid var(--accent-dim);
    margin-top: 4px;
}
.mobile-tools a {
    font-size: 13px;
    color: var(--text-dim);
    transition: color 0.2s;
}
.mobile-tools a:hover { color: var(--accent); }
.mobile-tools-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.accent-text { color: var(--accent); }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    border-radius: 99px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(135deg, #a3e635 0%, #86efac 50%, #a3e635 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: var(--primary-bg);
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-bounce);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px var(--accent-glow);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

/* ========================================
   BLOB / GLOW DECORATIONS
   ======================================== */
.blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.12) 0%, transparent 70%);
    z-index: 0;
    filter: blur(60px);
    pointer-events: none;
}
.glow-line {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(163,230,53,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(163,230,53,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 6px;
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
}
.hero-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s infinite;
}

.hero-phone {
    background: var(--card-bg);
    border-radius: 2.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(163,230,53,0.05);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: transform 0.8s var(--ease-smooth);
}
.hero-phone:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-float-card {
    position: absolute;
    background: rgba(11, 35, 35, 0.95);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}
.hero-float-card.delay { animation-delay: -3s; }

/* ========================================
   STATS SECTION
   ======================================== */
.stats-wrap {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}
.stats-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 40%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

.stat-item {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 25%; bottom: 25%;
    width: 1px;
    background: var(--border);
}
.stat-number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 8px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ========================================
   TOOL CARDS
   ======================================== */
.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.4s var(--ease-bounce);
    position: relative;
    overflow: hidden;
}
.tool-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.tool-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    background: var(--card-hover);
    box-shadow: 0 20px 50px -10px var(--accent-glow), var(--shadow-card);
}
.tool-card:hover::before { opacity: 1; }

.tool-icon-wrap {
    width: 56px; height: 56px;
    background: var(--accent-dim);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    transition: all 0.4s var(--ease-smooth);
    flex-shrink: 0;
}
.tool-card:hover .tool-icon-wrap {
    background: var(--accent);
    color: var(--primary-bg);
    transform: scale(1.1) rotate(-6deg);
}

.tool-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    transition: gap 0.25s ease;
}
.tool-card:hover .tool-arrow { gap: 10px; }

/* ========================================
   FEATURES / WHY US
   ======================================== */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.feature-card:hover { border-color: var(--border-accent); }
.feature-card:hover::after { transform: scaleX(1); }

/* ========================================
   HOW IT WORKS STEPS
   ======================================== */
.step-number {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}
.step-item:hover .step-number {
    background: var(--accent);
    color: var(--primary-bg);
    box-shadow: 0 0 0 6px var(--accent-dim);
}
.step-connector {
    width: 1px;
    flex: 1;
    background: linear-gradient(180deg, var(--accent-dim), transparent);
    margin-left: 23px;
    min-height: 32px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: var(--transition);
    position: relative;
}
.testimonial-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.testimonial-card .quote-icon {
    position: absolute;
    top: 20px; right: 24px;
    font-size: 3rem;
    color: var(--accent-dim);
    line-height: 1;
    font-family: Georgia, serif;
    pointer-events: none;
}
.star { color: #fbbf24; font-size: 0.8rem; }

/* ========================================
   FAQ
   ======================================== */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--border-accent); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s;
    user-select: none;
}
.faq-question:hover { background: rgba(255,255,255,0.02); }
.faq-icon {
    width: 28px; height: 28px;
    background: var(--accent-dim);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-smooth), background 0.3s;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--primary-bg);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-smooth);
}
.faq-body.open { max-height: 200px; }
.faq-body-inner {
    padding: 0 24px 20px;
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.form-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    outline: none;
}
.form-input::placeholder { color: #374151; }
.form-input:focus {
    border-color: var(--accent);
    background: rgba(163, 230, 53, 0.04);
    box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.08);
}
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a3e635'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}
select.form-input option { background: var(--card-bg); }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-card {
    background: linear-gradient(135deg, #0b2323 0%, var(--secondary-bg) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(163,230,53,0.04) 60deg, transparent 120deg);
    animation: rotate-slow 20s linear infinite;
    z-index: 0;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    border-top: 1px solid var(--border);
    background: var(--secondary-bg);
}
.footer-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.75); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(3deg); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes scan-line {
    from { transform: translateY(-100%); }
    to { transform: translateY(100vh); }
}

/* Reveal animations (used with JS IntersectionObserver) */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .blob { width: 250px; height: 250px; filter: blur(40px); }
    .stat-item:not(:last-child)::after { display: none; }
    .hero-float-card { display: none; }
    .cta-card { border-radius: var(--radius-xl); }
}

@media (max-width: 480px) {
    .btn-primary, .btn-outline { padding: 12px 20px; font-size: 0.875rem; }
}

/* ========================================
   SEARCH OVERLAY
   ======================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(60px, 8vh, 120px);
    padding-inline: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease-smooth);
}

.search-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 15, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.search-modal {
    position: relative;
    width: 100%;
    max-width: 680px;
    background: var(--card-bg);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(163,230,53,0.05);
    overflow: hidden;
    transform: translateY(-16px) scale(0.97);
    transition: transform 0.25s var(--ease-bounce);
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

.search-overlay.open .search-modal {
    transform: translateY(0) scale(1);
}

/* Input */
.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.search-input-icon {
    color: var(--accent);
    font-size: 14px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    caret-color: var(--accent);
}

.search-input::placeholder { color: var(--text-muted); font-weight: 400; }

.search-close-btn {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.search-close-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

/* Body */
.search-body {
    overflow-y: auto;
    padding: 16px;
    flex: 1;
}

.search-body::-webkit-scrollbar { width: 4px; }
.search-body::-webkit-scrollbar-thumb { background: #1e3a3a; border-radius: 99px; }

/* Category */
.search-cat-section { margin-bottom: 20px; }
.search-cat-section:last-child { margin-bottom: 0; }

.search-cat-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding: 0 4px;
}

.search-cat-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Tool Item */
.search-tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.15s, border-color 0.15s;
    border: 1px solid transparent;
    cursor: pointer;
}

.search-tool-item:hover,
.search-tool-item.focused {
    background: rgba(255,255,255,0.04);
    border-color: var(--border-accent);
}

.search-tool-item.focused {
    background: var(--accent-dim);
}

.search-tool-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.search-tool-item:hover .search-tool-icon,
.search-tool-item.focused .search-tool-icon {
    transform: scale(1.1);
}

/* Color variants */
.search-tool-icon--amber { background: rgba(251,191,36,0.12); color: #fbbf24; }
.search-tool-icon--blue  { background: rgba(59,130,246,0.12); color: #60a5fa; }
.search-tool-icon--purple{ background: rgba(168,85,247,0.12); color: #c084fc; }
.search-tool-icon--green { background: rgba(163,230,53,0.12); color: var(--accent); }
.search-tool-icon--rose  { background: rgba(244,63,94,0.12);  color: #fb7185; }

.search-tool-info { flex: 1; min-width: 0; }

.search-tool-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.search-tool-desc {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-tool-arrow {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
}

.search-tool-item:hover .search-tool-arrow,
.search-tool-item.focused .search-tool-arrow {
    opacity: 1;
    transform: translateX(2px);
}

/* Search highlight */
.search-highlight {
    background: rgba(163,230,53,0.2);
    color: var(--accent);
    border-radius: 3px;
    padding: 0 2px;
    font-style: normal;
}

/* Empty state */
.search-empty {
    text-align: center;
    padding: 32px 20px;
}

/* Footer hints */
.search-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.search-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-muted);
}

.search-footer kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    font-size: 10px;
    font-family: inherit;
    color: var(--text-dim);
    min-width: 20px;
}

/* ---- Responsive search ---- */
@media (max-width: 640px) {
    .search-overlay { padding-top: 16px; align-items: flex-start; }
    .search-modal { max-height: calc(100vh - 32px); border-radius: var(--radius-lg); }
    .search-footer { display: none; }
}