/* =========================================
   BioTrust Beginner Page
========================================= */

.bt-beginner {
  --btb-blue: #1e38e3;
  --btb-green: #22a95a;
  --btb-orange: #f39a23;
  --btb-purple: #8a55f6;
  --btb-text: #202124;
  --btb-sub: #666;
  --btb-line: #eeeeee;
  --btb-soft-blue: #f2f4ff;
  --btb-soft-green: #effaf4;
  --btb-soft-orange: #fff4e6;
  --btb-soft-purple: #f4edff;
  color: var(--btb-text);
  font-family: inherit;
  line-height: 1.9;
}

.bt-beginner,
.bt-beginner * {
  box-sizing: border-box;
}

.bt-beginner a {
  text-decoration: none !important;
}

.bt-beginner h1,
.bt-beginner h2,
.bt-beginner h3,
.bt-beginner h4,
.bt-beginner p,
.bt-beginner ul {
  margin-top: 0;
}

.bt-beginner h1,
.bt-beginner h2,
.bt-beginner h3,
.bt-beginner h4 {
  border: none !important;
  padding: 0 !important;
}

.bt-beginner h1::before,
.bt-beginner h1::after,
.bt-beginner h2::before,
.bt-beginner h2::after,
.bt-beginner h3::before,
.bt-beginner h3::after,
.bt-beginner h4::before,
.bt-beginner h4::after {
  display: none !important;
}

.btb-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.btb-section {
  padding: 86px 0;
}

.btb-section-soft {
  background: #fafafa;
}

.btb-en {
  margin-bottom: 12px;
  color: #777;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

/* Hero */
.btb-hero {
  padding: 96px 0 88px;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(30, 56, 227, 0.08), transparent 34%),
    radial-gradient(circle at top right, rgba(34, 169, 90, 0.08), transparent 34%),
    #fff;
}

.btb-hero h1 {
  margin-bottom: 24px;
  color: var(--btb-text);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.btb-lead {
  margin-bottom: 16px;
  color: #333;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.9;
}

.btb-sublead {
  margin-bottom: 0;
  color: var(--btb-sub);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  line-height: 2;
}

.btb-hero-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btb-hero-nav a,
.btb-hero-nav a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.btb-hero-nav a:first-child {
  color: #fff !important;
  background: var(--btb-blue);
  box-shadow: 0 10px 24px rgba(30, 56, 227, 0.22);
}

.btb-hero-nav a:last-child {
  color: var(--btb-blue) !important;
  background: #fff;
  border: 1px solid rgba(30, 56, 227, 0.18);
}

.btb-hero-nav a:hover {
  transform: translateY(-2px);
}

/* Heading */
.btb-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.btb-heading h2 {
  margin-bottom: 18px;
  color: var(--btb-text);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.btb-heading p {
  margin-bottom: 0;
  color: var(--btb-sub);
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
}

/* About */
.btb-about-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 38px 44px;
  background: #fff;
  border: 1px solid var(--btb-line);
  border-radius: 26px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.06);
}

.btb-about-box p {
  margin-bottom: 0;
  color: #444;
  font-size: 16px;
  font-weight: 600;
  line-height: 2.1;
}

.btb-about-box strong {
  color: var(--btb-blue);
  font-weight: 800;
}


/* Detail */
.btb-detail-list {
  display: grid;
  gap: 24px;
}

.btb-detail {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 30px;
  align-items: stretch;
  padding: 38px;
  background: var(--detail-bg);
  border-radius: 28px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.06);
  /* border-left: 8px solid var(--detail-color); */
}

.btb-detail-blue {
  --detail-color: var(--btb-blue);
  --detail-bg: var(--btb-soft-blue);
}

.btb-detail-green {
  --detail-color: var(--btb-green);
  --detail-bg: var(--btb-soft-green);
}

.btb-detail-orange {
  --detail-color: var(--btb-orange);
  --detail-bg: var(--btb-soft-orange);
}

.btb-detail-purple {
  --detail-color: var(--btb-purple);
  --detail-bg: var(--btb-soft-purple);
}

.btb-detail-kicker {
  margin-bottom: 8px;
  color: var(--detail-color);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.btb-detail-main h3 {
  margin-bottom: 14px;
  color: var(--btb-text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
}

.btb-detail-main p {
  margin-bottom: 0;
  color: #444;
  font-size: 15.8px;
  font-weight: 600;
  line-height: 2.05;
}

.btb-detail-side {
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
}

.btb-detail-side h4 {
  margin-bottom: 12px;
  color: var(--detail-color);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.btb-detail-side ul {
  margin-bottom: 20px;
  padding-left: 1.2em;
  color: #555;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.9;
}

.btb-detail-side a,
.btb-detail-side a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  color: #fff !important;
  background: var(--detail-color);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.4;
}

.btb-detail-side a:hover {
  color: #fff !important;
  opacity: 0.86;
}

/* Guide */
.btb-guide-section {
  background:
    radial-gradient(circle at top left, rgba(30, 56, 227, 0.08), transparent 34%),
    radial-gradient(circle at bottom right, rgba(34, 169, 90, 0.08), transparent 34%),
    #f8fbff;
}

.btb-guide-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  padding: 52px;
  background: #fff;
  border: 1px solid rgba(30, 56, 227, 0.08);
  border-radius: 30px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.075);
}

