:root {
  --primary-blue: #0e2a47;
  --primary-green: #1e7f5c;
  --accent-green: #25d366;
  --light-bg: #f5f9f7;
  --dark-text: #1a1a1a;
  --muted-text: #4f5f6f;
  --shadow-soft: 0 14px 28px rgba(14, 42, 71, 0.08);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--dark-text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.24;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.section-padding {
  padding: 90px 0;
}

.bg-light-custom {
  background: var(--light-bg);
}

.section-header {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted-text);
  margin: 0;
}

.navbar {
  padding: 15px 0;
  background: rgba(248, 251, 250, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(14, 42, 71, 0.08);
  transition: all 0.3s ease;
}

.navbar-scrolled {
  background: rgba(248, 251, 250, 0.98) !important;
  box-shadow: 0 8px 20px rgba(14, 42, 71, 0.1);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 312px;
  color: var(--primary-blue);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--primary-blue);
}

.navbar-utility {
  margin-left: auto;
  position: relative;
  z-index: 1040;
}

.site-logo {
  width: 280px;
  max-width: 100%;
  height: 70px;
  display: block;
  object-fit: contain;
}

.navbar .nav-link {
  color: #3d5063;
  font-weight: 500;
  margin-left: 8px;
  padding: 8px 10px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary-green);
}

.btn-main {
  background: linear-gradient(140deg, var(--primary-green), #2b9d73);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  padding: 12px 24px;
}

.btn-main:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 127, 92, 0.22);
}

.btn-outline-light-custom {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  padding: 12px 24px;
}

.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--primary-blue);
}

.btn-whatsapp {
  background: var(--accent-green);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  padding: 12px 22px;
}

.btn-whatsapp,
.btn-whatsapp:visited {
  color: #fff;
  background: var(--accent-green);
  border-color: var(--accent-green);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus,
.btn-whatsapp:active,
.btn-whatsapp.show {
  color: #fff !important;
  background: #1fb85a !important;
  border-color: #1fb85a !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:focus-visible {
  color: #fff !important;
  background: #1fb85a !important;
  border-color: #1fb85a !important;
  box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.28);
}

.hero {
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 180px;
  padding-bottom: 120px;
  background:
    linear-gradient(140deg, rgba(14, 42, 71, 0.96), rgba(30, 127, 92, 0.9)),
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.17), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.11), transparent 28%);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
}

.hero .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 860px;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 44px;
}

.hero-note .mini-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  padding: 15px 14px;
}

.hero-note .mini-card p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  font-size: 0.9rem;
}

.page-hero {
  color: #fff;
  padding-top: 152px;
  padding-bottom: 80px;
  background:
    linear-gradient(145deg, rgba(14, 42, 71, 0.96), rgba(18, 78, 126, 0.88)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 34%);
}

.page-hero h1 {
  font-weight: 700;
}

.card-elevated {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  height: 100%;
}

.card-elevated:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(14, 42, 71, 0.14);
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(30, 127, 92, 0.12);
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  margin-bottom: 11px;
  color: var(--muted-text);
}

.check-list i {
  color: var(--primary-green);
  margin-right: 10px;
}

.token-block {
  border-radius: var(--radius);
  padding: 34px;
  color: #eaf4ff;
  background:
    linear-gradient(135deg, #0b2139, #0f355a 42%, #136e5f 100%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.2), transparent 30%);
  position: relative;
  overflow: hidden;
}

.token-block::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.token-block > * {
  position: relative;
  z-index: 1;
}

.token-item {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 12px;
  margin: 0 8px 10px 0;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

.number-step {
  position: relative;
  padding-left: 62px;
  margin-bottom: 24px;
}

.number-step:last-child {
  margin-bottom: 0;
}

.step-no {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--primary-blue), var(--primary-green));
  color: #fff;
  font-weight: 700;
}

.number-step h6 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 4px;
}

.video-shell {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  background: rgba(14, 42, 71, 0.78);
  color: #fff;
}

.badge-status {
  border-radius: 999px;
  font-weight: 600;
  padding: 8px 12px;
  font-size: 0.78rem;
}

.status-assessment {
  background: #fff2cf;
  color: #8a5a00;
}

.status-development {
  background: #dff0ff;
  color: #114f91;
}

