/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0b1424;
  color: #f1f5f9;
  font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: #22d3ee;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

a:hover {
  color: #67e8f9;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 20, 36, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #1c2e47;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1f5f9;
  flex: 0 0 auto;
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #101e33;
  border: 1px solid #26395a;
  display: grid;
  place-items: center;
  color: #22d3ee;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
}

.brand-text {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
}

/* Nav Menu Wrapper - Desktop flex layout with centered links */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 32px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex: 1;
  font-size: 15px;
}

.nav-links a {
  color: #a3b1c6;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f1f5f9;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 0 0 auto;
}

/* Mobile Hamburger Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #26395a;
  border-radius: 8px;
  padding: 8px 10px;
  color: #f1f5f9;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.mobile-nav-toggle:hover {
  border-color: #22d3ee;
  color: #22d3ee;
}

.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.mobile-nav-toggle .icon-close {
  display: none;
}

/* Buttons */
.btn-secondary {
  font-size: 14px;
  color: #f1f5f9;
  padding: 9px 15px;
  border-radius: 8px;
  border: 1px solid #26395a;
  display: inline-block;
  cursor: pointer;
  background: transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: #22d3ee;
  color: #f1f5f9;
}

.btn-primary {
  font-size: 14px;
  font-weight: 500;
  color: #04141c !important;
  background: #22d3ee;
  padding: 9px 16px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.3);
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #67e8f9;
  color: #04141c;
}

.btn-primary-lg {
  padding: 14px 22px;
  font-size: 15px;
}

.btn-secondary-lg {
  padding: 14px 22px;
  font-size: 15px;
}

/* Mobile Viewport Styles (<= 860px) */
@media (max-width: 860px) {
  .header-inner {
    padding: 14px 20px;
    gap: 16px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  /* When menu is open, show X icon and hide hamburger */
  .site-header.is-open .mobile-nav-toggle .icon-hamburger {
    display: none;
  }
  .site-header.is-open .mobile-nav-toggle .icon-close {
    display: block;
  }

  .nav-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b1424;
    border-bottom: 1px solid #1c2e47;
    padding: 20px 24px 28px;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
  }

  .site-header.is-open .nav-menu-wrapper {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    border-bottom: 1px solid #1c2e47;
    padding-bottom: 18px;
  }

  .nav-links a {
    font-size: 17px;
    padding: 6px 0;
    display: block;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .header-actions a {
    text-align: center;
    padding: 12px 18px;
    font-size: 15px;
  }
}

/* Sections */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 32px;
}

@media (max-width: 640px) {
  .section-container {
    padding: 64px 20px;
  }
}

.section-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #22d3ee;
  text-transform: uppercase;
}

.card-hover {
  transition: background 0.15s ease;
}

.card-hover:hover {
  background: #13223a !important;
}

/* Tabs */
.tab-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 17px;
  padding: 14px 4px;
  margin-right: 28px;
  cursor: pointer;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: #8193ad;
  transition: all 0.15s ease;
}

.tab-btn.active {
  border-bottom-color: #22d3ee;
  color: #f1f5f9;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: grid;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 500;
}

.form-control {
  width: 100%;
  background: #101e33;
  border: 1px solid #26395a;
  border-radius: 8px;
  color: #f1f5f9;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: #22d3ee;
}

.form-control option {
  background: #101e33;
  color: #f1f5f9;
}

/* Footer */
.site-footer {
  border-top: 1px solid #1c2e47;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 48px;
  font-size: 15px;
  color: #a3b1c6;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  font-size: 14px;
  color: #8193ad;
  border-top: 1px solid #1c2e47;
}
