/* ===================================================
   MYFREEWEBTOOLS — COMMON CSS
   Shared styles: variables, nav, footer, layout base
   =================================================== */

:root {
  --bg: #080c14;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.10);
  --text: #f0f4ff;
  --muted: rgba(240,244,255,0.55);
  --accent1: #6ee7f7;
  --accent2: #a78bfa;
  --accent3: #f472b6;
  --grad: linear-gradient(135deg, #6ee7f7 0%, #a78bfa 50%, #f472b6 100%);
  --radius: 20px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background ambient blobs */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(110,231,247,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -15%;
  right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(167,139,250,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8,12,20,0.92);
  border-bottom: 1px solid var(--border);
}

.nav-top {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-top img {
  height: 60px;
  width: auto;
  padding: 4px 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--grad);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.tool-item.active-tool {
    background: rgba(110, 231, 247, 0.06);
    border-color: rgba(110, 231, 247, 0.4);
}
.faq-a.open {
   
    padding: 20px 24px 20px !important;
}
.tool-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.tool-emoji {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--surface2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid var(--border);
}
.tool-info h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.tool-info p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
}
.footer-brand img{
	height:80px;
}
.bg-white\/\[0\.02\].border.border-white\/\[0\.08\].rounded-\[28px\].p-6.lg\:p-10.shadow-2xl.backdrop-blur-xl {
    max-width: 700px;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
	margin-bottom:60px;
}
.logo-text span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

/* ── MEGA NAV (desktop) ── */
.mega-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}

/* Each category trigger */
.mega-trigger {
  position: relative;
  cursor: pointer;
  outline: none;
}

.mega-trigger__label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}
.mega-trigger:hover .mega-trigger__label,
.mega-trigger:focus .mega-trigger__label {
  background: var(--surface2);
  color: var(--text);
}
.mega-trigger--active .mega-trigger__label {
  color: var(--accent1);
  background: rgba(110,231,247,0.08);
}

/* Chevron rotation on open */
.mega-chevron { transition: transform 0.25s; flex-shrink: 0; color: currentColor; }
.mega-trigger.open .mega-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  background: rgba(10,15,25,0.97);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(110,231,247,0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  z-index: 300;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.mega-trigger:hover .mega-dropdown,
.mega-trigger:focus .mega-dropdown,
.mega-trigger.open .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-dropdown__inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Each tool link inside dropdown */
.mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.18s;
  position: relative;
}
.mega-item:hover { background: var(--surface2); }
.mega-item--active { background: rgba(110,231,247,0.08); }
.mega-item--active:hover { background: rgba(110,231,247,0.14); }

.mega-item__icon {
  width: 36px; height: 36px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.mega-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mega-item__text strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.mega-item__text small {
  font-size: 0.72rem;
  color: var(--muted);
  display: block;
  line-height: 1.4;
}
.mega-item--active .mega-item__text strong { color: var(--accent1); }

.mega-item__badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 50px;
  background: rgba(110,231,247,0.15);
  border: 1px solid rgba(110,231,247,0.3);
  color: var(--accent1);
  flex-shrink: 0;
}

/* ── HAMBURGER (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface2);
  flex-shrink: 0;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(8,12,20,0.99);
  border-top: 1px solid var(--border);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

/* Category group */
.mob-cat { border-bottom: 1px solid var(--border); }
.mob-cat:last-of-type { border-bottom: none; }

.mob-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s;
  user-select: none;
}
.mob-cat__head:hover { background: var(--surface2); }
.mob-chevron { transition: transform 0.25s; color: var(--muted); flex-shrink: 0; }
.mob-cat.open .mob-chevron { transform: rotate(180deg); }

/* Tool links inside mobile category */
.mob-cat__body {
  display: none;
  flex-direction: column;
  padding: 4px 0 8px;
  background: rgba(255,255,255,0.02);
}
.mob-cat.open .mob-cat__body { display: flex; }

.mob-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 28px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.mob-link:hover { color: var(--text); background: var(--surface2); }
.mob-link.active {
  color: var(--accent1);
  border-left-color: var(--accent1);
  background: rgba(110,231,247,0.05);
  font-weight: 700;
}
.mob-active-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent1);
  margin-left: auto;
  flex-shrink: 0;
}

/* Bottom links in mobile menu */
.mob-footer-links {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.mob-footer-links a {
  flex: 1;
  text-align: center;
  padding: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.mob-footer-links a:hover { color: var(--accent1); }

/* ── RESPONSIVE ── */
/* Hide mega nav on mobile, show hamburger */
@media (max-width: 768px) {
  .mega-nav { display: none; }
  .hamburger { display: flex; }
}
/* Hide hamburger on desktop */
@media (min-width: 769px) {
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
}

/* Nav tools bar — kept for backwards compat but hidden */
.nav-tools-bar { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 24px 60px;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  color: var(--accent1);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.badge::before { content: '✦'; font-size: 10px; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}
footer nav {
    background: transparent;
    border: 0;
    position: static;
    backdrop-filter: unset;
}
div#tool {
    max-width: 800px;
    margin: 0px auto 120px;
}

/* ===== SECTION LAYOUT ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative; z-index: 1;
  max-width: 1280px !important;
  margin: 0 auto 80px;
  padding: 0 24px;
}
.cta-inner {
  background: linear-gradient(135deg, rgba(110,231,247,0.1) 0%, rgba(167,139,250,0.1) 50%, rgba(244,114,182,0.1) 100%);
  border: 1px solid rgba(110,231,247,0.2);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-inner p { color: var(--muted); max-width: 500px; margin: 0 auto 32px; line-height: 1.6; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--grad);
  border: none;
  border-radius: 50px;
  color: #080c14;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(110,231,247,0.2); }

/* ===== FOOTER ===== */
footer {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  padding: 60px 24px 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; margin-top: 14px; }
footer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text);
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul li a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}
footer ul li a:hover { color: var(--accent1); }
.footer-bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }
.footer-bottom a { color: var(--accent1); text-decoration: none; }

.info-box {
   
    max-width: 1280px !important;
}
.faq-list {
   
    max-width: 1280px !important;
}
section.max-w-4xl.mx-auto.px-4.pb-16.relative.z-10 {
    max-width: 1280px  !important;
}
.breadcrumb, .blog-hero, .blog-banner,.blog-wrap {
   
    max-width: 1280px !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero > * { animation: fadeUp 0.6s ease both; }
.hero .badge { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero p { animation-delay: 0.3s; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.processing .btn-convert {
  background: linear-gradient(90deg, #6ee7f7, #a78bfa, #f472b6, #6ee7f7);
  background-size: 200%;
  animation: shimmer 1.5s infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 24px; }
  .hero { padding: 48px 20px 40px; }
  .hero p { font-size: 0.95rem; }
  .section-header h2 { font-size: 1.2em; }
}