/* Connects University — landing page (dark glass, matches the app) */
:root {
  --bg: #0b1026;
  --text: #eef1ff;
  --heading: #f7f8ff;
  --muted: rgba(226, 232, 255, 0.68);
  --border: rgba(255, 255, 255, 0.12);
  --edge: rgba(255, 255, 255, 0.22);
  --card: rgba(255, 255, 255, 0.055);
  --teal: #04c8c7;
  --teal-text: #5eeae4;
  --grad: linear-gradient(135deg, #3ee6e2 0%, #04c8c7 45%, #6f86ff 100%);
  --on-grad: #06112a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
code { font-size: 0.92em; color: var(--teal-text); }

.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: 0.35; }
.aurora i:first-child { background: #04c8c7; top: -25vmax; left: -15vmax; }
.aurora i:last-child { background: #5263d8; bottom: -30vmax; right: -20vmax; opacity: 0.4; }

/* nav */
.nav {
  position: sticky; top: 12px; z-index: 10;
  display: flex; align-items: center; gap: 18px;
  width: min(1120px, calc(100% - 24px)); margin: 12px auto 0; padding: 10px 12px 10px 18px;
  border: 1px solid var(--border); border-radius: 22px;
  background: rgba(14, 20, 48, 0.62); backdrop-filter: saturate(170%) blur(20px); -webkit-backdrop-filter: saturate(170%) blur(20px);
  box-shadow: inset 0 1px 0 var(--edge), 0 18px 50px -20px rgba(2, 4, 18, 0.8);
}
.brand img { display: block; height: 34px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 16px;
  font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--teal-text); outline-offset: 3px; }
.btn-primary { background: var(--grad); color: var(--on-grad); box-shadow: 0 14px 34px -12px rgba(4, 200, 199, 0.7); }
.btn-glass { border: 1px solid var(--border); background: var(--card); box-shadow: inset 0 1px 0 var(--edge); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 13px; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px;
  width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0 40px;
}
.kicker { display: inline-block; padding: 6px 12px; border: 1px solid rgba(94, 234, 228, 0.35); border-radius: 999px; background: rgba(4, 200, 199, 0.1); color: var(--teal-text); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
h1 { margin: 18px 0 16px; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; color: var(--heading); font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0; max-width: 560px; font-size: 18px; color: var(--muted); }
.lead.small { font-size: 17px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stores { display: flex; gap: 10px; margin-top: 22px; }
.store { display: grid; padding: 8px 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(0, 0, 0, 0.25); line-height: 1.25; }
.store b { font-size: 14px; }
.store small { font-size: 11px; color: var(--muted); }

/* phone mockup */
.phone {
  justify-self: center; width: 300px; aspect-ratio: 9 / 19; padding: 10px;
  border-radius: 46px; background: linear-gradient(160deg, #2a3463, #0d1330);
  box-shadow: 0 40px 90px -30px rgba(4, 200, 199, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: rotate(3deg);
}
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 38px; background: #050816; display: flex; flex-direction: column; }
.chips { display: flex; gap: 6px; padding: 14px 10px 8px; overflow: hidden; font-size: 10px; white-space: nowrap; }
.chips span { padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; }
.chips .on { background: var(--grad); color: var(--on-grad); border-color: transparent; font-weight: 700; }
.reel { position: relative; flex: 1; margin: 0 6px; border-radius: 22px; background: radial-gradient(circle at 50% 35%, #1a4a6b, #0b1a33 70%); overflow: hidden; }
.tag { position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; background: rgba(4, 200, 199, 0.25); border: 1px solid rgba(94, 234, 228, 0.4); }
.reel-title { position: absolute; top: 34%; left: 0; right: 0; text-align: center; font-size: 26px; font-weight: 800; line-height: 1.1; }
.reel-title em { display: block; font-style: normal; font-size: 16px; color: var(--teal-text); margin-top: 6px; }
.reel-side { position: absolute; right: 10px; bottom: 70px; display: grid; gap: 12px; text-align: center; font-style: normal; }
.reel-side i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-style: normal; font-size: 14px; position: relative; }
.reel-side small { position: absolute; top: 37px; font-size: 9px; color: var(--muted); }
.reel-who { position: absolute; left: 12px; bottom: 52px; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; font-size: 12px; }
.reel-who .av { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: var(--on-grad); font-weight: 800; font-size: 11px; }
.reel-who small { color: var(--muted); font-size: 10px; }
.tick { display: inline-grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: #3b82f6; font-size: 8px; color: #fff; }
.reel-cap { position: absolute; left: 12px; right: 56px; bottom: 16px; margin: 0; font-size: 11px; }
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.12); }
.bar i { display: block; width: 45%; height: 100%; background: var(--teal); animation: play 6s linear infinite; }
@keyframes play { from { width: 0; } to { width: 100%; } }
.tabbar { display: flex; justify-content: space-around; align-items: center; padding: 10px 6px 16px; font-size: 10px; color: var(--muted); }
.tabbar .on { color: var(--text); font-weight: 700; }
.tabbar .plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--grad); color: var(--on-grad); font-size: 18px; font-weight: 800; }

/* sections */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  width: min(1120px, calc(100% - 32px)); margin: 24px auto; overflow: hidden;
  border: 1px solid var(--border); border-radius: 22px; background: var(--border);
}
.strip div { display: grid; gap: 2px; padding: 20px; background: rgba(12, 18, 44, 0.92); text-align: center; }
.strip b { font-size: 22px; color: var(--heading); }
.strip span { font-size: 13px; color: var(--muted); }
.section { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 8px; }
.section h2, .final h2 { margin: 0 0 22px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; color: var(--heading); }
.cards { display: grid; gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: var(--card); box-shadow: inset 0 1px 0 var(--edge); backdrop-filter: blur(16px); }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--heading); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 11px; background: var(--grad); color: var(--on-grad); font-weight: 800; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding: 16px 18px 16px 48px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(4, 200, 199, 0.2); color: var(--teal-text); font-weight: 800; font-size: 12px; }
.checks b { color: var(--text); }
.mission blockquote { margin: 0; padding: 30px; border: 1px solid rgba(94, 234, 228, 0.3); border-radius: 24px; background: linear-gradient(145deg, rgba(4, 200, 199, 0.1), rgba(111, 124, 255, 0.08)); font-size: 20px; line-height: 1.55; color: var(--heading); }
.mission cite { display: block; margin-top: 16px; font-size: 14px; font-style: normal; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--teal-text); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); }
.final { width: min(1120px, calc(100% - 32px)); margin: 64px auto 0; padding: 48px 24px; text-align: center; border: 1px solid var(--border); border-radius: 28px; background: var(--card); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; width: min(1120px, calc(100% - 32px)); margin: 40px auto 0; padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 36px; }
  .phone { width: 250px; transform: none; }
  .cards.three, .split { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .brand img { height: 28px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .cta-row { flex-direction: column; }
  .mission blockquote { font-size: 17px; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar i { animation: none; }
  .btn { transition: none; }
}

/* Android APK download (shown by landing-apk.js) */
.apk { margin-top: 16px; display: grid; justify-items: start; gap: 6px; }
.apk[hidden] { display: none; }
.apk-btn { display: inline-flex; align-items: center; gap: 8px; }
.apk-meta { font-size: 12px; color: var(--muted); }
.apk-help { font-size: 13px; color: var(--muted); max-width: 420px; }
.apk-help summary { cursor: pointer; color: var(--teal-text, #5eeae4); font-weight: 700; }
.apk-help ol { margin: 8px 0 6px; padding-left: 18px; display: grid; gap: 4px; }
.apk-help p { margin: 4px 0 0; font-size: 12px; }
.apk-btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
