:root {
  --primary-bg: #FFFFFF;
  --secondary-bg: #F9FAFB;
  --dark-bg: #0B0F19;
  --accent: #4ADE80;
  --accent-hover: #22c55e;
  --text-dark: #111827;
  --text-gray: #4B5563;
  --text-gray-light: #9CA3AF;
  --border-radius: 16px;
  --font-en: 'Inter', sans-serif;
  --font-th: 'Noto Sans Thai', sans-serif;
}

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

body {
  font-family: var(--font-en);
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: all 0.3s ease;
}

body.lang-th {
  font-family: var(--font-th);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* Utilities */
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-gray { color: var(--text-gray); }
.text-gray-light { color: var(--text-gray-light); }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.accent-text { color: var(--accent); }
.bg-secondary { background-color: var(--secondary-bg); }
.bg-dark { background-color: var(--dark-bg); color: #fff; }
.relative { position: relative; }
.mt-xl { margin-top: 4rem; }
.mb-lg { margin-bottom: 2rem; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s, border 0.3s;
}

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 16px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
}

/* Buttons */
button, .btn-link {
  font-family: inherit;
  cursor: pointer;
}

.primary-btn {
  background-color: var(--accent);
  color: #0B0F19;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 99px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
}

.primary-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 222, 128, 0.4);
}

.secondary-btn {
  background-color: transparent;
  color: var(--text-gray);
  text-decoration: none;
  padding: 10px 24px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.secondary-btn:hover {
  color: var(--text-dark);
}

.large-btn {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.ghost-btn {
  background: none;
  border: none;
  color: var(--text-gray);
  font-weight: 500;
  margin-right: 24px;
  font-size: 0.95rem;
}
.ghost-btn:hover {
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  padding: 200px 0 140px 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(74, 222, 128, 0.1);
  color: #166534;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.h1-massive {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  max-width: 1000px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 700px;
  margin-bottom: 40px;
}

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

/* Sections */
section {
  padding: 120px 0;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 3.5rem;
}

/* Bento Grid (Elite Redesign) */
.section-heading-elite {
  margin-bottom: 3.5rem;
}

.section-heading-elite .section-title {
  margin-bottom: 0.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  grid-auto-rows: minmax(320px, auto);
}

.card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.card-glow {
  position: relative;
}

.card-glow::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.3), rgba(74, 222, 128, 0) 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card-glow:hover::after {
  opacity: 1;
}

.card-header-elite {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.elite-number {
  font-family: monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--text-gray-light);
  font-weight: 700;
}

.elite-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-gray-light);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.card-glow:hover .elite-dot {
  opacity: 1;
}

.glow-mint {
  background-color: var(--accent);
  opacity: 1;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
}

.glow-purple {
  background-color: #A855F7;
  opacity: 1;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.card-specs {
  color: var(--text-gray-light);
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.mt-md {
  margin-top: 1.5rem;
}

.flex-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.card p {
  color: var(--text-gray);
  font-size: 1.05rem;
}

.card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.card-wide {
  grid-column: span 3;
}

/* Founders Trust */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.trust-content h2 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 16px 0 24px 0;
}

.sub-header {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.feature-item {
  margin-bottom: 40px;
  padding-left: 24px;
  border-left: 2px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s ease;
}

.feature-item:hover {
  border-left-color: var(--accent);
}

.feature-item p {
  margin-top: 8px;
  font-size: 1.05rem;
}

/* AI Showcase */
.ai-showcase h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.glass-dark {
  background: rgba(17, 24, 39, 0.03);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 24px;
  padding: 80px 60px;
}

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

.pipeline-block {
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  width: 25%;
}

.engine.glow-border {
  border: 2px solid var(--accent);
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.2);
  position: relative;
  overflow: hidden;
  color: #166534;
}

.pipeline-line {
  flex-grow: 1;
  height: 2px;
  background: rgba(0,0,0,0.1);
  margin: 0 20px;
  position: relative;
}

.glow-dot {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: moveDot 3s infinite ease-in-out;
}

@keyframes moveDot {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* CTA */
.cta-banner {
  padding: 100px 0;
}

.cta-banner h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .h1-massive { font-size: 3rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .card-large, .card-wide { grid-column: span 1; grid-row: span 1; }
  .layout-split { grid-template-columns: 1fr; gap: 40px; }
  .pipeline { flex-direction: column; gap: 30px; }
  .pipeline-block { width: 100%; }
  .pipeline-line { width: 2px; height: 60px; margin: 0; }
  .glow-dot { top: 0; left: -4px; animation: moveDotVert 3s infinite ease-in-out; }
  .nav-links { display: none; }
}

@keyframes moveDotVert {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
