/* ============================================================
   SIAMA Unasman — Landing Page (Bootstrap 5 · Light + Blue Gradient)
   ============================================================ */
:root {
  --blue: #1e40af;
  --blue-light: #3b82f6;
  --teal: #0f766e;
  --teal-light: #2dd4bf;
  --indigo: #4f46e5;
  --purple: #7c3aed;

  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f1f6ff;

  --grad: linear-gradient(135deg, #1e40af, #0f766e);
  --grad-blue: linear-gradient(135deg, #2563eb, #38bdf8);
  --grad-text: linear-gradient(135deg, #1e40af 0%, #0ea5e9 50%, #0f766e 100%);
  --radius: 16px;
  --shadow: 0 18px 48px rgba(30, 64, 175, 0.1);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(900px 480px at -5% 5%, rgba(30, 64, 175, 0.1), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  overflow-x: hidden;
}

/* Full-width fluid container: fills laptop/desktop screens, no empty gutters */
.container {
  width: 100%;
  max-width: 100%;
  padding-left: clamp(20px, 5vw, 90px);
  padding-right: clamp(20px, 5vw, 90px);
  margin-left: auto;
  margin-right: auto;
}
/* Cap only on very wide screens so content doesn't stretch awkwardly */
@media (min-width: 1700px) {
  .container { max-width: 1640px; padding-left: 40px; padding-right: 40px; }
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.py-section { padding: clamp(64px, 7vw, 110px) 0; }

/* ─── Buttons ─── */
.btn-grad {
  background: var(--grad-blue); border: none; color: #fff;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.3);
}
.btn-grad:hover { color: #fff; filter: brightness(1.07); transform: translateY(-2px); }
.btn-soft {
  background: #eaf1ff; color: var(--blue); border: 1px solid #d6e4ff; font-weight: 600;
}
.btn-soft:hover { background: #dbe8ff; color: var(--blue); }
.btn-xl { padding: 14px 30px; font-size: 16px; border-radius: 14px; font-weight: 700; }

/* ─── Navbar ─── */
.site-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-nav.scrolled { box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08); background: rgba(255,255,255,0.97); }
.site-nav { width: 100%; }
.site-nav__inner { min-height: 64px; }
.logo-siama { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.3px; }
.logo-unasman { font-size: 11px; color: var(--muted); font-weight: 600; }
.navbar__links { display: flex; align-items: center; gap: 6px; }
.nav-link { color: var(--ink-soft); font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 9px; text-decoration: none; transition: all .2s ease; }
.nav-link:hover { color: var(--blue); background: #eef4ff; }
.lang-switcher { display: inline-flex; background: #eef2f7; border-radius: 9px; padding: 3px; }
.lang-btn { border: none; background: transparent; color: var(--muted); font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 7px; cursor: pointer; transition: all .2s ease; }
.lang-btn.active { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: .3s; }

/* ─── Hero ─── */
.hero { position: relative; padding: 130px 0 80px; overflow: hidden; display: flex; align-items: center; min-height: 100vh; }
.hero > .container { width: 100%; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.orb-1 { width: 420px; height: 420px; top: -120px; right: -60px; background: radial-gradient(circle, rgba(56,189,248,0.4), transparent 70%); }
.orb-2 { width: 360px; height: 360px; bottom: -140px; left: -80px; background: radial-gradient(circle, rgba(30,64,175,0.3), transparent 70%); }
.orb-3 { width: 300px; height: 300px; top: 40%; left: 40%; background: radial-gradient(circle, rgba(45,212,191,0.25), transparent 70%); }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(30,64,175,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(30,64,175,0.04) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%); }
.hero__inner { position: relative; z-index: 1; }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; background: #eaf2ff; border: 1px solid #cfe0ff; color: var(--blue); border-radius: 100px; padding: 7px 16px; font-size: 13px; font-weight: 700; margin-bottom: 22px; }
.badge-pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.2); }
.hero__title { font-size: clamp(36px, 4vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero__desc { font-size: clamp(15px, 1.2vw, 18px); color: var(--ink-soft); line-height: 1.7; max-width: 560px; margin-bottom: 30px; }
.hero__stats { display: flex; align-items: center; gap: 22px; margin-top: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 30px; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-lbl { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat-sep { width: 1px; height: 36px; background: var(--line); }

/* ─── Hero dashboard mock ─── */
.hero__visual { position: relative; max-width: 620px; margin-left: auto; }
.dashboard-mock { background: #0f1b33; border-radius: 18px; box-shadow: 0 30px 70px rgba(15,27,51,0.35); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #0b1527; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 11px; height: 11px; border-radius: 50%; }
.d-red { background: #ff5f57; } .d-yellow { background: #febc2e; } .d-green { background: #28c840; }
.mock-url { font-size: 12px; color: #7b8aa6; background: #16223c; padding: 4px 14px; border-radius: 7px; flex: 1; text-align: center; }
.mock-body { display: flex; min-height: 320px; }
.mock-sidebar { width: 56px; background: #0b1527; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 0; }
.sb-item { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #64748b; }
.sb-item.sb-active { background: var(--grad-blue); color: #fff; }
.mock-main { flex: 1; padding: 18px; }
.mock-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mock-greeting { color: #e2e8f0; font-weight: 600; font-size: 14px; }
.mock-avatar-mini { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-blue); }
.mock-cards-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.mc { border-radius: 12px; padding: 12px; color: #fff; }
.mc-blue { background: linear-gradient(135deg,#1e3a8a,#2563eb); }
.mc-teal { background: linear-gradient(135deg,#115e59,#14b8a6); }
.mc-indigo { background: linear-gradient(135deg,#3730a3,#6366f1); }
.mc-lbl { font-size: 10.5px; opacity: .85; }
.mc-val { font-size: 22px; font-weight: 800; margin: 4px 0 8px; }
.mc-prog { height: 4px; background: rgba(255,255,255,0.25); border-radius: 3px; }
.mc-fill { height: 100%; background: #fff; border-radius: 3px; }
.mock-chart { background: #0b1527; border-radius: 12px; padding: 14px; }
.mock-chart-title { font-size: 11px; color: #94a3b8; margin-bottom: 12px; }
.mock-bars { display: flex; align-items: flex-end; gap: 12px; height: 90px; }
.mb { flex: 1; background: linear-gradient(180deg,#2563eb,#1e3a8a); border-radius: 6px 6px 0 0; position: relative; height: var(--h); display: flex; align-items: flex-end; justify-content: center; }
.mb span { position: absolute; bottom: -18px; font-size: 9px; color: #64748b; }
.mb-active { background: linear-gradient(180deg,#2dd4bf,#0f766e); }
.mock-notif { margin-top: 26px; display: flex; align-items: center; gap: 8px; background: rgba(45,212,191,0.12); border: 1px solid rgba(45,212,191,0.25); color: #5eead4; font-size: 11.5px; padding: 8px 12px; border-radius: 9px; }
.notif-dot-anim { width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 8px 14px; font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 7px; box-shadow: var(--shadow); }
.fc-sync { top: -14px; right: 20px; }
.fc-mobile { bottom: 40px; left: -18px; }
.fc-rt { bottom: -14px; right: 40px; }

/* ─── Section header ─── */
.sec-header { max-width: 680px; margin: 0 auto 50px; }
.sec-badge { display: inline-block; background: #eaf2ff; color: var(--blue); border: 1px solid #cfe0ff; border-radius: 100px; padding: 6px 16px; font-size: 12.5px; font-weight: 700; margin-bottom: 16px; }
.sec-header h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.sec-header p { color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ─── Cards generic ─── */
.feat-card, .fac-card, .tech-item, .nfr-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat-card { padding: 26px; position: relative; }
.feat-card:hover, .fac-card:hover, .nfr-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe0ff; }
.feat-featured { border-color: #bfdbfe; background: linear-gradient(180deg,#f5f9ff,#ffffff); }
.feat-highlight { position: absolute; top: 16px; right: 16px; background: var(--grad-blue); color: #fff; font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
.feat-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; color: #fff; }
.fi-blue { background: linear-gradient(135deg,#1e40af,#3b82f6); }
.fi-teal { background: linear-gradient(135deg,#0f766e,#2dd4bf); }
.fi-purple { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.fi-green { background: linear-gradient(135deg,#15803d,#4ade80); }
.fi-orange { background: linear-gradient(135deg,#ea580c,#fb923c); }
.fi-pink { background: linear-gradient(135deg,#be123c,#fb7185); }
.feat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.feat-tags span { font-size: 11.5px; font-weight: 600; color: var(--blue); background: #eef4ff; border: 1px solid #dbe8ff; padding: 3px 10px; border-radius: 7px; }

/* ─── Roles ─── */
.roles-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.rtab { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 11px; cursor: pointer; transition: all .2s ease; }
.rtab:hover { border-color: #cfe0ff; color: var(--blue); }
.rtab-active { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(37,99,235,0.28); }
.role-pane { display: none; }
.role-pane-active { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; animation: fadeUp .4s ease; }
.rp-info h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.rp-info > p { color: var(--muted); margin-bottom: 20px; }
.rp-emoji { font-size: 34px; margin-bottom: 10px; }
.rp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.rp-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.rp-check { color: var(--teal); font-weight: 900; margin-top: 2px; }
.rp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.rpcard-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rpcard-av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-blue); }
.rpcard-name { font-weight: 700; }
.rpcard-nim { font-size: 12px; color: var(--muted); }
.rpcard-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px; }
.rpcs { background: var(--bg-soft); border-radius: 11px; padding: 12px; text-align: center; }
.rpcs-v { display: block; font-size: 20px; font-weight: 800; color: var(--blue); }
.rpcs-l { font-size: 11px; color: var(--muted); }
.rpcard-prog-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.rpcard-bar { height: 8px; background: #e8eef7; border-radius: 5px; overflow: hidden; }
.rpcard-fill { height: 100%; background: var(--grad-blue); border-radius: 5px; }
.rpcard-notif { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--teal); background: #effbf7; border: 1px solid #c7f0e4; padding: 8px 12px; border-radius: 9px; }
.rpcard-notif-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.admin-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.as-item { border-radius: 12px; padding: 18px; color: #fff; }
.as-v { display: block; font-size: 24px; font-weight: 800; }
.as-l { font-size: 12px; opacity: .9; }
.as-blue { background: linear-gradient(135deg,#1e40af,#3b82f6); }
.as-teal { background: linear-gradient(135deg,#0f766e,#2dd4bf); }
.as-purple { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.as-green { background: linear-gradient(135deg,#15803d,#4ade80); }
.schedule-mini, .keu-summary, .exec-metrics { display: flex; flex-direction: column; }
.sm-row { display: grid; grid-template-columns: 60px 1fr 70px; padding: 10px 12px; font-size: 13px; border-bottom: 1px solid var(--line); }
.sm-head { font-weight: 700; color: var(--muted); font-size: 11.5px; text-transform: uppercase; }
.sm-active { background: #eef4ff; border-radius: 8px; color: var(--blue); font-weight: 600; }
.ks-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.ks-l { color: var(--muted); font-size: 14px; }
.ks-v { font-weight: 800; font-size: 17px; }
.ks-green { color: #15803d; } .ks-red { color: #be123c; } .ks-orange { color: #ea580c; }
.ks-divider { height: 1px; background: var(--line); }
.em-row { display: grid; grid-template-columns: 1.4fr 2fr 60px; align-items: center; gap: 12px; padding: 10px 0; font-size: 13px; color: var(--ink-soft); }
.em-bar-wrap { height: 8px; background: #e8eef7; border-radius: 5px; overflow: hidden; }
.em-bar { height: 100%; background: var(--grad-blue); border-radius: 5px; }
.em-green { background: linear-gradient(90deg,#15803d,#4ade80); }
.em-purple { background: linear-gradient(90deg,#7c3aed,#a855f7); }
.em-red { background: linear-gradient(90deg,#be123c,#fb7185); }
.em-num { font-weight: 700; text-align: right; }

/* ─── Faculties ─── */
.fac-card { display: flex; gap: 16px; padding: 22px; }
.fac-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.fac-code { font-weight: 800; color: var(--blue); font-size: 14px; }
.fac-name { font-weight: 700; margin-bottom: 10px; font-size: 15.5px; }
.fac-prodi { display: flex; flex-wrap: wrap; gap: 6px; }
.fac-prodi span { font-size: 11.5px; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 9px; border-radius: 7px; }

/* ─── Tech ─── */
.tech-item { padding: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.tech-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 8px; }
.tech-name { font-weight: 700; font-size: 14px; }
.tech-role { font-size: 11.5px; color: var(--muted); }
.nfr-card { padding: 24px; }
.nfr-ic { font-size: 28px; margin-bottom: 12px; }
.nfr-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.nfr-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 0; }

/* ─── CTA ─── */
.cta-box { position: relative; background: var(--grad); border-radius: 26px; padding: 60px 30px; overflow: hidden; box-shadow: 0 30px 70px rgba(30,64,175,0.3); }
.cta-glow { position: absolute; width: 500px; height: 500px; top: -200px; right: -120px; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); }
.cta-content { position: relative; z-index: 1; color: #fff; max-width: 640px; margin: 0 auto; }
.cta-content .sec-badge { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-content h2 { font-size: clamp(26px,3.4vw,36px); font-weight: 800; margin-bottom: 14px; }
.cta-content .gradient-text { background: linear-gradient(135deg,#a5f3fc,#bfdbfe); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-content p { opacity: .92; margin-bottom: 26px; }

/* ─── Footer ─── */
.footer { background: #0f1b33; color: #cbd5e1; padding: 60px 0 0; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-brand .logo-siama { color: #fff; } .footer-brand .logo-unasman { color: #94a3b8; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; color: #94a3b8; max-width: 380px; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.fcol h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.fcol a { display: block; color: #94a3b8; text-decoration: none; font-size: 13.5px; margin-bottom: 10px; transition: color .2s ease; }
.fcol a:hover { color: #60a5fa; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #94a3b8; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #94a3b8; text-decoration: none; }
.footer-bottom-links a:hover { color: #60a5fa; }

/* ─── Reveal animations (hooked by app.js) ─── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .05s; } .reveal-delay-2 { transition-delay: .1s; }
.reveal-delay-3 { transition-delay: .15s; } .reveal-delay-4 { transition-delay: .2s; } .reveal-delay-5 { transition-delay: .25s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .navbar__links { position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-150%); transition: transform .3s ease; z-index: 1030; }
  .navbar__links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .role-pane-active { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; }
  .hero { padding-top: 110px; }
}
