/* Merge Campus — organization website styles */

:root {
  --bg: #070b14;
  --bg-2: #0a0f1b;
  --panel: #0e1424;
  --panel-2: #121a2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f1ea;
  --muted: #a6acb8;
  --muted-2: #767d8b;
  --gold: #8e93f8;
  --gold-soft: #aab0fc;
  --teal: #6fd6c0;
  --purple: #c084fc;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1080px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Montserrat", var(--font-sans);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124, 131, 245, 0.13), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(95, 130, 210, 0.10), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

p { color: var(--muted); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: block;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(91, 83, 224, 0.28);
}
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text) !important;
}
.nav-cta:hover { border-color: var(--gold); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 42px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(140deg, #8b8ff7, #5b53e0);
  color: #ffffff;
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  padding: 92px 0 72px;
  position: relative;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin: 0 0 22px;
  max-width: 16ch;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--gold-soft), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-meta .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--text);
}
.hero-meta .stat span { font-size: 14px; color: var(--muted-2); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; }
.section-head p { font-size: 18px; margin: 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
  background: rgba(124, 131, 245, 0.14);
  border: 1px solid rgba(124, 131, 245, 0.28);
}
.card h3 { font-size: 20px; margin: 0 0 10px; }
.card p { margin: 0; font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(140deg, #7c83f5, #5b53e0);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { font-size: 14.5px; margin: 0; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.split.reverse > .split-media { order: -1; }
.split-media.device {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  display: grid;
  place-items: center;
}
.split-media.device img {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.55));
}
.split-media {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  min-height: 280px;
  box-shadow: var(--shadow);
}
.split h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 16px; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--muted);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* mock UI inside media */
.mock-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.mock-row:last-child { margin-bottom: 0; }
.mock-avatar {
  width: 42px; height: 42px; border-radius: 999px; flex: none;
  background: linear-gradient(140deg, var(--teal), #3f9d8a);
  display: grid; place-items: center; font-weight: 700; color: #06201b;
}
.mock-row .who { font-weight: 600; color: var(--text); font-size: 15px; }
.mock-row .sub { font-size: 13px; color: var(--muted-2); }
.badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  border: 1px solid rgba(111,214,192,0.3);
  background: rgba(111,214,192,0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- CTA band ---------- */
.cta-band {
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(140deg, rgba(124,131,245,0.16), rgba(22,168,152,0.10));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 56px 32px;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 14px; }
.cta-band p { max-width: 52ch; margin: 0 auto 26px; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 56px 0 36px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-grid h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 16px;
}
.footer-grid a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--text); text-decoration: none; }
.footer-about p { font-size: 15px; max-width: 40ch; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 14px;
}

/* ---------- Article / legal pages ---------- */
.page-hero {
  padding: 64px 0 28px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 12px; }
.page-hero p { font-size: 18px; margin: 0; max-width: 60ch; }
.article { padding: 48px 0 64px; }
.article-wrap { max-width: 760px; }
.article h2 { font-size: 24px; margin: 38px 0 12px; }
.article h3 { font-size: 19px; margin: 26px 0 8px; }
.article p, .article li { color: var(--muted); font-size: 16.5px; }
.article ul { padding-left: 20px; }
.article li { margin-bottom: 8px; }
.toc {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 36px;
}
.toc h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.toc a { display: block; margin-bottom: 7px; font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.contact-card h3 { font-size: 18px; margin: 0 0 6px; }
.contact-card p { margin: 0 0 6px; font-size: 15px; }
.contact-card a { font-weight: 600; }

/* FAQ */
.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; font-size: 15.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-cta { text-align: center; margin-top: 10px; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 24px; }
}
