/* =========================================================
   MiConvertidorPDF — style.css
   Tema: Refinado, azul marino + cian eléctrico
   Fuentes: Outfit (display) + Inter (body) — via Google Fonts fallback
   ========================================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand colors */
  --blue-900: #0f172a;
  --blue-800: #1e293b;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --red-500: #ef4444;
  --red-100: #fee2e2;
  --amber-400: #fbbf24;

  /* Neutral */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  /* Typography */
  --font-display: 'Outfit', 'Segoe UI', sans-serif;
  --font-body:    'Plus Jakarta Sans', 'Segoe UI', sans-serif;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-blue: 0 8px 30px rgba(37,99,235,.25);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Transitions */
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* =========================================================
   NAVBAR
   ========================================================= */
#mainNav {
  background: rgba(15, 23, 42, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: .75rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}

#mainNav.scrolled {
  background: rgba(15, 23, 42, .99);
  box-shadow: var(--shadow-md);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: var(--white);
}

.navbar-nav .nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.78) !important;
  padding: .45rem .75rem !important;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,.09);
}

.btn-outline-light.btn-sm {
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-outline-light.btn-sm:hover {
  background: var(--white);
  color: var(--blue-900) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,255,255,.15);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--blue-900) 0%, #0c1a3a 50%, #0a1628 100%);
  overflow: hidden;
}

/* Animated background shapes */
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .18;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--blue-500), transparent);
  top: -200px; right: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--cyan-400), transparent);
  bottom: -100px; left: -100px;
  animation-delay: -3s;
}

.shape-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #818cf8, transparent);
  top: 40%; right: 20%;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, .25);
  border: 1px solid rgba(96, 165, 250, .3);
  color: var(--blue-400);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  font-family: var(--font-display);
  animation: fadeInDown .6s ease both;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  animation: fadeInUp .7s .1s ease both;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--blue-400), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin-inline: auto;
  animation: fadeInUp .7s .2s ease both;
}

/* Hero buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  color: var(--white) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: .8rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: var(--shadow-blue);
  transition: all var(--transition);
  animation: fadeInUp .7s .3s ease both;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,99,235,.4);
  filter: brightness(1.08);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.85) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: .8rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.15);
  transition: all var(--transition);
  animation: fadeInUp .7s .35s ease both;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,.14);
  color: var(--white) !important;
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.3);
}

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  animation: fadeInUp .7s .45s ease both;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  font-weight: 500;
}

.stat-icon { font-size: 1rem; }

.stat-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.15);
}

/* =========================================================
   ADSENSE PLACEHOLDERS
   ========================================================= */
.adsense-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  background: rgba(255,255,255,.05);
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.3);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.adsense-placeholder.adsense-sm { min-height: 60px; }

.converter-section .adsense-placeholder,
.how-section .adsense-placeholder,
.site-footer .adsense-placeholder {
  background: var(--gray-100);
  border-color: var(--gray-300);
  color: var(--gray-400);
}

.adsense-label {
  font-family: var(--font-display);
  font-weight: 600;
}

/* =========================================================
   CONVERTER SECTION
   ========================================================= */
.converter-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #f0f7ff 0%, var(--white) 100%);
}

.converter-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.converter-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,.13); }

.converter-card-header {
  padding: 2rem 2rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}

.converter-card-header h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.35rem;
  color: var(--blue-900);
  margin: 0 0 .35rem;
}

.converter-subtitle {
  font-size: .85rem;
  color: var(--gray-500);
  margin: 0;
}

/* Drop zone */
.drop-zone {
  position: relative;
  margin: 1.5rem 2rem;
  padding: 2.5rem 1.5rem;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  outline: none;
}

.drop-zone:hover,
.drop-zone:focus {
  border-color: var(--blue-500);
  background: var(--blue-50);
  box-shadow: 0 0 0 4px rgba(59,130,246,.1);
}

.drop-zone.drag-over {
  border-color: var(--blue-600);
  background: var(--blue-50);
  transform: scale(1.01);
  box-shadow: 0 0 0 6px rgba(37,99,235,.12);
}

.file-input-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.drop-zone-icon {
  color: var(--blue-400);
  margin-bottom: .75rem;
  transition: transform var(--transition);
}

.drop-zone:hover .drop-zone-icon { transform: translateY(-4px); }

.drop-zone-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gray-700);
  margin-bottom: .25rem;
}

.drop-zone-sub {
  color: var(--gray-500);
  font-size: .9rem;
  margin-bottom: .5rem;
}

.drop-zone-formats {
  display: inline-block;
  background: var(--gray-200);
  color: var(--gray-600);
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .2rem .7rem;
  border-radius: 999px;
  font-family: var(--font-display);
}

/* ---- Error Box ---- */
.error-container { padding: 0 2rem; }

.error-box {
  background: var(--red-100);
  border: 1px solid #fca5a5;
  border-left: 4px solid var(--red-500);
  border-radius: var(--radius-sm);
  color: #991b1b;
  padding: .85rem 1rem;
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

/* ---- Image List ---- */
#imageListSection { padding: 0 2rem 2rem; }

.image-list-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gray-700);
  margin: 1.25rem 0 .75rem;
}

.image-count-badge {
  background: var(--blue-600);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: .1rem .5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  min-width: 22px;
  text-align: center;
}

.image-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.image-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: .6rem .9rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition),
              transform .18s ease, opacity .18s ease;
  animation: slideIn .25s ease both;
  cursor: grab;
}

.image-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-300);
}

/* Ítem que se está arrastrando: se oculta en su posición original */
.image-item.drag-source-hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  border: none;
  overflow: hidden;
}

