:root {
  --blue: #1d6ff3;
  --blue-dark: #1558d0;
  --navy: #0a1628;
  --navy2: #0f2040;
  --navy3: #152b55;
  --text: #e8edf5;
  --muted: #8ca0bd;
  --border: rgba(255,255,255,0.08);
  --white: #ffffff;
  --green: #22c55e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #f5f7fb; color: #1a2540; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.nav-brand-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.nav-brand-text { color: #fff; font-weight: 700; font-size: 1rem; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.85rem;
  font-weight: 500; padding: 0.5rem 1rem; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-cta {
  background: var(--blue); color: #fff !important;
  border-radius: 6px; padding: 0.5rem 1.2rem !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #0d2048 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem 5% 4rem;
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231d6ff3' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { max-width: 750px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(29,111,243,0.15); border: 1px solid rgba(29,111,243,0.35);
  color: #7fb3ff; font-size: 0.78rem; font-weight: 600;
  padding: 0.4rem 1rem; border-radius: 20px; margin-bottom: 2rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.hero-badge span { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
#hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  color: #fff; margin-bottom: 1.5rem;
}
#hero h1 em { color: var(--blue); font-style: normal; }
#hero p {
  font-size: 1.1rem; color: var(--muted); line-height: 1.75;
  max-width: 600px; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.btn-primary {
  background: var(--blue); color: #fff; border: none;
  padding: 0.85rem 2rem; border-radius: 8px; font-size: 0.95rem;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(29,111,243,0.4); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.85rem 2rem; border-radius: 8px; font-size: 0.95rem;
  font-weight: 600; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; }
.h-stat-num { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.h-stat-num span { color: var(--blue); }
.h-stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  color: var(--muted); font-size: 0.78rem; text-align: center;
  text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }
.scroll-hint svg { opacity: 0.5; }

/* ── SHARED ── */
.section { padding: 5rem 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  color: var(--blue); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; color: #0a1628; line-height: 1.2; margin-bottom: 1rem;
}
.section-desc { font-size: 1rem; color: #5a6a84; max-width: 580px; line-height: 1.7; margin-bottom: 3rem; }

/* ── TEAM ── */
#team { background: var(--navy); }
#team .section-title, #team .section-tag { color: #fff; }
#team .section-tag { color: #7fb3ff; }
#team .section-desc { color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card {
  background: var(--navy2); border: 1px solid var(--border); border-radius: 14px;
  padding: 2rem 1.5rem; text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(29,111,243,0.4); }
.team-photo {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--navy3); border: 3px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem; font-weight: 800; color: var(--blue);
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
.team-id { color: var(--muted); font-size: 0.75rem; margin-bottom: 0.4rem; }
.team-role {
  display: inline-block; background: rgba(29,111,243,0.15);
  color: #7fb3ff; font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.7rem; border-radius: 20px; margin-bottom: 1rem;
}
.team-links { display: flex; justify-content: center; gap: 0.6rem; }
.team-link {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 0.8rem;
  transition: background 0.2s, color 0.2s;
}
.team-link:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.supervisor-card {
  margin-top: 2rem; background: var(--navy2);
  border: 1px solid rgba(29,111,243,0.3); border-radius: 14px;
  padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1.5rem;
}
.sup-photo {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(34,197,94,0.1); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: var(--green);
  font-family: 'Poppins', sans-serif; flex-shrink: 0;
}
.sup-tag { font-size: 0.7rem; font-weight: 700; color: var(--green); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.2rem; }
.sup-name { color: #fff; font-weight: 700; font-size: 1rem; }
.sup-dept { color: var(--muted); font-size: 0.82rem; }

/* ── VISION ── */
#vision { background: #f5f7fb; }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.vision-block h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: #0a1628; margin-bottom: 1rem;
}
.vision-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.vision-list li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.9rem; color: #3d4f6e; line-height: 1.55;
}
.vision-list li::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0; margin-top: 7px;
}
.vision-block.challenge .vision-list li::before { background: #ef4444; }
.vision-block.solution .vision-list li::before { background: var(--green); }
.arch-card {
  background: var(--navy); border-radius: 14px; padding: 2rem;
  color: var(--text); margin-top: 3rem;
}
.arch-card h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; }
.arch-node {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; background: var(--navy2); border-radius: 8px; margin-bottom: 0.5rem;
}
.arch-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.arch-node-name { font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 0.2rem; }
.arch-node-desc { font-size: 0.78rem; color: var(--muted); }
.arch-arrow { text-align: center; color: var(--muted); font-size: 0.8rem; padding: 0.2rem 0; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.feat-tag {
  font-size: 0.7rem; padding: 0.2rem 0.6rem;
  background: rgba(29,111,243,0.12); color: #7fb3ff;
  border-radius: 4px; font-weight: 500;
}

/* ── FEATURES ── */
#features { background: #fff; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.feat-card {
  background: #f8faff; border: 1px solid #e2e8f4; border-radius: 14px;
  padding: 2rem; transition: box-shadow 0.3s, transform 0.3s;
}
.feat-card:hover { box-shadow: 0 8px 32px rgba(29,111,243,0.1); transform: translateY(-2px); }
.feat-num {
  font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 800;
  color: #dce8ff; line-height: 1; margin-bottom: 1rem;
}
.feat-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.feat-card h3 { font-size: 1.05rem; font-weight: 700; color: #0a1628; margin-bottom: 0.3rem; }
.feat-card .feat-sub { font-size: 0.75rem; font-weight: 600; color: var(--blue); margin-bottom: 0.8rem; letter-spacing: 0.04em; }
.feat-card p { font-size: 0.88rem; color: #5a6a84; line-height: 1.65; margin-bottom: 1rem; }
.feat-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.feat-bullets li {
  font-size: 0.82rem; color: #3d4f6e;
  display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.5;
}
.feat-bullets li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.feat-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 20px; margin-top: 1rem;
}
.badge-green { background: #dcfce7; color: #15803d; }
.badge-blue  { background: #dbeafe; color: #1d4ed8; }

/* ── RESULTS ── */
#results { background: var(--navy); }
#results .section-title { color: #fff; }
#results .section-tag { color: #7fb3ff; }
#results .section-desc { color: var(--muted); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.result-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem;
  border-top: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s;
}
.result-card:hover { transform: translateY(-3px); }
.result-card.blue { border-top-color: var(--blue); }
.result-card.green { border-top-color: var(--green); }
.result-card.orange { border-top-color: #f97316; }
.result-num {
  font-family: 'Poppins', sans-serif; font-size: 2.8rem; font-weight: 800;
  line-height: 1; margin-bottom: 0.4rem;
}
.result-card.blue .result-num { color: var(--blue); }
.result-card.green .result-num { color: var(--green); }
.result-card.orange .result-num { color: #f97316; }
.result-label { color: #fff; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.result-desc { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.results-table-wrap {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th {
  text-align: left; padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.04); color: var(--muted);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
td { padding: 0.9rem 1.2rem; color: var(--text); border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
td.val { color: var(--blue); font-weight: 700; }
.tbadge {
  display: inline-block; padding: 0.15rem 0.6rem;
  border-radius: 4px; font-size: 0.72rem; font-weight: 600;
}
.tbadge-g { background: rgba(34,197,94,0.15); color: var(--green); }
.tbadge-b { background: rgba(29,111,243,0.15); color: #7fb3ff; }

/* ── CONTACT ── */
#contact { background: #f5f7fb; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h3 {
  font-family: 'Poppins', sans-serif; font-size: 1.1rem;
  font-weight: 700; color: #0a1628; margin-bottom: 1rem;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.2rem;
}
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(29,111,243,0.08); border: 1px solid rgba(29,111,243,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item-label { font-size: 0.72rem; font-weight: 600; color: #8ca0bd; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.contact-item-val { font-size: 0.92rem; color: #0a1628; font-weight: 500; }
.contact-item-val a { color: var(--blue); text-decoration: none; }
.form-card {
  background: #fff; border: 1px solid #e2e8f4; border-radius: 16px;
  padding: 2.5rem;
}
.form-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; color: #0a1628; margin-bottom: 0.4rem; }
.form-card p { font-size: 0.85rem; color: #5a6a84; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: #3d4f6e; }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.7rem 1rem; border: 1px solid #d1dae8; border-radius: 8px;
  font-size: 0.88rem; font-family: 'Inter', sans-serif;
  color: #0a1628; background: #f8faff;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,111,243,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 0.9rem; background: var(--blue); color: #fff;
  border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.1s;
}
.form-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--navy); color: var(--muted);
  padding: 3rem 5% 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand-text { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.footer-about { font-size: 0.83rem; line-height: 1.7; color: var(--muted); max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(10,22,40,0.98); padding: 1rem;
    gap: 0.3rem; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 1rem; border-radius: 8px; }
  .hamburger { display: flex; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  #hero { padding: 6rem 5% 3rem; }
  .hero-stats { gap: 2rem; }
  .supervisor-card { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
}