.status-registered {
  background: #dff7e8;
  color: #12562e;
}

.status-issued {
  background: #eee5ff;
  color: #4b2c8f;
}

.dashboard-shell {
  border-radius: var(--radius);
  border: 1px solid #dbe4ee;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.metric-card {
  border-radius: 10px;
  border: 1px solid #dce6f1;
  background: #f9fbfc;
  padding: 16px;
  height: 100%;
}

.metric-card h6 {
  color: #4f5f6f;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.metric-card h4 {
  margin: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

.mini-tag {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 10px;
  background: #deefff;
  color: #0f3f66;
  font-weight: 600;
  font-size: 0.8rem;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 1px solid #d5dde4;
  padding: 12px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(30, 127, 92, 0.52);
  box-shadow: 0 0 0 0.22rem rgba(30, 127, 92, 0.14);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.36);
  z-index: 1030;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px);
}

.language-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 1030;
}

.language-float-btn {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(14, 42, 71, 0.12);
  border-radius: 50%;
  background: #fff;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 12px 24px rgba(14, 42, 71, 0.14);
}

.language-float-btn:hover,
.language-float-btn:focus,
.language-float-btn:active,
.language-float-btn.show {
  color: var(--primary-blue) !important;
  background: #fff !important;
  border-color: rgba(30, 127, 92, 0.35) !important;
  box-shadow: 0 0 0 0.2rem rgba(30, 127, 92, 0.12), 0 12px 24px rgba(14, 42, 71, 0.14) !important;
}

.language-float-menu {
  min-width: 152px;
  border-radius: 12px;
  border: 1px solid #dbe4ef;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 10px !important;
}

.language-float-menu .dropdown-item {
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 14px;
}

.language-float-menu .dropdown-item.active,
.language-float-menu .dropdown-item:active {
  color: #fff;
  background: linear-gradient(140deg, var(--primary-blue), var(--primary-green));
}

.footer {
  background: #081d33;
  color: rgba(255, 255, 255, 0.88);
  padding-top: 70px;
}

.footer-brand-logo {
  width: 280px;
  max-width: 100%;
  height: 70px;
  display: block;
  object-fit: contain;
}

.footer-logo-wrap {
  background: #f5f9f7;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 12px 24px rgba(4, 15, 28, 0.18);
  margin-bottom: 16px;
}

.footer h6 {
  color: #fff;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 9px;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
}

.footer a:hover {
  color: #fff;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 30px;
  padding: 18px 0 24px;
  font-size: 0.92rem;
}

@media (max-width: 991.98px) {
  .navbar {
    background: rgba(248, 251, 250, 0.98);
  }

  .navbar-brand {
    max-width: 270px;
  }

  .navbar-utility {
    gap: 0 !important;
  }

  .site-logo {
    width: 246px;
    height: 62px;
  }

  .navbar-collapse {
    background: #fff;
    border-radius: 14px;
    margin-top: 14px;
    padding: 14px;
    box-shadow: 0 14px 26px rgba(14, 42, 71, 0.08);
  }

  .section-padding {
    padding: 72px 0;
  }

  .hero {
    padding-top: 150px;
    padding-bottom: 96px;
  }
}

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

  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: visible;
  }

  .navbar-brand {
    max-width: 152px;
    min-width: 0;
    flex: 0 1 auto;
  }

  .navbar-utility {
    margin-left: 0 !important;
    flex-shrink: 0;
    flex: 0 0 auto;
  }

  .site-logo {
    width: 148px;
    height: 40px;
  }

  .navbar-toggler {
    padding: 0.45rem 0.55rem;
    flex-shrink: 0;
  }

  .language-float,
  .whatsapp-float {
    bottom: 14px;
  }

  .language-float {
    left: 14px;
  }

  .whatsapp-float {
    right: 14px;
  }

  .language-float-btn,
  .whatsapp-float {
    width: 52px;
    height: 52px;
  }

  .language-float-menu {
    min-width: 140px;
  }

  .footer-brand-logo {
    width: 220px;
    height: 55px;
  }

  .hero-cta .btn-main,
  .hero-cta .btn-outline-light-custom,
  .hero-cta .btn-whatsapp {
    width: 100%;
    text-align: center;
  }

  .token-block {
    padding: 24px;
  }
}
