/* ========================================
   Glyco-Control Thailand - Tech-Medical CSS
   Future of Metabolism
   ======================================== */

/* CSS Variables */
:root {
  --color-white: #ffffff;
  --color-blue: #2563eb;
  --color-blue-dark: #1d4ed8;
  --color-blue-light: #3b82f6;
  --color-green: #22c55e;
  --color-green-dark: #16a34a;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  --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-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-kanit);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-gray-700);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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 */
.a24rypvc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-gray-900);
}

/* Buttons */
.f7eawc57 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-kanit);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.eoo8el4f {
  background: linear-gradient(
    135deg,
    var(--color-blue) 0%,
    var(--color-blue-dark) 100%
  );
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.eoo8el4f:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

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

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

.ufnmls1n {
  width: 100%;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-sm);
}

.w3fqg61m {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.y9nmkc0h {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.p39mj2w2 {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--color-gray-500);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -2px;
}

.nav {
  display: flex;
  gap: 2rem;
}

.t7vx3a07 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color var(--transition-fast);
  position: relative;
}

.t7vx3a07::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: width var(--transition-base);
}

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

.t7vx3a07:hover::after {
  width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */
.o1cdlub3 {
  position: relative;
  padding: 160px 0 100px;
  background: var(--color-white);
  overflow: hidden;
}

.s81vgxe8 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.l51mlvwb {
  max-width: 600px;
}

.dqz05gu8 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.xxjuyrib {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.jff0mhcj {
  position: relative;
}

.ukf2lhte {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.xjgbztay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  overflow: hidden;
}

.cvr1c1zf {
  width: 100%;
  height: 100%;
}

/* ========================================
   Section Styles
   ======================================== */
.miieey3j {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--color-gray-900);
}

.uewfpvcg {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  text-align: center;
  margin-bottom: 3rem;
}

/* ========================================
   Danger Section
   ======================================== */
.g0lb4yvv {
  padding: 100px 0;
  background: var(--color-gray-50);
}

.l3yg64dw {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.uuguu2xb {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-100);
}

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

.f0uvnj2g {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

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

.e7ymzk1l {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-gray-900);
}

.igpyiuok {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ========================================
   Innovation Section
   ======================================== */
.yrcpn05g {
  padding: 100px 0;
  background: var(--color-white);
}

.w1x654mi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.d53a7uzq {
  position: relative;
}

.cbxuw7ow {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.sollv3zz {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.av54krzl {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.mlntk6xy {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-blue) 0%,
    var(--color-blue-light) 100%
  );
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.rgx0vwcg h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-gray-900);
}

.rgx0vwcg p {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.wuzqkdeo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem;
  background: linear-gradient(
    135deg,
    var(--color-gray-50) 0%,
    var(--color-white) 100%
  );
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-gray-100);
}

.d2a8e5qa {
  text-align: center;
}

.hqo2zcdg {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.brbwv9i8 {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
}

/* ========================================
   Ingredients Section
   ======================================== */
.lj65b1r1 {
  padding: 100px 0;
  background: var(--color-gray-50);
}

.fq2bxuwu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.yfy2laln {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-100);
}

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

.tvfw47yc {
  height: 220px;
  overflow: hidden;
}

.x6trq6cj {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.yfy2laln:hover .x6trq6cj {
  transform: scale(1.1);
}

.intp1dbs {
  padding: 1.5rem;
}

.tsxbyi28 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-gray-900);
}

.p3mp5oh0 {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.hs4j01il {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kxv4q42s {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.1) 0%,
    rgba(37, 99, 235, 0.1) 100%
  );
  color: var(--color-blue);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ========================================
   CTA Section
   ======================================== */
.oomzll6h {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--color-blue) 0%,
    var(--color-blue-dark) 100%
  );
}

.rxr2t1qm {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.b55s7r8j {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.c6av0vsb {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-gray-900);
  padding: 60px 0 30px;
}

.qe79yq18 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.fmgkrnkh .y9nmkc0h {
  margin-bottom: 1rem;
}

.fmgkrnkh .yzmgk6qe {
  color: var(--color-white);
}

.fmgkrnkh .p39mj2w2 {
  color: var(--color-gray-400);
}

.c2me0ip8 {
  font-size: 0.9375rem;
  color: var(--color-gray-400);
  line-height: 1.7;
}

.jbcrbyww h4,
.ji715kmj h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.jbcrbyww p {
  font-size: 0.9375rem;
  color: var(--color-gray-400);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.ji715kmj a {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-gray-400);
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.ji715kmj a:hover {
  color: var(--color-white);
}

.bhknjkav {
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-800);
  text-align: center;
}

.bhknjkav p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

/* ========================================
   Modal
   ======================================== */
.rkp8w7hy {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  padding: 1.5rem;
}

.pwvuziih {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xl);
}

.modal-visible {
  transform: translateY(0) scale(1);
}

.ttzjnpfl {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-100);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.ttzjnpfl:hover {
  background: var(--color-gray-200);
}

.ttzjnpfl svg {
  width: 20px;
  height: 20px;
  color: var(--color-gray-600);
}

.yj2o7afx {
  padding: 3rem 2.5rem 2.5rem;
}

.vxr5chb4 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--color-gray-900);
}

.ynzo36xe {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  text-align: center;
  margin-bottom: 2rem;
}

.f4jndf44 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.u1i1n0je {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ktsq7p11 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-700);
}

.fhua3r1a {
  padding: 0.875rem 1rem;
  font-family: var(--font-kanit);
  font-size: 1rem;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  outline: none;
}

.fhua3r1a:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fhua3r1a::placeholder {
  color: var(--color-gray-400);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .s81vgxe8,
  .w1x654mi {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .l51mlvwb {
    max-width: 100%;
    text-align: center;
  }

  .jff0mhcj {
    order: -1;
  }

  .l3yg64dw,
  .fq2bxuwu {
    grid-template-columns: repeat(2, 1fr);
  }

  .wuzqkdeo {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .qe79yq18 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .w3fqg61m {
    height: 70px;
  }

  .nav {
    display: none;
  }

  .o1cdlub3 {
    padding: 120px 0 60px;
  }

  .dqz05gu8 {
    font-size: 2rem;
  }

  .miieey3j {
    font-size: 1.75rem;
  }

  .l3yg64dw,
  .fq2bxuwu {
    grid-template-columns: 1fr;
  }

  .yrcpn05g {
    padding: 60px 0;
  }

  .cbxuw7ow {
    height: 300px;
  }

  .b55s7r8j {
    font-size: 1.75rem;
  }

  .yj2o7afx {
    padding: 2rem 1.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .a24rypvc {
    padding: 0 1rem;
  }

  .dqz05gu8 {
    font-size: 1.75rem;
  }

  .xxjuyrib {
    font-size: 1rem;
  }

  .f7eawc57 {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }

  .uuguu2xb,
  .av54krzl {
    padding: 1.5rem;
  }

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

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

.l51mlvwb,
.uuguu2xb,
.yfy2laln,
.av54krzl {
  animation: fadeInUp 0.6s ease forwards;
}

.uuguu2xb:nth-child(2) {
  animation-delay: 0.1s;
}
.uuguu2xb:nth-child(3) {
  animation-delay: 0.2s;
}

.yfy2laln:nth-child(2) {
  animation-delay: 0.1s;
}
.yfy2laln:nth-child(3) {
  animation-delay: 0.2s;
}

.av54krzl:nth-child(2) {
  animation-delay: 0.1s;
}
.av54krzl:nth-child(3) {
  animation-delay: 0.2s;
}
