/* ========================================
   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;
}

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

/* Glassmorphism */
.do184ytn {
  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 */
.zvrs4d3n {
  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;
}

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

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

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

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

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

.ex27vewt {
  width: 100%;
}

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

.hwayq0be 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);
}

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

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

.ah7yssk4 {
  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;
  }
}

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

.y4wxgan9 {
  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);
}

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

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

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

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

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

.fi39b859 {
  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;
}

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

.dj0zk58h {
  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;
}

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

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

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

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

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

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

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

.wrksyzby: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;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.p5w8cyk3 {
  margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

.rgwpxcsf {
  list-style: none;
}

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

.u1y2o33x {
  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
   ======================================== */
.rgfiqa5c {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.ailwbpjg {
  margin-bottom: 40px;
}

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

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

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

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

.ty77xv1l {
  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);
  }
}

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

.fgjz9uub {
  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;
}

.o3x2kz4f {
  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 .o3x2kz4f {
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
}

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

.c0szffmv {
  font-size: 40px;
}

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

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

.f21tsm1w .zvrs4d3n {
  flex: 1;
  padding: 16px;
}

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

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

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

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

.u19gtr9i {
  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;
  }
}

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

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

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

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

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

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

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

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

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

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

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

.ez7hbs6s {
  margin-bottom: 25px;
}

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

.vpva29mn {
  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);
}

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

.vpva29mn: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);
}

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

.e2qxgtky .g0ymuvfp {
  margin-bottom: 15px;
}

.e2qxgtky .ah7yssk4 {
  width: 35px;
  height: 35px;
}

.e2qxgtky .eyoxaifm {
  font-size: 20px;
}

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

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

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

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

.kdfrkoad {
  text-align: right;
}

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

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

/* ========================================
   Modal
   ======================================== */
.ycjajpmk {
  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;
}

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

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

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

.e3tzze0v {
  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);
}

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

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

.z3spek07 {
  text-align: center;
}

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

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

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

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

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

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

  .p36arxxc {
    order: -1;
  }

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

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

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

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

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

  .vw9egxxq {
    align-items: center;
  }

  .kdfrkoad {
    text-align: center;
  }
}

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

  .nsznjust {
    font-size: 16px;
  }

  .fzs8kkpx {
    font-size: 28px;
  }

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

  .vldx5dmj {
    padding: 30px 20px;
  }

  .ily62rfs {
    padding: 40px 25px;
  }

  .g2cuyf41 img {
    height: 250px;
  }

  .xbxmqses {
    width: 100%;
  }
}

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

  .dj0zk58h {
    font-size: 26px;
  }

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

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

  .ooeki6o1,
  .g1qtbopy,
  .rgfiqa5c,
  .dy9dedan {
    padding: 60px 0;
  }

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

  .f21tsm1w .zvrs4d3n {
    width: 100%;
  }
}
