/* GLOBAL THEME */
.ncthonic-theme {
  background: linear-gradient(135deg, #d35400 0%, #e67e22 55%, #f39c12 100%);
  color: white;
}
body {
  font-family: 'Inter', sans-serif;
} 

.ncthonic-theme .comparison-row.header {
  background: #1e293b;
}

:root {
  --nc-primary: #e67e22;
  --nc-dark: #d35400;
  --nc-soft: #f39c12;
}

/* NAVBAR SECTION */
.navbar-brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}


.navbar {
  background: #ffffff;
  padding: 14px 0;
box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #1B9C85 !important;
}
.navbar {
  border-bottom: 1px solid #e2e8f0;
} 

.navbar.scrolled {
  background-color: white !important;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin-left: 28px;
  color: #333 !important;
  position: relative;
  transition: 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -6px;
  left: 0;
    background-color: #1B9C85;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  font-weight: 600;
  color: #1B9C85 !important;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* BRAND TEXT */
.brand-name {
  font-weight: 700;
  font-size: 15px;
  color: #111;
  line-height: 1;
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6b7280;
  margin-top: 2px;
}

/* END NAVBAR */



/* HERO */
.product-hero {
  padding: 180px 0 120px;
  position: relative;
  color: #ffffff;
  overflow: visible;
}

/* Soft glow layer */


.product-hero .container {
  position: relative;
  z-index: 2;
}

.product-hero h1 {
  font-size: 56px;
  letter-spacing: -1px;
  font-weight: 700;
  margin-bottom: 25px;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 22px;
  max-width: 500px;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-left {
  max-width: 620px;
}

.hero-left p {
  text-align: left;
}

.hero-note {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 1;
}

.hero-image {
  max-width: 420px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* HERO NAV – PREMIUM VERSION */

.hero-nav-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 28px;
  
}

.hero-nav-card a {
  color: #fff;
}

.nav-header span {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.6;
}

.nav-header h5 {
  font-weight: 700;
  margin-bottom: 20px;
}

.nav-list {
  display: flex;
  flex-direction: column;
}

.hero-nav-item {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  padding: 14px 18px;
  color: #ffffff;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.nav-number {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.5;
  min-width: 28px;
}

.nav-text {
  font-size: 16px;
  font-weight: 500;
}

.hero-nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: rgba(255,255,255,0.4);
  transition: width 0.3s ease;
}

.hero-nav-item:hover {
  opacity: 0.7;
  transform: translateX(8px);
}

.hero-nav-item:hover::after {
  width: 100%;
}

/* STICKY HERO NAV */

.hero-right {
  position: relative;
}

/* =========================
   MOBILE VERSION
========================= */

@media (max-width: 768px) {

  .product-hero {
    padding: 120px 0 70px;
    text-align: center;
  }

  .product-hero h1 {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .hero-left {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .hero-left p {
    text-align: center;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.7;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-note {
    font-size: 11px;
    margin-top: 15px;
  }

  /* HERO IMAGE */

  .hero-image {
    max-width: 260px;
    margin: 35px auto;
    display: block;
    animation: none; /* smoother mobile */
    filter: drop-shadow(0 25px 40px rgba(0,0,0,0.35));
  }

  /* NAV CARD */

  .hero-nav-card {
    margin-top: 30px;
    padding: 22px;
    border-radius: 16px;
  }

  .nav-header h5 {
    font-size: 18px;
  }

  .nav-header span {
    font-size: 11px;
  }

  .hero-nav-item {
    padding: 12px 14px;
    gap: 12px;
  }

  .nav-number {
    font-size: 12px;
    min-width: 24px;
  }

  .nav-text {
    font-size: 15px;
  }

  /* disable hover animation for mobile */

  .hero-nav-item:hover {
    transform: none;
    opacity: 1;
  }

}


/* Extra small phones */

@media (max-width: 480px) {

  .product-hero h1 {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-image {
    max-width: 220px;
  }

  .hero-nav-card {
    padding: 18px;
  }

}

/* END HERO */


/* SECTIONS */
.section {
  padding: 100px 0;
  background: white;
  color: #111;
}

.section-light {
  background: #f4f7fb;
}

.section h2 {
  margin-bottom: 20px;
  font-weight: 700;
}

.ncthonic-theme .section h2 {
  color: var(--nc-dark);
}

.btn-download {
  margin-top: 20px;
  background: #0A4C8B;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-download:hover {
  background: #08386b;
}

/* =========================
   OVERVIEW
========================= */

.overview-text {
  max-width: 750px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #444;
}

/* =========================
   SPECS
========================= */

.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 60px;
  max-width: 800px;
  margin: 40px auto 0;
}

.spec-table div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
}

.spec-table strong {
  font-weight: 500;
  color: #111827;
}

.spec-table span {
  color: #475569;
}

@media (max-width: 768px) {
  .spec-table {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =========================
   MOBILE VERSION
========================= */

@media (max-width: 768px) {

  /* SECTION */

  .section {
    padding: 70px 0;
    text-align: center;
  }

  .section h2 {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  /* BUTTON */

  .btn-download {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* OVERVIEW */

  .overview-text {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
    padding: 0 12px;
  }
}


/* =========================
   SIZE TABLE – NC THONIC
========================= */

.size-table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.size-table thead {
  background: #1e293b;
  color: white;
}

.size-table th,
.size-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #eef2f7;
  font-size: 14px;
}

.size-table th:first-child,
.size-table td:first-child {
  font-weight: 600;
  color: #0f172a;
}

.size-table tbody tr:hover {
  background: #f8fafc;
  transition: 0.2s;
}

/* =========================
        SPECS TABLE
========================= */

.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 50px;
  max-width: 800px;
  margin: 40px auto 0;
}

.spec-table div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.spec-table div:hover{
  background: #f8fafc;
}

.spec-table strong {
  font-weight: 600;
  color:#0f172a;
}

.spec-table span {
  color: #475569;
  text-align: right;
}

/* =========================
        MOBILE
========================= */

@media (max-width: 768px) {

  .spec-table {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 16px;
  }

  .spec-table div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
  }

  .spec-table strong {
    font-size: 14px;
  }

  .spec-table span {
    font-size: 14px;
    color: #334155;
    text-align: left;
  }

}

/* ============================= */
/* DRUG RELEASE SCIENTIFIC VISUAL */
/* ============================= */

.drug-curve {
  background: #ffffff;
  padding: 120px 0;
}

.drug-curve h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 20px;
  color: #0A4C8B; /* Primary Blue */
}

.curve-desc {
  max-width: 720px;
  margin: 0 auto 50px;
  color: #64748b;
  line-height: 1.7;
  font-size: 16px;
}

.graph-box {
  position: relative;
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 50px 40px;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  background: linear-gradient(to bottom, #f8fbff, #ffffff);
}

/* SVG Curve */
.curve-svg {
  width: 100%;
  height: auto;
}

/* Axis Labels */
.y-label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: rotate(-90deg) translateY(-50%);
  transform-origin: left center;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.x-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-top: 15px;
}

/* Small Note */
.curve-note {
  font-size: 14px;
  color: #64748b;
  margin-top: 10px;
}

/* Optional subtle hover effect */
.graph-box:hover {
  box-shadow: 0 10px 30px rgba(10, 76, 139, 0.08);
  transition: 0.3s ease;
}

/* =============================
   MOBILE VERSION
============================= */

@media (max-width: 768px) {

  .drug-curve {
    padding: 70px 0;
    text-align: center;
  }

  .drug-curve h2 {
    font-size: 26px;
    margin-bottom: 16px;
    line-height: 1.3;
  }

  .curve-desc {
    font-size: 15px;
    margin-bottom: 35px;
    padding: 0 14px;
  }

  .graph-box {
    padding: 30px 20px;
    border-radius: 14px;
    margin-bottom: 25px;
  }

  .y-label {
    left: 8px;
    font-size: 11px;
  }

  .x-label {
    font-size: 12px;
    margin-top: 10px;
  }

  .curve-note {
    font-size: 13px;
    padding: 0 10px;
  }

}


/* Extra small phones */

@media (max-width: 480px) {

  .drug-curve h2 {
    font-size: 22px;
  }

  .curve-desc {
    font-size: 14px;
  }

  .graph-box {
    padding: 25px 16px;
  }

  .y-label {
    font-size: 10px;
  }

  .x-label {
    font-size: 11px;
  }

}

/* =========================
   CLINICAL – CLEAN FIXED
========================= */

.clinical-reference {
  background: #f8fbff;
  padding: 120px 0;
}

.ncthonic-theme .clinical-reference {
  background: #fff7ed; /* soft orange background */
}

.clinical-reference h2 {
  color: #0A4C8B;
  font-weight: 600;
  margin-bottom: 50px;
}

/* Wrapper biar center & rapi */
.reference-box {
  max-width: 900px;
  margin: 0 auto;
}

/* Intro */
.clinical-intro {
  font-size: 16px;
  margin-bottom: 50px;
  color: #334155;
  line-height: 1.8;
  text-align: center;
}

/* =========================
   MOBILE VERSION
========================= */

@media (max-width: 768px) {

  .clinical-reference {
    padding: 70px 0;
    text-align: center;
  }

  .clinical-reference h2 {
    font-size: 26px;
    margin-bottom: 30px;
    line-height: 1.3;
  }

  .reference-box {
    max-width: 100%;
    padding: 0 14px;
  }

  .clinical-intro {
    font-size: 15px;
    margin-bottom: 35px;
    line-height: 1.7;
  }

}

/* Extra small phones */

@media (max-width: 480px) {

  .clinical-reference {
    padding: 60px 0;
  }

  .clinical-reference h2 {
    font-size: 22px;
  }

  .clinical-intro {
    font-size: 14px;
  }

}

/* ======================
   METRICS SECTION
====================== */

.clinical-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 40px 0;
  margin-bottom: 60px;
  border-top: 1px solid #e6edf5;
  border-bottom: 1px solid #e6edf5;
}

.metric-box {
  text-align: center;
  padding: 10px 20px;
}

.metric-number {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #0A4C8B, #1e3a8a);
  background-clip: text;               /* Standard */
  -webkit-background-clip: text;       /* Chrome/Safari */
  color: transparent;                  /* Fallback */
  -webkit-text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.ncthonic-theme .metric-number {
  background: linear-gradient(135deg, var(--nc-dark), var(--nc-soft));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.metric-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* ======================
   MOBILE VERSION
====================== */

@media (max-width: 768px) {

  .clinical-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 30px 0;
    margin-bottom: 40px;
  }

  .metric-box {
    padding: 10px;
  }

  .metric-number {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .metric-desc {
    font-size: 13px;
    line-height: 1.5;
  }

}

/* Extra small phones */

@media (max-width: 480px) {

  .clinical-metrics {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .metric-number {
    font-size: 28px;
  }

  .metric-desc {
    font-size: 13px;
  }

}

/* ======================
   MINI DATA TABLE
====================== */

.clinical-table {
  max-width: 700px;
  margin: 0 auto;
}

.row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e6edf5;
  font-size: 15px;
}

.row-item span:first-child {
  font-weight: 600;
  color: #0f172a;
}

.row-item span:last-child {
  color: #475569;
  text-align: right;
}

/* ======================
   MINI DATA TABLE
====================== */

.clinical-table {
  max-width: 700px;
  margin: 0 auto;
}

.row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e6edf5;
  font-size: 15px;
}

.row-item span:first-child {
  font-weight: 600;
  color: #0f172a;
}

.row-item span:last-child {
  color: #475569;
  text-align: right;
}

/* ======================
   RESPONSIVE FIX
====================== */

@media (max-width: 768px) {

  .clinical-metrics {
    gap: 30px;
  }

  .row-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .row-item span:last-child {
    text-align: left;
  }

}


/* =========================
   LEGAL SECTION – 
========================= */

.legal-section {
  background: linear-gradient(to bottom, #ffffff, #f1f7ff);
  padding: 120px 0;
}

.ncthonic-theme .legal-section {
  background: linear-gradient(to bottom, #fff7ed, #ffe0c7);
}

.legal-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

/* LEFT SIDE */

.legal-info {
  background: #ffffff;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(10, 76, 139, 0.05);
  border: 1px solid #e6edf5;
  transition: transform .2s ease, box-shadow .2s ease;
}

.legal-info:hover{
  transform: translateY(-4px);
  box-shadow: 0 25px 70px rgba(10,76,139,0.08);
}

.legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #e6edf5;
  font-size: 15px;
}

.legal-row span {
  color: #64748b;
}

.legal-row strong {
  color: #0f172a;
  font-weight: 600;
}

/* RIGHT SIDE */

.legal-download-card {
  background: linear-gradient(135deg, #0A4C8B, #1e3a8a);
  color: #ffffff;
  padding: 55px 40px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(10, 76, 139, 0.25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.legal-download-card:hover{
  transform: translateY(-6px);
}

.ncthonic-theme .legal-download-card {
  background: linear-gradient(135deg, var(--nc-dark), var(--nc-primary));
  box-shadow: 0 30px 70px rgba(211, 84, 0, 0.3);
}

.legal-download-card i {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ffffff;
}

.legal-download-card h5 {
  margin-bottom: 15px;
  font-weight: 600;
}

.legal-download-card p {
  font-size: 14px;
  color: #ffc198;
  opacity: 1;
}

.legal-download-card .btn{
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 500;
}

/* BADGE */

.legal-badge {
  display: inline-block;
  padding: 8px 20px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #e0f2fe;
  color: #0A4C8B;
  border-radius: 30px;
  margin-top: 15px;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(10,76,139,0.08);
}

.ncthonic-theme .legal-badge {
  background: #ffe5d0;
  color: var(--nc-dark);
}

/* =========================
   MOBILE VERSION
========================= */

@media (max-width: 768px) {

  .legal-section {
    padding: 70px 0;
  }

  .legal-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }

  /* LEFT SIDE */

  .legal-info {
    padding: 25px;
    border-radius: 16px;
  }

  .legal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 0;
    font-size: 14px;
  }

  .legal-row strong {
    font-size: 14px;
    width:100%;
  }

  /* RIGHT SIDE */

  .legal-download-card {
    padding: 35px 25px;
    border-radius: 18px;
  }

  .legal-download-card i {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .legal-download-card h5 {
    font-size: 18px;
  }

  .legal-download-card p {
    font-size: 13px;
  }

  .legal-download-card a:focus {
    outline:2px solid white;
    outline-offset:3px;
  }

  /* BADGE */

  .legal-badge {
    font-size: 11px;
    padding: 7px 16px;
    margin-top: 12px;
  }

}

/* Extra small phones */

@media (max-width: 480px) {

  .legal-info {
    padding: 20px;
  }

  .legal-download-card {
    padding: 30px 20px;
  }

  .legal-download-card h5 {
    font-size: 16px;
  }

}


/* NOTE */

.legal-note {
  font-size: 14px;
  color: #64748b;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .legal-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}