/* ToolGoAI Dynamic UI & Premium Styles */
/* Extracted from Header & Footer for PageSpeed Optimization */

/* --- Header Misc --- */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-te-balloon-frame,
.goog-te-spinner-pos,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body { 
    top: 0px !important; 
    position: static !important;
    min-height: 100vh !important;
}

.goog-logo-link, 
.goog-te-gadget span,
.goog-te-gadget-simple img,
.goog-te-gadget .goog-te-combo { 
    display: none !important; 
}

.goog-te-gadget { 
    color: transparent !important; 
    font-size: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

.VIpgJd-ZVi9ub-OR6h0b-f3S09c,
.VIpgJd-ZVi9ub-aZ2w3d-wOHM9b,
.VIpgJd-ZVi9ub-L7lbne {
    display: none !important;
}

.goog-text-highlight { 
    background-color: transparent !important; 
    box-shadow: none !important; 
}

.mobile-menu-close { display: none !important; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

.site-header { min-height: 90px; }
.logo-icon-wrapper { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

/* --- Footer Premium Styles --- */
.premium-footer {
    background: #0f172a;
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
    color: #f8fafc;
    position: relative;
    padding-top: 5rem;
}
.footer-glow {
    position: absolute;
    top: 0; left: 10%; width: 40%; height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}
.footer-grid-modern {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
@media (max-width: 991px) {
    .footer-grid-modern { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .footer-grid-modern { grid-template-columns: 1fr; gap: 2.5rem; }
}

.footer-logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: white;
    box-shadow: 0 8px 16px -4px rgba(59, 130, 246, 0.5);
}
.footer-site-title { font-size: 1.75rem; font-weight: 800; color: white; letter-spacing: -0.02em; }
.footer-mission { line-height: 1.7; font-size: 1rem; max-width: 320px; }

.footer-premium-heading {
    font-size: 1.1rem; font-weight: 700; color: white;
    margin-bottom: 1.75rem; position: relative;
    padding-bottom: 0.75rem;
}
.footer-premium-heading::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 30px; height: 3px; background: #3b82f6; border-radius: 3px;
}

.footer-premium-links { list-style: none; padding: 0; margin: 0; }
.footer-premium-links li { margin-bottom: 0.85rem; }
.footer-premium-links a {
    color: #94a3b8; text-decoration: none; font-weight: 500; font-size: 0.95rem;
    transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px;
}
.footer-premium-links a:hover { color: white; transform: translateX(5px); }

.social-box {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8; text-decoration: none; transition: all 0.3s ease;
}
.social-box:hover {
    background: #3b82f6; color: white; border-color: #3b82f6;
    transform: translateY(-5px); box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.contact-icon-mini {
    width: 36px; height: 36px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

/* --- Mobile Sticky Share --- */
.mobile-sticky-share {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    border-top: 1px solid #eee;
}
[data-theme="dark"] .mobile-sticky-share {
    background: #1e293b;
    border-top: 1px solid #334155;
}
.btn-whatsapp-sticky {
    background: #25D366;
    color: white;
    font-weight: 700;
    border-radius: 8px;
    padding: 8px;
}
.btn-telegram-sticky {
    background: #0088cc;
    color: white;
    font-weight: 700;
    border-radius: 8px;
    padding: 8px;
}
body.single-tool, body.single-post {
    padding-bottom: 60px;
}

/* --- Global Share Modal --- */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.share-modal-content {
    background: var(--bg-surface);
    width: 90%;
    max-width: 400px;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    position: relative;
}
.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.btn-close-modal {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--text-tertiary);
    cursor: pointer;
}
.share-icons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
    color: white !important;
    border: none;
    cursor: pointer;
}
.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.share-btn.facebook { background: #1877F2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.pinterest { background: #BD081C; }
.share-btn.twitter { background: #000000; }
.share-btn.copy-link { background: var(--text-secondary); }
