/* ========================================
   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 */
.n3kmw9ez {
  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);
}

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

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

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

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

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

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

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

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

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

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

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

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

.o9odiel2 {
  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);
}

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

.y85kpnmz {
  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);
}

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

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

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

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

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

.sr06nssj {
  width: 100%;
}

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

.jq3u69qv 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;
}

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

.lawaui4h {
  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;
}

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

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

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

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

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

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

.psgn2tcn {
  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);
}

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

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

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

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

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

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

.apvejwc9::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;
}

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

.umd33to0 {
  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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.ps151f9f {
  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;
}

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

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

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

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

.ps151f9f:hover .s71ehoqe img {
  transform: scale(1.05);
}

.zuvddozo {
  padding: 32px;
}

.mhsfgsj2 {
  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;
}

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

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

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

.b7ckr98u {
  list-style: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.fynwgleo {
  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;
}

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

.pv29ouv3 .egvbmc1l {
  margin-bottom: 16px;
}

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

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

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

.k0vvk4v3 {
  list-style: none;
}

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

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

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

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

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

/* ========================================
   Modal
   ======================================== */
.lf8rqlgy {
  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;
}

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

.ek81d25e {
  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;
}

.gvxegd5l {
  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;
}

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

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

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

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

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

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

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

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

.x0px7ogw {
  width: 100%;
}

.qxfebge9 {
  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);
}

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

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

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

  .p2pl59iz img {
    height: 400px;
  }

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

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

  .o9odiel2 {
    text-align: center;
  }

  .u1qas9ae {
    text-align: center;
  }

  .fmtf3u2w {
    text-align: center;
  }

  .nbsgwgyd,
  .nkt9sv0m,
  .me7hvqtw {
    grid-template-columns: 1fr;
  }

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

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

  .pv29ouv3 .egvbmc1l {
    justify-content: center;
  }

  .jwr0bw1f {
    text-align: center;
  }

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

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

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

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

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

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

.psgn2tcn,
.umd33to0,
.ps151f9f {
  animation: fadeInUp 0.6s ease forwards;
}

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

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