/* ============================================================
   TPMS — Tantita Personnel Management System
   Modern 2025-2026 Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS Reset & Box Sizing --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* --- CSS Custom Properties --- */
:root {
  --bg:          #020d1a;
  --surface-1:   #061828;
  --surface-2:   #0a2038;
  --surface-3:   #0f2847;
  --cyan:        #22d3ee;
  --cyan-500:    #06b6d4;
  --cyan-dim:    rgba(34,211,238,0.12);
  --cyan-glow:   rgba(34,211,238,0.35);
  --gold:        #fbbf24;
  --gold-dim:    rgba(251,191,36,0.12);
  --white:       #ffffff;
  --gray-100:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --green:       #10b981;
  --red:         #ef4444;
  --purple:      #8b5cf6;
  --orange:      #f97316;
  --pink:        #ec4899;
  --blue:        #3b82f6;
  --r-sm:    8px;
  --r-md:    14px;
  --r-lg:    20px;
  --r-xl:    28px;
  --r-full:  9999px;
  --t-fast:  0.15s ease;
  --t-med:   0.3s ease;
  --t-slow:  0.6s ease;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.6);
  --glow-cyan:  0 0 40px rgba(34,211,238,0.3), 0 0 80px rgba(34,211,238,0.1);
  --glow-gold:  0 0 40px rgba(251,191,36,0.25);
}

/* --- Body Base --- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--gray-100);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface-1); }
::-webkit-scrollbar-thumb { background: var(--cyan-500); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #67e8f9 40%, var(--cyan-500) 70%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}
.gradient-text-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #fde68a 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* --- Glass Card --- */
.glass-card {
  background: rgba(6,24,40,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(34,211,238,0.15);
  border-radius: var(--r-lg);
}

/* --- Glow Card --- */
.glow-card { transition: box-shadow var(--t-med), border-color var(--t-med), transform var(--t-med); }
.glow-card:hover {
  box-shadow: var(--glow-cyan);
  border-color: rgba(34,211,238,0.4);
  transform: translateY(-4px);
}

/* --- Background Orbs --- */
.orb-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float-orb 12s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,211,238,0.4) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.3) 0%, transparent 70%);
  top: 40%; right: -150px;
  animation-delay: -4s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
  bottom: 10%; left: 30%;
  animation-delay: -8s;
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -40px) scale(1.05); }
  66%  { transform: translate(-20px, 20px) scale(0.95); }
}

/* --- Noise Texture --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: background var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(2,13,26,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(34,211,238,0.1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img { height: 38px; width: auto; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name { font-size: 18px; font-weight: 800; color: var(--cyan); letter-spacing: -0.5px; }
.nav-logo-sub { font-size: 9px; font-weight: 600; color: var(--gray-400); letter-spacing: 1px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--gray-400);
  padding: 6px 14px; border-radius: var(--r-full);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--cyan); background: var(--cyan-dim); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav-login {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--bg);
  background: var(--cyan); border: none; border-radius: var(--r-full);
  padding: 8px 20px; cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
}
.btn-nav-login:hover { background: #67e8f9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,211,238,0.35); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border: none; background: none;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-100); border-radius: 2px; transition: var(--t-med); }

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  z-index: 999;
  background: rgba(2,13,26,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34,211,238,0.1);
  padding: 20px 24px 30px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--gray-400);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--t-fast);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--cyan); }
.mobile-cta { margin-top: 20px; }
.mobile-cta .btn-nav-login { width: 100%; justify-content: center; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  padding: 140px 40px 80px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,211,238,0.07) 0%, transparent 70%);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(34,211,238,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(34,211,238,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 80%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero .section-tag { margin: 0 auto 24px; }
.page-hero h1 {
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-bottom: 20px;
}
.page-hero p { font-size: 17px; color: var(--gray-400); line-height: 1.8; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: var(--gray-500);
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb i { font-size: 8px; }

/* ============================================================
   SECTION TAG
   ============================================================ */
