.footer {
  position: relative;
  margin-top: 80px;
  padding: 40px 20px;
  border-radius: 24px 24px 0 0;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 -10px 40px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.05);

  overflow: hidden;
}

/* Glow background subtil */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(99,102,241,0.15), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(34,158,217,0.12), transparent 40%);
  opacity: 0.6;
  pointer-events: none;
}

/* Container */
.footer-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

/* Linie premium animată */
.footer-rule {
  height: 2px;
  width: 100%;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.footer-rule span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #6366f1, #229ED9, transparent);
  animation: footerLineMove 4s linear infinite;
  border-radius: 999px;
}

@keyframes footerLineMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

/* Text principal */
.footer-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

/* Copyright */
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.4px;
}

/* Hover subtle glow */
.footer:hover {
  box-shadow:
    0 -20px 60px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Mobile */
@media (max-width: 768px) {
  .footer {
    padding: 30px 16px;
  }

  .footer-text {
    font-size: 13px;
  }

  .footer-copy {
    font-size: 12px;
  }
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  transition: 0.3s;
}

/* Hover general */
.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Glow effect */
.social-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.3s;
  border-radius: inherit;
}

/* TELEGRAM */
.social-icon.telegram:hover {
  background: #229ED9;
}
.social-icon.telegram:hover::before {
  box-shadow: 0 0 20px #229ED9;
  opacity: 1;
}

/* WHATSAPP */
.social-icon.whatsapp:hover {
  background: #25D366;
}
.social-icon.whatsapp:hover::before {
  box-shadow: 0 0 20px #25D366;
  opacity: 1;
}

/* LINKEDIN */
.social-icon.linkedin:hover {
  background: #0077B5;
}
.social-icon.linkedin:hover::before {
  box-shadow: 0 0 20px #0077B5;
  opacity: 1;
}

/* PHONE */
.social-icon.phone:hover {
  background: #ff3b3b;
}
.social-icon.phone:hover::before {
  box-shadow: 0 0 20px #ff3b3b;
  opacity: 1;
}

/* EMAIL */
.social-icon.email:hover {
  background: #6366f1;
}
.social-icon.email:hover::before {
  box-shadow: 0 0 20px #6366f1;
  opacity: 1;
}

/* Icon color on hover */
.social-icon:hover svg {
  color: #fff;
  stroke: #fff;
}
.social-icons {
  --icon-size: 60px;
  --icon-radius: 18px;
  --icon-color: rgba(255, 255, 255, 0.92);
  --icon-bg: rgba(255, 255, 255, 0.06);
  --icon-border: rgba(255, 255, 255, 0.12);
  --icon-shadow:
    0 10px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-icon {
  position: relative;
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: var(--icon-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)),
    var(--icon-bg);
  border: 1px solid var(--icon-border);
  box-shadow: var(--icon-shadow);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease,
    color .35s ease;
}

.social-icon svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 3;
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    filter .35s ease,
    color .35s ease,
    stroke .35s ease;
}

.social-icon-bg,
.social-icon-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.social-icon-bg {
  z-index: 1;
  opacity: 0;
  transform: scale(.82);
  transition:
    opacity .35s ease,
    transform .35s cubic-bezier(.2,.8,.2,1);
}

.social-icon-shine {
  z-index: 2;
  opacity: .7;
  background:
    linear-gradient(
      130deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.08) 22%,
      rgba(255,255,255,0.36) 46%,
      rgba(255,255,255,0.06) 62%,
      rgba(255,255,255,0) 100%
    );
  transform: translateX(-140%) skewX(-18deg);
  transition: transform .8s ease, opacity .35s ease;
}

.social-icon::before,
.social-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
}

.social-icon::before {
  z-index: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 42%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.1), transparent 38%);
  opacity: .8;
}

.social-icon::after {
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -10px 18px rgba(0,0,0,0.08);
}

.social-icon:hover {
  transform: translateY(-8px) scale(1.06);
}

.social-icon:hover .social-icon-bg {
  opacity: 1;
  transform: scale(1);
}

