/*-------------------------
    Variables
-------------------------*/
:root {
  --color-primary: #0a369d;
  --color-secondary: #e7eefd;
  --color-white: #ffffff;
  --color-body: #161c2d;
  --color-link: #0a369d;
  --color-blue: #0a58ca;
  --bg-light: #f8f9fa;
  --bg-table-head: #eef4ff;
  --border: #e5e7eb;
  --bg-soft: #eef4ff;
  --card-bg: #ffffff;
  --success: #34c759;
  --font-primary: "Fahkwang", sans-serif;
  --transition: all 0.4s ease-in-out;
  --font-body-1: 22px;
  --font-body-2: 20px;
  --font-body-3: 18px;
  --font-body-4: 16px;
  --h1: 42px;
  --h2: 32px;
  --h3: 24px;
}

body {
  background-color: #ffffff;
  font-family: var(--font-primary);
  font-size: var(--font-body-3);
  color: var(--color-body);
}

a {
  color: var(--color-link);
}

a,
a:focus,
a:hover,
a:active {
  text-decoration: none;
}

.btn:focus {
  box-shadow: none;
}

.btn:hover {
  color: var(--color-white);
  background-color: var(--color-blue);
  border-color: var(--color-blue);
}

h1 {
  font-size: var(--h1);
}

h2 {
  font-size: var(--h2);
}

h3 {
  font-size: var(--h3);
}

h1,
h2,
h3 {
  font-weight: bold;
  color: var(--color-body);
}

ul,
li {
  margin: 0;
}

.btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 8px;
  padding: 8px 16px;
  border-color: var(--color-primary);
  font-size: var(--font-body-3);
}

/** Top Navigation Starts **/
nav {
  background-color: var(--color-white);
  border-bottom: 1px solid #eeeeee;
}

.navbar {
  transition:
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.navbar.shadow-sm {
  border-bottom: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.logo-main {
  width: 260px;
  max-width: 100%;
}

.navbar-nav .nav-link {
  color: var(--color-primary) !important;
  font-size: var(--font-body-3);
  font-weight: 400;
}

nav .nav-item {
  padding: 0 15px;
  list-style-type: none;
}

nav .nav-link.active,
nav .show > .nav-link,
.navbar-nav .nav-link:hover {
  color: var(--color-primary) !important;
}

section {
  padding: 60px 0;
}

/** Top Navigation Ends **/

/** Hero section Starts **/
.hero-section {
  padding: 140px 0 60px;
}

.hero-section h1 span {
  color: var(--color-primary);
}

.hero-section h3 {
  font-weight: 500;
}

/* Info box */
.info-box {
  background: var(--bg-light);
  padding: 36px;
  border-radius: 16px;
}

.info-box .sub-title {
  font-weight: 500;
  font-size: var(--font-body-2);
  margin-bottom: 8px;
}

.info-box p {
  color: var(--body);
  max-width: 700px;
  margin: 0 auto;
}

/* Table */
.test-domains {
  background-color: var(--color-white);
  padding: 16px;
  border-radius: 16px;
}

.table {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
}

.table thead th {
  background: var(--bg-table-head);
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--font-body-2);
  border: 0;
}

.table td,
.table th {
  padding: 8px 16px;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:nth-child(even) {
  background: #fafafa;
}

.table a {
  color: var(--color-body);
  text-decoration: none;
}

.domain a {
  border-bottom: 1px dashed;
}

/* Copy buttons */
.btn-link {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  padding: 4px 6px;
  border: 0;
  border-radius: 4px;
}

/* Copy all button */
.btn-outline-primary {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: 500;
  font-size: var(--font-body-3);
  box-shadow: none;
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.btn-outline-primary:hover svg {
  fill: currentColor;
}

/* Status box */
.status-box {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 16px 32px;
  max-width: 585px;
}

.status-label {
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}

.status-ok {
  color: var(--success);
}

.status-text {
  color: var(--body);
}

/* Details card */
.details-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  max-width: 465px;
  text-align: left;
  margin-bottom: 24px;
}

.details-card div {
  margin-bottom: 10px;
  font-size: var(--font-body-2);
}

.details-card div:last-child {
  margin-bottom: 0;
}

.details-card strong {
  color: var(--heading);
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}

.footer a {
  color: var(--color-link);
  text-decoration: none;
}

.footer .logo-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer .logo-flex img {
  max-height: 45px;
  width: auto;
}

.footer .other-pinfo {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 32px;
}

.footer .other-pinfo p {
  font-weight: 600;
  font-size: var(--font-body-2);
  margin-top: 32px;
}

.footer .other-pinfo a {
  color: var(--color-primary) !important;
  font-size: var(--font-body-3);
  font-weight: 400;
}

.footer .copyright {
  padding: 24px 0;
  font-size: var(--font-body-4);
}

/* ==============================
   RESPONSIVE
================================ */
@media (max-width: 1399.98px) {
}
@media (max-width: 1199.98px) {
}
@media (max-width: 991.98px) {
  .hero-section h1 {
    margin-bottom: 30px;
  }
  .footer .other-pinfo {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer .other-pinfo a {
    margin-top: 0;
  }
  .footer .logo-flex {
    margin-bottom: 32px;
  }
  .footer .other-pinfo p {
    margin-bottom: 8px;
  }
}
@media (max-width: 767.98px) {
  table thead {
    display: none;
  }
  table tr {
    display: flex;
    flex-direction: column;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    margin-bottom: 10px;
    font-size: var(--font-body-4);
  }
  table td {
    border-bottom: 0;
  }
  table td[data-label] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  table td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-primary);
    width: 100%;
  }
  .footer .logo-flex {
    gap: 16px;
  }
  .footer .logo-flex img {
    max-height: 21px;
  }
}
@media (max-width: 575.98px) {
  section {
    padding: 40px 0;
  }
  .navbar-nav .nav-link {
    font-size: var(--font-body-3);
  }
  .hero-section {
    padding: 100px 0 32px;
  }
  .info-box {
    padding: 16px;
  }
  .section-title {
    margin-bottom: 20px;
  }
  h1 {
    font-size: var(--h2);
  }
  h2 {
    font-size: var(--h3);
  }
  .details-card div {
    display: flex;
    flex-direction: column;
  }
  .cta-block .btn {
    width: 100%;
    margin-bottom: 8px;
  }
  .footer .copyright {
    padding: 8px 0;
    text-align: center;
  }
}
