/* ========================================
   Prietenia Corbeanca - Stylesheet
   ======================================== */

:root {
  --color-primary: #0F172A;
  --color-brand: #10B981;
  --color-brand-hover: #059669;
  --color-brand-soft: #ECFDF5;
  --color-accent: #F59E0B;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F1F5F9;
  --color-text: #334155;
  --color-text-light: #64748B;
  --color-heading-soft: #475569;
  --color-white: #FFFFFF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
  --header-h: 72px;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --color-teal: #14b8a6;
  --color-teal-deep: #0d9488;
  /* Galben tricolor (figura din mijloc din logo) — CTA hero */
  --color-cta-yellow-deep: #ca8a04;
  --color-cta-yellow: #eab308;
  --color-cta-yellow-bright: #fde047;
  /* CTA înscriere — galben buton (conversie) */
  --color-cta-reserve: #fccb05;
  --signup-cta-navy-top: #0a1628;
  /* Plasă SVG — tile mai mare = ochiuri mai depărtate pe ecran */
  --goal-net-tile-size: clamp(108px, 12.5vw, 148px);
  /* Plasă SVG (images/goal-net-pattern-*.svg) + vignette în ::before */
  --goal-net-mask-light: radial-gradient(
    ellipse 96% 88% at 50% 38%,
    #000 0%,
    rgba(0, 0, 0, 0.55) 44%,
    transparent 74%
  );
  --goal-net-mask-dark: radial-gradient(
    ellipse 100% 90% at 50% 42%,
    #000 0%,
    rgba(0, 0, 0, 0.48) 48%,
    transparent 76%
  );
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-bg);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 4px;
  margin: 1.25rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-brand), #34d399);
}

.text-center {
  text-align: center;
}

/* HEADER & NAV */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.9rem 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition:
    background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.main-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.main-header.is-scrolled .logo-title {
  color: var(--color-primary);
}

.main-header.is-scrolled .logo-title__place {
  color: var(--color-text);
}

.main-header.is-scrolled .logo-title__dot {
  color: rgba(15, 23, 42, 0.25);
}

.main-header.is-scrolled .logo--club:hover {
  background: rgba(15, 23, 42, 0.06);
}

.main-header.is-scrolled .nav-panel {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.main-header.is-scrolled .nav-link {
  color: var(--color-text);
}

.main-header.is-scrolled .nav-link:hover {
  color: var(--color-primary);
}

.main-header.is-scrolled .nav-panel__divider {
  background: rgba(15, 23, 42, 0.12);
}

.main-header.is-scrolled .nav-cta {
  background: var(--color-primary);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.15);
}

.main-header.is-scrolled .nav-cta:hover {
  background: var(--color-brand);
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.35);
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: inherit;
}

.logo--club {
  border-radius: 10px;
  padding: 0.2rem 0.35rem 0.2rem 0;
  margin-left: -0.15rem;
  transition: background var(--transition-normal);
}

.logo--club:hover {
  background: rgba(255, 255, 255, 0.06);
}

.logo--club:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.logo-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  line-height: 1.05;
}

.logo-kicker {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-brand);
  white-space: nowrap;
}

