/* GLOBAL THEME */
.tytrak-theme {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  color: white;
}


:root {
  --ty-primary: #10b981;
  --ty-dark: #047857;
  --ty-soft: #6ee7b7;
}

/* HERO */
.product-hero {
  padding: 180px 0 120px;
  min-height: 720px;
  display: flex;
  align-items: center;
}

.tytrak-theme .product-hero {
  padding: 180px 0 120px;
  background: linear-gradient(
    135deg,
    #064e3b 0%,      /* deep emerald */
    #047857 40%,     /* rich green */
    #10b981 70%,     /* spring green */
    #34d399 100%     /* soft accent */
  );
  color: #ffffff;
}

/* 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);
  position:sticky;
  top:120px;
  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);
  background:rgba(255,255,255,0.08);
}


.hero-nav-item:hover::after {
  width: 100%;
}



/* STICKY HERO NAV */

.hero-right {
  position: relative;
}


/* =========================
   MOBILE VERSION
========================= */

@media (max-width: 768px) {

  /* HERO */

  .product-hero {
    padding: 120px 0 80px;
    min-height: auto;
    text-align: center;
  }

  .product-hero h1 {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.7;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-left {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .hero-left p {
    text-align: center;
  }

  .hero-note {
    font-size: 11px;
    margin-top: 15px;
  }

  /* HERO IMAGE */

  .hero-image {
    max-width: 260px;
    margin: 40px auto 0;
    display: block;
    animation: none;
  }

  /* HERO NAV CARD */

  .hero-nav-card {
    margin-top: 40px;
    padding: 22px;
  }

  .nav-header h5 {
    font-size: 18px;
  }

  .nav-text {
    font-size: 15px;
  }

  .hero-nav-item {
    padding: 12px 14px;
    gap: 14px;
  }

  .nav-number {
    font-size: 12px;
    min-width: 24px;
  }

  /* DISABLE HOVER EFFECT MOBILE */

  .hero-nav-item:hover {
    transform: none;
    opacity: 1;
  }

}
/* END HERO */


/* SECTIONS */
.section {
  padding: 100px 0;
  background: white;
  color: #111;
}

.section-light {
  background: #f4f7fb;
}

.section h2 {
  margin-bottom: 20px;
  font-weight: 700;
}

.tytrak-theme .section h2 {
  color: var(--ty-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;
}

/* =========================
   MOBILE VERSION
========================= */

@media (max-width: 768px) {

  /* SECTIONS */

  .section {
    padding: 70px 0;
    text-align: center;
  }

  .section h2 {
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.3;
  }

  /* OVERVIEW TEXT */

  .overview-text {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
    padding: 0 10px;
  }

  /* DOWNLOAD BUTTON */

  .btn-download {
    display: inline-block;
    padding: 11px 20px;
    font-size: 14px;
    border-radius: 7px;
  }

}

/* =========================
   PRODUCT VISUAL
========================= */

.tytrak-theme .product-visual-section {
  padding: 100px 0;
  background: #f9fafb;
  position: relative;
  overflow: hidden;
}

.tytrak-theme .visual-wrapper {
  position: relative;
  margin-bottom: 50px;
}

.tytrak-theme .floating-product-large {
  max-width: 520px;
  animation: floatY 6s ease-in-out infinite;
  filter: drop-shadow(0 60px 80px rgba(0,0,0,0.25));
  transform: perspective(1200px) rotateY(-10deg);
  position: relative;
  z-index: 2;
}

@keyframes floatY {
  0% { transform: perspective(1200px) rotateY(-10deg) translateY(0px); }
  50% { transform: perspective(1200px) rotateY(-10deg) translateY(-25px); }
  100% { transform: perspective(1200px) rotateY(-10deg) translateY(0px); }
}

/* Soft green glow background */
.tytrak-theme .visual-wrapper::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(16,185,129,0.35) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(120px);
}

.tytrak-theme .visual-headline {
  font-weight: 700;
  margin-bottom: 20px;
  color: #4abb9b;
}

.tytrak-theme .visual-sub {
  max-width: 600px;
  margin: 0 auto;
  color: #4b5563;
}

/* =========================
   MOBILE VERSION
========================= */

@media (max-width: 768px) {

  .tytrak-theme .product-visual-section {
    padding: 70px 0;
    text-align: center;
  }

  .tytrak-theme .visual-wrapper {
    margin-bottom: 35px;
  }

  /* Product image */

  .tytrak-theme .floating-product-large {
    max-width: 260px;
    transform: none; /* remove 3D tilt for mobile */
    animation: none; /* smoother on mobile */
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.25));
  }

  /* Glow background smaller */

  .tytrak-theme .visual-wrapper::before {
    width: 320px;
    height: 320px;
    filter: blur(80px);
  }

  /* Text */

  .tytrak-theme .visual-headline {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .tytrak-theme .visual-sub {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
    padding: 0 10px;
  }

}

/* =========================
   SPECS
========================= */

.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 50px;
  max-width: 800px;
  margin: 40px auto 0;
}