.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--cyan); background: var(--cyan-dim);
  border: 1px solid rgba(34,211,238,0.2); border-radius: var(--r-full);
  padding: 6px 16px; margin-bottom: 20px;
}
.section-tag i { font-size: 10px; }

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: var(--r-full); border: none;
  cursor: pointer; text-decoration: none; transition: all var(--t-med); white-space: nowrap;
}
.btn-sm  { font-size: 12px; padding: 8px 18px; }
.btn-md  { font-size: 14px; padding: 12px 28px; }
.btn-lg  { font-size: 15px; padding: 14px 36px; }
.btn-xl  { font-size: 16px; padding: 16px 44px; }
.btn-primary { background: var(--cyan); color: var(--bg); }
.btn-primary:hover { background: #67e8f9; box-shadow: 0 8px 30px rgba(34,211,238,0.4); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--cyan); border: 1px solid rgba(34,211,238,0.4); }
.btn-outline:hover { background: var(--cyan-dim); border-color: var(--cyan); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: #fde68a; box-shadow: var(--glow-gold); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--gray-100); border: 1px solid rgba(255,255,255,0.08); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ============================================================
   SECTIONS & LAYOUT
   ============================================================ */
.section { padding: 90px 40px; position: relative; }
.section-sm { padding: 60px 40px; }
.container { max-width: 1280px; margin: 0 auto; width: 100%; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.section-header p { font-size: 16px; color: var(--gray-400); max-width: 560px; margin: 0 auto; line-height: 1.8; }

/* ============================================================
   BENTO GRID
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.bento-cell {
  background: rgba(6,24,40,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34,211,238,0.1);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; position: relative;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
.bento-cell:hover {
  border-color: rgba(34,211,238,0.28);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(34,211,238,0.07);
  transform: translateY(-3px);
}
.bento-cell-wide   { grid-column: span 7; }
.bento-cell-narrow { grid-column: span 5; }
.bento-cell-full   { grid-column: span 12; }
.bento-cell-third  { grid-column: span 4; }
.bento-cell-two-row { grid-row: span 2; }
.bento-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.bento-cell h3 { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.bento-cell p  { font-size: 13.5px; color: var(--gray-400); line-height: 1.6; }
.bento-bg-glow {
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%; opacity: 0.1; filter: blur(40px);
}

/* ============================================================
   CARD GRIDS
   ============================================================ */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: rgba(6,24,40,0.6);
  border: 1px solid rgba(34,211,238,0.1);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
.card:hover { border-color: rgba(34,211,238,0.25); box-shadow: 0 16px 48px rgba(0,0,0,0.4); transform: translateY(-4px); }

/* ============================================================
   MODULE CARDS
   ============================================================ */
.module-card {
  background: rgba(6,24,40,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(34,211,238,0.1);
  border-radius: var(--r-xl);
  padding: 36px;
  transition: all var(--t-med);
  position: relative; overflow: hidden;
}
.module-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.4), transparent);
  opacity: 0; transition: opacity var(--t-med);
}
.module-card:hover { border-color: rgba(34,211,238,0.25); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.module-card:hover::before { opacity: 1; }
.module-icon-wrap {
  width: 64px; height: 64px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.icon-teal   { background: rgba(34,211,238,0.12); color: var(--cyan); }
.icon-gold   { background: rgba(251,191,36,0.12);  color: var(--gold); }
.icon-green  { background: rgba(16,185,129,0.12);  color: var(--green); }
.icon-purple { background: rgba(139,92,246,0.12);  color: var(--purple); }
.icon-blue   { background: rgba(59,130,246,0.12);  color: var(--blue); }
.icon-red    { background: rgba(239,68,68,0.12);   color: var(--red); }
.icon-orange { background: rgba(249,115,22,0.12);  color: var(--orange); }
.icon-pink   { background: rgba(236,72,153,0.12);  color: var(--pink); }
.module-card h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.module-dept { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-500); margin-bottom: 14px; }
.module-desc { font-size: 14px; color: var(--gray-400); line-height: 1.7; margin-bottom: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: var(--r-full); border: 1px solid;
}
.tag-teal   { color: var(--cyan);   background: var(--cyan-dim);         border-color: rgba(34,211,238,0.2); }
.tag-gold   { color: var(--gold);   background: var(--gold-dim);         border-color: rgba(251,191,36,0.2); }
.tag-green  { color: var(--green);  background: rgba(16,185,129,0.1);    border-color: rgba(16,185,129,0.2); }
.tag-purple { color: var(--purple); background: rgba(139,92,246,0.1);    border-color: rgba(139,92,246,0.2); }
.tag-blue   { color: var(--blue);   background: rgba(59,130,246,0.1);    border-color: rgba(59,130,246,0.2); }
.tag-red    { color: var(--red);    background: rgba(239,68,68,0.1);     border-color: rgba(239,68,68,0.2); }
.tag-orange { color: var(--orange); background: rgba(249,115,22,0.1);    border-color: rgba(249,115,22,0.2); }
.tag-pink   { color: var(--pink);   background: rgba(236,72,153,0.1);    border-color: rgba(236,72,153,0.2); }
.card-divider { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 20px 0; }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--gray-400); line-height: 1.5;
}
.feature-item i { color: var(--cyan); font-size: 12px; margin-top: 4px; flex-shrink: 0; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--surface-1);
  border-top: 1px solid rgba(34,211,238,0.08);
  border-bottom: 1px solid rgba(34,211,238,0.08);
  padding: 40px;
}
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1280px; margin: 0 auto;
}
.stat-item { text-align: center; padding: 20px; }
.stat-number { font-size: 40px; font-weight: 800; letter-spacing: -2px; line-height: 1; margin-bottom: 6px; display: block; }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-500); }

