/* ========================================
   Cartilage Pro Thailand - Modern Medical CSS
   ======================================== */

/* CSS Variables */
:root {
  --color-arctic-white: #f8fafc;
  --color-deep-blue: #1e40af;
  --color-deep-blue-dark: #1e3a8a;
  --color-silver-metallic: #e2e8f0;
  --color-silver-dark: #94a3b8;
  --color-text-primary: #1e293b;
  --color-text-secondary: #64748b;
  --color-accent-red: #dc2626;
  --color-accent-purple: #7c3aed;
  --color-accent-green: #059669;
  --color-white: #ffffff;

  --font-kanit: "Kanit", sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-kanit);
  background-color: var(--color-arctic-white);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.axgygg0c {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-silver-metallic);
}

.p2amo5k9 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.j0n9iuzv {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ecyc0fva {
  width: 45px;
  height: 45px;
}

.kfkuawoq {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-deep-blue);
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  gap: 32px;
}

.mukcu0p7 {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.mukcu0p7:hover {
  color: var(--color-deep-blue);
}

/* ========================================
   Hero Section
   ======================================== */
.jcg2x8vr {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.czj74ymt {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.k9wjl7c3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a95g2gnj {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.9) 0%,
    rgba(30, 58, 138, 0.85) 100%
  );
}

.f4vm2lo0 {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--color-white);
}

.nmtrohk2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.g8bbalew {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.95;
}

.tj4st8ag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  font-family: var(--font-kanit);
}