.btb-guide-main h2 {
  margin-bottom: 18px;
  color: var(--btb-text);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.4;
}

.btb-guide-main p {
  margin-bottom: 24px;
  color: #444;
  font-size: 16px;
  font-weight: 600;
  line-height: 2.05;
}

.btb-main-btn,
.btb-main-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  color: #fff !important;
  background: var(--btb-blue);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(30, 56, 227, 0.22);
}

.btb-main-btn:hover {
  color: #fff !important;
  transform: translateY(-2px);
}

.btb-guide-note {
  padding: 32px;
  background: var(--btb-soft-blue);
  border-radius: 22px;
}

.btb-guide-note h3 {
  margin-bottom: 14px;
  color: var(--btb-blue);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.55;
}

.btb-guide-note ul {
  margin-bottom: 0;
  padding-left: 1.2em;
  color: #444;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
}

/* Final */
.btb-final-section {
  padding-bottom: 90px;
}

.btb-final {
  padding: 58px 36px;
  text-align: center;
  color: #fff;
  background: var(--btb-blue);
  border-radius: 30px;
  box-shadow: 0 20px 54px rgba(30, 56, 227, 0.24);
}

.btb-final h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.5;
}

.btb-final p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15.8px;
  font-weight: 600;
  line-height: 2;
}

.btb-final-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btb-final-buttons a,
.btb-final-buttons a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  color: var(--btb-blue) !important;
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.btb-final-buttons a:hover {
  color: var(--btb-blue) !important;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {

  .btb-detail {
    grid-template-columns: 1fr !important;
  }

  .btb-guide-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .btb-container {
    width: min(100% - 32px, 1120px);
  }

  .btb-section {
    padding: 62px 0;
  }

  .btb-hero {
    padding: 68px 0 62px;
    text-align: left;
  }

  .btb-hero h1 {
    font-size: 38px;
  }

  .btb-lead {
    font-size: 18px;
  }

  .btb-sublead {
    font-size: 15px;
  }

  .btb-hero-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .btb-hero-nav a {
    width: 100%;
  }

  .btb-heading {
    margin-bottom: 32px;
    text-align: left;
  }

  .btb-heading h2 {
    font-size: 30px;
  }

  .btb-about-box {
    padding: 28px 22px;
  }

  .btb-card {
    min-height: auto;
    padding: 30px 24px 26px;
  }

  .btb-detail {
    padding: 28px 22px;
    border-left-width: 6px;
  }

  .btb-detail-main h3 {
    font-size: 24px;
  }

  .btb-detail-side {
    padding: 24px 20px;
  }

  .btb-guide-box {
    padding: 34px 22px;
  }

  .btb-guide-main h2 {
    font-size: 30px;
  }

  .btb-guide-note {
    padding: 26px 20px;
  }

  .btb-final {
    padding: 42px 22px;
    text-align: left;
  }

  .btb-final h2 {
    font-size: 30px;
  }

  .btb-final-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btb-final-buttons a {
    width: 100%;
  }

  .btb-final-buttons {
    gap: 0;
  }
}


.btb-detail-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px !important;
  padding: 6px 14px;
  color: var(--detail-color) !important;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.4;
}

.btb-detail-main h3 {
  margin-bottom: 18px;
  color: var(--btb-text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
}

@media (min-width: 1025px) {
  .btb-detail {
    grid-template-columns: 1.45fr 0.75fr;
  }
}

.btb-detail-side {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
}

.btb-detail-side ul {
  margin-bottom: 16px;
  line-height: 1.8;
}


.btb-about-visual {
  max-width: 920px;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 18 / 7;
  background: #f5f5f5;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.06);
}

.btb-about-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .btb-about-visual {
    margin-bottom: 24px;
    border-radius: 20px;
    aspect-ratio: 16 / 10;
  }
}


/* Smartphone fine tuning */
@media (max-width: 640px) {
  .btb-section {
    padding: 54px 0;
  }

  .btb-heading {
    margin-bottom: 28px;
  }

  .btb-hero h1 {
    font-size: 30px;
    line-height: 1.35;
  }

  .btb-lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .btb-sublead {
    font-size: 14px;
    line-height: 1.9;
  }

  .btb-about-visual {
    margin-bottom: 18px;
  }

  .btb-about-box {
    padding: 24px 20px;
  }

  .btb-detail {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .btb-detail-main h3 {
    font-size: 23px;
  }

  .btb-detail-main p {
    font-size: 14.5px;
    line-height: 1.95;
  }

  .btb-detail-side {
    padding: 20px 18px;
  }

  .btb-final p {
    font-size: 15.5px;
    line-height: 1.9;
  }
}


.top-beginner-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(30, 56, 227, 0.11), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(34, 169, 90, 0.10), transparent 30%),
    radial-gradient(circle at 18% 88%, rgba(243, 154, 35, 0.09), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(138, 85, 246, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8f9ff 50%, #ffffff 100%);
}