.social-icon:hover .social-icon-shine {
  transform: translateX(140%) skewX(-18deg);
}

.social-icon:hover svg {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.28));
}

.social-icon:focus-visible {
  outline: none;
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.12),
    0 14px 34px rgba(0,0,0,0.24);
}

/* Telegram */
.social-icon.telegram:hover {
  border-color: rgba(34, 158, 217, 0.55);
  box-shadow:
    0 18px 40px rgba(34, 158, 217, 0.28),
    0 8px 24px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.social-icon.telegram .social-icon-bg {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(135deg, rgba(34,158,217,0.95), rgba(0,119,181,0.92));
}

/* WhatsApp */
.social-icon.whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow:
    0 18px 40px rgba(37, 211, 102, 0.28),
    0 8px 24px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.social-icon.whatsapp .social-icon-bg {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(135deg, rgba(37,211,102,0.95), rgba(18,140,126,0.92));
}

/* Phone */
.social-icon.phone:hover {
  border-color: rgba(255, 91, 91, 0.55);
  box-shadow:
    0 18px 40px rgba(255, 91, 91, 0.26),
    0 8px 24px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.social-icon.phone .social-icon-bg {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(135deg, rgba(255,91,91,0.96), rgba(220,38,38,0.92));
}

/* LinkedIn */
.social-icon.linkedin:hover {
  border-color: rgba(0, 119, 181, 0.58);
  box-shadow:
    0 18px 40px rgba(0, 119, 181, 0.28),
    0 8px 24px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.social-icon.linkedin .social-icon-bg {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(135deg, rgba(0,119,181,0.96), rgba(10,102,194,0.92));
}

/* Email */
.social-icon.email:hover {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow:
    0 18px 40px rgba(99, 102, 241, 0.28),
    0 8px 24px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.social-icon.email .social-icon-bg {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(135deg, rgba(99,102,241,0.96), rgba(139,92,246,0.92));
}

/* Optional darker premium look on dark backgrounds */
@media (prefers-color-scheme: dark) {
  .social-icons {
    --icon-bg: rgba(255, 255, 255, 0.04);
    --icon-border: rgba(255, 255, 255, 0.09);
  }
}

/* Mobile polish */
@media (max-width: 768px) {
  .social-icons {
    gap: 10px;
  }

  .social-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .social-icon svg {
    width: 23px;
    height: 23px;
  }
}

:root {
  --bg:        #fbf6f7;
  --white:     #ffffff;
  --border:    #ecd6db;
  --ink:       #2a1519;
  --muted:     #7c5e66;
  --faint:     #b9969f;
  --gold:      #9d1b2f;
  --gold-bg:   #fff1f4;
  --gold-bdr:  #f0c8d0;
  --green:     #9d1b2f;
  --green-bg:  #fff1f4;
  --green-bdr: #f0c8d0;
  --rule:      #ecd6db;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 500px;
  margin: 0 auto;
  padding: 52px 20px 72px;
}

/* ── HEADER ── */
.header {
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  animation: up 0.6s ease 0.05s forwards;
}
.company {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  margin-bottom: 16px;
}
.name {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 7vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.role {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.divider {
  width: 36px;
  height: 1.5px;
  background: var(--gold);
  margin: 0 auto 18px;
  opacity: 0.5;
}
.bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 360px;
  margin: 0 auto;
}
.legal {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--faint);
  font-style: italic;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ── SECTION LABEL ── */
.sec {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 12px;
  opacity: 0;
  animation: up 0.5s ease forwards;
}
.sec span {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  white-space: nowrap;
}
.sec::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ── CARD ── */
.card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 9px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.17s;
  opacity: 0;
  animation: up 0.5s ease forwards;
}
.card:hover {
  border-color: var(--faint);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}

.card-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card-body { flex: 1; min-width: 0; }
.card-title {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 5px;
}
.card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.card-sub {
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--faint);
}
.card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 1px;
}
.arr {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--faint);
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.card:hover .arr {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--bg);
}

.price {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.price-gold  { background: var(--gold-bg);  color: var(--gold);  border: 1px solid var(--gold-bdr); }
.price-free  { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-bdr); }

/* ── GROUPED COURSE BLOCK ── */
.course-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 9px;
  opacity: 0;
  animation: up 0.5s ease forwards;
}

