/* ===================================================
   urlab.ro — stylesheet
   Light theme, WebBase brand colors
   =================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #3b82f6;
  --blue-dark:  #1d4ed8;
  --blue-light: #eff6ff;
  --dark:       #0f172a;
  --gray-700:   #374151;
  --gray-500:   #6b7280;
  --gray-200:   #e5e7eb;
  --gray-100:   #f3f4f6;
  --white:      #ffffff;
  --green:      #22c55e;
  --red:        #ef4444;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(15,23,42,.08);
  --shadow-md:  0 8px 32px rgba(15,23,42,.12);
  --transition: .18s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -.5px;
}
.brand span { color: var(--blue); }
.brand:hover { text-decoration: none; }

.site-nav a {
  color: var(--gray-500);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--blue); text-decoration: none; }

.btn-back {
  font-size: .875rem;
  color: var(--gray-500);
  font-weight: 500;
}
.btn-back:hover { color: var(--blue); text-decoration: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 60%);
  padding: 72px 0 56px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -.03em;
}

.hero h1 .accent { color: var(--blue); }

.hero-sub {
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ===== SHORTEN BOX ===== */
.shorten-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  box-sizing: border-box;
}

.input-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.input-row input {
  min-width: 0;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--dark);
  background: var(--gray-100);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.input-row input:focus {
  border-color: var(--blue);
  background: var(--white);
}

.input-row input::placeholder { color: var(--gray-500); }

.btn-primary {
  display: inline-flex;

  padding: 15px 28px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); text-decoration: none;}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Options */
.options-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.opt-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: var(--gray-500);
  cursor: pointer;
  user-select: none;
}
.opt-label input[type=checkbox] { accent-color: var(--blue); }

.expiry-wrap select {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--dark);
  background: var(--white);
  cursor: pointer;
}

