/* iSkooly public + login — cinematic campus / AI-era theme */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,650;9..144,720&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --gold: #e8c36a;
  --gold-2: #f4d58a;
  --ink: #06111f;
}

body.site,
body.auth-page {
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  background: #071018;
  color: #e8eef6;
}

body.site {
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(232, 195, 106, .12), transparent 50%),
    radial-gradient(800px 380px at 100% 0%, rgba(56, 189, 248, .08), transparent 46%),
    #071018;
}

.site a { color: var(--gold-2); }
.site .text-muted { color: #9fb0c4 !important; }

.display-serif,
.site .hero h1,
.site .page-hero h1,
.auth-page .auth-headline {
  font-family: Fraunces, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 650;
  letter-spacing: -.035em;
}

/* Nav */
.site .pub-nav {
  background: rgba(6, 14, 24, .55);
  border-bottom: 1px solid rgba(232, 195, 106, .16);
  backdrop-filter: blur(22px) saturate(140%);
}
.site .brand-mark {
  background: linear-gradient(145deg, #f4d58a, #c9a44a 45%, #0d9488);
  box-shadow: 0 0 0 3px rgba(232, 195, 106, .18);
}

/* Shared film grain */
.site .hero::after,
.site .page-hero::after,
.auth-page .auth-stage::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.site .hero,
.site .page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background:
    linear-gradient(105deg, rgba(5, 10, 18, .78) 0%, rgba(5, 10, 18, .45) 48%, rgba(5, 10, 18, .55) 100%),
    linear-gradient(180deg, rgba(6, 12, 22, .35) 0%, rgba(7, 16, 24, .88) 100%),
    url('../img/campus-hero.jpg') center 28% / cover no-repeat,
    #08111c;
  padding: 108px 0 96px;
}
.site .hero .text-white-50 { color: rgba(255,255,255,.78) !important; }
.site .glass-card .text-white-50 { color: rgba(255,255,255,.72) !important; }
.site .glass-card .opacity-75 { opacity: .85 !important; }
.site .page-hero { padding: 88px 0 72px; }
.site .hero h1,
.site .page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  text-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.site .hero .lead,
.site .page-hero .lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,.82);
  max-width: 640px;
}
.site .hero .container,
.site .page-hero .container { position: relative; z-index: 2; }

.site .chip {
  background: rgba(232, 195, 106, .12);
  color: var(--gold-2);
  border: 1px solid rgba(232, 195, 106, .28);
  backdrop-filter: blur(10px);
}
.site .chip-gold {
  background: rgba(232, 195, 106, .16);
  color: #f8e7b4;
}

.site .btn-isk {
  background: linear-gradient(135deg, #e8c36a, #c9a227);
  color: #1a1204 !important;
  box-shadow: 0 10px 28px rgba(232, 195, 106, .28);
}
.site .btn-isk:hover { filter: brightness(1.06); color: #1a1204 !important; }
.site .btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  backdrop-filter: blur(8px);
}
.site .btn-ghost:hover { color: #fff; background: rgba(255,255,255,.12); }

.site .glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 30px 60px rgba(0,0,0,.28);
}

.site .section {
  position: relative;
  padding: 88px 0;
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(232,195,106,.07), transparent 50%),
    #0a1522;
}
.site .section-soft {
  background:
    radial-gradient(700px 280px at 10% 10%, rgba(13,148,136,.08), transparent 50%),
    #0d1b2a;
}
.site .section h2 {
  font-family: Fraunces, serif;
  font-weight: 650;
  color: #f4f7fb;
  letter-spacing: -.03em;
}

