/* ========================================
   Playful Geometric Design System
   Fun • Tactile • Pop • Energetic
   ======================================== */

/* 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;700&display=swap');

:root {
  /* ===== Color Tokens ===== */
  --background: #FFFDF5;      /* Warm Cream */
  --foreground: #1E293B;      /* Slate 800 */
  --muted: #F1F5F9;           /* Slate 100 */
  --muted-foreground: #64748B; /* Slate 500 */

  --accent: #8B5CF6;          /* Vivid Violet */
  --accent-foreground: #FFFFFF;
  --secondary: #F472B6;       /* Hot Pink */
  --tertiary: #FBBF24;        /* Amber/Yellow */
  --quaternary: #34D399;      /* Emerald/Mint */

  --border: #E2E8F0;          /* Slate 200 */
  --border-dark: #1E293B;     /* Dark border */
  --input: #FFFFFF;
  --card: #FFFFFF;
  --ring: #8B5CF6;

  /* ===== Typography ===== */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* ===== Radius ===== */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* ===== Shadows (Hard Pop) ===== */
  --shadow-pop: 4px 4px 0px 0px var(--border-dark);
  --shadow-pop-hover: 6px 6px 0px 0px var(--border-dark);
  --shadow-pop-active: 2px 2px 0px 0px var(--border-dark);
  --shadow-soft: 8px 8px 0px 0px var(--border);
  --shadow-pink: 8px 8px 0px 0px var(--secondary);
  --shadow-violet: 8px 8px 0px 0px var(--accent);
  --shadow-yellow: 8px 8px 0px 0px var(--tertiary);

  /* ===== Animation ===== */
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: all 0.3s var(--bounce);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  min-height: 100vh;
  /* Dot pattern background */
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
  color: var(--muted-foreground);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Lucide Icons ===== */
.lucide-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.lucide-icon-inline {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  display: inline-block;
  vertical-align: -4px;
  margin-right: 8px;
  color: var(--accent);
}

.tool-card .icon .lucide-icon {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
  color: var(--accent);
}

.drop-zone .icon .lucide-icon {
  width: 64px;
  height: 64px;
  stroke-width: 1.5;
  color: var(--accent);
}

.btn .lucide-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  vertical-align: -3px;
  margin-right: 6px;
}

.menu-toggle .lucide-icon {
  width: 24px;
  height: 24px;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   HEADER - Sticky with playful style
   ======================================== */
.header {
  background: var(--card);
  border-bottom: 3px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent);
}

/* Logo decoration - small colored dot */
.logo::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--tertiary);
  border-radius: 50%;
  border: 2px solid var(--border-dark);
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav a:hover {
  background: var(--tertiary);
  border-color: var(--border-dark);
  transform: translateY(-2px);
}

.nav a.active {
  background: var(--accent);
  color: white;
  border-color: var(--border-dark);
  box-shadow: var(--shadow-pop);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-pop);
  transition: var(--transition);
}

.menu-toggle:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-pop-hover);
}

/* ========================================
   HERO SECTION - Big, bold, playful
   ======================================== */
.hero {
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative shapes behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background: var(--tertiary);
  border-radius: 50%;
  opacity: 0.3;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: var(--secondary);
  opacity: 0.3;
  z-index: -1;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.hero h1 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* Squiggle underline for heading */
.hero h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 8px;
  background: var(--tertiary);
  border-radius: var(--radius-full);
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 24px auto 0;
}

/* Colored word highlight */
.hero .highlight {
  color: var(--accent);
  position: relative;
}

/* ========================================
   TOOL CARDS - Sticker style
   ======================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 48px 0;
}

.tool-card {
  background: var(--card);
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: visible;
}

/* Floating icon badge */
.tool-card .icon {
  width: 72px;
  height: 72px;
  background: var(--tertiary);
  border: 3px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: -56px auto 20px;
  box-shadow: var(--shadow-pop);
  transition: var(--transition);
}

/* Alternating icon colors */
.tool-card:nth-child(2) .icon { background: var(--secondary); }
.tool-card:nth-child(3) .icon { background: var(--quaternary); }
.tool-card:nth-child(4) .icon { background: var(--accent); }
.tool-card:nth-child(5) .icon { background: var(--tertiary); }
.tool-card:nth-child(6) .icon { background: var(--secondary); }

