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

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

/* Glassmorphism */
.n99tp3rm {
  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 */
.u5l39h0u {
  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;
}

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

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

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

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

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

.za7qmvqw {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c5q1dwl2 {
  margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

.k4mtqj9b {
  list-style: none;
}

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

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

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

.yu7jhylt {
  margin-bottom: 40px;
}

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

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

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

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

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

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

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

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

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

.exeekszy {
  font-size: 40px;
}

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

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

.api5yr8y .u5l39h0u {
  flex: 1;
  padding: 16px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.vqm5t514 {
  margin-bottom: 25px;
}

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

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

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

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

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

.lng0l60t .u2fqy8a9 {
  margin-bottom: 15px;
}

.lng0l60t .zxihi2uv {
  width: 35px;
  height: 35px;
}

.lng0l60t .f9qpagv6 {
  font-size: 20px;
}

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

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

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

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

.q2p80ypo {
  text-align: right;
}

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

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

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

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

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

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

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

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

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

.xwx6tll1 {
  text-align: center;
}

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

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

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

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

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

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

  .oud7tkb4 {
    order: -1;
  }

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

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

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

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

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

  .hcotsn4v {
    align-items: center;
  }

  .q2p80ypo {
    text-align: center;
  }
}

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

  .ermqmcq7 {
    font-size: 16px;
  }

  .w21mzzlr {
    font-size: 28px;
  }

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

  .jnnwzm4t {
    padding: 30px 20px;
  }

  .tefimy16 {
    padding: 40px 25px;
  }

  .dne0h6w4 img {
    height: 250px;
  }

  .mi0uxhet {
    width: 100%;
  }
}

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

  .mbayuq2k {
    font-size: 26px;
  }

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

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

  .takz4aar,
  .g1weante,
  .v23z0sao,
  .glyfc9jv {
    padding: 60px 0;
  }

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

  .api5yr8y .u5l39h0u {
    width: 100%;
  }
}
