/* =============================================
   UNISONPATH — DESIGN SYSTEM
   Palette: Deep Navy + Cyan + Violet
   Fonts: Playfair Display (serif) + Inter (sans)
============================================= */

:root {
  --bg:           #060C18;
  --bg-surface:   #0B1222;
  --bg-elevated:  #101A2E;
  --border:       rgba(99,179,237,0.08);
  --border-light: rgba(99,179,237,0.15);

  --stone-100:    #E2EAF4;
  --stone-300:    #A8BDD6;
  --stone-400:    #7A9BBF;
  --stone-500:    #527AAA;
  --stone-700:    #243550;

  --gold:         #22D3EE;
  --gold-light:   #67E8F9;
  --gold-glow:    rgba(34,211,238,0.15);

  --text-primary:   #EEF2FF;
  --text-secondary: #8BA4C4;
  --text-muted:     #3D5470;

  --green:  #34D399;
  --amber:  #FBBF24;
  --red:    #F87171;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
  --shadow-float: 0 4px 24px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* CONTAINER */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: #060C18;
  font-weight: 600;
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(34,211,238,0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--stone-300);
  border: 1px solid var(--border-light);
}
.btn--ghost:hover {
  border-color: var(--stone-400);
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

/* =============================================
   NAVIGATION
============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(9,9,14,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 32px; height: 32px;
  background: var(--gold);
  color: #060C18;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}
.nav__links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 80%);
}
.hero__glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__glow--left {
  background: rgba(34,211,238,0.08);
  top: -100px; left: -200px;
}
.hero__glow--right {
  background: rgba(129,140,248,0.07);
  top: 0; right: -200px;
}
.hero > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.badge__dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero__heading {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero__heading em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: left; }
.stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

/* HERO VISUAL / DASHBOARD CARDS */
.hero__visual {
  position: relative;
  height: 480px;
}
.dashboard-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.dashboard-card--main {
  position: absolute;
  top: 0; left: 0; right: 60px;
}
.dashboard-card--float {
  position: absolute;
  box-shadow: var(--shadow-float);
}
.dashboard-card--predictor {
  bottom: 20px; right: 0;
  width: 180px;
  text-align: center;
  background: var(--bg-surface);
}
.dashboard-card--activity {
  bottom: 20px; left: -20px;
  width: 210px;
  background: var(--bg-surface);
}
.dashboard-card__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.dc__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dc__dot--green { background: var(--green); }
.dc__dot--amber { background: var(--amber); }
.dc__dot--red   { background: var(--red); }
.dc__title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 6px;
  letter-spacing: 0.03em;
}
.dc__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.dc__avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--stone-500));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #060C18;
  flex-shrink: 0;
}
.dc__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.dc__grade {
  font-size: 11px;
  color: var(--text-muted);
}
.dc__gpa {
  margin-left: auto;
  text-align: right;
}
.dc__gpa-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.dc__gpa-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dc__courses { display: flex; flex-direction: column; gap: 10px; }
.dc__course-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
}
.dc__course-row span:first-child { width: 130px; flex-shrink: 0; }
.dc__bar {
  flex: 1;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}
.dc__fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 1s ease;
}
.dc__fill--amber { background: var(--stone-400); }
.dc__pct { font-size: 11px; color: var(--text-muted); width: 32px; text-align: right; }

/* predictor card */
.predictor__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.predictor__uni {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.predictor__ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}
.predictor__ring svg { transform: rotate(-90deg); }
.ring__track {
  fill: none;
  stroke: var(--border-light);
  stroke-width: 7;
}
.ring__fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease;
}
.predictor__pct {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

/* activity card */
.activity__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.activity__items { display: flex; flex-direction: column; gap: 8px; }
.activity__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}
.activity__icon { font-size: 14px; }

/* =============================================
   SECTION HEADERS (shared)
============================================= */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-heading em {
  font-style: italic;
  color: var(--gold);
}
.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   FEATURES
============================================= */
.features {
  padding: 120px 0;
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.feature-card:hover {
  border-color: rgba(34,211,238,0.25);
  transform: translateY(-3px);
}
.feature-card--accent {
  background: linear-gradient(135deg, rgba(34,211,238,0.06) 0%, var(--bg-surface) 60%);
  border-color: rgba(34,211,238,0.18);
}
.feature-card__icon {
  width: 52px; height: 52px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 20px;
}
.feature-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.feature-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.feature-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-card__bullets li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.feature-card__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 1px;
  background: var(--gold);
}

/* =============================================
   HOW IT WORKS
============================================= */
.how {
  padding: 120px 0;
  position: relative;
}
.how::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}
.how__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.how__step {
  flex: 1;
  padding: 0 32px;
  text-align: center;
}
.how__step-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: rgba(34,211,238,0.15);
  line-height: 1;
  margin-bottom: 16px;
}
.how__step-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.how__step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.how__connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-light), rgba(34,211,238,0.3), var(--border-light));
  margin-top: 28px;
  flex-shrink: 0;
}

/* =============================================
   ROLES
============================================= */
.roles {
  padding: 120px 0;
  position: relative;
}
.roles::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}
.roles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.role-card:hover {
  border-color: rgba(34,211,238,0.25);
  transform: translateY(-3px);
}
.role-card--center {
  background: linear-gradient(160deg, rgba(34,211,238,0.07) 0%, var(--bg-surface) 70%);
  border-color: rgba(34,211,238,0.2);
}
.role-card__icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}
.role-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.role-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   CTA BANNER
============================================= */
.cta-banner {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}
.cta-banner__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(34,211,238,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner__inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-banner__heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-banner__sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-banner__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
============================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-surface);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 260px;
}
.footer__links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--text-primary); }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* =============================================
   ANIMATIONS (on scroll)
============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
  .hero > .container {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .hero__visual { height: 400px; }
  .dashboard-card--main { right: 0; }
  .features__grid { grid-template-columns: 1fr; }
  .roles__grid { grid-template-columns: 1fr; }
  .how__steps { flex-direction: column; align-items: center; gap: 32px; }
  .how__connector { width: 1px; height: 40px; margin: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__links-group { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav__links, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
  .hero { padding: 120px 0 80px; }
  .hero__visual { display: none; }
  .footer__links-group { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
