/* ===== VITAL HOARD — Premium Dark Luxury ===== */

:root {
  --gold: #FFD700;
  --gold-dim: #C9A227;
  --gold-glow: rgba(255,215,0,0.15);
  --immunity: #FF6B35;
  --immunity-dim: rgba(255,107,53,0.2);
  --focus: #4CAF50;
  --focus-dim: rgba(76,175,80,0.2);
  --bg: #0D0C0E;
  --bg-2: #13111A;
  --bg-3: #1A1820;
  --surface: #1E1C26;
  --border: rgba(255,215,0,0.12);
  --text: #E8E6F0;
  --text-muted: #8A879A;
  --text-faint: #4A4860;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
  --font-thai: 'Sarabun', sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  --transition: 220ms cubic-bezier(0.16,1,0.3,1);
  --content: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.15; }
p { text-wrap: pretty; max-width: 70ch; }

/* ===== LANG ===== */
body.lang-th { font-family: var(--font-thai); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: var(--space-4) var(--space-6);
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(13,12,14,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: var(--space-3);
}
.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.nav-links {
  display: flex; align-items: center; gap: var(--space-8);
}
.nav-links a {
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.lang-toggle {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  color: var(--gold);
  transition: all var(--transition);
}
.lang-toggle:hover { border-color: var(--gold); background: var(--gold-glow); }

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: var(--space-2);
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: #0D0C0E;
  font-weight: 600;
}
.btn-gold:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,215,0,0.3); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-immunity {
  background: var(--immunity-dim);
  color: var(--immunity);
  border: 1px solid var(--immunity);
}
.btn-immunity:hover { background: var(--immunity); color: white; }
.btn-focus {
  background: var(--focus-dim);
  color: var(--focus);
  border: 1px solid var(--focus);
}
.btn-focus:hover { background: var(--focus); color: white; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  padding: var(--space-24) var(--space-8) var(--space-16);
  max-width: var(--content);
  margin: 0 auto;
  gap: var(--space-8);
}
.hero-bg {
  position: fixed; inset: 0; z-index: -2;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,215,0,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 20% 80%, rgba(255,107,53,0.04) 0%, transparent 50%);
}
.hero-grain {
  position: fixed; inset: 0; z-index: -1; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}
.hero-content { padding-top: var(--space-16); }
.hero-eyebrow {
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 48ch;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-cans-duo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-6);
  width: 100%;
  max-width: 680px;
}
.hero-can-single {
  width: 46%;
  max-width: 300px;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,0.8));
  animation: float 6s ease-in-out infinite;
}
.hero-can-single:nth-child(2) {
  animation-delay: -3s;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
}
.container {
  max-width: var(--content);
  margin: 0 auto;
}
.section-label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--space-12);
}
.gold-line {
  width: 48px; height: 1px;
  background: var(--gold);
  margin: var(--space-6) 0;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ABOUT ===== */
.about { background: var(--bg-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-6);
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.75;
}
.about-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--gold) !important;
  line-height: 1.5;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-2);
  transition: border-color var(--transition);
}
.stat-card:hover { border-color: var(--gold-dim); }
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gold);
}
.stat-num small { font-size: 0.5em; opacity: 0.7; }
.stat-label { font-size: var(--text-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ===== PRODUCTS ===== */
.products { background: var(--bg); }
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.product-card:hover { transform: translateY(-6px); border-color: var(--gold-dim); }
.product-img-wrap {
  background: transparent;
  padding: var(--space-8) var(--space-6) 0;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 320px;
}
.product-img-wrap img {
  max-height: 300px;
  width: auto;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.8));
}
.product-body { padding: var(--space-8); }
.product-sub {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-2);
}
.product-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.product-name.immunity { color: var(--immunity); }
.product-name.focus { color: var(--focus); }
.product-desc {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.ingredient-tags {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.ingredient-tags span {
  font-size: var(--text-xs);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}
.immunity-tags span { background: var(--immunity-dim); color: var(--immunity); }
.focus-tags span { background: var(--focus-dim); color: var(--focus); }

/* ===== WHY ===== */
.why { background: var(--bg-2); }
.why-intro {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--gold);
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.pillar {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color var(--transition), transform var(--transition);
}
.pillar:hover { border-color: var(--gold-dim); transform: translateY(-4px); }
.pillar-icon { margin-bottom: var(--space-6); }
.pillar h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--text);
}
.pillar p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; max-width: 30ch; margin: 0 auto; }