/* Hueco visual que indica la posición de destino */
#drag-gap {
  list-style: none;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  box-sizing: border-box;
  transition: height .15s ease;
  animation: gapAppear .15s ease both;
  pointer-events: none;
}

@keyframes gapAppear {
  from { opacity: 0; transform: scaleY(0.6); }
  to   { opacity: 1; transform: scaleY(1); }
}

.image-thumb {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid var(--gray-200);
}

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

.image-name {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-display);
}

.image-meta {
  font-size: .78rem;
  color: var(--gray-500);
  font-weight: 500;
}

.image-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  padding: .25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
  line-height: 1;
  font-size: 1.1rem;
}

.image-remove-btn:hover {
  color: var(--red-500);
  background: var(--red-100);
}

/* ---- Converter Actions ---- */
.converter-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.btn-convert {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--cyan-500) 100%);
  color: var(--white) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: .8rem 1.75rem;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: var(--shadow-blue);
  transition: all var(--transition);
  flex: 1;
  justify-content: center;
  min-width: 160px;
}

.btn-convert:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(37,99,235,.35);
  filter: brightness(1.06);
}

.btn-convert:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.btn-convert-icon { display: flex; align-items: center; }

.btn-clear {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--gray-100);
  color: var(--gray-600) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  padding: .8rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.btn-clear:hover {
  background: var(--red-100);
  color: #991b1b !important;
  border-color: #fca5a5;
}

/* ---- Progress ---- */
.progress-section { margin-top: 1rem; }

.progress-label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: .4rem;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: var(--gray-200);
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  border-radius: 999px;
  transition: width .4s ease;
}

/* ---- Success box ---- */
.success-box {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--green-100);
  border: 1px solid #86efac;
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius-sm);
  color: #166534;
  padding: .85rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  margin-top: 1rem;
  animation: slideIn .3s ease both;
}

/* =========================================================
   HOW IT WORKS SECTION
   ========================================================= */
.how-section {
  padding: 90px 0 100px;
  background: var(--white);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -.025em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 500px;
  margin-inline: auto;
}

.step-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(37,99,235,.04));
  pointer-events: none;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.step-card-accent {
  background: linear-gradient(135deg, var(--blue-50) 0%, #e0f2fe 100%);
  border-color: var(--blue-200);
}

.step-card-accent .step-icon { color: var(--blue-600); }
.step-card-accent .step-number { color: var(--blue-300); }

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.05em;
}

.step-icon {
  color: var(--blue-500);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .5rem;
  font-family: var(--font-display);
}

.step-desc {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* Trust badges */
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  font-family: var(--font-display);
  transition: all var(--transition);
}

.trust-badge:hover {
  background: var(--blue-50);
  border-color: var(--blue-200);
  color: var(--blue-700);
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-icon { font-size: 2.5rem; margin-bottom: .75rem; }

.contact-link {
  display: inline-block;
  color: var(--blue-600);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color var(--transition);
  border-bottom: 2px solid transparent;
}

.contact-link:hover {
  color: var(--cyan-500);
  border-bottom-color: var(--cyan-500);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--blue-900);
  padding-top: 2.5rem;
  padding-bottom: 0;
}

.footer-main { padding: 2.5rem 0 2rem; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  transition: opacity var(--transition);
}

.footer-brand:hover { opacity: .85; }

.footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  margin-top: .5rem;
  margin-bottom: 0;
}

.footer-links,
.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1rem;
}

.footer-links li a,
.footer-legal-links li a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  transition: color var(--transition);
  padding: .25rem 0;
}

.footer-links li a:hover,
.footer-legal-links li a:hover {
  color: var(--cyan-400);
}

.footer-legal-links { justify-content: flex-end; }

@media (max-width: 768px) {
  .footer-legal-links { justify-content: center; }
}

.footer-divider {
  border-color: rgba(255,255,255,.08);
  margin: 1.5rem 0 1rem;
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  padding-bottom: 1.5rem;
}

/* Footer adsense */
.site-footer .adsense-placeholder {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.09);
  color: rgba(255,255,255,.22);
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* =========================================================
   SCROLL ANIMATIONS (Intersection Observer via JS)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE OVERRIDES
   ========================================================= */

/* Tablet */
@media (max-width: 991px) {
  .hero-section { padding: 100px 0 50px; min-height: auto; }
  .converter-card-header,
  #imageListSection { padding-left: 1.5rem; padding-right: 1.5rem; }
  .drop-zone { margin: 1.25rem 1.5rem; }
}

/* Mobile */
@media (max-width: 767px) {
  html { scroll-padding-top: 64px; }

  .hero-section { padding: 90px 0 40px; }
  .hero-title { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .hero-subtitle { font-size: .95rem; }

  .converter-card { border-radius: var(--radius-lg); }
  .converter-card-header { padding: 1.5rem 1.25rem 1rem; }
  .drop-zone { margin: 1rem 1.25rem; padding: 2rem 1rem; }
  #imageListSection { padding: 0 1.25rem 1.5rem; }

  .btn-convert, .btn-clear { width: 100%; }
  .converter-actions { flex-direction: column; }

  .stat-divider { display: none; }
  .hero-stats { gap: .6rem; }
  .stat-item { font-size: .82rem; }

  .step-card { padding: 1.5rem; }
  .how-section, .converter-section { padding: 60px 0 70px; }

  .footer-links, .footer-legal-links { justify-content: center; }
  .footer-legal-links { justify-content: center; }
}

/* Small mobile */
@media (max-width: 360px) {
  .hero-title { font-size: 1.7rem; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
}