.logo-title {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-title__place {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.logo-title__dot {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.35rem;
  line-height: 0;
  user-select: none;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.28rem 0.35rem 0.28rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.nav-panel__divider {
  width: 1px;
  height: 1.15rem;
  margin: 0 0.15rem 0 0.2rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  list-style: none;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition:
    color 0.22s ease,
    background 0.22s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.32rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-brand);
  transform: translateX(-50%);
  opacity: 0;
  transition:
    width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover::after {
  width: 1.35rem;
  opacity: 1;
}

.nav-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.main-header.is-scrolled .nav-link:focus-visible {
  outline-color: var(--color-brand);
}

.main-header.is-scrolled .nav-link::after {
  background: var(--color-brand);
}

.main-header.is-scrolled .nav-link:hover {
  background: rgba(15, 23, 42, 0.06);
}

.nav-cta {
  flex-shrink: 0;
  padding: 0.48rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

.nav-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.main-header.is-scrolled .nav-cta:focus-visible {
  outline-color: var(--color-brand);
}

/* HERO */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(16rem, 34vh, 22rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-h) + 0.1rem) 0 clamp(0.75rem, 2.5vh, 1.35rem);
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(16, 185, 129, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.55) 100%),
    url('../images/hero.png') center/cover;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-transition {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(40px, 7vw, 64px);
  line-height: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-transition__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-transition__path {
  fill: #f8fafc;
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 48rem;
  width: 100%;
  margin: 0 auto;
  padding-bottom: clamp(0.65rem, 2vw, 1.1rem);
  text-align: center;
}

.hero-logo {
  display: block;
  width: clamp(7.5rem, 28vw, 11rem);
  height: auto;
  margin: 0 auto 0.85rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.45rem;
  color: #fff;
  text-wrap: balance;
  text-align: center;
  width: 100%;
}

@media (min-width: 720px) {
  .hero-tagline {
    white-space: nowrap;
  }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.85vw, 1.1rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin: 0 auto 1.35rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: balance;
  text-align: center;
}

.btn-hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  padding: 1rem 1.65rem 1rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 2.1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--color-primary);
  text-decoration: none;
  text-align: center;
  max-width: min(100%, 22.5rem);
  background: linear-gradient(
    145deg,
    var(--color-cta-yellow-deep) 0%,
    var(--color-cta-yellow) 42%,
    var(--color-cta-yellow-bright) 100%
  );
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 3px 0 rgba(0, 0, 0, 0.1),
    0 12px 32px rgba(202, 138, 4, 0.45),
    0 0 48px rgba(250, 204, 21, 0.35);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    filter 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.btn-hero-cta__label {
  text-wrap: balance;
}

.btn-hero-cta__arrow {
  flex-shrink: 0;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-hero-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.06) saturate(1.08);
  color: #0a0f1a;
  border-color: rgba(15, 23, 42, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 5px 0 rgba(0, 0, 0, 0.08),
    0 18px 44px rgba(202, 138, 4, 0.55),
    0 0 56px rgba(253, 224, 71, 0.55);
}

.btn-hero-cta:hover .btn-hero-cta__arrow {
  transform: translateX(5px);
}

.btn-hero-cta:active {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.btn-hero-cta:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-brand);
  color: white;
  font-family: var(--font-body);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  background: var(--color-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

/* BENEFITS */
.benefits-section {
  position: relative;
  z-index: 0;
  margin-top: 0;
  overflow: hidden;
  background-color: var(--color-bg-alt);
  padding-top: clamp(2.25rem, 3vw, 2.75rem);
}

.benefits-section .section-header h2 {
  color: var(--color-heading-soft);
  font-weight: 700;
  max-width: 100%;
  font-size: clamp(1.15rem, 2.15vw, 1.65rem);
  line-height: 1.3;
}

@media (min-width: 960px) {
  .benefits-section .section-header h2 {
    white-space: nowrap;
  }
}

.benefits-section .section-header h2::after {
  width: clamp(5.25rem, 22vw, 8.75rem);
  height: 6px;
  margin-top: 1rem;
  border-radius: 999px;
}

.benefits-section > .container {
  position: relative;
  z-index: 1;
  padding-left: clamp(1.75rem, 6.5vw, 3.5rem);
  padding-right: clamp(1.75rem, 6.5vw, 3.5rem);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.15rem, 2.5vw, 1.75rem);
  margin-top: 1rem;
}

.benefit-card {
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 0 100px rgba(15, 23, 42, 0.42);
}

.benefit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.94) 0%,
    rgba(15, 23, 42, 0.78) 32%,
    rgba(15, 23, 42, 0.52) 58%,
    rgba(15, 23, 42, 0.32) 100%
  );
  transition: background 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.benefit-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.62) 40%,
    rgba(15, 23, 42, 0.35) 100%
  );
}

.benefit-card h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin: 0;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand), #3B82F6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 100px rgba(15, 23, 42, 0.32),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.4s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.2) rotate(10deg);
}

.benefit-card h3 {
  transition: color 0.3s ease;
}

.benefit-card:hover h3 {
  color: var(--color-brand);
}