/* ===== B2B ===== */
.b2b { background: var(--bg); }
.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: start;
}
.b2b-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-6);
}
.b2b-text p { color: var(--text-muted); margin-bottom: var(--space-6); line-height: 1.75; }
.b2b-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.b2b-list li { font-size: var(--text-sm); color: var(--text-muted); }
.b2b-list li::before { content: ''; }

.b2b-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.b2b-form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.b2b-form input,
.b2b-form select,
.b2b-form textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color var(--transition);
}
.b2b-form input:focus,
.b2b-form select:focus,
.b2b-form textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
}
.b2b-form input::placeholder,
.b2b-form textarea::placeholder { color: var(--text-faint); }
.b2b-form select { appearance: none; cursor: pointer; }
.b2b-form select option { background: var(--bg-3); }
.b2b-form .btn { align-self: flex-start; }

.form-success {
  text-align: center;
  padding: var(--space-12);
}
.success-icon {
  font-size: var(--text-2xl);
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.form-success p { color: var(--text-muted); margin: 0 auto; }

/* ===== ORDER ===== */
.order { background: var(--bg-2); text-align: center; }
.order .section-title { text-align: center; margin-left: auto; margin-right: auto; }
.order-cards {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-4);
  width: 280px;
  transition: border-color var(--transition), transform var(--transition);
}
.order-card:hover { transform: translateY(-4px); border-color: var(--gold-dim); }
.order-card img { max-height: 200px; width: auto; }
.order-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.order-card h3.immunity { color: var(--immunity); }
.order-card h3.focus { color: var(--focus); }
.order-card p { font-size: var(--text-sm); color: var(--text-muted); }
.order-price {
  font-family: var(--font-display);
  font-size: var(--text-xl) !important;
  font-weight: 600 !important;
  color: var(--gold) !important;
}
.order-price span { font-size: 0.6em; }
.order-note { color: var(--text-muted); font-size: var(--text-sm); }
.order-note a { color: var(--gold); }

/* ===== FAQ ===== */
.faq { background: var(--bg); }
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-6) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text);
  text-align: left;
  gap: var(--space-4);
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold); }
.faq-q span {
  font-size: var(--text-xl);
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: var(--text-sm);
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: var(--space-6);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: var(--space-16) var(--space-6) var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-muted);
  font-size: var(--text-base);
}
.social-links { display: flex; gap: var(--space-4); }
.social-links a {
  color: var(--text-faint);
  transition: color var(--transition);
}
.social-links a:hover { color: var(--gold); }
.footer-info h4,
.footer-links h4 {
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.footer-info p { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.75; margin-bottom: var(--space-2); }
.footer-info a { color: var(--gold); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { color: var(--text-muted); font-size: var(--text-sm); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
  text-align: center;
  color: var(--text-faint);
  font-size: var(--text-xs);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .b2b-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    padding-bottom: var(--space-12);
  }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-sub { margin: 0 auto var(--space-8); }
  .hero-ctas { justify-content: center; }

  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; inset: 0; top: 70px;
    flex-direction: column;
    background: var(--bg-2);
    padding: var(--space-8);
    gap: var(--space-6);
    align-items: flex-start;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: var(--text-base); }

  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .order-cards { flex-direction: column; align-items: center; }
}

/* ===== LIFESTYLE SECTION ===== */
.lifestyle {
  padding: 100px 0 0;
  overflow: hidden;
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
}

.lifestyle-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.lifestyle-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.lifestyle-item:hover img {
  transform: scale(1.05);
}

.lifestyle-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lifestyle-caption p {
  color: rgba(255,255,255,0.9);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.lifestyle-tag {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
}

.lifestyle-tag.immunity {
  background: #FF6B35;
  color: #fff;
}

.lifestyle-tag.focus {
  background: #4CAF50;
  color: #fff;
}

@media (max-width: 768px) {
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }
  .lifestyle-item {
    aspect-ratio: 4/3;
  }
}