/* ============================================================
   TICKER / MARQUEE
   ============================================================ */
.ticker-section {
  overflow: hidden; padding: 30px 0;
  background: linear-gradient(180deg, var(--surface-1) 0%, var(--bg) 100%);
  border-top: 1px solid rgba(34,211,238,0.06);
  border-bottom: 1px solid rgba(34,211,238,0.06);
}
.ticker-label {
  text-align: center; font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gray-500); margin-bottom: 20px;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 36px; font-size: 14px; font-weight: 600; color: var(--gray-400); white-space: nowrap;
}
.ticker-item i { color: var(--cyan); font-size: 16px; }

/* ============================================================
   HERO SECTION (index.html)
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 40px 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,211,238,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 1;
}
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.25);
  border-radius: var(--r-full); padding: 7px 18px; margin-bottom: 28px;
}
.hero-badge i { font-size: 9px; }
.hero-headline {
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 800; letter-spacing: -2.5px; line-height: 1.05;
  color: var(--white); margin-bottom: 24px;
}
.hero-sub { font-size: 18px; font-weight: 600; color: var(--cyan); margin-bottom: 16px; }
.hero-desc { font-size: 16px; color: var(--gray-400); line-height: 1.8; max-width: 480px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; }
.hero-stat-item { display: flex; flex-direction: column; }
.hero-stat-number { font-size: 28px; font-weight: 800; letter-spacing: -1px; line-height: 1; color: var(--white); }
.hero-stat-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; font-weight: 500; }
.hero-right { position: relative; }
.dashboard-wrap { position: relative; z-index: 2; }
.dashboard-card {
  background: rgba(6,24,40,0.88);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(34,211,238,0.22);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), var(--glow-cyan);
}
.dash-topbar {
  background: rgba(15,40,71,0.9); padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(34,211,238,0.1);
}
.dash-dots { display: flex; gap: 7px; }
.dash-dot { width: 12px; height: 12px; border-radius: 50%; }
.dash-dot-red    { background: var(--red); }
.dash-dot-yellow { background: var(--gold); }
.dash-dot-green  { background: var(--green); }
.dash-title { font-size: 12px; font-weight: 600; color: var(--gray-400); letter-spacing: 0.5px; }
.dash-status { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--green); }
.dash-status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}
.dash-body { padding: 20px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.dash-kpi {
  background: rgba(15,40,71,0.6); border: 1px solid rgba(34,211,238,0.1);
  border-radius: var(--r-md); padding: 14px;
}
.dash-kpi-label { font-size: 10px; color: var(--gray-500); font-weight: 500; margin-bottom: 6px; letter-spacing: 0.5px; text-transform: uppercase; }
.dash-kpi-value { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.dash-kpi-delta { font-size: 10px; font-weight: 600; margin-top: 4px; }
.dash-kpi-delta.up { color: var(--green); }
.dash-kpi-delta.dn { color: var(--red); }
.dash-chart {
  background: rgba(15,40,71,0.4); border: 1px solid rgba(34,211,238,0.08);
  border-radius: var(--r-md); padding: 16px; margin-bottom: 14px;
}
.dash-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dash-chart-title { font-size: 11px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; }
.dash-chart-period { font-size: 10px; color: var(--cyan); font-weight: 600; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.chart-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(34,211,238,0.3) 100%);
  opacity: 0.85; transition: opacity 0.2s;
}
.chart-bar:hover { opacity: 1; }
.dash-notifications { display: flex; flex-direction: column; gap: 8px; }
.dash-notif {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: rgba(15,40,71,0.4); border: 1px solid rgba(34,211,238,0.06);
  border-radius: var(--r-sm);
}
.dash-notif-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0;
}
.dash-notif-text { flex: 1; }
.dash-notif-title { font-size: 11px; font-weight: 600; color: var(--gray-100); }
.dash-notif-sub { font-size: 10px; color: var(--gray-500); margin-top: 2px; }
.dash-notif-time { font-size: 10px; color: var(--gray-500); flex-shrink: 0; }
.floating-card {
  position: absolute;
  background: rgba(6,24,40,0.92); backdrop-filter: blur(16px);
  border: 1px solid rgba(34,211,238,0.22); border-radius: var(--r-md);
  padding: 14px 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: float-card 6s ease-in-out infinite; z-index: 3;
}
.floating-card-1 { bottom: -20px; left: -40px; animation-delay: 0s; }
.floating-card-2 { top: 40px; right: -50px; animation-delay: -3s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.fc-label { font-size: 10px; color: var(--gray-500); font-weight: 500; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.fc-value { font-size: 16px; font-weight: 800; color: var(--white); }
.fc-sub   { font-size: 10px; color: var(--green); font-weight: 600; margin-top: 2px; }

/* ============================================================
   WORKFLOW RAIL
   ============================================================ */
