:root {
  --brand-green: #1B4332;
  --brand-green-light: #2D6A4F;
  --brand-green-dark: #081C15;
  --brand-gold: #C9A84C;
  --brand-gold-light: #E8C97A;
  --brand-gold-dim: #8B6E30;
  --ink: #081C15;
  --paper: #FFFFFF;
  --cream: #FAF7F2;
  --sage: #4A5C4E;
  --warm-gray: #555555;
  --accent-red: #8B2E2E;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── GRAIN OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27,67,50,0.05);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.logo {
  font-family: 'Kanit', sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--brand-gold);
}

.logo .k { color: var(--brand-green); }
.logo .win { color: var(--brand-green-light); }

.logo span {
  color: var(--ink);
  font-style: normal;
}

.logo .ai {
    color: var(--brand-gold-dim);
    vertical-align: super;
    font-size: 0.6em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul a {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.3s;
}

nav ul a:hover { color: var(--brand-green-light); }

.nav-cta {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white !important;
  background: var(--brand-green);
  padding: 10px 24px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s;
  font-weight: 500;
}

.nav-cta:hover { background: var(--brand-green-light); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(27,67,50,0.15) 0%, transparent 50%);
}

/* Animated lines */
.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.15;
}

.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  border: 1px solid var(--brand-gold);
  border-radius: 50%;
  animation: expandRing 8s ease-out infinite;
}

.hero-lines::before {
  width: 600px; height: 600px;
  right: 5%; top: 10%;
  animation-delay: 0s;
}

.hero-lines::after {
  width: 800px; height: 800px;
  right: -5%; top: 0%;
  animation-delay: 2s;
}

@keyframes expandRing {
  0% { transform: scale(0.5); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0; }
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 80px 80px 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 400;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--brand-gold);
}

.hero-title {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(56px, 7vw, 100px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-title .k { color: var(--brand-green); }
.hero-title .win { color: var(--brand-green-light); }
.hero-title .ai-suffix { color: var(--brand-gold-dim); font-size: 0.6em; vertical-align: super; font-weight: 300; }

.hero-tagline-th {
  font-family: 'Kanit', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.hero-tagline-en {
  font-family: 'Kanit', sans-serif;
  font-size: 28px;
  color: var(--brand-green-light);
  margin-bottom: 56px;
  font-weight: 300;
}

.hero-meaning {
  display: flex;
  gap: 0;
  margin-bottom: 56px;
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-radius: 4px;
  overflow: hidden;
  max-width: 520px;
  background: rgba(45, 106, 79, 0.05);
}

.meaning-block {
  flex: 1;
  padding: 24px 16px;
  border-right: 1px solid rgba(45, 106, 79, 0.1);
  text-align: center;
}

.meaning-block:last-child { border-right: none; }

.meaning-char {
  font-family: 'Kanit', sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--brand-gold);
  display: block;
  margin-bottom: 6px;
}

.meaning-label {
  font-family: 'Kanit', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  display: block;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  background: var(--brand-gold);
  color: white;
  padding: 18px 44px;
  border: none;
  border-radius: 2px;
  font-family: 'Kanit', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--brand-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.3);
}

.btn-ghost {
  color: var(--warm-gray);
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
  font-weight: 400;
}

.btn-ghost:hover { color: var(--ink); }

.btn-ghost::after {
  content: '→';
  transition: transform 0.3s;
}

.btn-ghost:hover::after { transform: translateX(4px); }

/* Hero Right - Visual */
.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 60px;
}

.wealth-orb {
  position: relative;
  width: 420px;
  height: 420px;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: rotate 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-ring:nth-child(1) {
  inset: 0;
  border-color: rgba(201,168,76,0.2);
}

.orb-ring:nth-child(2) {
  inset: 30px;
  border-color: rgba(201,168,76,0.1);
  animation-direction: reverse;
  animation-duration: 15s;
}

.orb-ring:nth-child(3) {
  inset: 60px;
  border-color: rgba(27,67,50,0.2);
  animation-duration: 25s;
}

.orb-ring:nth-child(4) {
  inset: 90px;
  border-color: rgba(201,168,76,0.1);
  animation-direction: reverse;
  animation-duration: 30s;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orb-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--brand-gold);
  border-radius: 50%;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--brand-gold);
}

