* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f7f9fc;
  color: #263238;
  line-height: 1.6;
}

/* Top Bar */
.top-bar {
  background: #00254d;
  color: #cfddec;
  text-align: center;
  padding: 8px 15px;
  font-size: 12px;
}

/* Footer Credit */
.footer .credit {
  margin-top: 10px;
  font-size: 12px;
  color: #a0aec0;
}

.footer .credit strong {
  color: #ffffff;
}

.footer .credit a {
  color: #64b5f6;
  text-decoration: underline;
}

.footer .credit a:hover {
  color: #90caf9;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  height: 72px;
  background: white;
  border-bottom: 1px solid #e7ebf0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 6%;

  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-title {
  font-size: 24px;
  font-weight: 700;
  color: #003366;
}

.brand-subtitle {
  font-size: 11px;
  color: #777;
  letter-spacing: 0.5px;
  margin-top: -6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #003366;
}

.nav-login {
  background: #003366;
  color: white !important;
  padding: 9px 18px;
  border-radius: 6px;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 650px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 70px;

  padding: 80px 8%;

  background: linear-gradient(135deg, #f7faff 0%, #edf4fb 100%);
}

.hero-content {
  max-width: 590px;
}

.hero-label {
  color: #003366;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero h1 {
  margin-top: 15px;

  font-size: clamp(42px, 5vw, 68px);

  line-height: 1.05;

  color: #102a43;
}

.hero h1 span {
  color: #00509e;
}

.hero-content > p {
  margin-top: 24px;

  max-width: 530px;

  color: #657786;

  font-size: 17px;
}

.hero-buttons {
  display: flex;
  gap: 14px;

  margin-top: 32px;
}

.btn {
  display: inline-block;

  text-decoration: none;

  padding: 12px 22px;

  border-radius: 7px;

  font-size: 14px;

  font-weight: 600;

  transition: 0.2s;
}

.btn-primary {
  background: #003366;
  color: white;
}

.btn-primary:hover {
  background: #00254d;
}

.btn-secondary {
  background: white;
  color: #003366;

  border: 1px solid #ccd6e0;
}

.btn-secondary:hover {
  border-color: #003366;
}

/* =========================
   HERO CARD
========================= */

.hero-card {
  width: 430px;

  background: white;

  border-radius: 14px;

  box-shadow: 0 20px 50px rgba(0, 51, 102, 0.12);

  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;

  padding: 18px 22px;

  border-bottom: 1px solid #edf0f3;

  color: #555;

  font-size: 13px;
  font-weight: 600;
}

.live-dot {
  color: #28a745;
}

.complaint-preview {
  padding: 28px 24px;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 10px;
}

.preview-id {
  color: #003366;

  font-size: 12px;

  font-weight: 700;
}

.status-badge {
  background: #d9f3fb;
  color: #087990;

  padding: 5px 10px;

  border-radius: 20px;

  font-size: 11px;

  font-weight: 600;
}

.complaint-preview h3 {
  margin-top: 20px;

  font-size: 20px;

  color: #263238;
}

.complaint-preview > p {
  margin-top: 5px;

  color: #777;

  font-size: 13px;
}

.progress {
  margin-top: 35px;
}

.progress-line {
  height: 5px;

  background: #e5e9ee;

  border-radius: 10px;
}

.progress-active {
  display: block;

  width: 65%;

  height: 100%;

  background: #00509e;

  border-radius: 10px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;

  margin-top: 10px;

  color: #888;

  font-size: 10px;
}

.card-footer {
  display: flex;
  justify-content: space-between;

  padding: 14px 22px;

  background: #f8fafc;

  border-top: 1px solid #edf0f3;

  color: #777;

  font-size: 11px;
}

/* =========================
   STATS
========================= */

.stats-section {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  background: white;

  border-bottom: 1px solid #e5e9ee;
}

.stat {
  text-align: center;

  padding: 30px 15px;

  border-right: 1px solid #edf0f3;
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;

  color: #003366;

  font-size: 25px;
}

.stat span {
  color: #777;

  font-size: 12px;
}

/* =========================
   GENERAL SECTIONS
========================= */

.info-section,
.process-section {
  padding: 90px 8%;
}

.section-heading {
  max-width: 650px;

  margin-bottom: 50px;
}

.section-heading > span {
  color: #00509e;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 1.5px;
}

.section-heading h2 {
  margin-top: 8px;

  color: #102a43;

  font-size: 36px;

  line-height: 1.2;
}

.section-heading p {
  margin-top: 15px;

  color: #6b7c8c;
}

/* =========================
   FEATURES
========================= */

.features {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.feature-card {
  background: white;

  padding: 30px;

  border: 1px solid #e5e9ee;

  border-radius: 10px;

  transition: 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  font-size: 28px;

  margin-bottom: 15px;
}

.feature-card h3 {
  color: #003366;

  font-size: 18px;
}

.feature-card p {
  margin-top: 8px;

  color: #707e8c;

  font-size: 14px;
}

/* =========================
   PROCESS
========================= */

.process-section {
  background: white;
}

.steps {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.step {
  position: relative;

  padding-right: 20px;
}

.step-number {
  color: #00509e;

  font-size: 13px;

  font-weight: 700;

  margin-bottom: 15px;
}

.step h3 {
  color: #263238;

  font-size: 18px;
}

.step p {
  margin-top: 7px;

  color: #777;

  font-size: 13px;
}

/* =========================
   CTA
========================= */

.cta-section {
  margin: 70px 8%;

  padding: 55px;

  border-radius: 14px;

  background: #003366;

  color: white;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}

.cta-section > div > span {
  font-size: 11px;

  letter-spacing: 1.5px;

  opacity: 0.75;
}

.cta-section h2 {
  margin-top: 5px;

  font-size: 32px;
}

.cta-section p {
  margin-top: 5px;

  opacity: 0.8;

  font-size: 14px;
}

.btn-light {
  background: white;

  color: #003366;

  white-space: nowrap;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #102a43;

  color: white;

  padding: 35px 8%;

  display: flex;

  justify-content: space-between;

  gap: 30px;
}

.footer strong {
  font-size: 14px;
}

.footer p {
  margin-top: 5px;

  color: #b8c4cf;

  font-size: 12px;
}

.footer-links {
  display: flex;

  gap: 22px;

  align-items: center;
}

.footer-links a {
  color: #d7e0e8;

  text-decoration: none;

  font-size: 12px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 950px) {
  .hero {
    flex-direction: column;

    align-items: flex-start;
  }

  .hero-card {
    width: 100%;

    max-width: 500px;
  }

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

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

@media (max-width: 700px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-links a:not(.nav-login) {
    display: none;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
  }

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

  .stat:nth-child(2) {
    border-right: none;
  }

  .info-section,
  .process-section {
    padding: 65px 20px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

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

  .cta-section {
    margin: 40px 20px;

    padding: 35px 25px;

    flex-direction: column;

    align-items: flex-start;
  }

  .footer {
    padding: 30px 20px;

    flex-direction: column;
  }
}

.nav-logout {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  color: #d7e0e8;
  font-size: 12px;
  text-decoration: none;
  align-items: center;
  gap: 22px;
  display: flex;
}
