@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --primary: #0055FF;
  --primary-dark: #0040CC;
  --primary-light: #E8EEFF;
  --accent: #FF4D00;
  --accent2: #00C896;
  --dark: #0A0E1A;
  --dark2: #131828;
  --mid: #1E2540;
  --text: #E8EAF2;
  --text-muted: #8A90A8;
  --border: rgba(255,255,255,0.08);
  --card: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);
  --radius: 12px;
  --radius-lg: 20px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow: 0 4px 32px rgba(0,85,255,0.15);
  --shadow-lg: 0 8px 64px rgba(0,85,255,0.25);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }
input, select, textarea { font-family: var(--font-body); }

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.4;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5%;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.35rem; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo span.accent { color: var(--primary); }
.nav-logo .logo-icon {
  width: 32px; height: 32px; background: var(--primary);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.nav-logo .logo-icon svg { width: 18px; height: 18px; fill: white; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 2px;
}

.nav-tools-dropdown { position: relative; }
.nav-tools-btn {
  background: none; color: var(--text-muted);
  font-size: 0.9rem; font-weight: 500;
  display: flex; align-items: center; gap: 4px; cursor: pointer;
  transition: color 0.2s;
}
.nav-tools-btn:hover { color: var(--text); }
.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px; min-width: 200px;
  opacity: 0; visibility: hidden; transition: all 0.2s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.nav-tools-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; }
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: 0.875rem;
  color: var(--text-muted); transition: all 0.15s;
}
.nav-dropdown a:hover { background: var(--card); color: var(--text); }
.nav-dropdown a .dd-icon { font-size: 1rem; }

.nav-cta {
  background: var(--primary); color: white;
  padding: 9px 20px; border-radius: 50px;
  font-size: 0.875rem; font-weight: 600;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; padding: 120px 5% 80px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,85,255,0.18) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -60%);
  border-radius: 50%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,77,0,0.1) 0%, transparent 70%);
  bottom: 20%; right: 10%;
  border-radius: 50%;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,85,255,0.12); border: 1px solid rgba(0,85,255,0.3);
  color: #7AABFF; padding: 6px 14px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before { content: '✦'; color: var(--primary); }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--primary); }

.hero-sub {
  font-size: 1.1rem; color: var(--text-muted); max-width: 580px;
  margin: 0 auto 40px; font-weight: 400; line-height: 1.7;
}

.hero-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 52px;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-head); font-size: 1.8rem; font-weight: 800;
  color: var(--text); line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ===== COMPRESSOR TOOL ===== */
.tool-section {
  max-width: 900px; margin: 0 auto 80px;
  position: relative; z-index: 1;
}

.compressor-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compressor-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.compressor-header h2 {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
}

.size-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.size-pill {
  padding: 6px 14px; border-radius: 50px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
}
.size-pill:hover, .size-pill.active {
  background: var(--primary); border-color: var(--primary); color: white;
}

.drop-zone {
  padding: 60px 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s;
  border: 2px dashed transparent;
  background: 
    linear-gradient(var(--dark2), var(--dark2)) padding-box,
    linear-gradient(135deg, rgba(0,85,255,0.3), rgba(0,200,150,0.2)) border-box;
  border-radius: 0;
  position: relative;
}
.drop-zone:hover, .drop-zone.dragover {
  background: 
    linear-gradient(var(--mid), var(--mid)) padding-box,
    linear-gradient(135deg, rgba(0,85,255,0.6), rgba(0,200,150,0.4)) border-box;
}
.drop-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}

