/* =========================================================
   Tech Catalysts Community — Shared Design System
   Used by: index.html (landing), tcc-registration.html,
            tcc-channels.html
   ========================================================= */

/* ---------- 1. Variables ---------- */
:root {
  --primary-color: #16a34a;
  --primary-hover: #15803d;
  --accent-color: #22c55e;
  --bg-color: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.82);
  --text-color: #0f172a;
  --text-muted: #64748b;
  --input-bg: #ffffff;
  --border-color: rgba(226, 232, 240, 0.8);
  --focus-ring: rgba(22, 163, 74, 0.16);
  --radius-card: 20px;
  --radius-card-lg: 24px;
  --radius-input: 14px;
  --container: 1120px;
}

/* ---------- 2. Reset & base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "Outfit",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Centers a single card vertically/horizontally in the viewport
   (used on the registration page body) */
.center-viewport {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

/* ---------- 3. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 4. Background layers ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(22, 163, 74, 0.08),
      transparent 45%
    ),
    radial-gradient(circle at 88% 82%, rgba(34, 197, 94, 0.1), transparent 45%),
    var(--bg-color);
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---------- 5. Blobs — standard set (registration + channels) ---------- */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  pointer-events: none;
  will-change: transform;
}

.blob-1 {
  width: 380px;
  height: 380px;
  background: rgba(22, 163, 74, 0.2);
  top: -110px;
  left: -100px;
  animation: float-a 16s ease-in-out infinite;
}

.blob-2 {
  width: 420px;
  height: 420px;
  background: rgba(34, 197, 94, 0.15);
  bottom: -130px;
  right: -100px;
  animation: float-b 19s ease-in-out infinite;
}

.blob-3 {
  width: 260px;
  height: 260px;
  background: rgba(187, 247, 208, 0.45);
  top: 45%;
  left: 55%;
  transform: translate(-50%, -50%);
  animation: float-c 14s ease-in-out infinite;
}

@keyframes float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, 40px);
  }
}
@keyframes float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-35px, -30px);
  }
}
@keyframes float-c {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-46%, -54%);
  }
}

/* ---------- 5b. Blobs — hero set (landing page only) ---------- */
.blob-a {
  width: 420px;
  height: 420px;
  background: rgba(22, 163, 74, 0.18);
  top: -140px;
  left: -120px;
  animation: float-a2 17s ease-in-out infinite;
}

.blob-b {
  width: 460px;
  height: 460px;
  background: rgba(34, 197, 94, 0.12);
  top: 30%;
  right: -160px;
  animation: float-b2 20s ease-in-out infinite;
}

.blob-c {
  width: 360px;
  height: 360px;
  background: rgba(187, 247, 208, 0.35);
  bottom: -160px;
  left: 20%;
  animation: float-c2 15s ease-in-out infinite;
}

@keyframes float-a2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, 40px);
  }
}
@keyframes float-b2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, -30px);
  }
}
@keyframes float-c2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -20px);
  }
}

/* ---------- 6. Shared animations ---------- */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Scroll-reveal utility (landing page, driven by IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 7. Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.18);
  color: var(--primary-hover);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  animation: fade-in 0.6s ease 0.05s both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: pulse-dot 2.2s ease-out infinite;
  flex-shrink: 0;
}

/* ---------- 8. Buttons ---------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius-input);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-hover)
  );
  color: #fff;
  box-shadow: 0 8px 22px -6px rgba(22, 163, 74, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(22, 163, 74, 0.55);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: rgba(22, 163, 74, 0.4);
  background: #fff;
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

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

.nav-logo-img {
  max-height: 60px;
  height: auto;
  width: auto;
  display: block;
}

.footer-logo-img {
  max-height: 48px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-hover)
  );
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px -6px rgba(22, 163, 74, 0.5);
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -6px rgba(22, 163, 74, 0.55);
}

/* Native form submit button (registration page) */
button {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: var(--radius-input);
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-hover)
  );
  color: white;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  box-shadow:
    0 1px 2px rgba(21, 128, 61, 0.1),
    0 8px 20px -6px rgba(22, 163, 74, 0.45);
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(21, 128, 61, 0.12),
    0 14px 28px -6px rgba(22, 163, 74, 0.5);
  filter: brightness(1.04);
}

button:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

button:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.35);
  outline-offset: 2px;
}

button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

button:disabled::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* ---------- 9. Headers ---------- */
/* Compact header — used inside cards (registration page) */
.header {
  text-align: center;
  margin-bottom: 32px;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 12px;
  animation: fade-in 0.6s ease 0.16s both;
}

.header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto;
  animation: fade-in 0.6s ease 0.22s both;
}

/* Full-page header — used at the top of standalone pages (channels page) */
.page-header {
  text-align: center;
  margin-bottom: 56px;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 14px;
  animation: fade-in 0.6s ease 0.16s both;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  max-width: 460px;
  margin: 0 auto;
  animation: fade-in 0.6s ease 0.22s both;
}

/* Section head — used above content blocks on the landing page */
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-hover);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Hero — landing page only */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 780px;
  margin: 0 auto 20px;
  animation: fade-in 0.6s ease 0.1s both;
}

.hero h1 span {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
  animation: fade-in 0.6s ease 0.16s both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  animation: fade-in 0.6s ease 0.22s both;
}

.hero-microtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  animation: fade-in 0.6s ease 0.28s both;
}