.tool-card:hover {
  transform: rotate(-1deg) scale(1.02);
  box-shadow: var(--shadow-pink);
}

.tool-card:hover .icon {
  transform: rotate(3deg) scale(1.1);
  animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg) scale(1.1); }
  25% { transform: rotate(3deg) scale(1.1); }
  75% { transform: rotate(-3deg) scale(1.1); }
}

.tool-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.tool-card p {
  font-size: 0.95rem;
}

/* ========================================
   TOOL SECTION - Main work area
   ======================================== */
.tool-section {
  background: var(--card);
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 32px 0;
  box-shadow: var(--shadow-soft);
  position: relative;
}

/* Decorative corner badge */
.tool-section::before {
  content: '✨';
  position: absolute;
  top: -16px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--tertiary);
  border: 3px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-pop);
}

.tool-section h2 {
  font-size: 1.8rem;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ========================================
   DROP ZONE - Upload area
   ======================================== */
.drop-zone {
  border: 4px dashed var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--muted);
  position: relative;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-style: solid;
  background: white;
  transform: scale(1.01);
  box-shadow: var(--shadow-violet);
}

.drop-zone .icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
  transition: var(--transition);
}

.drop-zone:hover .icon {
  transform: scale(1.2) rotate(-5deg);
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%, 100% { transform: scale(1.2) rotate(-5deg) translateY(0); }
  50% { transform: scale(1.2) rotate(-5deg) translateY(-10px); }
}

.drop-zone p {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
}

.drop-zone p:last-child {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  font-weight: 400;
}

.drop-zone input[type="file"] {
  display: none;
}

/* ========================================
   BUTTONS - Candy buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-pop);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-pop-hover);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-pop-active);
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-success {
  background: var(--quaternary);
  color: var(--foreground);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-outline {
  background: white;
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--tertiary);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ========================================
   OPTIONS PANEL
   ======================================== */
.options-panel {
  background: var(--muted);
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 24px 0;
}

.option-group {
  margin-bottom: 20px;
}

.option-group:last-child {
  margin-bottom: 0;
}

.option-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: var(--foreground);
}

/* Range slider */
.option-group input[type="range"] {
  width: 100%;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--border);
  border: 2px solid var(--border-dark);
  appearance: none;
  cursor: pointer;
}

.option-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--border-dark);
  cursor: pointer;
  box-shadow: var(--shadow-pop);
  transition: var(--transition);
}

.option-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  background: var(--secondary);
}

/* Text inputs */
.option-group select,
.option-group input[type="number"],
.option-group input[type="text"],
.option-group input[type="url"],
.option-group input[type="email"],
.option-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 3px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: white;
  transition: var(--transition);
}

.option-group input:focus,
.option-group select:focus,
.option-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 4px 4px 0px 0px var(--accent);
}

/* ========================================
   FORMAT BUTTONS - Pill selectors
   ======================================== */
.format-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.format-btn {
  padding: 12px 24px;
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-full);
  background: white;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.format-btn:hover {
  background: var(--tertiary);
  transform: translateY(-2px);
}

.format-btn.active {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-pop);
}

/* ========================================
   PROGRESS BAR
   ======================================== */
.progress-bar {
  width: 100%;
  height: 16px;
  background: var(--muted);
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 24px 0;
}

.progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--secondary), var(--tertiary));
  background-size: 200% 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
  animation: gradient-move 2s linear infinite;
}

@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ========================================
   RESULTS
   ======================================== */
.results {
  margin-top: 32px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: white;
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.result-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-violet);
}

.result-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-dark);
}

.result-info {
  flex: 1;
}

.result-info .name {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 4px;
}

.result-info .size {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.result-info .savings {
  color: var(--quaternary);
  font-weight: 700;
}

/* ========================================
   CONTENT SECTION
   ======================================== */
.content-section {
  background: var(--card);
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 32px 0;
  box-shadow: var(--shadow-soft);
}

.content-section h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

/* Colored underline */
.content-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 6px;
  background: var(--tertiary);
  border-radius: var(--radius-full);
}

.content-section h3 {
  margin: 28px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Small colored dot before h3 */
.content-section h3::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
}

.content-section p {
  margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
  margin-left: 24px;
  margin-bottom: 16px;
  color: var(--muted-foreground);
}

.content-section li {
  margin-bottom: 10px;
  position: relative;
}