/* Label bar at top of group */
.group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gold-bg);
  border-bottom: 1px solid var(--gold-bdr);
}
.group-label-icon {
  font-size: 14px;
}
.group-label-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* Top option: personalized price */
.group-top {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 18px 20px;
  border-bottom: 1px dashed var(--border);
  transition: background 0.18s;
  position: relative;
}
.group-top:hover { background: #fffdf8; }

.group-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.group-top-title {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 4px;
  line-height: 1.3;
}
.group-top-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.group-top-sub {
  margin-top: 8px;
  font-size: 11px;
  color: var(--faint);
}

.arr-green {
  width: 30px;
  height: 30px;
  border: 1px solid var(--green-bdr);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background 0.18s;
}
.group-top:hover .arr-green { background: var(--green-bg); }

/* OR separator */
.group-or {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  margin: -1px 0;
  position: relative;
  z-index: 1;
}
.group-or::before, .group-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.group-or span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  background: var(--white);
  padding: 6px 4px;
  font-weight: 500;
}

/* Bottom option: standard price */
.group-bottom {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 18px 20px;
  transition: background 0.18s;
}
.group-bottom:hover { background: #fffdf8; }

.group-bottom-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.group-bottom-title {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.group-bottom-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.group-bottom-sub {
  margin-top: 8px;
  font-size: 11px;
  color: var(--faint);
}

/* ── OTHER CARDS ── */
.card-featured {
  border-color: var(--gold-bdr);
  background: var(--gold-bg);
}
.card-featured .card-title { color: var(--gold); }
.card-featured:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(160,120,48,0.1); }

.card-tiktok {
  border-color: #e8d8f0;
  background: #fdf6ff;
}
.card-tiktok .card-title { color: #7a3a9a; }
.card-tiktok:hover { border-color: #c060e0; }

/* DELAYS */
.d1  { animation-delay: 0.08s; }
.d2  { animation-delay: 0.14s; }
.d3  { animation-delay: 0.20s; }
.d4  { animation-delay: 0.26s; }
.d5  { animation-delay: 0.32s; }
.d6  { animation-delay: 0.38s; }
.d7  { animation-delay: 0.44s; }
.d8  { animation-delay: 0.50s; }
.d9  { animation-delay: 0.56s; }
.d10 { animation-delay: 0.62s; }
.d11 { animation-delay: 0.68s; }

/* FOOTER */
.footer {
  margin-top: 48px;
  text-align: center;
  opacity: 0;
  animation: up 0.5s ease 0.78s forwards;
}
.footer-rule { width: 28px; height: 1px; background: var(--border); margin: 0 auto 18px; }
.footer-text {
  font-size: 11px;
  color: var(--faint);
  line-height: 1.75;
  max-width: 420px;
  margin: 0 auto 12px;
  font-style: italic;
}
.footer-copy {
  font-size: 10px;
  color: var(--border);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

@media (max-width: 400px) {
  .wrap { padding: 36px 16px 56px; }
  .name { font-size: 1.9rem; }
  .group-top, .group-bottom { padding: 16px 16px; }
  .card { padding: 16px; }
}


/* Social icons preserved from original variant */
.social-icons {
  display:flex;
  justify-content:center;
  gap:16px;
  margin: 20px 0 4px;
}
.social-icon {
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#9d1b2f;
  color:#fff;
  text-decoration:none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.social-icon svg { width:20px; height:20px; }
.social-icon:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(157,27,47,0.18); background:#7f1224; }
.group-top-title { color: var(--gold); }
.card-featured, .card-featured .card-title { color: var(--gold); }
.price-gold { background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold-bdr); }
.price-free { background: #f3f7f3; color: #336f4d; border: 1px solid #cddfcf; }
.footer-copy { color: var(--faint); letter-spacing: 0.08em; text-transform:none; }