.orb-center {
  position: absolute;
  inset: 120px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(27,67,50,0.05) 0%, white 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(27,67,50,0.1);
}

.orb-center-text {
  font-family: 'Kanit', sans-serif;
  font-size: 64px;
  font-weight: 500;
  color: var(--brand-gold);
  line-height: 1;
}

.orb-center-text .k{
  color: var(--brand-green);
}

.orb-center-sub {
  font-family: 'Kanit', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--warm-gray);
  text-transform: uppercase;
  font-weight: 400;
}

/* Floating stats */
.float-stat {
  position: absolute;
  background: white;
  border: 1px solid rgba(27,67,50,0.1);
  border-radius: 8px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.float-stat:nth-child(6) { top: 10%; left: -10%; animation-delay: 0s; }
.float-stat:nth-child(7) { bottom: 15%; right: -5%; animation-delay: 2s; }
.float-stat:nth-child(8) { top: 55%; left: -15%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.stat-val {
  font-family: 'Kanit', sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--brand-gold);
  line-height: 1;
}

.stat-label {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  color: var(--warm-gray);
  margin-top: 6px;
  font-weight: 400;
}

/* ─── DIVIDER ─── */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brand-green-light), transparent);
  margin: 0 80px;
  opacity: 0.2;
}

/* ─── DISCIPLINE SECTION ─── */
.discipline {
  padding: 120px 80px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

.discipline::before {
  content: 'วินัย';
  position: absolute;
  right: 60px;
  top: 60px;
  font-family: 'Kanit', sans-serif;
  font-size: 200px;
  font-weight: 600;
  color: rgba(201,168,76,0.04);
  line-height: 1;
  pointer-events: none;
}

.section-number {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--brand-gold-dim);
  margin-bottom: 24px;
  font-weight: 500;
}

.section-title {
  font-family: 'Kanit', sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.section-title em {
  color: var(--brand-gold);
  font-style: normal;
}

.discipline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(45, 106, 79, 0.1);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.discipline-card {
  background: white;
  padding: 48px 40px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.discipline-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--brand-green-light);
  transition: width 0.4s;
}

.discipline-card:hover { background: rgba(45, 106, 79, 0.03); }
.discipline-card:hover::before { width: 100%; }

.card-icon {
  font-size: 40px;
  margin-bottom: 24px;
  display: block;
}

.card-title {
  font-family: 'Kanit', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.card-title-th {
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  color: var(--brand-green-light);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.card-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ─── PHILOSOPHY ─── */
.philosophy {
  padding: 140px 80px;
  text-align: center;
  position: relative;
}

.philosophy-quote {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  max-width: 1000px;
  margin: 0 auto 48px;
}

.philosophy-quote .highlight {
  color: var(--brand-gold);
  font-style: normal;
  position: relative;
}

.philosophy-sub {
  font-family: 'Kanit', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--warm-gray);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ─── FEATURES ─── */
.features {
  padding: 80px 80px 120px;
}

.features-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(45, 106, 79, 0.1);
  border: 1px solid rgba(45, 106, 79, 0.1);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.feature-item {
  background: white;
  padding: 60px 48px;
  border-right: none;
  transition: background 0.3s;
  position: relative;
}

.feature-item:hover { background: rgba(45, 106, 79, 0.03); }

.feature-num {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  color: var(--brand-green-light);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  font-weight: 400;
}

.feature-title {
  font-family: 'Kanit', sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}

.feature-title-th {
  font-size: 16px;
  color: var(--brand-green-light);
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  margin-bottom: 24px;
}

.feature-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--warm-gray);
  line-height: 1.8;
}

/* ─── FAMILY BANNER ─── */
.family-banner {
  margin: 0 80px;
  padding: 100px 80px;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.08) 0%, rgba(201, 168, 76, 0.05) 100%);
  border: 1px solid rgba(45, 106, 79, 0.15);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.family-banner::before {
  content: '家';
  position: absolute;
  right: 200px;
  top: -20px;
  font-size: 280px;
  color: rgba(45, 106, 79, 0.05);
  font-family: serif;
  pointer-events: none;
}