.site .trust-bar {
  background: rgba(8, 18, 30, .9);
  border-bottom: 1px solid rgba(232, 195, 106, .12);
}
.site .trust-bar .fw-bold { color: #d7e3f0; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; }

.site .feature-card,
.site .stat-card,
.site .app-card,
.site .price-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  color: #e8eef6;
}
.site .feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 195, 106, .35);
  box-shadow: 0 22px 48px rgba(0,0,0,.28);
  transition: .25s ease;
}
.site .feature-icon {
  background: linear-gradient(145deg, rgba(232,195,106,.2), rgba(13,148,136,.18));
  color: var(--gold-2);
}
.site .kpi .label { color: #9fb0c4; }
.site .kpi .value { color: #fff; }
.site .demo-login-table { color: #e8eef6; }
.site .demo-login-table thead th { color: #c9b27a; border-color: rgba(255,255,255,.08); }
.site .demo-login-table td { border-color: rgba(255,255,255,.06); }
.site .demo-login-table code {
  background: rgba(0,0,0,.28);
  color: #f4d58a;
  padding: .15rem .4rem;
  border-radius: 6px;
}

.site .form-control,
.site .form-select,
.site textarea.form-control {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
.site .form-control:focus,
.site .form-select:focus {
  background: rgba(255,255,255,.09);
  color: #fff;
  border-color: rgba(232,195,106,.5);
  box-shadow: 0 0 0 .2rem rgba(232,195,106,.14);
}
.site .form-label { color: #c5d2e0; font-weight: 600; }
.site .form-check-label { color: #c5d2e0; }
.site .table { color: #e8eef6; }

.site footer.site-foot {
  background:
    linear-gradient(180deg, rgba(7,16,24,.2), rgba(4,8,14,.95)),
    url('../img/campus-hero.jpg') center 70% / cover no-repeat;
  color: rgba(255,255,255,.7);
  border-top: 1px solid rgba(232,195,106,.16);
}

/* ===== LOGIN ===== */
body.auth-page { min-height: 100vh; }
.auth-stage {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 28px 16px 40px;
  background:
    linear-gradient(180deg, rgba(5,10,18,.55) 0%, rgba(5,10,18,.72) 55%, rgba(5,10,18,.88) 100%),
    url('../img/campus-login.jpg') center / cover no-repeat,
    #071018;
}
.auth-stage::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 320px at 20% 15%, rgba(232,195,106,.16), transparent 50%),
    radial-gradient(600px 280px at 90% 80%, rgba(13,148,136,.16), transparent 46%);
  pointer-events: none;
}
.auth-shell {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 28px;
  align-items: stretch;
}
.auth-copy {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 8px;
}
.auth-kicker {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  border: 1px solid rgba(232,195,106,.3);
  background: rgba(232,195,106,.1);
  color: #f4d58a;
  border-radius: 999px;
  padding: .28rem .75rem;
  font-size: .78rem;
  font-weight: 700;
}
.auth-headline {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.08;
  margin: 16px 0 12px;
}
.auth-copy p { color: rgba(255,255,255,.78); max-width: 460px; }
.auth-card {
  width: 100%;
  background: linear-gradient(180deg, rgba(12, 20, 32, .72), rgba(8, 14, 24, .78));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  padding: 28px 26px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  backdrop-filter: blur(26px) saturate(150%);
  color: #e8eef6;
}
.auth-card h3 { color: #fff; font-family: Fraunces, serif; }
.auth-card .form-label { color: #c5d2e0; font-weight: 600; }
.auth-card .form-control {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: 12px;
  padding: .72rem .9rem;
}
.auth-card .form-control:focus {
  background: rgba(255,255,255,.09);
  color: #fff;
  border-color: rgba(232,195,106,.55);
  box-shadow: 0 0 0 .2rem rgba(232,195,106,.15);
}
.auth-card .form-control::placeholder { color: rgba(255,255,255,.35); }
.auth-card .btn-isk {
  background: linear-gradient(135deg, #e8c36a, #c9a227);
  color: #1a1204;
  box-shadow: 0 10px 24px rgba(232,195,106,.25);
}
.auth-card a { color: #f4d58a; }
.role-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.role-pill {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #e8eef6;
  border-radius: 999px;
  padding: .28rem .65rem;
  font-size: .75rem;
  font-weight: 700;
}
.role-pill:hover {
  border-color: rgba(232,195,106,.5);
  color: #f8e7b4;
  background: rgba(232,195,106,.1);
}
.auth-card .demo-login-table { color: #d7e3f0; font-size: .82rem; }
.auth-card .demo-login-table thead th { color: #c9b27a; }
.auth-card .demo-login-table code { color: #f4d58a; }
.auth-card .table-responsive {
  max-height: 280px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 992px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-copy { padding: 4px 4px 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .site .hero h1 { animation: rise .7s ease both; }
  .site .glass-card { animation: rise .85s ease both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
