/* main.css — Merged inline CSS from header.php + footer.php for browser caching */

/* ==========  CSS VARIABLES  ========== */
:root {
    --primary: #0081d5;
    --dark: #1e293b;
    --light: #f8fafc;
}

/* ==========  BASE  ========== */
body { font-family: 'Inter', sans-serif; background-color: #fcfcfc; padding-top: 85px; }

/* ==========  HEADER ANIMATION  ========== */
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========  NAVBAR  ========== */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    padding: 10px 0;
    animation: slideDown 0.5s ease-out forwards;
}
.navbar-brand img { height: 55px; width: auto; max-width: 350px; object-fit: contain; }
@media (max-width: 400px) { .navbar-brand img { height: 42px; max-width: 160px; } }

.menu-btn {
    width: 45px; height: 45px;
    background: #f1f5f9; color: var(--dark);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; cursor: pointer; transition: 0.2s;
    margin-right: 15px;
}
.menu-btn:hover { background: var(--primary); color: white; }

.header-links { display: flex; gap: 20px; }
.header-link-item {
    text-decoration: none; color: #555; font-weight: 500; font-size: 15px;
    padding: 8px 12px; border-radius: 6px; transition: 0.2s;
}
.header-link-item:hover { background: #f0f9ff; color: var(--primary); }
.header-link-item i { margin-right: 6px; color: #999; }

/* ==========  SOCIAL ICONS  ========== */
.social-header-btn {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
    border: none;
    cursor: pointer;
    background: #f1f5f9;
}
.social-header-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 6px rgba(0,0,0,0.1); color: #fff !important; }

.social-header-btn.whatsapp { color: #25D366; } .social-header-btn.whatsapp:hover { background: #25D366; }
.social-header-btn.facebook { color: #1877F2; } .social-header-btn.facebook:hover { background: #1877F2; }
.social-header-btn.telegram { color: #229ED9; } .social-header-btn.telegram:hover { background: #229ED9; }
.social-header-btn.x-twitter { color: #000000; } .social-header-btn.x-twitter:hover { background: #000000; }
.social-header-btn.tiktok { color: #000000; } .social-header-btn.tiktok:hover { background: #000000; }
.social-header-btn.instagram { color: #E1306C; } .social-header-btn.instagram:hover { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.social-header-btn.share-link, .social-header-btn.search-trigger { color: #64748b; }
.social-header-btn.share-link:hover, .social-header-btn.search-trigger:hover { background: #64748b; color: white !important; }

/* ==========  HEADER SEARCH BAR  ========== */
.header-search-container {
    position: fixed; top: 74px; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    z-index: 1020;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: none; transition: all 0.3s ease;
}
.header-search-container.active { display: block; animation: slideDown 0.3s ease-out forwards; }

.header-search-form { max-width: 600px; margin: 0 auto; position: relative; }
.header-search-form input {
    width: 100%; padding: 12px 20px 12px 50px;
    border-radius: 50px; border: 1px solid #e2e8f0;
    background: #f8fafc; font-size: 16px; outline: none; transition: 0.2s;
}
.header-search-form input:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 129, 213, 0.1); }

.search-submit-btn { position: absolute; left: 5px; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: #94a3b8; padding: 10px; cursor: pointer; z-index: 2; }
.search-submit-btn:hover { color: var(--primary); }
.header-search-close { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #94a3b8; padding: 5px; }
.header-search-close:hover { color: #ef4444; }

/* ==========  LIVE SEARCH DROPDOWN  ========== */
.live-search-results {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-radius: 12px; margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border: 1px solid #e2e8f0;
    max-height: 300px; overflow-y: auto;
    z-index: 1050; display: none;
}
.live-search-item {
    display: flex; align-items: center;
    padding: 10px 20px; color: #333; text-decoration: none;
    border-bottom: 1px solid #f8fafc; transition: 0.1s;
}
.live-search-item:last-child { border-bottom: none; }
.live-search-item:hover { background: #f0f9ff; color: var(--primary); padding-left: 25px; }
.live-search-item i { color: #94a3b8; margin-right: 10px; font-size: 14px; }
.live-search-item:hover i { color: var(--primary); }

/* ==========  SIDEBAR  ========== */
.custom-sidebar { position: fixed; top: 0; left: -320px; width: 320px; height: 100vh; height: 100dvh; background: #fff; z-index: 1060; box-shadow: 5px 0 30px rgba(0,0,0,0.1); transition: 0.3s; overflow-y: auto; padding: 20px; padding-bottom: 100px; }
.sidebar-active .custom-sidebar { left: 0; }
.sb-logo img { max-width: 140px; max-height: 45px; width: auto; display: block; }
.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1050; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(2px); }
.sidebar-active .sidebar-overlay { opacity: 1; visibility: visible; }
body.sidebar-open { overflow: hidden; }

.sb-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; }
.sb-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f5f5f5; cursor: pointer; color: #666; transition: 0.2s; flex-shrink: 0; }
.sb-close:hover { background: #fee2e2; color: #ef4444; }
.sb-link { display: flex; align-items: center; padding: 12px 15px; color: #444; text-decoration: none; border-radius: 8px; font-weight: 500; margin-bottom: 5px; transition: 0.2s; }
.sb-link:hover { background: #f0f9ff; color: var(--primary); }
.sb-link i { width: 30px; font-size: 18px; margin-right: 5px; }
.icon-custom { color: var(--primary); }
.icon-folder { color: #FFC107; }
.sb-accordion { width: 100%; text-align: left; padding: 12px 15px; background: transparent; border: none; color: #444; font-weight: 600; display: flex; justify-content: space-between; border-radius: 8px; cursor: pointer; }
.sb-accordion:hover { background: #f8fafc; color: var(--primary); }
.sb-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding-left: 15px; }
.sb-panel a { display: block; font-size: 14px; padding: 12px 15px; min-height: 44px; display: flex; align-items: center; border-left: 2px solid #eee; color: #666; text-decoration: none; }
.sb-panel a:hover { border-color: var(--primary); color: var(--primary); }
.sb-label { font-size: 11px; text-transform: uppercase; color: #94a3b8; font-weight: 700; margin: 25px 0 10px; letter-spacing: 0.5px; }

/* Sidebar Search */
.sidebar-search { position: relative; margin-bottom: 25px; }
.sidebar-search input { width: 100%; border-radius: 10px; padding: 12px 20px 12px 40px; border: 1px solid #e2e8f0; background: #f8fafc; outline: none; }
.sidebar-search input:focus { border-color: var(--primary); background: #fff; }
.sidebar-search .sb-search-btn { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); border: none; background: transparent; color: #94a3b8; font-size: 16px; }

/* ==========  FOOTER  ========== */
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.main-footer {
    background: #ffffff;
    color: #4b5563;
    padding-top: 70px;
    margin-top: auto;
    font-size: 0.95rem;
    border-top: 1px solid #e5e7eb;
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
.footer-inner-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 0 48px 50px 48px; width: 100%; margin: 0; }

.footer-brand, .footer-col {
    animation: slideUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}
.footer-brand { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

.footer-brand img { height: 90px; width: auto; max-width: 400px; object-fit: contain; margin-bottom: 20px; }
.footer-brand h3 { color: #111827; font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }
.footer-col h4 { color: #111827; font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 2px; }

.footer-brand p { line-height: 1.7; margin-bottom: 25px; color: #64748b; font-size: 0.9rem; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #4b5563; text-decoration: none; transition: all 0.3s ease; display: inline-block; position: relative; }
.footer-links a:hover { color: #667eea; transform: translateX(5px); }
.footer-links a::before { content: '›'; margin-right: 5px; opacity: 0; transition: 0.3s; position: absolute; left: -15px; color: #667eea; }
.footer-links a:hover::before { opacity: 1; left: -10px; }

.footer-social-icons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.footer-social-btn { width: 44px; height: 44px; background: #f3f4f6; border: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: #4b5563; text-decoration: none; transition: all 0.3s ease; font-size: 16px; cursor: pointer; }

.footer-social-btn:hover { transform: translateY(-5px); color: white !important; border-color: transparent; }
.footer-social-btn.whatsapp:hover { background: #25D366; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35); }
.footer-social-btn.facebook:hover { background: #1877F2; box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35); }
.footer-social-btn.telegram:hover { background: #229ED9; box-shadow: 0 8px 20px rgba(34, 158, 217, 0.35); }
.footer-social-btn.x-twitter:hover { background: #000000; box-shadow: 0 8px 20px rgba(0,0,0, 0.25); }
.footer-social-btn.tiktok:hover { background: #000000; box-shadow: 0 8px 20px rgba(0,0,0, 0.25); }
.footer-social-btn.instagram:hover { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); box-shadow: 0 8px 20px rgba(220, 39, 67, 0.35); }
.footer-social-btn.share-link:hover { background: #64748b; box-shadow: 0 8px 20px rgba(100,116,139, 0.35); }

.app-badges a { display: block; max-width: 140px; margin-bottom: 15px; opacity: 1; transition: all 0.3s ease; }
.app-badges a:hover { transform: scale(1.05) translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.app-badges img { width: 100%; height: auto; display: block; }

.newsletter-box { margin-top: 25px; background: #f8fafc; border: 1px solid #e5e7eb; padding: 20px; border-radius: 14px; }
.newsletter-box h5 { font-size: 0.95rem; font-weight: 700; color: #111827; margin-bottom: 12px; }
.newsletter-form { position: relative; display: flex; align-items: center; }
.newsletter-form input[type="email"] {
    width: 100%; padding: 12px 50px 12px 15px; border: 1px solid #e5e7eb;
    border-radius: 10px; font-size: 0.9rem; outline: none;
    background: #fff; color: #1f2937; transition: 0.3s;
}
.newsletter-form input[type="email"]:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,0.15); }
.newsletter-form input[type="email"]::placeholder { color: #9ca3af; }
.newsletter-form button {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    height: 44px; width: 44px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white; border: none; border-radius: 8px;
    cursor: pointer; transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.newsletter-form button:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 5px 15px rgba(102,126,234,0.4); }
#newsletter-msg { font-size: 0.85rem; margin-top: 10px; display: none; }
.text-success { color: #16a34a; }
.text-warning { color: #d97706; }
.text-error { color: #dc2626; }

.footer-bottom { border-top: 1px solid #e5e7eb; padding: 25px 0; text-align: center; font-size: 0.9rem; color: #6b7280; background: #fafafa; width: 100%; }
.footer-bottom > div { width: 100%; margin: 0; padding: 0 48px; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; padding: 0 20px 50px 20px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 35px; text-align: center; padding: 0 15px 50px 15px; } .footer-col h4::after { left: 50%; transform: translateX(-50%); } .footer-brand img { margin: 0 auto 20px; } .footer-social-icons { justify-content: center; } .app-badges a { margin: 0 auto 10px; } .footer-bottom > div { padding: 0 15px; } }

/* ==========  FOOTER REFRESH OVERRIDES  ========== */
.main-footer {
    background: #ffffff;
    padding-top: 32px;
    border-top: 1px solid #eef2f7;
}
.footer-inner-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}
.footer-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 30px;
    margin-bottom: 28px;
    border-radius: 34px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(225,233,244,0.95);
    box-shadow: 0 24px 54px rgba(138,156,180,0.11);
}
.footer-cta-copy { max-width: 760px; }
.footer-cta-kicker {
    display: inline-flex;
    align-items: center;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(255,241,223,0.92);
    color: #c2410c;
    border: 1px solid rgba(251,146,60,0.16);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.footer-cta-band h2 {
    margin: 16px 0 12px;
    color: #172033;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}
.footer-cta-band p {
    margin: 0;
    color: #667085;
    line-height: 1.8;
}
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.footer-cta-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #ff7a3d, #f44f67);
    box-shadow: 0 18px 30px rgba(244,79,103,0.24);
}
.footer-cta-btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 24px 34px rgba(244,79,103,0.28);
}
.footer-cta-btn-secondary {
    color: #243247;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(215,226,238,0.92);
    box-shadow: 0 14px 26px rgba(148,163,184,0.10);
}
.footer-cta-btn-secondary:hover {
    transform: translateY(-3px);
    border-color: rgba(255,145,82,0.30);
    color: #111827;
}
.footer-grid {
    gap: 28px;
    padding: 0 0 40px;
}
.footer-col h4::after {
    width: 42px;
    background: linear-gradient(135deg, #ff934b, #f44f67);
}
.footer-brand p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.94rem;
}
.footer-brand {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.footer-brand img {
    background: transparent;
    mix-blend-mode: normal;
    filter: none;
}
.footer-metric-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.footer-metric-chip {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-width: 110px;
    min-height: 78px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(225,233,244,0.95);
    box-shadow: 0 14px 26px rgba(148,163,184,0.10);
}
.footer-metric-chip strong { color: #172033; font-size: 1.28rem; line-height: 1; margin-bottom: 6px; }
.footer-metric-chip span { color: #667085; font-size: 0.85rem; font-weight: 600; }
.footer-links a:hover { color: #c2410c; }
.footer-links a::before { content: '›'; color: #f97316; }
.footer-social-btn {
    background: rgba(255,255,255,0.86);
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(148,163,184,0.08);
}
.newsletter-box {
    background: rgba(255,255,255,0.82);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(148,163,184,0.10);
}
.newsletter-form input[type="email"] {
    border-radius: 14px;
}
.newsletter-form input[type="email"]:focus {
    border-color: #ff934b;
    box-shadow: 0 0 0 4px rgba(255,147,75,0.14);
}
.newsletter-form button {
    background: linear-gradient(135deg, #ff7a3d, #f44f67);
}
.newsletter-form button:hover {
    box-shadow: 0 8px 18px rgba(244,79,103,0.32);
}
.footer-bottom {
    padding: 24px 0 30px;
    background: #ffffff;
}
.footer-bottom > div {
    padding: 0;
}

@media (max-width: 900px) {
    .footer-cta-band { display: grid; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social-icons, .footer-metric-row, .footer-cta-actions { justify-content: center; }
}

/* ==========  TOOL PAGE  ========== */
.tool-page-container {
    width: 100%;
    max-width: 1100px;
    padding-top: 10px;
    margin-top: 20px;
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}
.tool-title { text-align: center; color: #181D20; margin-bottom: 20px; font-weight: 700; font-size: 2.5em; }
.ad-slot-container { margin: 20px auto; text-align: center; }
.tool-function-area { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); margin-bottom: 20px; border: 1px solid #EFEFEF; }
.tool-runtime-note { margin: 0; padding: 16px 20px; background: #F8FAFC; border-bottom: 1px solid #E5E7EB; color: #475569; font-size: 0.95rem; }
.tool-runtime-note strong { color: #0F172A; }
.tool-runtime-shell { min-height: 0; padding: 0 0 20px; }
.tool-runtime-host { width: 100%; min-height: 420px; }
.tool-runtime-host iframe { display: block; width: 100%; min-height: 420px; border: 0; background: #fff; }

.tw-cat-buttons-container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; margin-top: 20px; padding: 10px; }
.tw-cat-btn { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 50px; text-decoration: none; color: #fff; font-weight: 600; font-size: 0.95rem; transition: 0.3s; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.tw-cat-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); color: #fff; }
.btn-red { background: linear-gradient(135deg, #ff5f6d, #ffc371); }
.btn-blue { background: linear-gradient(135deg, #2193b0, #6dd5ed); }
.btn-green { background: linear-gradient(135deg, #11998e, #38ef7d); }
.btn-purple { background: linear-gradient(135deg, #8e2de2, #4a00e0); }
.btn-orange { background: linear-gradient(135deg, #f12711, #f5af19); }
.btn-pink { background: linear-gradient(135deg, #f80759, #bc4e9c); }
.btn-teal { background: linear-gradient(135deg, #3ca5b0, #b7e9e9); }

/* Disclaimer */
.disclaimer-box {
    background-color: #fff3cd; color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px 20px; border-radius: 8px;
    text-align: center; font-size: 0.9rem;
    margin-bottom: 30px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}

/* Comments */
.comment-section { background: #fff; padding: 30px; border-radius: 12px; border: 1px solid #EFEFEF; margin-top: 30px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; }
.comment-btn { background: #4361ee; color: white; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.single-comment { border-bottom: 1px solid #eee; padding: 15px 0; }
.comment-author { font-weight: 700; color: #333; }
.comment-date { font-size: 0.85em; color: #999; }

@media (max-width: 768px) {
    .tool-page-container { padding-left: 12px; padding-right: 12px; }
    .tool-title { font-size: 1.7rem; line-height: 1.25; }
    .tool-function-area { padding: 18px; }
    .tool-runtime-note { padding: 14px 16px; font-size: 0.9rem; }
    .tool-runtime-host,
    .tool-runtime-host iframe { min-height: 480px; }
    .comment-section { padding: 20px; }
    .disclaimer-box { align-items: flex-start; text-align: left; }
    .comment-form-row { flex-direction: column; gap: 0 !important; }
    .comment-form-row input { width: 100%; }
}
@media (max-width: 480px) {
    .tool-title { font-size: 1.4rem; }
    .tool-runtime-host,
    .tool-runtime-host iframe { min-height: 400px; }
}

/* ==========  SKIP LINK (Accessibility)  ========== */
.skip-link {
    position: absolute; top: -100px; left: 0; z-index: 9999;
    background: #0081d5; color: #fff; padding: 12px 24px;
    font-weight: 700; font-size: 1rem; text-decoration: none;
    border-radius: 0 0 8px 0; transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 2px solid #fff; }

/* ==========  COMMENT FORM LABELS  ========== */
.comment-label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: #475569; margin-bottom: 6px;
}

/* ==========  SHARE BUTTONS  ========== */
.tool-share-section {
    background: #fff; padding: 24px 30px; border-radius: 12px;
    border: 1px solid #EFEFEF; margin-top: 30px;
}
.tool-share-section h3 { font-size: 1.2rem; font-weight: 700; color: #1e293b; margin-bottom: 16px; }
.tool-share-section h3 i { color: #667eea; margin-right: 8px; }
.tool-share-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 18px; border-radius: 8px; font-size: 0.9rem;
    font-weight: 600; text-decoration: none; color: #fff;
    border: none; cursor: pointer; transition: all 0.3s;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); color: #fff; }
.share-whatsapp { background: #25D366; }
.share-twitter { background: #000; }
.share-facebook { background: #1877F2; }
.share-telegram { background: #229ED9; }
.share-copy { background: #64748b; color: #fff; }
.share-native { background: #007aff; }

/* ==========  RELATED TOOLS  ========== */
.related-tools-section {
    background: #fff; padding: 24px 30px; border-radius: 12px;
    border: 1px solid #EFEFEF; margin-top: 30px;
}
.related-tools-section h3 { font-size: 1.2rem; font-weight: 700; color: #1e293b; margin-bottom: 20px; }
.related-tools-section h3 i { color: #667eea; margin-right: 8px; }
.related-tools-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px;
}
.related-tool-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(245,245,245,0.9));
    border: 1px solid #eef2f6; border-radius: 12px; padding: 16px 10px;
    text-align: center; text-decoration: none; display: flex;
    flex-direction: column; align-items: center; gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.related-tool-card:hover {
    transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #667eea;
}
.related-tool-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.related-tool-icon img { max-width: 48px; max-height: 48px; border-radius: 8px; }
.related-tool-icon i { font-size: 28px; color: #667eea; }
.related-tool-name { font-size: 0.85rem; font-weight: 600; color: #1e293b; line-height: 1.3; }

@media (max-width: 600px) {
    .related-tools-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
    .tool-share-buttons { gap: 8px; }
    .share-btn { padding: 10px 14px; font-size: 0.8rem; min-height: 44px; }
    .tool-share-section, .related-tools-section { padding: 18px; }
}

/* Force a plain white footer so opaque logo backgrounds blend cleanly. */
.main-footer,
.main-footer::before,
.main-footer::after,
.main-footer .footer-inner-wrap,
.main-footer .footer-grid,
.main-footer .footer-bottom,
.main-footer .footer-bottom > div {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

.main-footer .footer-cta-band,
.main-footer .newsletter-box,
.main-footer .footer-metric-chip,
.main-footer .footer-social-btn {
    background-color: #ffffff !important;
}
