:root{
  --navy:#0b1f3a;
  --navy-2:#102d50;
  --blue:#2563eb;
  --blue-light:#eaf2ff;
  --text:#172033;
  --muted:#6b778c;
  --line:#e5eaf1;
  --white:#fff;
  --bg:#f6f8fc;
  --shadow:0 18px 45px rgba(11,31,58,.09);
  --radius:20px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);line-height:1.5}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
button{cursor:pointer}
.page-bg{position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 85% 8%,rgba(37,99,235,.09),transparent 28%),radial-gradient(circle at 5% 45%,rgba(14,165,233,.06),transparent 25%);z-index:-1}
.site-header{height:76px;padding:0 6vw;display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(229,234,241,.9);position:sticky;top:0;z-index:20}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark{width:43px;height:43px;border-radius:12px;background:linear-gradient(135deg,var(--navy),#174c87);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:900;letter-spacing:.5px;box-shadow:0 8px 20px rgba(11,31,58,.18)}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-copy strong{font-size:14px;letter-spacing:1.3px}
.brand-copy small{font-size:9px;color:var(--muted);margin-top:5px;letter-spacing:.7px}
.main-nav{display:flex;gap:8px}
.main-nav a{padding:9px 14px;border-radius:9px;color:#667085;font-size:13px;font-weight:600}
.main-nav a:hover,.main-nav a.active{color:var(--navy);background:#f0f4fa}
.secure-badge{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:9px 13px;border-radius:999px;background:#fff;font-size:12px;font-weight:700;color:#41516a}
.status-dot{width:8px;height:8px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 4px #dcfce7}
.hero {
    min-height: 590px;
    padding: 78px 8vw 65px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px;
    overflow: hidden;

    background-image: url("hero-background..png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero h1{font-size:clamp(40px,5vw,67px);line-height:1.02;letter-spacing:-2.8px;margin:0 0 22px;color:#fbbf24;max-width:720px}
.hero h1 span{color:#fbbf24}
.hero-subtitle{font-size:20px;line-height:1.45;font-weight:650;color:#ffffff;max-width:650px;margin:0 0 13px}
.hero-description{font-size:14px;color:#ffffff;max-width:600px;margin:0}
.hero-actions{display:flex;gap:12px;margin-top:30px}
.primary-btn,.secondary-btn,.support-btn{display:inline-flex;align-items:center;gap:12px;padding:13px 19px;border-radius:11px;font-size:13px;font-weight:800;transition:.2s}
.primary-btn{background:var(--navy);color:#fff;box-shadow:0 12px 25px rgba(11,31,58,.2)}
.primary-btn:hover{transform:translateY(-2px);background:#12355f}
.secondary-btn{border:1px solid var(--line);background:#fff;color:#33445d}
.secondary-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.hero-visual{min-height:390px;position:relative;display:grid;place-items:center}
.orbit{position:absolute;border:1px solid rgba(37,99,235,.12);border-radius:50%}
.orbit-1{width:430px;height:430px}
.orbit-2{width:330px;height:330px;border-style:dashed}
.dashboard-window{width:min(455px,92%);background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:0 30px 70px rgba(11,31,58,.15);padding:14px;position:relative;transform:rotate(1deg)}
.window-top{display:flex;gap:6px;padding:4px 3px 13px;border-bottom:1px solid #eef1f5}
.window-top span{width:7px;height:7px;border-radius:50%;background:#d7deea}
.mini-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}
.mini-kpis div{padding:12px;border:1px solid #edf0f5;border-radius:11px}
.mini-kpis small{display:block;font-size:8px;color:#7b8799}
.mini-kpis b{display:block;color:var(--navy);font-size:19px;margin-top:5px}
.mini-chart{height:145px;margin-top:11px;border:1px solid #edf0f5;border-radius:11px;display:flex;align-items:end;justify-content:space-around;padding:22px 18px 16px;position:relative;overflow:hidden;background:linear-gradient(#fff,#f8fbff)}
.bar{width:24px;border-radius:5px 5px 2px 2px;background:#b8cff4}
.b1{height:45%}.b2{height:62%}.b3{height:52%}.b4{height:76%}.b5{height:67%}.b6{height:88%;background:#2563eb}
.chart-line{position:absolute;width:65%;height:55px;left:16%;top:36%;border-top:2px solid #4b83e8;transform:skewY(-8deg)}
.mini-table{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;margin-top:11px}
.mini-table span{height:8px;background:#edf2f8;border-radius:3px}
.projects-section{padding:75px 8vw 85px;background:#fff;border-top:1px solid #eef1f5;border-bottom:1px solid #eef1f5}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}
.section-heading h2,.info-card h2,.support-section h2{font-size:32px;line-height:1.1;color:var(--navy);letter-spacing:-1px;margin:0}
.section-heading p{max-width:430px;margin:0;color:var(--muted);font-size:13px}
.project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.project-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-height:235px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:.25s;box-shadow:0 6px 18px rgba(11,31,58,.035)}
.project-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--accent)}
.project-card:hover{transform:translateY(-5px);border-color:#d7e1ef;box-shadow:var(--shadow)}
.project-icon{width:47px;height:47px;border-radius:14px;display:grid;place-items:center;background:var(--icon-bg);color:var(--accent);font-size:22px;margin-bottom:18px}
.project-card h3{font-size:17px;color:var(--navy);margin:0 0 7px}
.project-card p{font-size:12px;color:var(--muted);margin:0;min-height:40px}
.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:20px}
.lock-label{font-size:10px;color:#8490a2;font-weight:700}
.card-btn{border:0;background:#f0f5fc;color:var(--navy);font-size:11px;font-weight:900;padding:10px 12px;border-radius:9px;transition:.2s}
.card-btn:hover{background:var(--navy);color:#fff}
.info-section{padding:80px 8vw;background:var(--bg)}
.info-card{background:var(--navy);border-radius:25px;padding:42px;display:flex;gap:24px;align-items:flex-start;color:#fff;box-shadow:var(--shadow)}
.info-card .eyebrow{color:#9db7da}
.info-card h2{color:#fff;max-width:750px}
.info-card p{color:#c5d1e0;max-width:760px;font-size:13px;margin-bottom:0}
.info-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.1);font-size:24px}
.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}
.stats-row div{background:#fff;border:1px solid var(--line);border-radius:17px;padding:22px}
.stats-row strong{display:block;color:var(--navy);font-size:28px}
.stats-row span{font-size:11px;color:var(--muted)}
.support-section{padding:70px 8vw;display:flex;justify-content:space-between;align-items:center;gap:30px;background:#fff}
.support-section h2{margin-bottom:10px}
.support-section p{margin:0;color:var(--muted);font-size:13px}
.support-btn{background:#eef4ff;color:#1f5ec9}
.support-btn:hover{background:#dfeaff;transform:translateY(-2px)}
.site-footer{background:#07182d;color:#fff;padding:30px 8vw;display:flex;align-items:center;justify-content:space-between;gap:25px}
.site-footer div:first-child{display:flex;flex-direction:column}
.site-footer strong{font-size:14px;letter-spacing:.7px}
.site-footer span,.site-footer small{font-size:10px;color:#94a8c1;margin-top:5px}
.footer-links{display:flex!important;flex-direction:row!important;gap:20px}
.footer-links a{font-size:11px;color:#c6d3e3}
.footer-links a:hover{color:#fff}
.modal-backdrop{position:fixed;inset:0;background:rgba(4,16,32,.58);backdrop-filter:blur(7px);display:grid;place-items:center;padding:20px;z-index:100}
.modal-backdrop[hidden]{display:none}
.password-modal{width:min(420px,100%);background:#fff;border-radius:22px;padding:32px;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.25);animation:modalIn .2s ease-out}
@keyframes modalIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.modal-close{position:absolute;right:16px;top:14px;border:0;background:#f3f5f8;width:31px;height:31px;border-radius:50%;font-size:21px;color:#6b7280}
.modal-lock{width:52px;height:52px;border-radius:15px;background:#edf4ff;display:grid;place-items:center;font-size:22px;margin-bottom:18px}
.password-modal h3{font-size:24px;color:var(--navy);margin:0 0 5px}
.password-modal p{font-size:12px;color:var(--muted);margin:0 0 20px}
.password-modal label{display:block;font-size:11px;font-weight:800;color:#3d4a60;margin-bottom:7px}
.password-field{display:flex;border:1px solid #d9e0ea;border-radius:10px;overflow:hidden;background:#fff}
.password-field:focus-within{border-color:#6b9ce8;box-shadow:0 0 0 3px #eaf2ff}
.password-field input{border:0;outline:0;flex:1;padding:12px;font-size:13px;min-width:0}
.password-field button{border:0;background:#f5f7fa;color:#35506f;padding:0 12px;font-size:11px;font-weight:800}
.error-message{height:22px;color:#dc2626;font-size:11px;font-weight:700;padding-top:7px}
.login-btn{width:100%;border:0;border-radius:10px;background:var(--navy);color:#fff;padding:13px;font-weight:850;font-size:12px;margin-top:4px}
.login-btn:hover{background:#12355f}
.security-note{font-size:10px!important;color:#8a96a8!important;margin:15px 0 0!important}
.toast{position:fixed;right:22px;bottom:22px;background:#0b1f3a;color:#fff;padding:12px 16px;border-radius:10px;font-size:11px;box-shadow:var(--shadow);opacity:0;transform:translateY(10px);pointer-events:none;transition:.25s;z-index:110}
.toast.show{opacity:1;transform:none}
@media(max-width:1050px){.project-grid{grid-template-columns:repeat(3,1fr)}.hero{grid-template-columns:1fr}.hero-visual{display:none}}
@media(max-width:760px){.site-header{padding:0 5vw}.main-nav{display:none}.secure-badge{font-size:10px}.hero{padding:55px 6vw}.hero h1{font-size:43px;letter-spacing:-1.8px}.projects-section,.info-section,.support-section{padding-left:6vw;padding-right:6vw}.section-heading{display:block}.section-heading p{margin-top:10px}.project-grid{grid-template-columns:repeat(2,1fr)}.info-card{padding:28px;flex-direction:column}.support-section{display:block}.support-btn{margin-top:22px}.site-footer{padding:28px 6vw;flex-wrap:wrap}.footer-links{order:3;width:100%}}
@media(max-width:500px){.brand-copy small{display:none}.secure-badge{display:none}.project-grid{grid-template-columns:1fr}.hero-actions{flex-direction:column}.primary-btn,.secondary-btn{justify-content:center}.stats-row{grid-template-columns:1fr}.password-modal{padding:26px}.site-footer{display:block}.footer-links{margin:18px 0}}

/* =========================================================
   INSIDE MODULE - SAME LAYOUT AS MAIN PROJECT CARDS
   ========================================================= */

.dashboard-directory {
  width: 100%;
  animation: directoryIn .25s ease-out;
}

@keyframes directoryIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}


/* MODULE HEADER */

.dashboard-directory-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.dashboard-directory-header h2 {
  font-size: 32px;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -1px;
  margin: 0;
}

.dashboard-directory-header p {
  color: var(--muted);
  font-size: 13px;
  margin: 7px 0 0;
}


/* BACK BUTTON */

.back-projects-btn {
  border: 0;
  background: #f0f4fa;
  color: var(--navy);
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 900;
  transition: .2s;
}

.back-projects-btn:hover {
  background: var(--navy);
  color: #fff;
  transform: translateX(-2px);
}


/* HIDE ACCESS STATUS */

.directory-status {
  display: none;
}


/* =========================================================
   SAME GRID AS MAIN PROJECT MODULES
   ========================================================= */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}


/* =========================================================
   SAME CARD STYLE AS .project-card
   ========================================================= */

.dashboard-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 235px;

  display: flex;
  flex-direction: column;

  position: relative;
  overflow: hidden;

  transition: .25s;

  box-shadow: 0 6px 18px rgba(11,31,58,.035);
}


/* SAME TOP ACCENT LINE */

.dashboard-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
}


/* SAME HOVER */

.dashboard-card:hover {
  transform: translateY(-5px);
  border-color: #d7e1ef;
  box-shadow: var(--shadow);
}


/* =========================================================
   DASHBOARD ICON / NUMBER
   ========================================================= */

.dashboard-number {
  width: 47px;
  height: 47px;

  border-radius: 14px;

  display: grid;
  place-items: center;

  background: #f0f5fc;
  color: var(--accent);

  font-size: 14px;
  font-weight: 900;

  margin-bottom: 18px;
}


/* =========================================================
   DASHBOARD TITLE
   ========================================================= */

.dashboard-card h3 {
  font-size: 17px;
  color: var(--navy);

  margin: 0 0 7px;

  line-height: 1.3;
}


/* DESCRIPTION */

.dashboard-card p {
  font-size: 12px;
  color: var(--muted);

  margin: 0;

  min-height: 40px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.dashboard-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;

  background: #f0f5fc;
  color: var(--navy);

  font-size: 11px;
  font-weight: 900;

  padding: 10px 12px;

  border-radius: 9px;

  margin-top: auto;

  transition: .2s;

  text-decoration: none;

  width: 100%;
}


.dashboard-open-btn:hover {
  background: var(--navy);
  color: #fff;
}


/* EMPTY LINK */

.dashboard-disabled {
  cursor: pointer;
  color: #8490a2;
}

.dashboard-disabled:hover {
  background: #f0f5fc;
  color: #8490a2;
}


/* =========================================================
   TABLET
   SAME AS PROJECT GRID
   ========================================================= */

@media(max-width:1050px) {

  .dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:760px) {

  .dashboard-directory-header {
    display: block;
  }

  .dashboard-directory-header h2 {
    font-size: 28px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media(max-width:500px) {

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    min-height: 235px;
  }

}
/* =========================================================
   FIX: INSIDE MODULE MUST USE FULL PROJECT GRID WIDTH
   ========================================================= */

.project-grid.dashboard-mode {
  display: block;
  width: 100%;
}


/* Dashboard directory uses full available width */

.project-grid.dashboard-mode .dashboard-directory {
  width: 100%;
  max-width: 100%;
}


/* =========================================================
   SAME GRID AS MAIN PROJECT CARDS
   ========================================================= */

.project-grid.dashboard-mode .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}


/* =========================================================
   EXACT SAME CARD SIZE AS MAIN MODULE CARDS
   ========================================================= */

.project-grid.dashboard-mode .dashboard-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 235px;

  display: flex;
  flex-direction: column;

  position: relative;
  overflow: hidden;

  transition: .25s;

  box-shadow: 0 6px 18px rgba(11,31,58,.035);
}


/* Same top line */

.project-grid.dashboard-mode .dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
}


/* Same hover */

.project-grid.dashboard-mode .dashboard-card:hover {
  transform: translateY(-5px);
  border-color: #d7e1ef;
  box-shadow: var(--shadow);
}


/* Same number/icon box */

.project-grid.dashboard-mode .dashboard-number {
  width: 47px;
  height: 47px;

  border-radius: 14px;

  display: grid;
  place-items: center;

  background: #f0f5fc;
  color: var(--accent);

  font-size: 14px;
  font-weight: 900;

  margin-bottom: 18px;
}


/* Same title */

.project-grid.dashboard-mode .dashboard-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 7px;
  line-height: 1.3;
}


/* Same description */

.project-grid.dashboard-mode .dashboard-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  min-height: 40px;
}


/* Open button */

.project-grid.dashboard-mode .dashboard-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  border: 0;
  border-radius: 9px;

  background: #f0f5fc;
  color: var(--navy);

  padding: 10px 12px;

  font-size: 11px;
  font-weight: 900;

  margin-top: auto;

  transition: .2s;
  text-decoration: none;
}


.project-grid.dashboard-mode .dashboard-open-btn:hover {
  background: var(--navy);
  color: #fff;
}


/* =========================================================
   TABLET - SAME RESPONSIVE BEHAVIOUR
   ========================================================= */

@media(max-width:1050px) {

  .project-grid.dashboard-mode .dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:760px) {

  .project-grid.dashboard-mode .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media(max-width:500px) {

  .project-grid.dashboard-mode .dashboard-grid {
    grid-template-columns: 1fr;
  }

}
