/**
 * Oxycron design tokens — extracted from oxyhealth.com CSS
 * Fonts per project spec: Inter, Noto Sans TC, Amiri
 */
:root {
  /* OxyHealth exact colors */
  --oh-white: #ffffff;
  --oh-black: #000000;
  --oh-dark: #1a1b1f;
  --oh-navy: #132342;
  --oh-blue-deep: #061b3b;
  --oh-blue-section: #0d244e;
  --oh-blue-accent: #375086;
  --oh-gray-bg: #f4f4f4;
  --oh-gray-mid: #d7d7d7;
  --oh-gray-text: #32343a;
  --oh-gray-muted: #43464d;
  --oh-gray-light: #919191;
  --oh-border: #303030;
  --oh-nav-bg: #000000c2;
  --oh-dropdown-bg: #000000bf;
  --oh-text-muted: #d1d1d1;

  /* Layout — oxyhealth.com */
  --oh-container: 60rem;
  --oh-container-wide: 65rem;
  --oh-nav-height: 5rem;
  --oh-hero-height: 90svh;
  --oh-hero-max: 75rem;
  --oh-section-pad: 6rem;

  /* Typography */
  --oh-font-latin: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --oh-font-zh: 'Noto Sans TC', 'Inter', sans-serif;
  --oh-font-ar: 'Amiri', 'Inter', serif;

  /* Buttons — .learn_more_button */
  --oh-btn-radius: 11px;
  --oh-btn-border: 2px solid #fff;
  --oh-product-bar-radius: 12px;

  /* Gradients */
  --oh-gradient-diff: linear-gradient(#132342 25%, #000);
  --oh-gradient-steps: linear-gradient(#d7d7d7 31%, #fff 81%);
  --oh-gradient-nav: linear-gradient(#00000080, #00000080);

  /* Transitions — webflow default */
  --oh-ease: 0.3s ease;
  --oh-ease-nav: 0.4s ease;
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--oh-font-latin);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--oh-gray-text);
  background: var(--oh-white);
  -webkit-font-smoothing: antialiased;
}
body.lang-zh-hant { font-family: var(--oh-font-zh); }
body.oxycron-rtl, body.lang-ar { font-family: var(--oh-font-ar); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--oh-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section--black { background: var(--oh-black); color: var(--oh-white); }
.section--gray { background: var(--oh-gray-bg); }
.section--gradient { background-image: var(--oh-gradient-steps); padding-top: 30rem; }
.section--white { background: var(--oh-white); }

/* Header / Nav — .oxy_nav */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--oh-nav-height);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: var(--oh-nav-bg);
  background-image: var(--oh-gradient-nav);
  display: flex;
  justify-content: center;
  align-items: center;
}
.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--oh-container);
  padding: 0 1.5rem;
}
.site-logo { height: 2.75rem; width: auto; display: block; }
.site-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.site-footer__logo { display: inline-block; margin-bottom: 0.75rem; }
.site-footer__logo-img { height: 2.25rem; width: auto; display: block; }
.primary-nav { display: flex; align-items: center; gap: 12px; }
.primary-nav a {
  color: var(--oh-white);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  transition: opacity var(--oh-ease);
}
.primary-nav a:hover, .primary-nav a.is-active { opacity: 1; }
.primary-nav a { opacity: 0.85; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--oh-white);
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* Language switcher */
.oxycron-lang-switcher { position: relative; margin-left: 8px; }
.oxycron-lang-toggle {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--oh-white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
}
.oxycron-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--oh-white);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--oh-ease);
  z-index: 100;
}
.oxycron-lang-switcher.is-open .oxycron-lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.oxycron-lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  color: var(--oh-dark);
  font-size: 0.875rem;
  transition: background var(--oh-ease);
}
.oxycron-lang-menu a:hover { background: var(--oh-gray-bg); }
.oxycron-lang-menu .is-active a { font-weight: 600; color: var(--oh-navy); }

.site-footer__langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding: 2rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2rem;
}
.site-footer__langs strong {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.oxycron-lang-switcher--footer { margin-left: 0; }
.oxycron-lang-switcher--footer .oxycron-lang-menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(8px);
}
.oxycron-lang-switcher--footer.is-open .oxycron-lang-menu {
  transform: translateY(0);
}

/* Hero — .hero_section */
.hero {
  position: relative;
  height: var(--oh-hero-height);
  max-height: var(--oh-hero-max);
  overflow: hidden;
}
.hero__slides { position: relative; height: 100%; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: 50% 70%;
  background-repeat: no-repeat;
  background-color: #3a3a3a;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
@media (min-width: 992px) {
  .hero__slide { background-attachment: fixed; }
}
@media (max-width: 991px) {
  .hero__slide { background-attachment: scroll; background-position: 50% 50%; }
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%);
}
.hero__content {
  position: relative; z-index: 3;
  display: flex; justify-content: center;
  padding-top: 144px;
  height: 100%;
}
.hero__title {
  color: var(--oh-white);
  text-align: center;
  width: 43.7rem;
  max-width: 90%;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
  animation: fadeUp 0.8s ease forwards;
}

