/* ============================================================
   GCM — Design System (Phase 1)
   White + light blue, bubbly, high-end, mobile-first
   ============================================================ */

:root {
  /* Brand palette */
  --blue-50:  #f0f7ff;
  --blue-100: #e0efff;
  --blue-200: #c2dfff;
  --blue-300: #93c5fd;
  --blue-400: #60b0fb;
  --blue-500: #3b95f6;
  --blue-600: #2b7de0;
  --sky:      #8fd3ff;
  --cyan:     #67e8f9;

  --ink:      #0e2238;   /* deep navy text */
  --ink-soft: #5b7088;   /* muted secondary text */
  --line:     #e6eef8;
  --white:    #ffffff;

  --bg-grad: radial-gradient(1200px 600px at 80% -10%, var(--blue-100), transparent 60%),
             radial-gradient(900px 500px at -10% 10%, #eaf6ff, transparent 55%);

  --shadow-sm: 0 2px 10px rgba(43, 125, 224, 0.08);
  --shadow-md: 0 12px 30px rgba(43, 125, 224, 0.12);
  --shadow-lg: 0 24px 60px rgba(43, 125, 224, 0.18);

  --radius:   22px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  background-image: var(--bg-grad);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-text strong { font-family: var(--font-display); }

/* ---------- Floating bubbles ---------- */
.bubbles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), var(--sky));
  opacity: 0.35;
  filter: blur(1px);
  animation: float 18s ease-in-out infinite;
}
.b1 { width: 180px; height: 180px; left: -40px;  top: 12%;  animation-duration: 22s; }
.b2 { width: 120px; height: 120px; left: 75%;    top: 8%;   background: radial-gradient(circle at 30% 30%, #fff, var(--cyan)); animation-duration: 26s; }
.b3 { width: 90px;  height: 90px;  left: 18%;    top: 60%;  animation-duration: 20s; }
.b4 { width: 220px; height: 220px; left: 82%;    top: 55%;  opacity: 0.22; animation-duration: 30s; }
.b5 { width: 70px;  height: 70px;  left: 45%;    top: 80%;  animation-duration: 17s; }
.b6 { width: 140px; height: 140px; left: 5%;     top: 88%;  opacity: 0.25; animation-duration: 24s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  33%      { transform: translateY(-30px) translateX(15px) scale(1.05); }
  66%      { transform: translateY(20px) translateX(-10px) scale(0.97); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.4);
}
.brand-mark-inner {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.brand-text em { font-style: normal; font-size: 12px; color: var(--ink-soft); letter-spacing: 1.5px; text-transform: uppercase; }

.nav {
  display: flex;
  gap: 6px;
  justify-content: center;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 5px;
  border-radius: var(--radius-pill);
}
.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (max-width: 430px) {
  .site-header { padding: 10px 10px; }
  .nav { gap: 2px; padding: 4px; }
  .nav-link { padding: 9px 13px; font-size: 14px; }
}
.nav-link:hover { color: var(--blue-600); background: var(--blue-50); }
.nav-link.active { color: #fff; background: linear-gradient(135deg, var(--blue-400), var(--blue-600)); box-shadow: var(--shadow-sm); }

/* ---------- Layout ---------- */
main {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px 40px;
}

/* ---------- Hero ---------- */
.hero { padding: 46px 0 26px; text-align: center; }
.hero-inner { max-width: 720px; margin: 0 auto; }
.welcome-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}
.hero-logo {
  display: block;
  height: auto;
  margin: 0 auto 16px;
}
.pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0 0 16px;
  font-weight: 800;
}
.welcome-pre {
  display: block;
  margin-bottom: 6px;
}
.hero h1 .grad {
  display: block;
  line-height: 1.18;
  padding-bottom: 0.12em;
}
.grad {
  background: linear-gradient(120deg, #2b7de0, #4aa0f2, #2f86ec, #1e6fd6);
  background-size: 280% 280%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 8s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.lede { font-size: clamp(1rem, 2.6vw, 1.18rem); color: var(--ink-soft); margin: 0 auto 26px; max-width: 560px; }

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-ghost {
  color: var(--blue-600);
  background: #fff;
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--blue-50); transform: translateY(-2px); }

/* ---------- Page sections (single scrolling page) ---------- */
.tab-panel {
  display: block;
  scroll-margin-top: 78px; /* offset for the sticky header when jumping via tabs */
  padding-top: 26px;
  padding-bottom: 38px;
}
#tab-about, #tab-contact, #tab-partners {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

/* ---------- Partners ---------- */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 30px;
  width: 240px;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.partner-logo {
  display: grid;
  place-items: center;
  height: 96px;
}
.partner-logo img {
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
}
.partner-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

/* ---------- Scroll / tab reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 0.68, 0.18, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.section-head { text-align: center; margin: 14px 0 26px; }
.section-head h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin: 0 0 6px; letter-spacing: -0.5px; }
.muted { color: var(--ink-soft); margin: 0; }

/* ---------- Creator cards ---------- */
.creator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.creator-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-top: 4px solid var(--accent, var(--blue-400));
}
.creator-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent, var(--blue-300));
}
.card-cover {
  height: 84px;
  background:
    radial-gradient(circle at 80% -20%, #fff6, transparent 50%),
    linear-gradient(135deg, var(--accent, var(--blue-400)), var(--accent-soft, var(--blue-100)));
}
.card-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: -38px auto 0;
  display: grid; place-items: center;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
  color: var(--accent-text, var(--blue-600));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.card-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.card-body { padding: 12px 20px 22px; text-align: center; }
.card-top { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 6px; }
.card-top h3 { margin: 6px 0 0; font-size: 1.25rem; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600;
  color: var(--accent-text, var(--blue-600));
  background: var(--accent-soft, var(--blue-50));
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}
.badge .check {
  display: grid; place-items: center;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent-text, var(--blue-500)); color: #fff; font-size: 9px;
}
.niche {
  display: inline-block;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  color: var(--ink-soft);
  margin: 2px 0 10px;
}
.bio { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 16px; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.followers { font-size: 0.9rem; color: var(--ink-soft); }
.followers strong { color: var(--ink); font-size: 1rem; }
.yt {
  text-decoration: none;
  font-size: 0.9rem; font-weight: 600;
  color: var(--btn-text, #fff);
  background: var(--accent, var(--blue-500));
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.yt:hover { opacity: 0.9; transform: translateY(-1px); }

.empty-state {
  text-align: center; color: var(--ink-soft); font-size: 0.95rem;
  margin: 30px 0; padding: 30px;
  border: 1px dashed var(--blue-200); border-radius: var(--radius);
  background: var(--blue-50);
}

/* ---------- Prose cards (about/contact placeholders) ---------- */
.prose-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
}

/* ---------- About section ---------- */
.about-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.about-lead p { font-size: 1.12rem; color: var(--ink); line-height: 1.6; }
.about-h { margin: 0 0 10px; font-size: 1.2rem; color: var(--ink); }
.about-close { text-align: center; }
.about-close p { font-size: 1.05rem; color: var(--ink); margin-bottom: 20px; }

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-ico {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  font-size: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  margin-bottom: 12px;
}
.value-card h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.value-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

@media (min-width: 700px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contact section ---------- */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 38px 28px;
  text-align: center;
}
.contact-ico {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  font-size: 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  margin-bottom: 18px;
}
.contact-card h3 { margin: 0 0 12px; font-size: 1.4rem; }
.contact-card > p { color: var(--ink-soft); margin: 0 auto 24px; max-width: 420px; }
.contact-btn { display: inline-block; text-decoration: none; }
.contact-email { font-size: 0.92rem; color: var(--ink-soft); margin: 20px 0 0 !important; }
.contact-email a { color: var(--blue-600); font-weight: 600; text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 48px 18px 48px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
}
.footer-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.footer-logo {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: block;
  box-shadow: var(--shadow-sm);
}
.footer-lockup .brand-text strong { font-size: 17px; }
.footer-copy { font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (min-width: 700px) {
  .creator-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header { padding: 14px 28px; }
  main { padding: 0 28px 40px; }
}
@media (min-width: 1000px) {
  .creator-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; }
  .grad { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