.spec-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.spec-table strong {
  font-weight: 600;
  color: #111827;
}

.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;
  }

  .spec-table span {
    text-align: left;
  }

}

/* =========================
   MOBILE VERSION
========================= */

@media (max-width: 768px) {

  .spec-table {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
    padding: 0 10px;
  }

  .spec-table div {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 14px;
  }

  .spec-table strong {
    font-size: 14px;
  }

  .spec-table span {
    font-size: 14px;
    color: #334155;
  }

}


/* =========================
   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;
}

.size-table-wrapper::after {
  content:"Swipe table →";
  display: block;
  text-align: right;
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
}



/* =========================
   MOBILE VERSION
========================= */

@media (max-width: 768px) {

  .size-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
  }

  .size-table {
    min-width: 600px; /* supaya tabel bisa di-scroll */
    border-radius: 12px;
  }

  .size-table th,
  .size-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .size-table th:first-child,
  .size-table td:first-child {
    font-size: 13px;
  }

}

/* Extra small phone */

@media (max-width: 480px) {

  .size-table th,
  .size-table td {
    padding: 8px 10px;
    font-size: 12px;
  }

}

/* ============================= */
/* 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 12px;
  }

  .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;
}

.tytrak-theme .clinical-reference {
  background: #f1f5ff;
}

.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;
    line-height: 1.7;
    margin-bottom: 35px;
  }

}

/* Extra small phone */

@media (max-width: 480px) {

  .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: #0A4C8B; /* fallback */
  -webkit-text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.tytrak-theme .metric-number {
  background: linear-gradient(135deg, var(--ty-dark), var(--ty-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 10px;
  }

  .metric-number {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .metric-desc {
    font-size: 13px;
    line-height: 1.5;
  }

}

/* Extra small phone */

@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;
}

/* ======================
   MOBILE VERSION
====================== */

@media (max-width: 768px) {

  .clinical-table {
    max-width: 100%;
    padding: 0 14px;
  }

  .row-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 0;
    font-size: 14px;
  }

  .row-item span:first-child {
    font-size: 14px;
  }

  .row-item span:last-child {
    font-size: 14px;
    text-align: left;
    color: #334155;
  }

}

/* Extra small phones */

@media (max-width: 480px) {

  .row-item {
    font-size: 13px;
  }

  .row-item span:first-child {
    font-size: 13px;
  }

  .row-item span:last-child {
    font-size: 13px;
  }

}

/* ======================
   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 – BuMA BLUE
========================= */

.legal-section {
  background: linear-gradient(to bottom, #ffffff, #f1f7ff);
  padding: 120px 0;
}

.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;
}

.legal-row {
  display: flex;
  justify-content: space-between;
  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);
}

.tytrak-theme .legal-download-card {
  background: linear-gradient(135deg, var(--ty-dark), var(--ty-primary));
  box-shadow: 0 30px 70px rgba(37, 99, 235, 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;
  opacity: 0.9;
}

/* 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;
}

.tytrak-theme .legal-badge {
  background: #e0e7ff;
  color: var(--ty-dark);
}


/* NOTE */

.legal-note {
  font-size: 14px;
  color: #64748b;
}

/* =========================
   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;
  }

  /* 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;
  }

  /* BADGE */

  .legal-badge {
    font-size: 11px;
    padding: 7px 16px;
    margin-top: 12px;
  }

  .legal-note {
    font-size: 13px;
  }

}


/* Extra small phones */

@media (max-width: 480px) {

  .legal-info {
    padding: 20px;
  }

  .legal-download-card {
    padding: 30px 20px;
  }

  .legal-download-card h5 {
    font-size: 16px;
  }

}

/* RESPONSIVE */

@media (max-width: 992px) {
  .legal-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