/* Result */
.result-box {
  margin-top: 20px;
  background: var(--blue-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  animation: fadeIn .25s ease;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.result-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.result-left { min-width: 0; }

.result-label {
  display: block;
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.result-url {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  word-break: break-all;
}

.result-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-copy, .btn-stats {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.btn-copy {
  background: var(--blue);
  color: var(--white);
}
.btn-copy:hover { background: var(--blue-dark); text-decoration: none; }
.btn-copy.copied { background: var(--green); }

.btn-stats {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--blue);
}
.btn-stats:hover { background: var(--blue); color: var(--white); text-decoration: none; }

.result-original {
  margin-top: 10px;
  font-size: .8rem;
  color: var(--gray-500);
  display: flex;
  gap: 6px;
  align-items: baseline;
  flex-wrap: wrap;
}
.result-original-url {
  word-break: break-all;
  color: var(--gray-700);
}

/* Error */
.error-msg {
  margin-top: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--red);
  font-size: .9rem;
  animation: fadeIn .2s ease;
}

/* ===== HISTORY ===== */
.history-section {
  padding: 40px 0;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.history-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

.history-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.history-short { font-weight: 700; color: var(--blue); font-size: .95rem; }
.history-original { font-size: .8rem; color: var(--gray-500); max-width: 400px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.history-actions { display: flex; gap: 6px; flex-shrink: 0; }
.history-actions a, .history-actions button {
  height: 30px; padding: 0 12px;
  font-size: .8rem; font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: flex; align-items: center;
  transition: background var(--transition);
}
.btn-hcopy { background: var(--blue); color: var(--white); border: none; }
.btn-hcopy:hover { background: var(--blue-dark); }
.btn-hcopy.copied { background: var(--green); }
.btn-hstats { background: var(--white); color: var(--blue); border: 1px solid var(--blue); }
.btn-hstats:hover { background: var(--blue); color: var(--white); text-decoration: none; }

.btn-clear-history {
  background: none;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: .8rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.btn-clear-history:hover { border-color: var(--red); color: var(--red); }

/* ===== STEPS ===== */
.how-section { padding: 72px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.step {
  text-align: center;
  padding: 28px 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.step-num {
  width: 48px; height: 48px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800; font-size: 1.25rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}

.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p  { color: var(--gray-500); font-size: .9rem; }

/* ===== FEATURES ===== */
.features-section {
  padding: 72px 0;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature h3  { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature p   { color: var(--gray-500); font-size: .875rem; line-height: 1.6; }

/* ===== SEO COPY ===== */
.seo-section { padding: 72px 0; }
.seo-inner h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -.02em; }
.seo-inner h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 12px; }
.seo-inner p  { color: var(--gray-700); line-height: 1.8; margin-bottom: 14px; }
.seo-inner ul { padding-left: 20px; color: var(--gray-700); line-height: 1.9; }
.seo-inner code {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .875rem;
  font-family: monospace;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 72px 0;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: .975rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background var(--transition);
}
.faq-item summary:hover { background: var(--gray-100); }
.faq-item summary::after { content: '＋'; font-size: 1.1rem; color: var(--blue); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--blue-light); }
.faq-item p { padding: 0 20px 18px; color: var(--gray-700); font-size: .9rem; line-height: 1.7; }

/* ===== STATS PAGE ===== */
.stats-page .hero, .error-page .hero { display: none; }
.stats-main, .error-main { padding: 48px 0; }

.stats-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.stats-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stats-code .label { font-size: .75rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 4px; }
.short-link { font-size: 1.3rem; font-weight: 700; color: var(--blue); }

.stats-badge {
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.stats-badge.active   { background: #dcfce7; color: #16a34a; }
.stats-badge.inactive { background: #fee2e2; color: #dc2626; }

.stats-original { margin-bottom: 20px; }
.stats-original .label { font-size: .75rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 4px; }
.original-url { font-size: .9rem; color: var(--gray-700); word-break: break-all; }

.stats-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
}

.meta-item { }
.meta-label { font-size: .75rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 4px; }
.meta-value { font-size: .95rem; font-weight: 600; color: var(--dark); }
.meta-value.big { font-size: 2rem; font-weight: 800; color: var(--blue); }
.meta-value.expired { color: var(--red); }
.meta-item.highlight { }

.chart-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.chart-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }

.empty-chart {
  text-align: center;
  color: var(--gray-500);
  padding: 40px;
  background: var(--gray-100);
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 24px;
}

.stats-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-new {
  height: 44px; padding: 0 20px;
  background: var(--white); color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9rem;
  display: flex; align-items: center;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn-new:hover { background: var(--blue); color: var(--white); text-decoration: none; }
.stats-actions .btn-copy { height: 44px; font-size: .9rem; }

/* ===== 404 ===== */
.error-box {
  text-align: center;
  padding: 80px 20px;
}
.error-code {
  font-size: 6rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 16px;
}
.error-box h1 { font-size: 1.5rem; margin-bottom: 12px; }
.error-box p  { color: var(--gray-500); margin-bottom: 28px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 48px 0 0;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.site-footer .brand { color: var(--white); font-size: 1.3rem; }
.site-footer .brand span { color: var(--blue); }

.footer-brand p { margin-top: 12px; font-size: .875rem; line-height: 1.7; }
.footer-brand a { color: #94a3b8; }
.footer-brand a:hover { color: var(--white); }

.footer-links h4 { color: var(--white); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-links a  { display: block; color: #94a3b8; font-size: .875rem; margin-bottom: 8px; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 18px 20px;
  text-align: center;
  font-size: .8rem;
  color: #64748b;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  .how-section { padding: 48px 0; }
  .features-section { padding: 48px 0; }
  .seo-section { padding: 48px 0; }
  .faq-section { padding: 48px 0; }

  .steps { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .features { grid-template-columns: 1fr 1fr; }

  .stats-card { padding: 20px; }
  .short-link { font-size: 1.1rem; }
}

/* Mobile */
@media (max-width: 560px) {
  .container { padding: 0 16px; }

  /* Header */
  .header-inner { height: 56px; }
  .brand { font-size: 1.2rem; }

  /* Hero */
  .hero { padding: 40px 0 32px; }
  .hero-sub { font-size: .95rem; }
  .hero-sub br { display: none; }

  /* Shorten box */
  .shorten-box { padding: 16px; border-radius: var(--radius-sm); }
  .input-row { flex-direction: column; gap: 8px; }
  .input-row input { height: 50px !important; font-size: .95rem; width: 100%; }
  .btn-primary { width: 100%; height: 48px; font-size: .95rem; }

  /* Result */
  .result-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .result-actions { width: 100%; }
  .result-actions .btn-copy,
  .result-actions .btn-stats { flex: 1; justify-content: center; }
  .result-url { font-size: 1rem; }

  /* History */
  .history-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .history-actions { width: 100%; }
  .history-actions .btn-hcopy,
  .history-actions .btn-hstats { flex: 1; justify-content: center; height: 36px; }
  .history-original { max-width: 100%; white-space: normal; }

  /* Sections */
  .section-title { font-size: 1.25rem; }
  .how-section { padding: 40px 0; }
  .features-section { padding: 40px 0; }
  .seo-section { padding: 40px 0; }
  .faq-section { padding: 40px 0; }

  /* Steps */
  .steps { grid-template-columns: 1fr; max-width: 100%; }

  /* Features */
  .features { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .site-footer { padding-top: 32px; }

  /* Stats page */
  .stats-card { padding: 16px; }
  .stats-meta { grid-template-columns: 1fr 1fr; }
  .meta-value.big { font-size: 1.6rem; }
  .short-link { font-size: 1rem; word-break: break-all; }
  .stats-actions { flex-direction: column; }
  .stats-actions .btn-copy,
  .stats-actions .btn-new { width: 100%; justify-content: center; }

  /* FAQ */
  .faq-item summary { font-size: .9rem; padding: 14px 16px; }
  .faq-item p { padding: 0 16px 14px; }

  /* 404 */
  .error-code { font-size: 4rem; }
  .error-box { padding: 48px 0; }
}


/* ═══════════════════════════════════════════════════════════
   FOOTER - Premium Dark Style v2
   ═══════════════════════════════════════════════════════════ */

footer {
  background: #07070a;
  color: #f5f5f5;
  padding: 80px 0 40px;
  font-size: 15px;
  margin-top: 100px;
  position: relative;
}

/* Gradient glow top */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.6) 30%,
    rgba(16, 185, 129, 0.6) 70%,
    transparent 100%
  );
}

/* Ambient glow */
footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center top, 
    rgba(59, 130, 246, 0.06) 0%, 
    transparent 60%
  );
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   Grid - 4 Columns
   ───────────────────────────────────────────────────────── */

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────
   Brand Column
   ───────────────────────────────────────────────────────── */

.footer-brand {
  padding-right: 40px;
}

.footer-brand h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 20px;
  color: #fff;
  letter-spacing: -0.03em;
}

.footer-brand > p {
  color: #6b7280;
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 32px;
}

/* Trust Badges */
.footer-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-badges a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-badges a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.footer-badges img,
.footer-icon {
  height: 28px;
  width: auto;
}

.footer-badges a:hover img,
.footer-badges a:hover .footer-icon {
  opacity: 0.8;
}

.footer-icon {
  height: 30px; 
  opacity: 0.85;
  border-radius: 8px;
  transition: opacity 0.2s ease-in-out;
}

.footer-icon:hover {
  opacity: 1;
}


/* ─────────────────────────────────────────────────────────
   Link Columns
   ───────────────────────────────────────────────────────── */

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  color: #fff;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  border-radius: 2px;
}

.footer-links a {
  display: block;
  width: fit-content;
  color: #6b7280;
  text-decoration: none;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 450;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover {
  color: #f1f5f9;
  transform: translateX(6px);
}

.footer-links a:hover::after {
  width: 100%;
}

/* ─────────────────────────────────────────────────────────
   Social Section (ultima coloană)
   ───────────────────────────────────────────────────────── */

.footer-social {
  margin-top: 8px;
}

.footer-social a {
  color: #6b7280;
  text-decoration: none;
  margin-right: 0;
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 450;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social a:hover {
  color: #f1f5f9;
  transform: translateX(6px);
}

/* Badge "Made in România" */
.footer-social .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(16, 185, 129, 0.1) 100%
  );
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.05);
  letter-spacing: 0.02em;
  transition: all 0.4s ease;
}

.footer-social .badge:hover {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.15) 0%, 
    rgba(16, 185, 129, 0.15) 100%
  );
  border-color: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
}

/* ─────────────────────────────────────────────────────────
   Footer Bottom
   ───────────────────────────────────────────────────────── */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  margin-top: 60px;
  padding-top: 32px;
  font-size: 13px;
  color: #4b5563;
  position: relative;
  z-index: 1;
  letter-spacing: 0.01em;
}

/* ─────────────────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 60px 0 32px;
    margin-top: 60px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    text-align: center;
    max-width: 100%;
  }
  
  .footer-brand > p {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }
  
  .footer-badges {
    justify-content: center;
  }
  
  .footer-links {
    text-align: center;
    align-items: center;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links a {
    text-align: center;
  }
  
  .footer-links a:hover {
    transform: none;
  }
  
  .footer-links a::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-social {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom {
    margin-top: 40px;
  }
}


/* ───────────────────────────────────────────────────────────────────────────
   FOOTER SERVICES - Mega menu în footer
   ─────────────────────────────────────────────────────────────────────────── */
.footer-services {
  grid-column: 1 / -1;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-service-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #6366f1;
  display: inline-block;
}

.footer-service-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 6px 0;
  transition: all 0.2s ease;
}

.footer-service-col a:hover {
  color: #ffffff;
  padding-left: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 500px) {
  .footer-services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-service-col h5 {
    margin-bottom: 12px;
  }
  
  .footer-service-col a {
    padding: 5px 0;
  }
}

@media (max-width: 500px) {
  .footer-services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  
  .footer-service-col h5 {
    margin-bottom: 12px;
    display: block;
    border-bottom: none;
    position: relative;
  }
  
  .footer-service-col h5::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #6366f1;
    margin: 10px auto 0;
  }
  
  .footer-service-col a {
    padding: 6px 0;
  }
  
  .footer-service-col a:hover {
    padding-left: 0;
    color: #6366f1;
  }
}