/* ========== RESET & BASE ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg-primary:    #080008;
  --bg-secondary:  #0e0108;
  --bg-card:       rgba(28,4,8,0.7);
  --bg-card-hover: rgba(40,6,10,0.85);
  --red:           #e02020;
  --red-dark:      #b01818;
  --red-glow:      rgba(224, 32, 32, 0.25);
  --white:         #ffffff;
  --gray-100:      #f0f0f0;
  --gray-400:      #9a9a9a;
  --gray-600:      #555555;
  --border:        rgba(255,255,255,0.07);
  --font-th:       'Noto Sans Thai', sans-serif;
  --font-en:       'Plus Jakarta Sans', sans-serif;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --transition:    0.25s ease;
}


html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: #e8e8ec;
  color: #111111;
  font-family: var(--font-th);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}





a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1rem;
  color: #111111;
  letter-spacing: -0.2px;
}
.nav-logo .logo-icon {
  width: 32px; height: 32px;
  background: var(--red);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(224,32,32,0.35);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  background: #f1f1f5;
  padding: 4px;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.05);
}
.nav-menu a {
  display: block;
  font-family: var(--font-th);
  font-size: 0.85rem;
  color: #777;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 50px;
  transition: all 0.18s ease;
  white-space: nowrap;
  letter-spacing: 0.1px;
}
.nav-menu a:hover { color: #222; background: rgba(255,255,255,0.7); }
.nav-menu a.active {
  background: #fff;
  color: #111;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-th);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(224,32,32,0.35);
  letter-spacing: 0.2px;
}
.btn-login:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(224,32,32,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #333; border-radius: 2px; transition: var(--transition); }


.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(224,32,32,0.15);
  border: 1px solid rgba(224,32,32,0.35);
  color: #ff6b6b;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero-badge::before { content: '⚡'; font-size: 0.85rem; }

.hero-title {
  font-family: var(--font-en);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.hero-title .accent { color: var(--red); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-400);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-th);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(224,32,32,0.35);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 32px rgba(224,32,32,0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-th);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--gray-600);
  transform: translateY(-1px);
}

/* ========== FEATURES ========== */
.features {
  background: rgba(20,2,4,0.55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
}

.features-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(224,32,32,0.3);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px; height: 42px;
  min-width: 42px;
  background: rgba(224,32,32,0.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--red);
}

.feature-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.feature-card p  { font-size: 0.8rem; color: var(--gray-400); }

/* ========== ABOUT SECTION ========== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-text {
  color: var(--gray-400);
  font-size: 0.97rem;
  line-height: 1.8;
  max-width: 720px;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--gray-100);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  transition: all var(--transition);
}

.tag:hover {
  border-color: rgba(224,32,32,0.4);
  color: var(--white);
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
  background: rgba(20,2,4,0.55);
  border-top: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  cursor: pointer;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(224,32,32,0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.product-icon {
  width: 52px; height: 52px;
  background: rgba(224,32,32,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}

.product-card h3 { font-size: 1rem; font-weight: 700; }
.product-card p  { font-size: 0.82rem; color: var(--gray-400); flex: 1; }

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-tag {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
}

.badge-hot {
  background: rgba(224,32,32,0.18);
  color: #ff6b6b;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  border: 1px solid rgba(224,32,32,0.3);
}

/* ========== STEPS SECTION ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.step-card:hover { background: var(--bg-card-hover); transform: translateY(-3px); }

.step-num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(224,32,32,0.15);
  line-height: 1;
  margin-bottom: 14px;
}

.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-card p  { font-size: 0.88rem; color: var(--gray-400); line-height: 1.7; }

/* ========== CTA SECTION ========== */
.cta-section {
  background: rgba(20,2,4,0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 80px 24px;
}

.cta-section .section-title { margin-bottom: 12px; }
.cta-section .section-text  { margin: 0 auto 36px; text-align: center; }

/* ========== FOOTER ========== */
.footer {
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 48px 24px 28px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand p { font-size: 0.88rem; color: #666666; margin-top: 12px; line-height: 1.7; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888888;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: #666666; transition: color var(--transition); }
.footer-col ul li a:hover { color: #111111; }

.footer-bottom {
  max-width: 1280px;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.82rem; color: #aaaaaa; }

/* ========== MOBILE NAV OVERLAY ========== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 62px; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.active { display: flex; }
.mobile-nav a { font-size: 1.3rem; font-weight: 600; color: var(--gray-400); }
.mobile-nav a:hover { color: var(--white); }

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate { opacity: 0; }
.animate.visible { animation: fadeUp 0.55s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .features-inner { grid-template-columns: repeat(2, 1fr); }
  .steps-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-inner   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu, .btn-login { display: none; }
  .hamburger { display: flex; }
  .features-inner { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr; }
  .hero-title     { letter-spacing: -1px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* ========== BANNER SLIDER ========== */
.banner-section {
  padding: 24px 0 40px;
}

.banner-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.banner-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6.5;
  border-radius: 20px;
  overflow: hidden;
  background: #e0e0e6;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.banner-slide.active { opacity: 1; }

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 14px));
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.3rem;
  cursor: pointer;
  color: #333;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: all 0.18s ease;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}

.banner-prev { left: 32px; }
.banner-next { right: 32px; }
.banner-prev:hover,
.banner-next:hover {
  background: #fff;
  transform: translateY(calc(-50% - 14px)) scale(1.08);
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 50px;
}

/* ========== STATS + MENU CARDS ========== */
.cards-section {
  padding: 24px 0 60px;
}

.cards-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-left: auto;
  margin-right: auto;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}


/* Menu Cards */
.menu-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.menu-card {
  background: #fafafa;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #f0f0f0;
  border-left: 3px solid var(--red);
  text-decoration: none;
  color: inherit;
  transition: all 0.18s ease;
  cursor: pointer;
}

.menu-card:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.stat-icon, .menu-icon {
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ff3b3b, #c41010);
  box-shadow: 0 4px 14px rgba(224,32,32,0.3);
  flex-shrink: 0;
}

.stat-icon {
  width: 52px; height: 52px;
}

.stat-icon svg {
  width: 24px; height: 24px;
  stroke: #fff;
}

.menu-icon {
  width: 44px; height: 44px;
}

.menu-icon svg {
  width: 20px; height: 20px;
  stroke: #fff;
}

.menu-info { flex: 1; min-width: 0; }

.menu-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-sub {
  font-size: 0.7rem;
  color: #bbb;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.8px;
}

.menu-arrow {
  width: 16px; height: 16px;
  min-width: 16px;
  stroke: #d0d0d0;
}

.stat-num {
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 800;
  color: #111;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: #aaa;
  font-weight: 500;
  margin-bottom: 10px;
}

.stat-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ffaaaa);
  border-radius: 50px;
  width: 48px;
}

.menu-card--live { cursor: default; }
.menu-card--live:hover { transform: none; box-shadow: none; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff0f0;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
  border: 1px solid rgba(224,32,32,0.2);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.live-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@media (max-width: 768px) {
  .stats-row  { grid-template-columns: 1fr; }
  .menu-row   { grid-template-columns: 1fr; }
}