.banner-title {
  font-family: 'Kanit', sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}

.banner-sub {
  font-family: 'Kanit', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--warm-gray);
  line-height: 1.8;
  max-width: 600px;
}

/* ─── TIERS ─── */
.tiers {
  padding: 120px 80px;
}

.tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}

.tier-card {
  border: 1px solid rgba(45, 106, 79, 0.1);
  background: white;
  border-radius: 4px;
  padding: 60px 48px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.tier-card:hover {
  border-color: var(--brand-green-light);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.tier-card.featured {
  border-color: var(--brand-gold);
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.04) 0%, transparent 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.tier-badge {
  font-family: 'Kanit', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: var(--brand-gold);
  padding: 6px 16px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 32px;
  font-weight: 600;
}

.tier-name {
  font-family: 'Kanit', sans-serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.tier-name-th {
  font-family: 'Kanit', sans-serif;
  font-size: 18px;
  color: var(--brand-green-light);
  margin-bottom: 32px;
  font-weight: 400;
}

.tier-price {
  font-family: 'Kanit', sans-serif;
  font-size: 60px;
  font-weight: 600;
  color: var(--brand-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.tier-price-unit {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  color: var(--warm-gray);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  font-weight: 400;
}

.tier-features {
  list-style: none;
  margin-bottom: 48px;
}

.tier-features li {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid rgba(45, 106, 79, 0.05);
  display: flex;
  align-items: center;
  gap: 14px;
}

.tier-features li::before {
  content: '✦';
  color: var(--brand-green-light);
  font-size: 12px;
  flex-shrink: 0;
}

.btn-tier {
  width: 100%;
  padding: 18px;
  border: 1px solid var(--brand-green-light);
  background: transparent;
  color: var(--brand-green-light);
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-tier:hover {
  background: var(--brand-green-light);
  color: white;
}

.tier-card.featured .btn-tier {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: white;
}

.tier-card.featured .btn-tier:hover {
  background: var(--brand-gold-light);
}

/* ─── FOOTER ─── */
footer {
  background: white;
  padding: 100px 80px 48px;
  border-top: 1px solid rgba(27,67,50,0.05);
  margin-top: 100px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-logo {
  font-family: 'Kanit', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--brand-gold);
  margin-bottom: 24px;
}

.footer-top img {
  height: 120px;
  width: 120px;
  object-fit: cover;
  margin-top: 16px;
}

.footer-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--warm-gray);
  line-height: 1.8;
  max-width: 340px;
}

.footer-heading {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green-light);
  margin-bottom: 32px;
  font-weight: 500;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  font-size: 16px;
  font-weight: 400;
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--brand-gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(27,67,50,0.05);
}

.footer-bottom p {
  font-family: 'Kanit', sans-serif;
  font-size: 12px;
  color: var(--warm-gray);
  letter-spacing: 0.1em;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 140px 40px 80px; }
  .discipline { grid-template-columns: 1fr; padding: 80px 40px; gap: 40px; }
  .discipline-grid { grid-template-columns: 1fr; }
  nav { padding: 20px 24px; }
  nav ul { display: none; }
  .features { padding: 60px 40px; }
  .features-list { grid-template-columns: 1fr; }
  .tiers { padding: 80px 40px; }
  .tiers-grid { grid-template-columns: 1fr; }
  .family-banner { margin: 0 40px; padding: 60px 40px; grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 40px; }
  footer { padding: 60px 40px 40px; }
  .section-divider { margin: 0 40px; }
  .philosophy { padding: 80px 40px; }

  /* Mobile Font Adjustments */
  .hero-title { font-size: 48px; }
  .hero-tagline-th { font-size: 20px; }
  .hero-tagline-en { font-size: 22px; }
  .section-title { font-size: 44px; }
  .philosophy-quote { font-size: 32px; }
  .banner-title { font-size: 36px; }
  .tier-price { font-size: 48px; }
}