.workflow-rail { position: relative; max-width: 820px; margin: 0 auto; }
.workflow-rail::before {
  content: ''; position: absolute; left: 39px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(34,211,238,0.1) 100%);
  border-radius: 1px;
}
.workflow-step {
  display: flex; gap: 32px; margin-bottom: 48px;
  position: relative; align-items: flex-start;
}
.workflow-step:last-child { margin-bottom: 0; }
.workflow-num {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-500));
  color: var(--bg); font-size: 28px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
  box-shadow: 0 0 30px rgba(34,211,238,0.4);
}
.workflow-content { flex: 1; padding-top: 16px; }
.workflow-content h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.workflow-content p  { font-size: 14px; color: var(--gray-400); line-height: 1.7; margin-bottom: 16px; }
.workflow-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.workflow-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--gray-500);
}
.workflow-meta-item i { color: var(--cyan); font-size: 11px; }

/* ============================================================
   ROLE CARDS
   ============================================================ */
.role-card {
  background: rgba(6,24,40,0.6); border: 1px solid rgba(34,211,238,0.1);
  border-radius: var(--r-lg); padding: 28px; transition: all var(--t-med);
}
.role-card:hover { border-color: rgba(34,211,238,0.25); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.role-icon {
  width: 50px; height: 50px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px;
}
.role-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.role-card p  { font-size: 13px; color: var(--gray-400); line-height: 1.6; }

/* ============================================================
   SECURITY PILLARS
   ============================================================ */
.pillar-card {
  background: rgba(6,24,40,0.7); backdrop-filter: blur(20px);
  border: 1px solid rgba(34,211,238,0.1); border-radius: var(--r-xl);
  padding: 36px; transition: all var(--t-med); position: relative; overflow: hidden;
}
.pillar-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity var(--t-med);
}
.pillar-card:hover { border-color: rgba(34,211,238,0.3); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.pillar-card:hover::after { opacity: 1; }
.pillar-icon {
  width: 60px; height: 60px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px;
}
.pillar-card h3 { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.pillar-card p  { font-size: 14px; color: var(--gray-400); line-height: 1.7; }

/* ============================================================
   PERMISSION TABLE
   ============================================================ */
.perm-table-wrap {
  overflow-x: auto; border-radius: var(--r-lg);
  border: 1px solid rgba(34,211,238,0.1);
}
.perm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.perm-table th {
  background: rgba(15,40,71,0.8); padding: 14px 18px; text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gray-400); border-bottom: 1px solid rgba(34,211,238,0.1); white-space: nowrap;
}
.perm-table td {
  padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--gray-400); vertical-align: middle;
}
.perm-table tbody tr:hover td { background: rgba(34,211,238,0.03); }
.perm-table tbody tr:last-child td { border-bottom: none; }
.perm-role { font-weight: 600; color: var(--white); }
.perm-check   { color: var(--green); font-size: 14px; }
.perm-cross   { color: rgba(255,255,255,0.15); font-size: 14px; }
.perm-partial { color: var(--gold); font-size: 14px; }