/* Product bar — .product_bar_wrap_desktop */
.product-bar {
  background: var(--oh-black);
  border: 1px solid var(--oh-white);
  border-radius: var(--oh-product-bar-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 52rem;
  max-width: calc(100% - 3rem);
  margin-top: -29px;
  padding: 15px 11px;
  position: relative;
  z-index: 10;
}
.product-bar a {
  color: var(--oh-white);
  padding: 0 21px;
  font-size: 0.9rem;
  font-weight: 200;
  line-height: 1.7rem;
  transition: opacity var(--oh-ease);
}
.product-bar a:hover { opacity: 0.7; }

/* Difference — .oxy_difference_wrap */
.difference {
  z-index: 2;
  text-align: center;
  background-image: var(--oh-gradient-diff);
  border-radius: 9px;
  max-width: var(--oh-container-wide);
  margin-top: 148px;
  padding: 2rem 3.8rem 2.7rem;
  position: relative;
}
.difference__title {
  color: var(--oh-white);
  margin: 3rem 0;
  font-size: 3.5rem;
  font-weight: 300;
}
.difference__text {
  color: var(--oh-white);
  font-size: 1.1rem;
  font-weight: 200;
  max-width: 50rem;
  margin: 0 auto 3rem;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}
.pillar__box {
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.pillar__title {
  color: var(--oh-white);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.pillar__text {
  color: var(--oh-white);
  font-size: 0.95rem;
  font-weight: 200;
  line-height: 1.6;
}

/* Carousel */
.carousel { width: 100%; overflow: hidden; padding: 4rem 0; }
.carousel__track { display: flex; gap: 12px; transition: transform 0.5s ease; }
.carousel__slide { flex: 0 0 721px; max-width: 90vw; position: relative; }
.carousel__slide img { width: 100%; border-radius: 8px; }
.carousel__btn {
  background: var(--oh-black);
  border-radius: 5px;
  color: var(--oh-text-muted);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  margin-top: -1.1rem;
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Stats — .thousands_in_use */
.stats-section__text {
  color: var(--oh-white);
  background-color: var(--oh-blue-deep);
  background-image: url('/wp/wp-content/uploads/site/stats-bg.jpg');
  background-position: 50% 60%;
  background-size: cover;
  width: 100%;
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  max-width: none;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
}

/* Finance */
.finance-box {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 52rem;
  margin-top: -100px;
  padding: 2rem;
}
.finance-box__img { max-width: 280px; border-radius: 16px; }
.finance-box__title { font-size: 2.5rem; font-weight: 300; margin-bottom: 1rem; }
.finance-box__text { font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* Buttons — .learn_more_button */
.btn-primary {
  z-index: 5;
  background-color: var(--oh-black);
  border: var(--oh-btn-border);
  border-radius: var(--oh-btn-radius);
  color: var(--oh-white);
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21rem;
  max-width: 100%;
  cursor: pointer;
  transition: all var(--oh-ease);
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--oh-white);
  color: var(--oh-black);
}

/* Steps */
.steps { padding: 4rem 1.5rem 6rem; }
.steps__title { font-size: 2.5rem; font-weight: 300; margin-bottom: 0.5rem; }
.steps__sub { font-size: 1.5rem; font-weight: 600; margin-bottom: 3rem; }
.steps__grid { max-width: 52rem; margin: 0 auto; }
.step-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 2.5rem;
  align-items: start;
}
.step-item__label { font-weight: 600; letter-spacing: 0.1em; padding-top: 0.5rem; }
.step-item__num {
  width: 48px; height: 48px;
  border: 2px solid var(--oh-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.step-item__title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.step-item__text { font-size: 0.95rem; line-height: 1.6; grid-column: 3; }

/* Form — .general_lead_wrap */
.lead-form-section { padding: 5rem 1.5rem; background: var(--oh-white); }
.lead-form__title { font-size: 48px; line-height: 49px; font-weight: 600; margin-bottom: 1rem; }
.lead-form__desc { max-width: 40rem; margin: 0 auto 2rem; line-height: 1.7; }
.lead-form {
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%;
  border: 1px solid #e4e4e4;
  padding: 21px 20px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.4s;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: #43464d; outline: none; }
.lead-form .full-width { grid-column: 1 / -1; }
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form label { display: block; font-size: 14px; margin-bottom: 6px; font-weight: 500; }

/* Newsletter */
.newsletter {
  padding: 4rem 1.5rem;
  max-width: 52rem;
  margin: 0 auto;
}
.newsletter__title { font-size: 2.7rem; font-weight: 300; line-height: 3.1rem; margin: 26px 0 12px; }
.newsletter__form { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; }
.newsletter__form input {
  flex: 1; min-width: 240px;
  border: 1px solid #e4e4e4;
  padding: 18px 20px;
  font-size: 14px;
}
.newsletter__form button {
  background: var(--oh-black);
  color: var(--oh-white);
  border: none;
  padding: 18px 30px;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--oh-ease);
}
.newsletter__form button:hover { background: var(--oh-dark); }

/* Phone CTA */
.phone-cta {
  text-align: center;
  font-size: 1.6rem;
  padding: 3rem 1.5rem;
  background: var(--oh-black);
  color: var(--oh-white);
}
.phone-cta a { text-decoration: underline; }

/* Footer — .footer_oxy */
.site-footer {
  background: var(--oh-black);
  color: var(--oh-white);
}
.site-footer__phone { text-align: center; font-size: 1.6rem; padding: 6rem 1.5rem 2.4rem; }
.site-footer__social { display: flex; justify-content: center; gap: 20px; margin-top: 2.4rem; }
.site-footer__divider {
  border-top: 1px solid var(--oh-border);
  border-bottom: 1px solid var(--oh-border);
  margin: 31px auto;
  padding: 16px 0;
  max-width: var(--oh-container-wide);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--oh-container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 300;
  text-align: left;
}
.site-footer__grid strong { display: block; margin-bottom: 0.75rem; }
.site-footer__grid a { display: block; color: var(--oh-white); margin-bottom: 0.4rem; opacity: 0.85; transition: opacity var(--oh-ease); }
.site-footer__grid a:hover { opacity: 1; }
.site-footer__copy {
  text-align: center;
  max-width: 41rem;
  margin: 0 auto 68px;
  font-size: 0.8rem;
  font-weight: 300;
  padding: 0 1.5rem;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--oh-ease-nav);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  color: var(--oh-white);
  font-size: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
body.nav-open { overflow: hidden; }

/* Product archive cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.product-card {
  border: 1px solid #e4e4e4;
  border-radius: 9px;
  overflow: hidden;
  background: var(--oh-white);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.product-card__image { display: block; overflow: hidden; }
.product-card__thumb {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.product-card__body { padding: 1.35rem 1.5rem 1.5rem; }
.product-card__title {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
}
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  margin: 0 0 0.75rem;
}
.product-card__excerpt {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  color: #333;
}
.product-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oh-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-single__hero { margin-bottom: 2rem; border-radius: 9px; overflow: hidden; }
.product-single__image { width: 100%; height: auto; display: block; }
.product-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: -0.5rem 0 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}

.entry-content .product-specs {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f7f7f7;
  border-radius: 9px;
}
.entry-content .product-specs h2,
.entry-content h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
}
.entry-content .product-specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.entry-content .product-specs th,
.entry-content .product-specs td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e4e4e4;
  text-align: left;
  font-weight: 400;
}
.entry-content .product-specs th {
  width: 40%;
  font-weight: 600;
}
.entry-content .product-use-cases,
.entry-content .product-features {
  line-height: 1.8;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.about-page {
  padding: calc(var(--oh-nav-height) + 3rem) 1.5rem 4rem;
  max-width: 56rem;
}
.about-page__header { text-align: center; margin-bottom: 2rem; }
.about-page__header h1 { font-size: 3rem; font-weight: 300; }
.about-page__intro { line-height: 1.8; margin-bottom: 3rem; }
.about-team h2, .about-creds h2 { font-size: 1.75rem; margin-bottom: 1rem; text-align: center; }
.about-team__lead { text-align: center; max-width: 40rem; margin: 0 auto 2rem; color: #444; }
.about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.about-team__card {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid #e4e4e4;
  border-radius: 9px;
}
.about-team__avatar {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--oh-navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 600;
}
.about-team__card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.about-team__card p { margin: 0; color: #666; font-size: 0.9rem; }
.about-creds__list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: grid;
  gap: 0.75rem;
}
.about-creds__list li {
  padding: 1rem 1.25rem;
  background: #f7f7f7;
  border-radius: 9px;
  border-left: 4px solid var(--oh-navy);
}
.about-pillars { margin-top: 1rem; }

.contact-page { padding-top: calc(var(--oh-nav-height) + 3rem); }
.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 52rem;
  margin: 0 auto 2rem;
  text-align: left;
}
.contact-page__map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 9px;
}
.contact-page__map-title {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.form-notice {
  max-width: 52rem;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 9px;
}
.form-notice--success { background: #edf7ed; color: #1e4620; }
.form-notice--error { background: #fdecea; color: #611a15; }

.mobile-nav__lang {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 0.5rem;
}

@media (max-width: 991px) {
  .about-team__grid { grid-template-columns: 1fr; }
  .contact-page__grid { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .pillars { grid-template-columns: 1fr; }
  .product-bar { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
  .finance-box { flex-direction: column; text-align: center; }
  .lead-form { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .section--gradient { padding-top: 12rem; }
  .difference { margin-top: 80px; padding: 2rem 1.5rem; }
  .difference__title { font-size: 2rem; }
  .step-item { grid-template-columns: 1fr; text-align: center; }
  .step-item__text { grid-column: 1; }
}

@media (max-width: 479px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.75rem; }
}
