/* =========================================================
   WhitePage Technologies — cursor.com-style landing page
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --card: #ffffff;
  --card-2: #f2f5fa;
  --border: rgba(16, 24, 40, 0.10);
  --border-hover: rgba(16, 24, 40, 0.22);
  --text: #0d1424;
  --muted: #566074;
  --muted-2: #8a93a6;
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --accent-3: #0ea5e9;
  --ink: #0d1424;      /* dark panels (code editor / playground) stay dark */
  --ink-soft: #111827;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Background ambience ===== */
.bg-glow {
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 900px;
  background:
    radial-gradient(closest-side, rgba(37, 99, 235, 0.12), transparent 70%),
    radial-gradient(closest-side, rgba(124, 58, 237, 0.10), transparent 70%);
  background-position: 30% 20%, 70% 30%;
  background-repeat: no-repeat;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 24, 40, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

main, .nav, .footer { position: relative; z-index: 1; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1d4fd0; }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--border-hover); background: var(--bg-soft); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ===== Navbar ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 16px rgba(75, 141, 255, 0.35);
}
.brand-mark.small { width: 26px; height: 26px; font-size: 0.7rem; }
.brand-text { font-size: 1.02rem; letter-spacing: -0.3px; }
.brand-accent { color: var(--accent); }
.nav-links { display: flex; gap: 26px; margin-left: 12px; margin-right: auto; }
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px 24px 60px;
  text-align: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
  transition: border-color 0.2s;
}
.pill:hover { border-color: var(--border-hover); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #38d47a; box-shadow: 0 0 10px #38d47a; }
.pill-arrow { color: var(--text); }

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.grad {
  background: linear-gradient(100deg, var(--accent-3), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { color: var(--muted-2); font-size: 0.85rem; }
.hero-highlight {
  color: var(--accent);
  font-weight: 700;
  background: rgba(37, 99, 235, 0.1);
  padding: 3px 10px;
  border-radius: 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Hero visual */
.hero-visual { position: relative; max-width: 860px; margin: 70px auto 0; }
.window {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 24, 40, 0.12);
  background: linear-gradient(180deg, #12151d, #0b0d13);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.18);
  text-align: left;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.window-title { margin-left: 12px; color: var(--muted-2); font-size: 0.8rem; }
.window-body { padding: 22px 24px; }
.code {
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.86rem;
  line-height: 1.85;
  color: #c9d1d9;
  white-space: pre-wrap;
}
.c-key { color: #ff7b9c; } .c-str { color: #7ee787; } .c-com { color: #6e7681; }
.c-fn { color: #79c0ff; } .c-ok { color: #56d364; font-weight: 600; }

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 20px 45px rgba(16, 24, 40, 0.16);
  animation: float 5s ease-in-out infinite;
}
.fc-1 { top: 30%; left: -34px; }
.fc-2 { bottom: 16%; right: -30px; animation-delay: 1.5s; }
.fc-num { font-size: 1.5rem; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.fc-label { font-size: 0.78rem; color: var(--muted); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Strip (cursor-style boxed logos) ===== */
.strip { max-width: var(--max); margin: 90px auto 0; padding: 0 24px; text-align: center; }
.strip-label { color: var(--muted); font-size: 0.9rem; font-weight: 500; margin-bottom: 26px; }
.strip-logos {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.logo-box {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.4px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.logo-box:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}
/* tools strip — smaller text so longer names fit */
.strip-tools .logo-box {
  min-height: 72px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: #334155;
}
.tool-logo {
  height: 30px;
  width: auto;
  max-width: 78%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.logo-box:hover .tool-logo { transform: scale(1.06); }

/* ===== Sections ===== */
.section { max-width: var(--max); margin: 0 auto; padding: 110px 24px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Highlighted / featured section bands */
.section.featured-band {
  position: relative;
  max-width: calc(var(--max) + 48px);
  margin-top: 84px;
  padding: 58px 40px 62px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.055), rgba(37, 99, 235, 0.012));
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.07);
}

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.feature-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  margin-bottom: 18px;
}
.feature-icon img { width: 26px; height: 26px; display: block; }
.feature-card:hover .feature-icon { background: rgba(37, 99, 235, 0.13); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.3px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

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

/* ===== Student Projects ===== */
.projects-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.project-col {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.project-col.major {
  border-color: rgba(75, 141, 255, 0.4);
  background: linear-gradient(180deg, rgba(75, 141, 255, 0.08), var(--bg-soft));
}
.project-col-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.project-col-head h3 { font-size: 1.35rem; letter-spacing: -0.4px; }
.project-col-head span { font-size: 0.8rem; color: var(--accent); font-weight: 600; }
.project-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.project-item:last-child { border-bottom: none; }
.pi-name { font-size: 0.96rem; font-weight: 500; }
.pi-tag {
  font-size: 0.72rem; font-weight: 600; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: 3px 9px; border-radius: 6px; white-space: nowrap;
}
.project-col.major .pi-tag {
  color: var(--accent); border-color: rgba(75, 141, 255, 0.25); background: rgba(75, 141, 255, 0.1);
}

/* ===== Python Playground ===== */
.playground { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.pg-panel {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0e0e12, #08080a);
  overflow: hidden;
}
.pg-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.pg-title { color: #9aa3b2; font-size: 0.82rem; margin-left: 6px; }
.pg-actions { margin-left: auto; display: flex; gap: 8px; }
.pg-status { margin-left: auto; font-size: 0.8rem; color: var(--muted); }
.pg-status.loading { color: var(--accent-3); }
.pg-status.ok { color: #56d364; }
.pg-status.err { color: #ff7b7b; }
#pgCode {
  flex: 1; min-height: 320px; resize: vertical;
  border: none; outline: none; background: transparent;
  color: #c9d1d9; padding: 18px 20px;
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.88rem; line-height: 1.75; tab-size: 4;
}
.pg-output {
  flex: 1; min-height: 320px; margin: 0; padding: 18px 20px;
  color: #c9d1d9; overflow: auto;
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.88rem; line-height: 1.75;
  white-space: pre-wrap; word-break: break-word;
}
.pg-output:empty::before { content: "▶ Press Run to see the output here."; color: var(--muted-2); }
.pg-output .pg-err { color: #ff7b7b; }
.pg-note { text-align: center; color: var(--muted-2); font-size: 0.85rem; margin-top: 18px; }

/* ===== Highlight ===== */
.highlight {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, rgba(75, 141, 255, 0.08), rgba(138, 92, 255, 0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  margin-top: 110px;
}
.highlight-text .eyebrow { margin-bottom: 12px; }
.highlight-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 16px; }
.highlight-text p { color: var(--muted); margin-bottom: 26px; font-size: 1.05rem; }
.highlight-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04); }
.stat-num { font-size: 2.4rem; font-weight: 800; letter-spacing: -1.5px; }
.stat-plus { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.stat small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

/* ===== Workshops ===== */
.workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.workshop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.25s ease, border-color 0.25s;
}
.workshop-card:hover { transform: translateY(-5px); border-color: var(--border-hover); }
.workshop-card.featured {
  border-color: rgba(75, 141, 255, 0.5);
  background: linear-gradient(180deg, rgba(75, 141, 255, 0.1), var(--bg-soft));
  box-shadow: 0 30px 80px rgba(75, 141, 255, 0.12);
}
.wc-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.04em;
}
.wc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.wc-tag { font-size: 0.75rem; font-weight: 600; color: var(--accent); background: rgba(75,141,255,0.12); padding: 4px 10px; border-radius: 6px; }
.wc-dur { font-size: 0.82rem; color: var(--muted-2); }
.workshop-card h3 { font-size: 1.3rem; letter-spacing: -0.4px; margin-bottom: 10px; }
.workshop-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.wc-list { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.wc-list li { color: var(--text); font-size: 0.9rem; padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--border); }
.wc-list li:first-child { border-top: none; }
.wc-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.wc-foot { display: flex; align-items: center; justify-content: space-between; }
.wc-price { font-size: 1.6rem; font-weight: 800; letter-spacing: -1px; }

/* ===== Seminars ===== */
.seminar-list { display: flex; flex-direction: column; gap: 14px; }
.seminar-row {
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.seminar-row:hover { border-color: var(--border-hover); transform: translateX(4px); }
.sem-date {
  display: grid; place-items: center;
  width: 66px; height: 66px; flex-shrink: 0;
  border-radius: 14px;
  background: rgba(75,141,255,0.1);
  border: 1px solid rgba(75,141,255,0.22);
}
.sem-day { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.sem-mon { font-size: 0.72rem; color: var(--accent); font-weight: 700; letter-spacing: 0.08em; }
.sem-info { flex-grow: 1; }
.sem-info h3 { font-size: 1.1rem; margin-bottom: 4px; letter-spacing: -0.3px; }
.sem-info p { color: var(--muted); font-size: 0.92rem; margin-bottom: 6px; }
.sem-meta { font-size: 0.82rem; color: var(--muted-2); }

/* ===== Founder ===== */
.founder-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 46px;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-soft), rgba(37, 99, 235, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.founder-photo { position: relative; }
.founder-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  filter: saturate(1.03);
}
.founder-award {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(37, 99, 235, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff; font-size: 0.8rem; font-weight: 600;
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.founder-bio h3 { font-size: 1.9rem; letter-spacing: -0.6px; margin-bottom: 6px; }
.founder-role { font-weight: 600; margin-bottom: 18px; color: var(--text); }
.founder-bio p { color: var(--muted); margin-bottom: 14px; }
.founder-bio strong { color: var(--text); }
.founder-signature { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.founder-sign-logo { height: 34px; width: auto; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.team-card.featured {
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), var(--bg-soft));
}
.team-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-size: 2rem; font-weight: 800; letter-spacing: -1px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.22);
  overflow: hidden;
}
.team-avatar.av-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); box-shadow: 0 10px 26px rgba(236, 72, 153, 0.22); }
.team-avatar.av-teal { background: linear-gradient(135deg, #0ea5e9, #14b8a6); box-shadow: 0 10px 26px rgba(14, 165, 233, 0.22); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.25rem; letter-spacing: -0.3px; margin-bottom: 4px; }
.team-role { color: var(--accent); font-weight: 600; font-size: 0.92rem; margin-bottom: 12px; }
.team-bio { color: var(--muted); font-size: 0.92rem; }
.team-brand { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: center; }
.team-brand img { height: 26px; width: auto; opacity: 0.9; }

/* ===== Events gallery (marquee) ===== */
.gallery-head { padding-bottom: 0; }
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 10px 0 6px;
  margin-top: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img {
  height: 270px;
  width: auto;
  margin-right: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.1);
  object-fit: cover;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ===== Testimonials ===== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.testi blockquote { color: var(--text); font-size: 1rem; line-height: 1.6; margin-bottom: 22px; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.av {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
}
.testi figcaption strong { display: block; font-size: 0.92rem; }
.testi figcaption small { color: var(--muted-2); font-size: 0.82rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 12px;
  padding: 0 22px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(37, 99, 235, 0.28); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 0 20px; color: var(--muted); font-size: 0.98rem; }
.faq-a p { margin: 0; }

/* ===== CTA ===== */
.cta { max-width: var(--max); margin: 120px auto 0; padding: 0 24px; }
.cta-inner {
  text-align: center;
  background:
    radial-gradient(closest-side at 50% 0%, rgba(37, 99, 235, 0.13), transparent 70%),
    linear-gradient(180deg, var(--bg-soft), #ffffff);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 64px 40px;
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.06);
}
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-inner > p { color: var(--muted); font-size: 1.08rem; max-width: 500px; margin: 0 auto 34px; }
.cta-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 720px; margin: 0 auto; }
.cta-form input, .cta-form select {
  flex: 1 1 200px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: border-color 0.2s;
}
.cta-form input::placeholder { color: var(--muted-2); }
.cta-form input:focus, .cta-form select:focus { outline: none; border-color: var(--accent); }
.cta-form select { color: var(--muted); cursor: pointer; }
.cta-form .btn { flex: 1 1 100%; }
.cta-note { color: var(--muted-2); font-size: 0.85rem; margin-top: 18px; }
.cta-note.success { color: #56d364; font-weight: 600; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); margin-top: 64px; padding: 48px 24px 30px; scroll-margin-top: 84px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px;
}
.footer-logo { width: 170px; height: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  color: var(--muted-2); font-size: 0.85rem;
}
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: var(--muted); transition: color 0.2s; }
.footer-social a:hover { color: var(--text); }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */

/* Tablet & below — hide the floating hero cards so they don't clip */
@media (max-width: 1024px) {
  .float-card { display: none; }
}

@media (max-width: 940px) {
  .feature-grid, .workshop-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-logos { grid-template-columns: repeat(4, 1fr); }
  .highlight { grid-template-columns: 1fr; padding: 40px; gap: 34px; }
  .founder-card { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .founder-photo { max-width: 260px; margin: 0 auto; }
  .founder-signature { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 88px; }
  .cta { margin-top: 96px; }
  .hero-visual { margin-top: 56px; }
}

@media (max-width: 720px) {
  /* Nav */
  .nav-inner { gap: 12px; padding: 12px 18px; }
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); padding: 10px 24px 20px; margin: 0;
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.1);
  }
  .nav.open .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-actions .btn-ghost { display: none; }
  /* Hamburger → X animation */
  .nav-toggle span { transition: transform 0.3s ease, opacity 0.2s ease; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Layout */
  .feature-grid, .workshop-grid, .testi-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .projects-wrap { grid-template-columns: 1fr; }
  .playground { grid-template-columns: 1fr; }
  #pgCode, .pg-output { min-height: 240px; font-size: 16px; } /* 16px avoids iOS zoom */
  .strip-logos { grid-template-columns: repeat(2, 1fr); }
  .logo-box { min-height: 72px; font-size: 1rem; }
  .section.featured-band { margin-left: 14px; margin-right: 14px; padding: 40px 20px 46px; border-radius: 22px; }
  .brand-logo { height: 52px; }
  .marquee img { height: 200px; margin-right: 14px; }
  .highlight-stats { grid-template-columns: 1fr 1fr; }
  .seminar-row { flex-direction: column; text-align: center; gap: 14px; }
  .sem-info { text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Spacing */
  .hero { padding-top: 118px; }
  .section { padding-top: 76px; }
  .highlight { padding: 34px 24px; }
  .cta-inner { padding: 48px 26px; }

  /* Prevent iOS auto-zoom on input focus (needs >=16px) */
  .cta-form input, .cta-form select { font-size: 16px; }
}

@media (max-width: 480px) {
  /* Nav fits tiny screens */
  .nav-inner { padding: 12px 14px; gap: 10px; }
  .brand-logo { height: 40px; padding: 6px 11px; }
  .nav-actions .btn-primary { padding: 9px 15px; font-size: 0.85rem; }

  /* Hero */
  .hero { padding: 108px 18px 40px; }
  .hero-title { font-size: 2.15rem; line-height: 1.08; }
  .hero-title br { display: none; }
  .hero-sub { font-size: 1rem; }
  .pill { font-size: 0.78rem; }

  /* Sections */
  .section { padding-left: 18px; padding-right: 18px; }
  .strip { padding-left: 18px; padding-right: 18px; }
  .cta { padding-left: 18px; padding-right: 18px; }
  .section-head { margin-bottom: 40px; }
  .domain-grid { grid-template-columns: 1fr; }
  .project-col { padding: 24px 20px; }

  /* Stats */
  .highlight-stats { gap: 12px; }
  .stat { padding: 20px 12px; }
  .stat-num { font-size: 2rem; }

  /* Cards */
  .founder-card { padding: 26px 20px; }
  .founder-bio h3 { font-size: 1.6rem; }
  .cta-inner { padding: 42px 20px; }
  .cta-inner h2 { font-size: 1.9rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}