/* GROUPS - Modern Split Cards */
.groups-section {
  position: relative;
  overflow: hidden;
  padding: clamp(0.65rem, 1.5vw, 1.1rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background-color: #f8fafc;
}

.groups-section > .container {
  position: relative;
  z-index: 1;
}

/* Plasă SVG (tile 72×72, ochiuri ușor neregulate) + unghi + vignette */
.groups-section::before,
.benefits-section::before {
  content: '';
  position: absolute;
  inset: -22%;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-12deg) scale(1.08);
  transform-origin: 50% 40%;
  background-color: transparent;
  background-image: url('../images/goal-net-pattern-light.svg');
  background-size: var(--goal-net-tile-size) var(--goal-net-tile-size);
  background-repeat: repeat;
  -webkit-mask-image: var(--goal-net-mask-light);
  mask-image: var(--goal-net-mask-light);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.signup-cta::before,
.footer::before {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  transform: rotate(14deg) scale(1.06);
  transform-origin: 50% 45%;
  background-color: transparent;
  background-image: url('../images/goal-net-pattern-dark.svg');
  background-size: var(--goal-net-tile-size) var(--goal-net-tile-size);
  background-repeat: repeat;
  -webkit-mask-image: var(--goal-net-mask-dark);
  mask-image: var(--goal-net-mask-dark);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.groups-section__intro-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.85rem;
  max-width: 100%;
  margin: 0 auto;
}

.groups-section__title {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.groups-section .section-header h2.groups-section__title {
  width: auto;
  max-width: none;
  display: inline-block;
  margin-left: 0;
  margin-right: 0;
}

.groups-section__lead {
  margin: 0;
  color: var(--color-text-light);
  font-size: clamp(0.88rem, 1.45vw, 1.02rem);
  line-height: 1.4;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .groups-section__intro-row {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .groups-section__title,
  .groups-section__lead {
    white-space: nowrap;
  }

  .groups-section__lead {
    flex: 0 1 auto;
  }
}

@media (max-width: 1023px) {
  .groups-section__intro-row {
    flex-direction: column;
    gap: 0.35rem;
  }

  .groups-section__lead {
    text-align: center;
    max-width: 36rem;
  }

  .groups-section .section-header .groups-section__title {
    margin-left: auto;
    margin-right: auto;
  }

  .groups-section .section-header h2::after {
    margin-left: auto;
    margin-right: auto;
  }
}

.groups-section .section-header h2::after {
  content: '';
  display: block;
  width: clamp(3.25rem, 14vw, 5rem);
  height: 5px;
  margin-top: 0.55rem;
  margin-left: 0;
  margin-right: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-brand), #34d399);
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch;
  gap: 2.5rem;
  margin-top: clamp(0.85rem, 2vw, 1.35rem);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.group-card--cadet .group-card__header {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
}

.group-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.group-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.group-card__header {
  background: linear-gradient(135deg, var(--color-brand) 0%, #059669 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.group-card__header::before {
  content: '⚽';
  position: absolute;
  font-size: 120px;
  opacity: 0.08;
  right: -20px;
  top: -20px;
}

.group-card__header--dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.group-card__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.group-card__age {
  font-size: 4.5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  font-family: var(--font-heading);
}

.group-card__age-text {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
}

.group-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 2.5rem 2rem;
}

.group-card__body .group-card__cta {
  width: 100%;
  margin-top: auto;
  padding-top: 1.25rem;
}

.group-card__body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.group-card__body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.group-card__features {
  list-style: none;
  padding: 0;
}

.group-card__features li {
  padding: 0.6rem 0;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.group-card__features li:last-child {
  border-bottom: none;
}

.group-card__features .check {
  color: var(--color-brand);
  font-weight: 800;
  font-size: 1.1rem;
}

/* CURRICULUM PREVIEW (Professional Layout) */
.curriculum-preview {
  margin-top: 5rem;
  background: linear-gradient(180deg, #0f172a 0%, #0c1222 100%);
  border-radius: 32px;
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem);
  color: white;
  border: 1px solid rgba(16, 185, 129, 0.18);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.curriculum-header {
  text-align: center;
  margin-bottom: 3rem;
}

.curriculum-header h2 {
  font-size: 2.5rem;
  color: var(--color-brand);
  margin-bottom: 1rem;
}

.curriculum-header p {
  color: #94a3b8;
  max-width: 800px;
  margin: 0 auto;
}

.technical-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.plan-column {
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 32px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-column::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-brand);
  border-radius: 4px 0 0 4px;
}

.plan-column.secondary::after {
  background: var(--color-accent);
}

.plan-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.plan-column p {
  color: var(--color-brand);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.plan-column.secondary p {
  color: var(--color-accent);
}

.plan-list {
  list-style: none;
}

.plan-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.plan-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-brand);
  font-weight: bold;
}

.plan-column.secondary .plan-list li::before {
  color: var(--color-accent);
}

.plan-list li strong {
  color: white;
  display: block;
  margin-bottom: 0.2rem;
}

.psychology-box {
  margin-top: 4rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
}

.psychology-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.psych-item {
  background: rgba(16, 185, 129, 0.1);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  flex: 1;
  min-width: 250px;
}

.psych-item strong {
  color: white;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.psych-item p {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* FULL-WIDTH SIGNUP CTA */
.signup-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 0 clamp(3.5rem, 8vw, 5.25rem);
  margin-top: -1px;
  background-color: #0f172a;
  background-image: linear-gradient(165deg, var(--signup-cta-navy-top) 0%, #0f172a 42%, #0a0f18 100%);
  color: #f1f5f9;
}

.signup-cta__wave {
  position: relative;
  z-index: 4;
  display: block;
  width: 100%;
  height: clamp(52px, 7.5vw, 84px);
  margin-top: calc(-1 * clamp(44px, 6vw, 72px));
  line-height: 0;
}

.signup-cta__wave-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.signup-cta__wave-path {
  fill: var(--signup-cta-navy-top);
}

.signup-cta__watermark {
  position: absolute;
  inset: -5% -10%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.signup-cta__watermark-img {
  width: min(92vw, 480px);
  height: auto;
  object-fit: contain;
  opacity: 0.05;
  filter: brightness(1.35) contrast(0.95);
}

.signup-cta__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.signup-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 26.5rem);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: start;
}

.signup-cta__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1.2rem;
}

.signup-cta__lead {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.68;
  color: rgba(248, 250, 252, 0.84);
  max-width: 38rem;
}

.signup-cta__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.signup-cta__bullets li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.93);
}

.signup-cta__bullet-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.2);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 800;
}

