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

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

/* Glassmorphism */
.tdsneiwz {
  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 */
.snu3tbe8 {
  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;
}

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

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

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

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

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

.do91g43z {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.kl1hxiia {
  margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

.z3h7rv4z {
  list-style: none;
}

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

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

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

.nap7rjnu {
  margin-bottom: 40px;
}

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

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

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

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

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

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

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

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

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

.xgq6uypc {
  font-size: 40px;
}

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

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

.pjmckaad .snu3tbe8 {
  flex: 1;
  padding: 16px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.jjot8184 {
  margin-bottom: 25px;
}

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

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

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

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

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

.bg23o4si .q0cuhmj2 {
  margin-bottom: 15px;
}

.bg23o4si .st3k9pct {
  width: 35px;
  height: 35px;
}

.bg23o4si .weu9c5cu {
  font-size: 20px;
}

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

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

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

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

.dqna3cjo {
  text-align: right;
}

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

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

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

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

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

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

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

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

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

.rcd8jyen {
  text-align: center;
}

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

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

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

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

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

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

  .enfzsplx {
    order: -1;
  }

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

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

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

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

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

  .m32ic8d2 {
    align-items: center;
  }

  .dqna3cjo {
    text-align: center;
  }
}

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

  .b97zekcc {
    font-size: 16px;
  }

  .ftimqs1i {
    font-size: 28px;
  }

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

  .l0kys9zy {
    padding: 30px 20px;
  }

  .lnzoghk1 {
    padding: 40px 25px;
  }

  .anqum8ja img {
    height: 250px;
  }

  .q0aqnovu {
    width: 100%;
  }
}

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

  .r1dvpccp {
    font-size: 26px;
  }

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

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

  .ghc7zgmc,
  .m5zo565s,
  .hipmsf78,
  .wfxrf0tm {
    padding: 60px 0;
  }

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

  .pjmckaad .snu3tbe8 {
    width: 100%;
  }
}