.content-section ul li::marker {
  color: var(--accent);
  font-size: 1.2em;
}

/* ========================================
   FAQ
   ======================================== */
.faq-item {
  border-bottom: 3px dashed var(--border);
  padding: 24px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-question::before {
  content: '?';
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  border: 2px solid var(--border-dark);
}

.faq-answer {
  padding-left: 40px;
}

/* ========================================
   AD SPACE
   ======================================== */

/* ========================================
   QR CODE OUTPUT
   ======================================== */
.qr-output {
  text-align: center;
  padding: 40px;
  background: var(--muted);
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-lg);
  margin-top: 24px;
}

.qr-output canvas,
.qr-output img {
  max-width: 280px;
  margin: 24px auto;
  display: block;
  border: 4px solid var(--border-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
}

/* ========================================
   TABLES
   ======================================== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

th {
  background: var(--accent);
  color: white;
  padding: 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
}

td {
  padding: 16px;
  background: white;
  border-bottom: 2px solid var(--border);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--muted);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--foreground);
  color: white;
  padding: 60px 24px 40px;
  margin-top: 80px;
  border-top: 6px solid var(--accent);
  position: relative;
}

/* Decorative shapes */
.footer::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 10%;
  width: 60px;
  height: 60px;
  background: var(--tertiary);
  border: 3px solid var(--border-dark);
  border-radius: 50%;
}

.footer::after {
  content: '';
  position: absolute;
  top: -25px;
  right: 15%;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border: 3px solid var(--border-dark);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer h4 {
  font-family: var(--font-heading);
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--tertiary);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 2px dashed rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    border: 3px solid var(--border-dark);
    border-top: none;
    box-shadow: var(--shadow-soft);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 14px 20px;
    border-radius: var(--radius-md);
  }

  .hero {
    padding: 48px 20px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .tool-section,
  .content-section {
    padding: 28px 20px;
    margin: 20px 0;
  }

  .tool-section::before {
    display: none;
  }

  .drop-zone {
    padding: 40px 20px;
  }

  .result-item {
    flex-direction: column;
    text-align: center;
  }

  .result-item .btn {
    width: 100%;
  }

  .tools-grid {
    padding: 24px 0;
  }

  .tool-card .icon {
    margin-top: -40px;
  }

  /* Smaller shadows on mobile */
  .btn {
    box-shadow: 2px 2px 0px 0px var(--border-dark);
  }

  .btn:hover {
    box-shadow: 4px 4px 0px 0px var(--border-dark);
  }
}

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

.fade-in {
  animation: fadeInUp 0.4s var(--bounce);
}

@keyframes pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.pop-in {
  animation: pop 0.4s var(--bounce);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.text-tertiary { color: var(--tertiary); }
.text-success { color: var(--quaternary); }
.bg-accent { background: var(--accent); }
.bg-secondary { background: var(--secondary); }
.bg-tertiary { background: var(--tertiary); }

/* ========================================
   TOOL PAGE CARD - Modern tool container
   ======================================== */
.tool-page-card {
  background: var(--card);
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 32px 0;
  box-shadow: var(--shadow-soft);
}

/* ========================================
   UPLOAD AREA - Modern upload zone
   ======================================== */
.upload-area {
  border: 4px dashed var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--muted);
}

.upload-area:hover,
.upload-area.dragover {
  border-style: solid;
  background: white;
  transform: scale(1.01);
  box-shadow: var(--shadow-violet);
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.upload-content h3 {
  font-size: 1.3rem;
  margin: 0;
}

.upload-content p {
  margin: 0;
  color: var(--muted-foreground);
}

.upload-hint {
  font-size: 0.85rem !important;
  color: var(--muted-foreground) !important;
}

/* ========================================
   CONTROL GROUP - Form controls
   ======================================== */
.control-group {
  margin: 20px 0;
}

.control-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--foreground);
}

.slider {
  width: 100%;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--border);
  border: 2px solid var(--border-dark);
  appearance: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--border-dark);
  cursor: pointer;
  box-shadow: var(--shadow-pop);
}

/* ========================================
   ACTION BUTTONS - Button container
   ======================================== */
.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ========================================
   RESULTS GRID - For batch results
   ======================================== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

/* Small button variant */
.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .tool-page-card {
    padding: 28px 20px;
  }

  .upload-area {
    padding: 40px 20px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-buttons .btn {
    width: 100%;
  }
}