.drop-icon {
  width: 72px; height: 72px;
  background: rgba(0,85,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 2rem;
}
.drop-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.drop-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.drop-btn {
  background: var(--primary); color: white;
  padding: 12px 28px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600;
  transition: all 0.2s; pointer-events: none;
}
.drop-formats { font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; }

/* Results */
.compress-results { padding: 0 32px 32px; display: none; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.result-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; position: relative; overflow: hidden;
}
.result-card .thumb {
  width: 100%; height: 140px; object-fit: cover;
  border-radius: 8px; margin-bottom: 12px;
}
.result-name { font-weight: 600; font-size: 0.875rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-sizes { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.result-savings {
  font-size: 0.78rem; font-weight: 600; color: var(--accent2);
  background: rgba(0,200,150,0.1); padding: 3px 8px; border-radius: 4px;
}
.result-dl {
  width: 100%;
  background: var(--primary); color: white;
  padding: 8px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; text-align: center;
  transition: background 0.2s;
}
.result-dl:hover { background: var(--primary-dark); }

.compress-actions {
  padding: 16px 32px 32px;
  display: flex; gap: 12px; flex-wrap: wrap; display: none;
}
.btn-dl-all {
  background: var(--primary); color: white;
  padding: 12px 24px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; transition: all 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.btn-dl-all:hover { background: var(--primary-dark); box-shadow: var(--shadow); }
.btn-reset {
  background: var(--card); color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 12px 24px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; transition: all 0.2s;
}
.btn-reset:hover { color: var(--text); background: var(--card-hover); }

.progress-bar-wrap { width: 100%; height: 3px; background: var(--border); margin-top: 12px; border-radius: 2px; overflow: hidden; display: none; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent2)); width: 0; transition: width 0.3s; border-radius: 2px; }

/* ===== SECTION GENERIC ===== */
.section { padding: 80px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,85,255,0.1); border: 1px solid rgba(0,85,255,0.2);
  color: #7AABFF; padding: 5px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent2));
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { background: var(--card-hover); border-color: rgba(0,85,255,0.3); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== TOOLS GRID ===== */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 48px; }
.tool-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; transition: all 0.3s; cursor: pointer;
}
.tool-card:hover {
  background: var(--card-hover); border-color: rgba(0,85,255,0.4);
  transform: translateY(-4px); box-shadow: var(--shadow);
}
.tool-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(0,85,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.tool-card h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; }
.tool-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.tool-card-link {
  font-size: 0.8rem; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: 4px; margin-top: auto;
}

/* ===== HOW IT WORKS ===== */
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-top: 48px; position: relative; }
.how-steps::before {
  content: '';
  position: absolute; top: 32px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 800;
  margin: 0 auto 20px; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px rgba(0,85,255,0.1);
}
.step-title { font-family: var(--font-head); font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  padding: 20px 24px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; transition: background 0.2s; gap: 16px;
  font-size: 0.95rem;
}
.faq-q:hover { background: var(--card-hover); }
.faq-icon { font-size: 1.2rem; color: var(--primary); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 20px; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.blog-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.3s;
}
.blog-card:hover { border-color: rgba(0,85,255,0.4); transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-thumb {
  height: 180px; overflow: hidden;
  background: linear-gradient(135deg, var(--mid), var(--dark2));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.blog-body { padding: 20px; }
.blog-cat {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary); margin-bottom: 8px;
}
.blog-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.blog-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.blog-meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); }
.read-more { color: var(--primary); font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 4px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.testimonial {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.t-stars { color: #FFC107; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.t-text { font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 16px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.t-name { font-weight: 600; font-size: 0.875rem; }
.t-role { font-size: 0.78rem; color: var(--text-muted); }

/* ===== BANNER / CTA ===== */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #0040CC 50%, #003099 100%);
  border-radius: var(--radius-lg); padding: 60px 48px;
  position: relative; overflow: hidden;
  text-align: center;
  margin: 0 5% 80px;
  max-width: 1200px; margin: 0 auto 80px;
}
.cta-band::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.07); border-radius: 50%;
}
.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: 0.85; margin-bottom: 28px; font-size: 1rem; }
.cta-band .btn-white {
  background: white; color: var(--primary);
  padding: 13px 32px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.cta-band .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-muted); transition: all 0.2s;
}
.social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: var(--text-muted);
}

/* ===== PAGE HERO (non-home) ===== */
.page-hero {
  padding: 120px 5% 60px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 500px; height: 400px;
  background: radial-gradient(circle, rgba(0,85,255,0.12) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 0 5%; max-width: 1260px; margin: 0 auto;
  padding-top: 88px; padding-bottom: 8px;
  font-size: 0.82rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }

/* ===== TOOL PAGE SPECIFIC ===== */
.tool-page-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.tool-page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; margin-top: 40px; }
.tool-main-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.tool-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.sidebar-card h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; }
.sidebar-tools { display: flex; flex-direction: column; gap: 8px; }
.sidebar-tool-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--text-muted); font-size: 0.875rem;
  transition: all 0.2s; background: var(--dark);
  border: 1px solid var(--border);
}
.sidebar-tool-link:hover { color: var(--text); border-color: rgba(0,85,255,0.4); }

