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

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

/* Glassmorphism */
.z6zs5i13 {
  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 */
.b56w739x {
  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;
}

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

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

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

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

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

.enb3xmlp {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ggz2zxmb {
  margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

.fblmpjym {
  list-style: none;
}

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

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

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

.dl8urw24 {
  margin-bottom: 40px;
}

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

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

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

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

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

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

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

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

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

.ihco1bjn {
  font-size: 40px;
}

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

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

.stdt2gxm .b56w739x {
  flex: 1;
  padding: 16px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.p9tbarcu {
  margin-bottom: 25px;
}

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

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

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

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

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

.tr5q19e8 .v8iquhp8 {
  margin-bottom: 15px;
}

.tr5q19e8 .qglwqnmx {
  width: 35px;
  height: 35px;
}

.tr5q19e8 .nf1g44fz {
  font-size: 20px;
}

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

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

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

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

.joqp2uye {
  text-align: right;
}

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

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

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

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

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

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

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

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

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

.hga4nkfp {
  text-align: center;
}

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

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

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

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

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

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

  .ej89fipj {
    order: -1;
  }

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

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

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

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

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

  .k6ainr44 {
    align-items: center;
  }

  .joqp2uye {
    text-align: center;
  }
}

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

  .cs3txlii {
    font-size: 16px;
  }

  .glmvkjaz {
    font-size: 28px;
  }

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

  .asdfth8p {
    padding: 30px 20px;
  }

  .y8eedmsa {
    padding: 40px 25px;
  }

  .it6mrg1p img {
    height: 250px;
  }

  .iyoc5t9d {
    width: 100%;
  }
}

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

  .kne99l1s {
    font-size: 26px;
  }

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

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

  .hnd7s6mi,
  .wwm09x9w,
  .zcl1qxik,
  .xq5f37ov {
    padding: 60px 0;
  }

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

  .stdt2gxm .b56w739x {
    width: 100%;
  }
}
