section.section { padding: 80px 24px; background: #ffffff; }
section.section-alt { background: #f5f8fa; }
.groups-page .container,
.hero .container,
section.section > .container,
.final-cta .container { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  color: #111827; line-height: 1.2; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px; color: #6B7280; max-width: 640px; line-height: 1.7;
}
.section-subtitle a,
.step-desc a,
.benefit-text a,
.hero-aside a,
.uni-more a,
.cta-note a,
.member-caption a {
  color: #3b91fe;
  font-weight: 600;
}

.hero {
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero-compact { padding: 88px 24px 36px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #dbeafe;
  color: #1e40af;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.grp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b91fe;
  animation: grp-pulse-dot 2s ease-in-out infinite;
}
@keyframes grp-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,145,254,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(59,145,254,0); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.hero .container.hero-solo {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}
.hero-title {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title-line { display: block; }
.hero-sub {
  font-size: 18px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 8px;
  max-width: 520px;
}
.hero-solo .hero-sub { max-width: 640px; }
.hero-note {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 32px;
  font-style: italic;
}
.hero-aside {
  margin: 16px 0 0;
  font-size: 15px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #3b91fe;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(59, 145, 254, 0.3);
}
.hero-cta:hover {
  background: #2b7de8;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 145, 254, 0.4);
  color: #fff;
  text-decoration: none;
}
.hero-cta svg { width: 20px; height: 20px; }
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.browser-frame {
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.22);
}
.browser-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F3F4F6;
  border-bottom: 1px solid #E5E7EB;
}
.browser-frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D1D5DB;
  display: block;
  flex: 0 0 auto;
}
.browser-frame-bar i:nth-child(1) { background: #F87171; }
.browser-frame-bar i:nth-child(2) { background: #FBBF24; }
.browser-frame-bar i:nth-child(3) { background: #34D399; }
.browser-url {
  margin-left: 8px;
  flex: 1;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  color: #6B7280;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 4px 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.logo-mosaic a {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 12px;
  padding: 8px;
}
.logo-mosaic a:hover { border-color: #dbeafe; }
.logo-mosaic img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.universities .section-label { background: #EFF6FF; color: #1E40AF; }
.uni-wall {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.uni-wall a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  text-decoration: none;
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 16px;
  padding: 16px 10px 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.uni-wall a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -12px rgba(17, 24, 39, 0.28);
  text-decoration: none;
}
.uni-logo {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uni-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.uni-name {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  text-align: center;
  line-height: 1.3;
  min-height: 2.6em;
}
.uni-country {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #9CA3AF;
}
.uni-empty { margin-top: 28px; }
.uni-more {
  margin: 28px 0 0;
  font-size: 16px;
  color: #4B5563;
}

.how-it-works .section-label { background: #FEF3C7; color: #92400E; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-card {
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.03);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #3b91fe;
  color: white;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.65;
  margin-bottom: 0;
}

.why .section-label { background: #F5F3FF; color: #6D28D9; }
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
}
.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.benefit-icon.affinity { background: #DBEAFE; }
.benefit-icon.crest { background: #FEF3C7; }
.benefit-icon.private { background: #F5F3FF; }
.benefit-icon.invite { background: #ECFDF5; }
.benefit-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.benefit-text p { font-size: 14px; color: #6B7280; line-height: 1.55; margin: 0; }

.final-cta {
  text-align: center;
  background: linear-gradient(165deg, #111827 0%, #2D2D2D 100%);
  color: white;
  padding: 80px 24px;
}
.final-cta .section-title { color: white; }
.final-cta .section-subtitle { color: rgba(255,255,255,0.7); margin: 0 auto 32px; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #3b91fe;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover {
  background: #2b7de8;
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}
.cta-btn svg { width: 22px; height: 22px; }
.cta-note { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 16px; }
.cta-note a { color: rgba(255,255,255,0.85); }
.cta-note a:hover { color: #fff; }

.members-section { padding-top: 24px; }
.members-empty { margin: 12px auto 0; }
.member-grid {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 18px;
}
.member-card { text-align: center; }
.member-crest {
  position: relative;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  aspect-ratio: 1;
  box-shadow: 0 10px 25px -16px rgba(17, 24, 39, 0.35);
}
.member-crest__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 18px 16px 22px;
}
.member-crest__logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.member-crest__avatar-link,
.member-crest > .member-crest__avatar {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  z-index: 1;
}
.member-crest__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.22);
  background: #f3f4f6;
  display: block;
}
.member-crest__avatar-link .member-crest__avatar {
  width: 100%;
  height: 100%;
}
.member-caption {
  margin: 12px 0 0;
  font-size: 14px;
  color: #4B5563;
  line-height: 1.4;
}
.member-caption strong { color: #111827; font-weight: 800; }
.member-caption a { font-weight: 700; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .container.hero-solo { grid-template-columns: 1fr; }
  .hero-sub, .hero-title { max-width: 100%; }
  .hero-badge, .hero-cta { margin-left: auto; margin-right: auto; }
  .hero-visual { margin-top: 36px; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .benefits { grid-template-columns: 1fr; }
  .uni-wall { grid-template-columns: repeat(3, 1fr); }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  section.section { padding: 56px 16px; }
  .hero { padding: 72px 16px 56px; }
  .hero-compact { padding: 72px 16px 20px; }
  .hero > .ribbon { display: none; }
  .uni-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .member-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .member-crest__avatar-link,
  .member-crest > .member-crest__avatar { width: 42px; height: 42px; }
  .logo-mosaic { grid-template-columns: repeat(3, 1fr); }
}