/* ============================================================
   AUDIT LOG
   ============================================================ */
.audit-mock {
  background: rgba(2,13,26,0.9); border: 1px solid rgba(34,211,238,0.15);
  border-radius: var(--r-lg); overflow: hidden;
}
.audit-header {
  background: rgba(15,40,71,0.8); padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(34,211,238,0.1);
}
.audit-title { font-size: 12px; font-weight: 700; color: var(--gray-400); letter-spacing: 1px; text-transform: uppercase; }
.audit-live { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--green); }
.audit-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.audit-entry {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px;
  background: rgba(15,40,71,0.3); border-radius: var(--r-sm); border-left: 3px solid; font-size: 12px;
}
.audit-entry.success { border-left-color: var(--green); }
.audit-entry.info    { border-left-color: var(--cyan); }
.audit-entry.warning { border-left-color: var(--gold); }
.audit-entry.danger  { border-left-color: var(--red); }
.audit-time { color: var(--gray-500); font-size: 10px; min-width: 70px; margin-top: 2px; font-family: monospace; }
.audit-text { flex: 1; color: var(--gray-400); line-height: 1.5; }
.audit-text strong { color: var(--white); font-weight: 600; }
.audit-user { font-size: 10px; color: var(--cyan); font-weight: 600; }

/* ============================================================
   SPLIT LAYOUT
   ============================================================ */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-layout.reverse { direction: rtl; }
.split-layout.reverse > * { direction: ltr; }

/* ============================================================
   INFO BOX
   ============================================================ */
.info-box {
  background: rgba(34,211,238,0.05); border: 1px solid rgba(34,211,238,0.15);
  border-radius: var(--r-lg); padding: 28px 32px;
  display: flex; gap: 16px; align-items: flex-start;
}
.info-box-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--cyan-dim); color: var(--cyan);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.info-box-content h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.info-box-content p  { font-size: 13.5px; color: var(--gray-400); line-height: 1.7; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-block { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
  background: rgba(6,24,40,0.5); border: 1px solid rgba(34,211,238,0.08);
  border-radius: var(--r-md); transition: border-color var(--t-med);
}
.contact-info-item:hover { border-color: rgba(34,211,238,0.2); }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0;
}
.contact-info-label { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-500); margin-bottom: 4px; }
.contact-info-value { font-size: 14px; color: var(--gray-100); font-weight: 500; line-height: 1.6; }
.contact-info-value a { color: var(--cyan); }
.contact-info-value a:hover { text-decoration: underline; }
.login-access-card {
  background: rgba(6,24,40,0.8); backdrop-filter: blur(20px);
  border: 1px solid rgba(34,211,238,0.2); border-radius: var(--r-xl);
  padding: 40px; position: relative; overflow: hidden;
}
.login-access-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.access-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.access-step {
  display: flex; gap: 16px; align-items: flex-start; padding: 16px;
  background: rgba(15,40,71,0.4); border: 1px solid rgba(34,211,238,0.07); border-radius: var(--r-md);
}
.access-step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--cyan); color: var(--bg);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.access-step-text h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.access-step-text p  { font-size: 12.5px; color: var(--gray-400); }

