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

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

/* Glassmorphism */
.pj8745hi {
  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 */
.jb1r8z3w {
  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;
}

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

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

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

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

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

.pjbhpkx1 {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.wlbeta21 {
  margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

.paqynrhc {
  list-style: none;
}

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

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

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

.fasyodc7 {
  margin-bottom: 40px;
}

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

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

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

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

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

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

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

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

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

.ugcwxh5l {
  font-size: 40px;
}

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

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

.z7onpxb9 .jb1r8z3w {
  flex: 1;
  padding: 16px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.tbgd7zc5 {
  margin-bottom: 25px;
}

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

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

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

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

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

.mvxp33bl .uwxz1nhc {
  margin-bottom: 15px;
}

.mvxp33bl .gbdz69pj {
  width: 35px;
  height: 35px;
}

.mvxp33bl .niq6n388 {
  font-size: 20px;
}

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

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

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

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

.qrokx72d {
  text-align: right;
}

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

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

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

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

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

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

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

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

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

.pekhr6ri {
  text-align: center;
}

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

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

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

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

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

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

  .g2thwinf {
    order: -1;
  }

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

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

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

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

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

  .hu9kl4kc {
    align-items: center;
  }

  .qrokx72d {
    text-align: center;
  }
}

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

  .ahxcdr9r {
    font-size: 16px;
  }

  .gw8euabo {
    font-size: 28px;
  }

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

  .ci6d91xc {
    padding: 30px 20px;
  }

  .rgrl50yd {
    padding: 40px 25px;
  }

  .xodp2mwx img {
    height: 250px;
  }

  .d668lrqp {
    width: 100%;
  }
}

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

  .rrrq9o1h {
    font-size: 26px;
  }

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

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

  .ojz4u36u,
  .jksgfpkg,
  .d8co95nm,
  .oc1pzmcf {
    padding: 60px 0;
  }

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

  .z7onpxb9 .jb1r8z3w {
    width: 100%;
  }
}
