/* ============================================================
   ecosistem.css — WebBase Ecosystem Page
   Path: /assets/css/ecosistem.css
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #3b4fd8;
  --blue-light: #4f9ef8;
  --blue-dark: #2d3fc4;
  --green: #22c55e;
  --green-light: #f0fdf4;
  --green-border: #bbf7d0;
  --orange: #f97316;
  --purple: #7c3aed;
  --teal: #0ea5e9;
  --bg: #f8f9fc;
  --white: #ffffff;
  --border: #e5e7f0;
  --border2: #d1d5e8;
  --text: #0f1135;
  --text2: #4b5488;
  --text3: #8891b8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 4px rgba(15,17,53,0.06), 0 0 0 1px rgba(15,17,53,0.04);
  --shadow: 0 4px 16px rgba(15,17,53,0.08), 0 0 0 1px rgba(15,17,53,0.04);
  --shadow-lg: 0 8px 32px rgba(15,17,53,0.12), 0 0 0 1px rgba(15,17,53,0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */

nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-logo-text span {
  color: var(--blue);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-back {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-back:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--blue-dark);
}

/* ── LAYOUT ── */

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── HERO ── */

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center top, rgba(79,158,248,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--blue);
  background: rgba(59,79,216,0.07);
  border: 1px solid rgba(59,79,216,0.15);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: blink 2s infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--blue);
}

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 540px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.stat {
  padding: 14px 28px;
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border2);
}

.stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
  display: block;
}

.stat-label {
  font-size: 11px;
  color: var(--text3);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ── SECTIONS ── */

.section {
  padding: 64px 0;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--text2);
  max-width: 500px;
}

.section-head {
  margin-bottom: 36px;
}

/* ── MANIFESTO ── */

.manifesto {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-bottom: 48px;
}

.mf-item {
  padding: 0 32px;
  position: relative;
}

.mf-item + .mf-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border);
}

.mf-item:first-child { padding-left: 0; }
.mf-item:last-child  { padding-right: 0; }

.mf-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.mf-icon.blue   { background: rgba(59,79,216,0.08); }
.mf-icon.green  { background: var(--green-light); }
.mf-icon.purple { background: rgba(124,58,237,0.08); }

.mf-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.mf-text {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── MAIN PRODUCT (webbase.ro) ── */

.main-product {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  text-decoration: none;
  transition: box-shadow 0.25s, border-color 0.25s;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.main-product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

.main-product:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(59,79,216,0.2);
}

.mp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59,79,216,0.07);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.mp-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text);
  margin-bottom: 10px;
}

.mp-desc {
  font-size: 15px;
  color: var(--text2);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.mp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── BUTTONS ── */

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* ── URLAB CARD ── */

.urlab-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  text-decoration: none;
  transition: box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.urlab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #fbbf24);
}

.urlab-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(249,115,22,0.25);
}

.ul-badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(249,115,22,0.07);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.ul-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 6px;
}

.ul-desc {
  font-size: 14px;
  color: var(--text2);
}

.ul-right {
  text-align: right;
  flex-shrink: 0;
}

.ul-domain {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.5px;
}

.ul-sub {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* ── TOOLS GRID ── */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 30px;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
}

.tool-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.tool-card:hover .tc-arrow {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.tc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tc-icon.blue   { background: rgba(59,79,216,0.08); }
.tc-icon.teal   { background: rgba(14,165,233,0.08); }
.tc-icon.purple { background: rgba(124,58,237,0.08); }
.tc-icon.orange { background: rgba(249,115,22,0.08); }

.tc-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tc-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.tc-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 18px;
}

.tc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.badge-free {
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tc-url {
  font-size: 11px;
  color: var(--text3);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* ── PHILOSOPHY ── */

.philosophy {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
  margin-bottom: 48px;
}

.phi-div {
  background: var(--border);
}

.phi-item {
  padding: 0 36px;
}

.phi-item:first-child { padding-left: 0; }
.phi-item:last-child  { padding-right: 0; }

.phi-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.phi-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.phi-text {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── CTA ── */

.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #4f83f0 100%);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-title {
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}


/* ============================================================
   RESPONSIVE — tablet: 768px
   ============================================================ */

@media (max-width: 768px) {
  /* nav */
  .nav-inner  { padding: 12px 20px; }
  .nav-cta    { display: none; }

  /* layout */
  .wrap       { padding: 0 20px; }
  .section    { padding: 48px 0; }

  /* hero */
  .hero       { padding: 48px 0 40px; }
  .hero-sub   { font-size: 15px; }

  /* manifesto: stack vertically */
  .manifesto {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }

  footer .container {
  padding: 0 20px;
}
  .mf-item                  { padding: 0 !important; }
  .mf-item + .mf-item::before { display: none; }

  /* main product: stack CTA below text */
  .main-product {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }
  .main-product .btn-blue { align-self: flex-start; }

  /* urlab: stack */
  .urlab-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 12px;
  }
  .ul-right { text-align: left; }

  /* tools: single column */
  .tools-grid { grid-template-columns: 1fr; }

  /* philosophy: stack */
  .philosophy {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
    margin-bottom: 32px;
  }
  .phi-div  { display: none; }
  .phi-item { padding: 0 !important; }

  /* cta */
  .cta-section { padding: 40px 24px; margin-bottom: 40px; }
  .cta-btns    { flex-direction: column; align-items: stretch; }
  .btn-white,
  .btn-outline-white { justify-content: center; }

}

/* ============================================================
   RESPONSIVE — small phones: 480px
   ============================================================ */

@media (max-width: 480px) {
  /* nav */
  .nav-back span { display: none; }

  /* hero: tighter */
  .hero           { padding: 36px 0 32px; }
  .hero h1        { letter-spacing: -1px; }
  .hero-sub       { font-size: 14px; margin-bottom: 28px; }

  /* hero stats: stack pills */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    border-radius: 10px;
  }
  .stat             { padding: 12px 10px; }
  .stat-num         { font-size: 18px; }
  .stat-label       { font-size: 10px; }

  /* section headings */
  .section-head     { margin-bottom: 24px; }
  .section-desc     { font-size: 14px; }

  /* cards */
  .main-product,
  .urlab-card,
  .tool-card        { border-radius: 12px; }
  .mp-name          { font-size: 22px; }
  .mp-desc          { font-size: 14px; }

  /* tool cards: hide url on tiny screens */
  .tc-url           { display: none; }
  .tc-footer        { justify-content: flex-start; }

  /* philosophy */
  .philosophy       { border-radius: 12px; }

  /* cta */
  .cta-section      { border-radius: 12px; padding: 32px 20px; }
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER - Premium Dark Style v2
   ═══════════════════════════════════════════════════════════ */

footer {
  background: #07070a;
  color: #f5f5f5;
  padding: 80px 0 40px;
  font-size: 15px;
  margin-top: 100px;
  position: relative;
}

footer .container {
  max-width: 1140px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  footer .container {
    padding: 0 20px !important;
  }
}

/* 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;
}

/* ─────────────────────────────────────────────────────────
   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 .container {
  padding: 0 16px;
}
  .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;
  }
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}