/* ---------- 10. Cards ---------- */
.form-container {
  background-color: var(--card-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-card-lg);
  padding: 44px 40px;
  width: 100%;
  max-width: 520px;
  box-shadow:
    0 1px 1px rgba(15, 23, 42, 0.02),
    0 10px 30px -8px rgba(15, 23, 42, 0.12),
    0 30px 60px -20px rgba(22, 163, 74, 0.15);
  border: 1px solid var(--border-color);
  animation: card-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stat-card,
.about-visual,
.program-card,
.step-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.stat-card {
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
}

.stat-number {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-hover);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cta-banner {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 30px 60px -20px rgba(22, 163, 74, 0.45);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  opacity: 0.5;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1rem;
  opacity: 0.92;
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary-hover);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.25);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -8px rgba(0, 0, 0, 0.3);
}

/* ---------- 11. Form elements (registration page) ---------- */
.form-group {
  margin-bottom: 18px;
  animation: fade-in 0.5s ease both;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  color: var(--text-color);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.2s ease;
}

input,
select {
  width: 100%;
  height: 56px;
  padding: 0 16px 0 50px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  color: var(--text-color);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    transform 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

input:hover,
select:hover {
  border-color: #cbd5e1;
}

input:focus,
select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

input:focus + .input-icon,
select:focus ~ .input-icon {
  color: var(--primary-color);
}

.form-group:focus-within label {
  color: var(--primary-hover);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

select:invalid {
  color: #94a3b8;
}

select option {
  color: var(--text-color);
}

a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: none;
}

/* ---------- 12. Nav (landing page) ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary-hover);
}

/* ---------- 13. Sections (landing page) ---------- */
section {
  padding: 88px 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-text .eyebrow {
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.pillars {
  display: flex;
  gap: 28px;
}

.pillar {
  flex: 1;
}

.pillar-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pillar h3 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-visual {
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.15);
  position: relative;
}

.visual-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.visual-row:last-child {
  border-bottom: none;
}

.visual-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.visual-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.visual-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.program-card {
  border-radius: var(--radius-card);
  padding: 26px 22px;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: 0 18px 34px -14px rgba(22, 163, 74, 0.25);
}

.program-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-hover)
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.program-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.program-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  border-radius: var(--radius-card);
  padding: 30px 24px;
  position: relative;
}

.step-number {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-hover);
  background: rgba(22, 163, 74, 0.1);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Channels teaser row (landing page) */
.channels-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.channel-bubble {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.channel-bubble:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: 0 14px 26px -12px rgba(22, 163, 74, 0.25);
}

.bubble-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto 10px;
}

.bubble-icon.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}
.bubble-icon.x {
  background: linear-gradient(135deg, #1f2937, #0f172a);
}
.bubble-icon.linkedin {
  background: linear-gradient(135deg, #0a66c2, #084d92);
}
.bubble-icon.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}
.bubble-icon.discord {
  background: linear-gradient(135deg, #5865f2, #4752c4);
}
.bubble-icon.youtube {
  background: linear-gradient(135deg, #ff4d4d, #cc0000);
}

.channel-bubble span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

/* ---------- 14. Channel grid (channels page) ---------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.channel-card {
  background-color: var(--card-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 1px 1px rgba(15, 23, 42, 0.02),
    0 10px 24px -10px rgba(15, 23, 42, 0.1);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  animation: card-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  overflow: hidden;
}

.channel-card:nth-child(1) {
  animation-delay: 0.06s;
}
.channel-card:nth-child(2) {
  animation-delay: 0.1s;
}
.channel-card:nth-child(3) {
  animation-delay: 0.14s;
}
.channel-card:nth-child(4) {
  animation-delay: 0.18s;
}
.channel-card:nth-child(5) {
  animation-delay: 0.22s;
}
.channel-card:nth-child(6) {
  animation-delay: 0.26s;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow:
    0 1px 1px rgba(15, 23, 42, 0.02),
    0 18px 34px -12px rgba(22, 163, 74, 0.22);
}

.channel-card:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.35);
  outline-offset: 2px;
}

.channel-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-card:hover .channel-icon {
  transform: scale(1.06);
}

.icon-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}
.icon-x {
  background: linear-gradient(135deg, #1f2937, #0f172a);
}
.icon-linkedin {
  background: linear-gradient(135deg, #0a66c2, #084d92);
}
.icon-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}
.icon-discord {
  background: linear-gradient(135deg, #5865f2, #4752c4);
}
.icon-youtube {
  background: linear-gradient(135deg, #ff4d4d, #cc0000);
}

.channel-body {
  flex: 1;
  min-width: 0;
}

.channel-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.channel-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.channel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-hover);
}

.channel-cta svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-card:hover .channel-cta svg {
  transform: translate(3px, -3px);
}

/* ---------- 15. Page shell (channels page) ---------- */
.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}

/* ---------- 16. Footers ---------- */
/* Compact footer note — registration + channels pages */
.footer-note {
  text-align: center;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.footer-note .footer-primary {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 3px;
}

.footer-note .footer-secondary {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Full footer — landing page */
footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-cols {
  display: flex;
  gap: 56px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-color);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-hover);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .channels-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .channel-grid {
    grid-template-columns: 1fr;
  }
  .page-header h1 {
    font-size: 1.9rem;
  }
  .page {
    padding: 56px 20px 72px;
  }
}

@media (max-width: 560px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .channels-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars {
    flex-direction: column;
    gap: 18px;
  }
  section {
    padding: 64px 0;
  }
  .hero {
    padding: 64px 0 48px;
  }
  .cta-banner {
    padding: 48px 24px;
    border-radius: 22px;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-cols {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 32px 22px;
    border-radius: 20px;
  }
  .header h1 {
    font-size: 1.6rem;
  }
  .header p {
    font-size: 0.875rem;
  }
  input,
  select,
  button {
    height: 52px;
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .channel-card {
    padding: 22px;
    gap: 14px;
  }
  .channel-icon {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 340px) {
  .form-container {
    padding: 26px 16px;
  }
}