.h7055slt {
  background: linear-gradient(135deg, #ffffff 0%, #e8eef7 100%);
  color: var(--color-deep-blue);
  box-shadow: var(--shadow-lg);
}

.h7055slt:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.g2kl6duv {
  background: var(--color-white);
  color: var(--color-deep-blue);
  box-shadow: var(--shadow-lg);
}

.g2kl6duv:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.uvq24816 {
  padding: 20px 48px;
  font-size: 1.1rem;
}

.s9d8fjau {
  width: 100%;
}

.jkufwpg4 {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.jkufwpg4 svg {
  width: 32px;
  height: 32px;
  color: var(--color-white);
  opacity: 0.8;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========================================
   Section Styles
   ======================================== */
section {
  padding: 100px 0;
}

.squhoz3m {
  text-align: center;
  margin-bottom: 64px;
}

.aiac50mj {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(
    135deg,
    var(--color-deep-blue) 0%,
    var(--color-deep-blue-dark) 100%
  );
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.a1i5wqfd {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--color-deep-blue);
}

.tu54nve8 {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: var(--color-accent-green);
}

.dgggdthg {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.qrgykgnt {
  color: var(--color-white);
}

/* ========================================
   Signs Section
   ======================================== */
.n8xifwwp {
  background: var(--color-arctic-white);
}

.td0vypic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.opo5xetd {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--color-silver-metallic);
}

.opo5xetd:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.zxl51bu5 {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.zxl51bu5 svg {
  width: 100%;
  height: 100%;
}

.s7511hqi {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.zjxkg4x3 {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   Mechanisms Section
   ======================================== */
.evbns40v {
  background: linear-gradient(
    135deg,
    var(--color-deep-blue) 0%,
    var(--color-deep-blue-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

.evbns40v::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.os6tm4bi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.rjcp4hv4 {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.rjcp4hv4:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
}

.ea9k0v9n {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.pb7cpj2g {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dnx165cr {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(30, 64, 175, 0.8) 100%
  );
}

.ccza1ay7 {
  padding: 32px;
  color: var(--color-white);
  position: relative;
}

.jjiqe6og {
  font-size: 3rem;
  font-weight: 700;
  opacity: 0.2;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.fn43proe {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.wnmzaoy4 {
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 16px;
}

.ql74j5sg {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 24px;
}

.xiguwwd0 {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.xiguwwd0 svg {
  width: 28px;
  height: 28px;
}

/* ========================================
   Ingredients Section
   ======================================== */
.c9xoe2h9 {
  background: var(--color-arctic-white);
}

.fe7ksreg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.dctp481h {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-silver-metallic);
  transition: all 0.3s ease;
}

.dctp481h:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.keaxap8c {
  border: 2px solid var(--color-accent-green);
  position: relative;
}

.pm1qat9v {
  height: 200px;
  overflow: hidden;
}

.pm1qat9v img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dctp481h:hover .pm1qat9v img {
  transform: scale(1.05);
}

.j85juio5 {
  padding: 32px;
}

.axfr4z2b {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(
    135deg,
    var(--color-accent-green) 0%,
    #047857 100%
  );
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.abp2e9nm {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.lorvfsfu {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: 16px;
}

.tuexqc59 {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cfdvowm3 {
  list-style: none;
}

.cfdvowm3 li {
  font-size: 0.95rem;
  color: var(--color-text-primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-silver-metallic);
}

.cfdvowm3 li:last-child {
  border-bottom: none;
}

/* ========================================
   Lifestyle Section
   ======================================== */
.jnu86e2l {
  background: var(--color-white);
}

.xmltfcz9 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eiugywcx {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.bs9ievmn {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.j2qpn06x {
  display: flex;
  gap: 48px;
}

.cca6tj1v {
  display: flex;
  flex-direction: column;
}

.iyz184qo {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-deep-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.xphghxuz {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.dv0n6nx1 {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.dv0n6nx1 img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ========================================
   Check Health Section
   ======================================== */
.tlv80ij1 {
  background: linear-gradient(
    135deg,
    var(--color-deep-blue) 0%,
    var(--color-deep-blue-dark) 100%
  );
  padding: 80px 0;
}

.f9zz4uk2 {
  text-align: center;
  color: var(--color-white);
}

.a49a590r {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.zi8pox5q {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-arctic-white);
  border-top: 1px solid var(--color-silver-metallic);
  padding: 64px 0 32px;
}

.m2ycf01f {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.w505rvrm .j0n9iuzv {
  margin-bottom: 16px;
}

.psus0qa0 {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.nq9exb33 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.ej3cct26 {
  font-style: normal;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.zvv3up4d {
  list-style: none;
}

.zvv3up4d li {
  margin-bottom: 12px;
}

.zvv3up4d a {
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.zvv3up4d a:hover {
  color: var(--color-deep-blue);
}

.uz068ulp {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-silver-metallic);
}

.uz068ulp p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* ========================================
   Modal
   ======================================== */
.lvovdhkq {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.kcfmzpue {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.dz91czd4 {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.qpvsimds {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-silver-metallic);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.qpvsimds:hover {
  background: var(--color-silver-dark);
}

.qpvsimds svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-primary);
}

.u18t20wt {
  padding: 48px 40px 40px;
}

.g343xjav {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
}

.g343xjav svg {
  width: 100%;
  height: 100%;
}

.ixaq29oj {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.jcq80t2s {
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.r2iwud8d {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mr9f77aj {
  width: 100%;
}

.m67fdtld {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: var(--font-kanit);
  border: 2px solid var(--color-silver-metallic);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  background: var(--color-arctic-white);
}

.m67fdtld:focus {
  outline: none;
  border-color: var(--color-deep-blue);
  background: var(--color-white);
}

.m67fdtld::placeholder {
  color: var(--color-silver-dark);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
  .xmltfcz9 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dv0n6nx1 img {
    height: 400px;
  }

  .m2ycf01f {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nmtrohk2 {
    text-align: center;
  }

  .g8bbalew {
    text-align: center;
  }

  .f4vm2lo0 {
    text-align: center;
  }

  .td0vypic,
  .os6tm4bi,
  .fe7ksreg {
    grid-template-columns: 1fr;
  }

  .j2qpn06x {
    flex-direction: column;
    gap: 24px;
  }

  .m2ycf01f {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .w505rvrm .j0n9iuzv {
    justify-content: center;
  }

  .ej3cct26 {
    text-align: center;
  }

  .u18t20wt {
    padding: 40px 24px 32px;
  }
}

@media (max-width: 480px) {
  .axgygg0c {
    padding: 0 16px;
  }

  .tj4st8ag {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .uvq24816 {
    padding: 18px 32px;
    font-size: 1rem;
  }

  .iyz184qo {
    font-size: 2.25rem;
  }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.opo5xetd,
.rjcp4hv4,
.dctp481h {
  animation: fadeInUp 0.6s ease forwards;
}

.opo5xetd:nth-child(2) {
  animation-delay: 0.1s;
}

.opo5xetd:nth-child(3) {
  animation-delay: 0.2s;
}