.signup-cta__form-shell {
  border-radius: 20px;
  padding: clamp(1.5rem, 3.2vw, 2.15rem);
  background: rgba(248, 250, 252, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.signup-cta__form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.signup-cta__label {
  display: block;
  margin-bottom: 0.38rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
}

.signup-cta__input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-primary);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup-cta__input::placeholder {
  color: #94a3b8;
}

.signup-cta__input:hover {
  border-color: rgba(15, 23, 42, 0.16);
}

.signup-cta__input:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.signup-cta__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Honeypot anti-spam — ascuns vizual, nu focusabil */
.signup-cta__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.signup-cta__hp label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.signup-cta__form-msg {
  margin: 0;
  min-height: 1.35em;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.signup-cta__form-msg[data-tone='ok'] {
  color: #047857;
}

.signup-cta__form-msg[data-tone='err'] {
  color: #b91c1c;
}

.signup-cta__submit {
  margin-top: 0.4rem;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 1.08rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f172a;
  background: var(--color-cta-reserve);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(252, 203, 5, 0.38);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease, filter 0.22s ease;
}

.signup-cta__submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(252, 203, 5, 0.48);
  filter: brightness(1.04);
}

.signup-cta__submit:active {
  transform: translateY(-1px);
}

.signup-cta__submit:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.signup-cta__submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .signup-cta__submit {
    transition: none;
  }

  .signup-cta__submit:hover,
  .signup-cta__submit:active {
    transform: none;
  }
}

@media (max-width: 960px) {
  .signup-cta__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .signup-cta__form-shell {
    max-width: 26.5rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .technical-plan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .logo--club,
  .logo-stack,
  .logo {
    min-width: 0;
    max-width: 100%;
  }

  .logo-title {
    font-size: clamp(0.88rem, 2.8vw + 0.55rem, 1.05rem);
    white-space: normal;
    flex-wrap: wrap;
    row-gap: 0.1rem;
    max-width: 100%;
    line-height: 1.15;
  }

  .logo-kicker {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
    white-space: normal;
    max-width: 100%;
  }

  .nav-flex {
    gap: 0.55rem;
    min-width: 0;
    align-items: flex-start;
  }

  .nav-panel {
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    row-gap: 0.35rem;
    padding: 0.28rem 0.4rem;
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem;
  }

  .nav-link {
    padding: 0.4rem 0.55rem;
    font-size: clamp(0.66rem, 1.5vw + 0.45rem, 0.78rem);
    letter-spacing: 0.04em;
  }

  .nav-panel__divider {
    height: 1rem;
    margin: 0 0.08rem;
  }

  .nav-cta {
    padding: 0.42rem 0.72rem;
    font-size: clamp(0.66rem, 1.5vw + 0.45rem, 0.76rem);
    flex-shrink: 0;
  }
}

/* Mobil: ascunde textul logo (Club sportiv / Prietenia · Corbeanca) — rămâne doar meniul sus */
@media (max-width: 640px) {
  :root {
    --header-h: 76px;
  }

  .main-header {
    padding: 0.5rem 0;
  }

  .logo--club {
    display: none;
  }

  .main-header .container.nav-flex {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding-left: clamp(0.6rem, 3.5vw, 1rem);
    padding-right: clamp(0.6rem, 3.5vw, 1rem);
  }

  .nav-panel {
    width: 100%;
    max-width: none;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 14px;
    padding: 0.32rem 0.4rem;
    gap: 0.25rem;
    row-gap: 0.35rem;
  }

  .nav-links {
    flex: 0 1 auto;
    justify-content: center;
    min-width: 0;
  }

  .nav-panel__divider {
    display: block;
    height: 1rem;
    margin: 0 0.1rem;
  }

  .nav-cta {
    flex: 0 0 auto;
    flex-basis: auto;
    margin-top: 0;
  }
}

.footer {
  position: relative;
  overflow: hidden;
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.25rem 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer p {
  margin: 0;
}