/* ===== CONVERTER TOOL ===== */
.converter-zone {
  padding: 40px 32px;
}
.converter-options {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px;
}
.conv-opt {
  padding: 8px 18px; border-radius: 50px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
}
.conv-opt.active { background: var(--primary); border-color: var(--primary); color: white; }

/* ===== BG REMOVER TOOL ===== */
.bg-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.preview-box {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  min-height: 200px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.preview-label {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,0.5); color: white;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 4px;
}
.checkerboard {
  background-image: 
    linear-gradient(45deg, #333 25%, transparent 25%),
    linear-gradient(-45deg, #333 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #333 75%),
    linear-gradient(-45deg, transparent 75%, #333 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  background-color: #222;
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; margin-top: 60px; align-items: start; }
.contact-info h2 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-detail-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(0,85,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-detail-text strong { display: block; font-size: 0.875rem; font-weight: 600; }
.contact-detail-text span { font-size: 0.8rem; color: var(--text-muted); }

.contact-form { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--dark); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  color: var(--text); font-size: 0.9rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%; background: var(--primary); color: white;
  padding: 14px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 700;
  transition: all 0.2s;
}
.btn-submit:hover { background: var(--primary-dark); box-shadow: var(--shadow); }

/* ===== BLOG PAGE ===== */
.blog-post-header { padding: 120px 5% 40px; max-width: 800px; margin: 0 auto; }
.blog-post-body { max-width: 800px; margin: 0 auto; padding: 0 5% 80px; }
.blog-post-body h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; margin: 32px 0 12px; }
.blog-post-body h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin: 24px 0 10px; }
.blog-post-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.blog-post-body ul, .blog-post-body ol { padding-left: 1.5rem; color: var(--text-muted); line-height: 2; font-size: 0.95rem; margin-bottom: 16px; }
.blog-post-body li { margin-bottom: 4px; }
.blog-author-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; margin-top: 48px; }
.author-avatar-lg { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent2)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }

/* ===== ABOUT ===== */
.about-content { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin: 60px 0; }
.about-img { border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--mid), var(--dark2)); height: 400px; display: flex; align-items: center; justify-content: center; font-size: 8rem; border: 1px solid var(--border); }
.about-text h2 { font-family: var(--font-head); font-size: 2rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 48px; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent2)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; margin: 0 auto 14px; }
.team-name { font-family: var(--font-head); font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--text-muted); }

/* ===== PRIVACY ===== */
.legal-content { max-width: 820px; margin: 0 auto; padding: 0 5% 80px; }
.legal-content h2 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; margin: 36px 0 12px; }
.legal-content p, .legal-content li { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; font-size: 0.9rem; }
.legal-content ul { padding-left: 1.5rem; }
.legal-effective { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 32px; font-size: 0.875rem; color: var(--text-muted); }

/* ===== LOADING SPINNER ===== */
.spinner {
  width: 32px; height: 32px; border: 3px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== ALERT ===== */
.alert {
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 0.875rem; display: flex; align-items: center; gap: 8px;
  margin: 12px 0;
}
.alert-success { background: rgba(0,200,150,0.1); border: 1px solid rgba(0,200,150,0.3); color: var(--accent2); }
.alert-error { background: rgba(255,77,0,0.1); border: 1px solid rgba(255,77,0,0.3); color: var(--accent); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-d1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-d2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-d3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tool-page-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .compressor-header { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .bg-preview { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .how-steps::before { display: none; }
}
@media (max-width: 480px) {
  .compressor-header, .drop-zone, .compress-results { padding-left: 16px; padding-right: 16px; }
  .size-pills { gap: 6px; }
  .size-pill { font-size: 0.75rem; padding: 5px 10px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--dark2); border-bottom: 1px solid var(--border);
  padding: 20px 5%; z-index: 999; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px; border-radius: 8px; color: var(--text-muted);
  font-size: 0.95rem; font-weight: 500; transition: all 0.2s;
}
.mobile-menu a:hover { background: var(--card); color: var(--text); }

/* Inline ad slot placeholder */
.ad-slot {
  background: var(--card); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 20px; text-align: center;
  color: var(--text-muted); font-size: 0.8rem; min-height: 100px;
  display: flex; align-items: center; justify-content: center;
}
