/* ========================================
   Vision AI Thailand - Styles
   Dark Mode Tech Theme
   ======================================== */

/* CSS Variables */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --accent-primary: #38bdf8;
  --accent-secondary: #0ea5e9;
  --accent-glow: rgba(56, 189, 248, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  --gradient-glow: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.4) 0%,
    rgba(14, 165, 233, 0.2) 100%
  );
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(56, 189, 248, 0.2);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.2);
  --transition: all 0.3s ease;
  --font-main: "Kanit", sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.c25v0bex {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Glassmorphism */
.zu2j68vc {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.suazqrvo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.uy4yb4c9 {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.uy4yb4c9:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.zubi9gc2 {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.zubi9gc2:hover {
  background: var(--bg-secondary);
}

.zubi9gc2:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.n2xzqhwz {
  width: 100%;
}

.tb33pwpw {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.tb33pwpw svg {
  width: 100%;
  height: 100%;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

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

.ra2uq6ci {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nfj3ngp9 {
  width: 40px;
  height: 40px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.raq61eki {
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wcivg987 {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.wcivg987:hover {
  border-color: var(--accent-primary);
}

.wcivg987 [data-lang-part="active"] {
  color: var(--accent-primary);
}

.a9alsasu {
  color: var(--text-muted);
}

.wcivg987 [data-lang-part="inactive"] {
  color: var(--text-muted);
}

/* ========================================
   Hero Section
   ======================================== */
.cwzyqjgm {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.wdmf8os1 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    var(--gradient-glow) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.joxoirm9 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.e23cmsnp {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hpz9hvja {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.js64k3xg {
  font-size: 18px;
  padding: 18px 36px;
}

.bhjd4wmz {
  display: flex;
  justify-content: center;
  align-items: center;
}

.faoijkq9 {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ag9z60ae {
  position: absolute;
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  opacity: 0;
  animation: scanRing 3s ease-out infinite;
}

.ag9z60ae:nth-child(1) {
  width: 100%;
  height: 100%;
  animation-delay: 0s;
}

.ag9z60ae:nth-child(2) {
  width: 80%;
  height: 80%;
  animation-delay: 0.5s;
}

.ag9z60ae:nth-child(3) {
  width: 60%;
  height: 60%;
  animation-delay: 1s;
}

@keyframes scanRing {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.b59kjo0l {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.b59kjo0l img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Features Section
   ======================================== */
.sp68yo9w {
  padding: 100px 0;
  background: var(--bg-primary);
}

.h6lchb7s {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-primary);
}

.ky7d44sz {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.skgxi0fa {
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.skgxi0fa:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.ntg042cc {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: 20px;
}

.ntg042cc svg {
  width: 48px;
  height: 48px;
}

.y6c694tg {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.v3bditf5 {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========================================
   Innovation Section
   ======================================== */
.hucvhg6s {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.uvf82eig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.km0m6j8r {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.km0m6j8r img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.nz9ngy31 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: rgba(15, 23, 42, 0.95);
}

.ib7ibhyd {
  margin-bottom: 20px;
}

.ib7ibhyd:last-child {
  margin-bottom: 0;
}

.ljde7srm {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.r8h2n119 {
  color: var(--text-primary);
  font-weight: 500;
}

.fzbw6n8v {
  color: var(--accent-primary);
  font-weight: 600;
}

.nm37dcvj {
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.cdijbeke {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 1s ease;
}

.szo985oh {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.o6so6z91 {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

.x4sdg9a3 {
  list-style: none;
}

.x4sdg9a3 li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.fedcrst5 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 14px;
}

/* ========================================
   Quiz Section
   ======================================== */
.j8tfdbt6 {
  padding: 100px 0;
  background: var(--bg-primary);
}

.tpp7ht06 {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.k9ibrg6g {
  margin-bottom: 40px;
}

.rgdh88im {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.g4padt1f {
  display: flex;
  align-items: center;
  gap: 15px;
}

.veoeao8c {
  flex: 1;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.gzd467pw {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

.unu7s9mk {
  position: relative;
}

[data-quiz-step] {
  display: none;
}

[data-quiz-step][data-active="true"] {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tvso9mxs {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.lxzowz7i {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

[data-option-card] {
  display: block;
  cursor: pointer;
}

[data-option-card] input[type="radio"] {
  display: none;
}

.fovsh8gu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px 20px;
  background: var(--bg-secondary);
  border: 2px solid var(--bg-tertiary);
  border-radius: 16px;
  transition: var(--transition);
}

[data-option-card]:hover .fovsh8gu {
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
}

[data-option-card][data-selected] .fovsh8gu,
[data-option-card] input[type="radio"]:checked + .fovsh8gu {
  border-color: var(--accent-primary);
  background: var(--gradient-glow);
  box-shadow: var(--shadow-glow);
}

.atdemfyf {
  font-size: 40px;
}

.yn7yfj08 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}

.qn3pvqkg {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.qn3pvqkg .suazqrvo {
  flex: 1;
  padding: 16px;
}

/* Processing State */
.tt7iuuou {
  text-align: center;
  padding: 40px 0;
}

.pj5ihr1c {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 30px;
}

.v8vx4hzb {
  width: 100%;
  height: 100%;
  animation: rotate 3s linear infinite;
}

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

.ipmvo0iw {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
  0%,
  100% {
    width: 0%;
    opacity: 0;
  }
  50% {
    width: 100%;
    opacity: 1;
  }
}

.rp5jaqco {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.olqxn59g {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.rvmrdww7 {
  max-width: 300px;
  height: 6px;
  margin: 0 auto;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
}

.quhrd9pg {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* ========================================
   Form Section
   ======================================== */
.rkk9bb5b {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.im4wsr7a {
  max-width: 500px;
  margin: 0 auto;
  padding: 50px 40px;
}

.dg1e52rt {
  text-align: center;
  margin-bottom: 40px;
}

.wqpnir7k {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: 16px;
}

.wqpnir7k svg {
  width: 32px;
  height: 32px;
}

.cryxdng3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.at67qque {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.og0l5mst {
  margin-bottom: 25px;
}

.ar9qp90s {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.yzttmt0c {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 2px solid var(--bg-tertiary);
  border-radius: 12px;
  transition: var(--transition);
}

.yzttmt0c::placeholder {
  color: var(--text-muted);
}

.yzttmt0c:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 60px 0 40px;
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
}

.ut91s6e1 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lpoeytph .ra2uq6ci {
  margin-bottom: 15px;
}

.lpoeytph .nfj3ngp9 {
  width: 35px;
  height: 35px;
}

.lpoeytph .raq61eki {
  font-size: 20px;
}

.oltyjcpc {
  font-size: 14px;
  color: var(--text-muted);
}

.heeg2o2q {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nda9remn {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.nda9remn:hover {
  color: var(--accent-primary);
}

.nhr9xovd {
  text-align: right;
}

.nhr9xovd p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.hktd8i0h {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   Modal
   ======================================== */
.saxcj8d6 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.saxcj8d6[style*="display: flex"] {
  display: flex;
}

.vbvlxduf {
  max-width: 450px;
  width: 90%;
  padding: 50px 40px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
}

.saxcj8d6[style*="display: flex"] .vbvlxduf {
  transform: scale(1);
}

.sj80w1c8 {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: none;
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.sj80w1c8:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.sj80w1c8 svg {
  width: 20px;
  height: 20px;
}

.xrom8sd1 {
  text-align: center;
}

.w3agyzph {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
}

.w3agyzph svg {
  width: 100%;
  height: 100%;
  animation: modalPulse 2s ease-in-out infinite;
}

@keyframes modalPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.qxp3f358 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.pi73gjv3 {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .joxoirm9 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bhjd4wmz {
    order: -1;
  }

  .faoijkq9 {
    width: 280px;
    height: 280px;
  }

  .b59kjo0l {
    width: 220px;
    height: 220px;
  }

  .ky7d44sz {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .uvf82eig {
    grid-template-columns: 1fr;
  }

  .ut91s6e1 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .heeg2o2q {
    align-items: center;
  }

  .nhr9xovd {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .e23cmsnp {
    font-size: 32px;
  }

  .hpz9hvja {
    font-size: 16px;
  }

  .h6lchb7s {
    font-size: 28px;
  }

  .lxzowz7i {
    grid-template-columns: 1fr;
  }

  .tpp7ht06 {
    padding: 30px 20px;
  }

  .im4wsr7a {
    padding: 40px 25px;
  }

  .km0m6j8r img {
    height: 250px;
  }

  .js64k3xg {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cwzyqjgm {
    padding: 100px 0 60px;
  }

  .e23cmsnp {
    font-size: 26px;
  }

  .faoijkq9 {
    width: 220px;
    height: 220px;
  }

  .b59kjo0l {
    width: 180px;
    height: 180px;
  }

  .sp68yo9w,
  .hucvhg6s,
  .j8tfdbt6,
  .rkk9bb5b {
    padding: 60px 0;
  }

  .qn3pvqkg {
    flex-direction: column-reverse;
  }

  .qn3pvqkg .suazqrvo {
    width: 100%;
  }
}