/* ============================================================
   QUICK LINKS
   ============================================================ */
.quick-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quick-link-card {
  background: rgba(6,24,40,0.6); border: 1px solid rgba(34,211,238,0.1);
  border-radius: var(--r-lg); padding: 28px; text-align: center;
  transition: all var(--t-med); cursor: pointer; text-decoration: none; display: block;
}
.quick-link-card:hover { border-color: rgba(34,211,238,0.3); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.quick-link-card .ql-icon {
  width: 56px; height: 56px; border-radius: var(--r-md); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.quick-link-card h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.quick-link-card p  { font-size: 12.5px; color: var(--gray-500); line-height: 1.5; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative; padding: 90px 40px; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, rgba(34,211,238,0.06) 0%, transparent 50%, rgba(139,92,246,0.04) 100%);
  border-top: 1px solid rgba(34,211,238,0.08);
}
.cta-band::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(34,211,238,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta-band p  { font-size: 16px; color: var(--gray-400); margin-bottom: 36px; line-height: 1.8; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface-1);
  border-top: 1px solid rgba(34,211,238,0.08);
  padding: 70px 40px 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  max-width: 1280px; margin: 0 auto; padding-bottom: 56px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--gray-500); line-height: 1.8; max-width: 280px; }
.footer-brand .social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); font-size: 14px; transition: all var(--t-fast); text-decoration: none;
}
.social-btn:hover { background: var(--cyan-dim); border-color: rgba(34,211,238,0.3); color: var(--cyan); }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 18px;
}
.footer-col a {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--gray-500); padding: 5px 0;
  transition: color var(--t-fast); text-decoration: none;
}
.footer-col a:hover { color: var(--gray-100); }
.footer-col a i { font-size: 10px; color: var(--cyan); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-icon { color: var(--cyan); font-size: 13px; margin-top: 3px; flex-shrink: 0; }
.footer-contact-text { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.footer-contact-text a { color: var(--cyan); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--gray-600); flex-wrap: wrap; gap: 10px;
}
.footer-bottom .rc { color: var(--gray-500); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { display: none; }
  .hero { padding: 120px 32px 80px; }
  .bento-grid { grid-template-columns: repeat(6, 1fr); }
  .bento-cell-wide, .bento-cell-narrow { grid-column: span 6; }
  .bento-cell-third { grid-column: span 3; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .split-layout.reverse { direction: ltr; }
  .section { padding: 70px 32px; }
  .navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-nav-login { display: none; }
  .quick-links-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  .section-sm { padding: 44px 20px; }
  .page-hero { padding: 120px 20px 60px; }
  .section-header { margin-bottom: 44px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-cell-wide, .bento-cell-narrow, .bento-cell-third, .bento-cell-two-row { grid-column: span 1; grid-row: span 1; }
  .bento-cell { min-height: 160px; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .workflow-rail::before { left: 39px; }
  .perm-table th, .perm-table td { padding: 10px 12px; font-size: 12px; }
  .quick-links-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero-headline { font-size: 40px; letter-spacing: -1.5px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-number { font-size: 32px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .navbar { padding: 0 16px; }
  .section { padding: 50px 16px; }
  .page-hero { padding: 110px 16px 50px; }
  .cta-band { padding: 60px 16px; }
  .workflow-step { gap: 20px; }
  .workflow-num { width: 60px; height: 60px; font-size: 22px; }
  .module-card { padding: 24px 20px; }
  .pillar-card { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
