/* LOCATION: public/css/home.css */
/* ============================================================
   HOME PAGE — APPLE LIQUID GLASS
   ============================================================ */

/* 1. FUNDALUL PAGINII (Aurora pentru profunzime) */
.home-page {
  background-color: #f5f5f7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

[data-theme="dark"] .home-page {
  background-color: #05050a;
}

/* Lumini ambientale în fundal (Aurora) */
.home-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(0, 122, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 45% at 80% 30%, rgba(0, 199, 190, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(90, 200, 250, 0.08), transparent 70%);
}

[data-theme="dark"] .home-page::before {
  background: 
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(0, 122, 255, 0.25), transparent 70%),
    radial-gradient(ellipse 50% 45% at 80% 30%, rgba(0, 199, 190, 0.15), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(90, 200, 250, 0.12), transparent 70%);
}

/* Utilitar glass-panel (folosit în HTML pe carduri) */
.glass-panel {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .glass-panel {
  background: rgba(30, 30, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* 2. HERO SECTION */
.hero {
  position: relative;
  /* Fix-ul tău pentru spațiul de sub header */
  padding-top: 24px !important; 
  padding-bottom: 60px !important;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 16px !important;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: 80px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(0, 122, 255, 0); }
}

/* Titluri */
.hero-title {
  font-size: clamp(40px, 5.5vw, 68px); /* Am mai redus puțin fontul maxim ca să încapă mai bine */
  font-weight: 800;
  line-height: 1.1; /* Am mărit de la 1.05 pentru a nu se lipi rândurile */
  letter-spacing: -0.045em;
  color: var(--text);
  margin: 0 0 24px;
  text-wrap: pretty; /* Schimbat din balance în pretty */
}

.hero-highlight {
  background: linear-gradient(135deg, #007aff 0%, #00c7be 50%, #5ac8fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 40px;
  max-width: 540px;
  text-wrap: pretty;
}

/* 3. BUTOANE */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.home-btn-primary {
  background: linear-gradient(135deg, #007aff, #0a84ff);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.35);
}

.home-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 122, 255, 0.45);
}

.home-btn-primary .btn-arrow {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.home-btn-secondary {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .home-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.home-btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .home-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 4. SOCIAL PROOF */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack .avatar-img,
.avatar-stack .avatar-more {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #f5f5f7;
  margin-left: -12px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

[data-theme="dark"] .avatar-stack .avatar-img,
[data-theme="dark"] .avatar-stack .avatar-more {
  border-color: #05050a;
}

.avatar-stack .avatar-img:first-child { margin-left: 0; }

.avatar-stack .avatar-img:hover {
  transform: translateY(-4px) scale(1.1);
  z-index: 2;
}

.avatar-stack .avatar-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 120, 128, 0.1);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.hero-social-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-stars {
  color: #ff9500;
  font-size: 14px;
  letter-spacing: 2px;
}

/* 5. MOCKUP UI */
.hero-visual {
  position: relative;
  perspective: 1400px;
}

.mockup-window {
  border-radius: 24px;
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.6s ease;
  animation: floatMockup 8s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .mockup-window {
  background: rgba(30, 30, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-visual:hover .mockup-window {
  transform: rotateY(0) rotateX(0) scale(1.02);
  animation-play-state: paused;
}

@keyframes floatMockup {
  0%, 100% { transform: rotateY(-6deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(4deg) translateY(-12px); }
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(120, 120, 128, 0.1);
  background: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .mockup-header {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.05);
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: #e5e5ea; }
.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-search {
  flex: 1;
  background: rgba(120, 120, 128, 0.1);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.mockup-body { display: flex; height: 320px; }
.mockup-sidebar { width: 64px; padding: 16px 12px; border-right: 1px solid rgba(120, 120, 128, 0.1); display: flex; flex-direction: column; gap: 12px; }
.mockup-nav-item { height: 8px; border-radius: 4px; background: rgba(120, 120, 128, 0.2); }
.mockup-nav-item.active { background: var(--accent); }

.mockup-content { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mockup-card { background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(120, 120, 128, 0.1); border-radius: 12px; padding: 12px; }
[data-theme="dark"] .mockup-card { background: rgba(0, 0, 0, 0.2); border-color: rgba(255, 255, 255, 0.05); }

.mockup-card-highlight { border-color: rgba(0, 122, 255, 0.3); box-shadow: 0 4px 20px rgba(0, 122, 255, 0.1); }
.mockup-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mockup-avatar { width: 28px; height: 28px; border-radius: 50%; background: rgba(120, 120, 128, 0.2); }
.mockup-avatar.blue { background: var(--accent); }
.mockup-lines { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mockup-lines .line { height: 6px; border-radius: 3px; background: rgba(120, 120, 128, 0.2); }
.w-70 { width: 70%; } .w-60 { width: 60%; } .w-50 { width: 50%; } .w-40 { width: 40%; } .w-30 { width: 30%; } .w-20 { width: 20%; }

/* Badge plutitor */
.mockup-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  border-radius: 18px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: floatBadge 6s ease-in-out infinite reverse;
}

[data-theme="dark"] .mockup-badge {
  background: rgba(30, 30, 35, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.mockup-badge-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: #34c759; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold;
}
.mockup-badge strong { font-size: 13px; display: block; color: var(--text); }
.mockup-badge span { font-size: 11px; color: var(--text-muted); }

/* 6. STATS */
.hero-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 32px 48px;
  border-radius: 28px;
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .hero-stats {
  background: rgba(30, 30, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-stat { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.hero-stat-value { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.hero-stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.hero-stat-divider { width: 1px; height: 44px; background: rgba(120, 120, 128, 0.2); }

/* 7. SECȚIUNI COMUNE */
.how-it-works, .categories, .cta-section {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.1);
}

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 16px;
  text-wrap: balance;
}

.section-description {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.6;
}

/* 8. STEPS (Cum funcționează) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.steps-connector {
  position: absolute;
  top: 72px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.4), transparent);
  z-index: 0;
}

.step-card {
  padding: 48px 28px 36px;
  border-radius: 28px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .step-card {
  background: rgba(30, 30, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.step-card:hover {
  transform: translateY(-8px);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  border: 4px solid #f5f5f7;
}

[data-theme="dark"] .step-number {
  border-color: #05050a;
}

.step-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  background: rgba(0, 122, 255, 0.1);
  color: var(--accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.1) rotate(-5deg);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.step-description {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* 9. BENTO GRID (Categorii) — UNIFICAT ȘI FIXAT */
.categories-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  gap: 16px;
  /* Această regulă forțează umplerea găurilor */
  grid-auto-flow: dense; 
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 24px;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

/* Spotlight Hover */
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(400px circle at 50% 50%, rgba(0, 122, 255, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover::before {
  opacity: 1;
}

/* Poziționarea cardurilor mari */
.category-card-lg { 
  grid-column: span 2; 
  grid-row: span 2; 
}

.category-card-wide { 
  grid-column: span 2; 
  grid-row: span 1; 
}

.category-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: auto; /* Împinge conținutul în jos */
  transition: transform 0.3s ease, background 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
  background: var(--accent);
  color: #fff;
}

.category-card-lg .category-icon { width: 64px; height: 64px; }

.category-content {
  text-align: left;
  z-index: 2;
}

.category-name { font-size: 17px; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.category-card-lg .category-name { font-size: 24px; }
.category-count { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.category-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* 10. CTA SECTION */
.cta-card {
  position: relative;
  border-radius: 36px;
  padding: clamp(48px, 8vw, 88px) clamp(24px, 4vw, 48px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .cta-card {
  background: rgba(30, 30, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.cta-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 20px;
}

.cta-description {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-secondary);
  margin: 0 0 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 11. RESPONSIVE */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-actions, .hero-social-proof { justify-content: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  
  .mockup-window { animation: none; transform: none; max-width: 540px; margin: 0 auto; }
  .mockup-badge { bottom: 10px; left: 10px; animation: none; }

  .steps-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .steps-connector { display: none; }
  
  .categories-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* 1. FORȚĂM GRILA SĂ SE STRANGĂ PE VERTICALĂ */
  .categories-bento {
    grid-template-columns: 1fr !important;
    grid-auto-rows: min-content !important; 
    grid-auto-flow: row !important;
    gap: 10px !important;
  }

  /* 2. FORȚĂM TOATE CARDURILE SĂ FIE EGALE */
  .category-card,
  .category-card-lg,
  .category-card-wide {
    height: 78px !important; 
    min-height: 78px !important;
    max-height: 78px !important;
    padding: 0 16px !important; 
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    border-radius: 20px !important;
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    box-sizing: border-box !important;
  }

  /* 3. FORȚĂM ICONIȚELE SĂ FIE EGALE */
  .category-icon,
  .category-card-lg .category-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important;
  }

  .category-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* 4. ALINIEM TEXTUL */
  .category-content {
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  .category-name,
  .category-card-lg .category-name {
    font-size: 16px !important; 
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .category-count {
    font-size: 13px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    color: var(--text-muted) !important;
  }

  /* 5. ASCUNDEM SĂGEATA */
  .category-arrow,
  .category-bg-glow {
    display: none !important;
  }

  /* --- FIX LAYOUT PENTRU HERO PE MOBIL --- */
  .hero-actions { 
    flex-direction: column; 
    width: 100%; 
  }
  .home-btn { 
    width: 100%; 
  }
  
  /* 6. STATISTICI PE ORIZONTALĂ (APP-LIKE) */
  .hero-stats {
    flex-direction: row !important; /* Le punem pe orizontală */
    justify-content: space-between !important;
    padding: 16px 8px !important;
    border-radius: 20px !important;
    gap: 0 !important;
    width: 100% !important;
  }

  .hero-stat {
    flex: 1 !important; /* Fiecare statistică ocupă spațiu egal */
    padding: 0 4px !important;
  }

  .hero-stat-value {
    font-size: clamp(20px, 6vw, 26px) !important; /* Font adaptabil, mai mic */
    margin-bottom: 2px !important;
  }

  .hero-stat-label {
    font-size: 10px !important; /* Text mai mic ca să încapă pe un rând */
    line-height: 1.1 !important;
  }

  /* Linia despărțitoare devine verticală */
  .hero-stat-divider {
    width: 1px !important;
    height: 32px !important; /* Înălțime fixă pe verticală */
    margin: 0 4px !important;
    flex-shrink: 0 !important;
  }
}

/* ============================================
   FIX: REDUCEM PADDING-URILE VERTICALE MASIVE
   ============================================ */

/* 1. Secțiunile principale (Cum funcționează, Categorii, CTA) */
.how-it-works, 
.categories, 
.cta-section {
  /* Reducem padding-ul de la 80-120px la 40-64px */
  padding: clamp(40px, 6vw, 64px) 0 !important;
}

/* 2. Spațiul dintre titlul secțiunii (ex: "Ce caută oamenii?") și carduri */
.section-header {
  margin-bottom: clamp(32px, 4vw, 48px) !important;
}

/* 3. Spațiul dintre Hero (text + mockup) și bara cu statistici (10,000+) */
.hero-content {
  margin-bottom: 48px !important;
}

/* 4. Spațiul de sub Hero (înainte de "Cum funcționează") */
.hero {
  padding-bottom: 40px !important;
}

/* 5. Ajustare fină pe mobil (să nu fie nici prea înghesuit) */
@media (max-width: 768px) {
  .how-it-works, 
  .categories, 
  .cta-section {
    padding: 40px 0 !important;
  }
  
  .section-header {
    margin-bottom: 24px !important;
  }

  .hero-content {
    margin-bottom: 32px !important;
  }
}