@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@400;500;600;700;800&display=swap");

:root {
  --primary-cyan: #00d9ff;
  --primary-lime: #6bcf7f;
  --primary-pink: #ff6b9d;
  --primary-orange: #ff9a76;
  --primary-yellow: #ffe66d;
  --primary-blue: #5dade2;

  --bg-white: #ffffff;
  --bg-light: #f8fafb;
  --bg-lighter: #f0f4f8;
  --text-dark: #1a1a2e;
  --text-gray: #555555;
  --text-light: #999999;
  --border-light: #e0e0e0;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Noto Sans Lao",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* NAVIGATION */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.15);
  padding: 16px 0;
  box-shadow: 0 4px 16px rgba(0, 217, 255, 0.08);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-lime));
  border-radius: 6px;
  color: white;
  font-weight: 800;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  /* padding: 4px 0; */
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-lime));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-cyan);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-cyan),
    var(--primary-lime)
  ) !important;
  color: white !important;
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 217, 255, 0.25);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 217, 255, 0.35);
}
.nav-burger {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fafbfc 0%, #f0f4f8 50%, #e8f0f6 100%);
  padding: 100px 20px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.08), transparent 70%);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 157, 0.08),
    transparent 70%
  );
  border-radius: 50%;
  animation: float-reverse 10s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(40px) translateX(10px);
  }
}

@keyframes float-reverse {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-40px) translateX(-10px);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 32px;
  color: var(--text-dark);
  letter-spacing: -1px;
}

.hero-accent {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0, 217, 255, 0.1);
  border: 2px solid var(--primary-cyan);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.dot-pulse {
  width: 6px;
  height: 6px;
  background: var(--primary-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-sub {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-terminal-line {
  background: var(--text-dark);
  color: var(--primary-cyan);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 32px;
  font-size: 14px;
  border-left: 4px solid var(--primary-cyan);
  overflow-x: auto;
}

.cursor-blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-primary {
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-lime));
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 12px 28px rgba(0, 217, 255, 0.32);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 217, 255, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-dark);
  text-decoration: none;
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: var(--text-dark);
  color: white;
}

.hero-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tech-pill {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.tech-pill:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.hero-ide {
  position: relative;
  perspective: 1000px;
}

.ide-window {
  background: var(--text-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transform: translateZ(20px);
}

.ide-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #2a2a3e;
  border-bottom: 1px solid var(--border-light);
}

.ide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ide-dot--red {
  background: #ff6b6b;
}

.ide-dot--yellow {
  background: #ffe66d;
}

.ide-dot--green {
  background: #6bcf7f;
}

.ide-filename {
  color: var(--primary-cyan);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  margin-left: auto;
  font-weight: 600;
}

.ide-body {
  display: flex;
  background: var(--text-dark);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 13px;
  color: var(--primary-cyan);
  line-height: 1.6;
}

.ide-lines {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  background: rgba(0, 217, 255, 0.05);
  border-right: 1px solid var(--border-light);
  color: var(--text-light);
  text-align: right;
  user-select: none;
  min-width: 40px;
}

.ide-lines span {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ide-code {
  flex: 1;
  padding: 16px;
  overflow: auto;
  max-height: 300px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  z-index: 2;
}

.scroll-line {
  width: 2px;
  height: 20px;
  background: var(--primary-cyan);
  margin: 8px auto;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-ide {
    display: none;
  }
}

/* STATS */
.stats {
  padding: 80px 20px;
  background: linear-gradient(
    180deg,
    var(--bg-lighter) 0%,
    var(--bg-white) 100%
  );
  border-top: 3px solid var(--primary-lime);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 28px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--primary-cyan);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 217, 255, 0.12);
}

.stat-num {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 600;
}

/* SECTIONS */
.services,
.process,
.portfolio,
.team,
.training,
.product,
.contact {
  padding: 80px 20px;
}

.services {
  background: var(--bg-white);
  border-bottom: 3px solid var(--primary-pink);
}

.process {
  background: var(--bg-lighter);
  border-bottom: 3px solid var(--primary-orange);
}

.portfolio {
  background: var(--bg-white);
  border-bottom: 3px solid var(--primary-yellow);
}

.team {
  background: var(--bg-lighter);
  border-bottom: 3px solid var(--primary-blue);
}

.contact {
  background: linear-gradient(135deg, var(--bg-light), var(--bg-lighter));
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: block;
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 52px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-head p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-lime));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--primary-cyan);
  box-shadow: 0 20px 48px rgba(0, 217, 255, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 42px;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  color: var(--primary-cyan);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--primary-lime);
}

/* PROCESS STEPS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}

.process-step {
  padding: 28px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 154, 118, 0.1);
  border-radius: 16px;
  border-left: 4px solid var(--primary-orange);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.process-step:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.8);
  border-left-color: var(--primary-orange);
  box-shadow: 0 16px 40px rgba(255, 154, 118, 0.12);
}

.step-num {
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.step-body h4 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-body p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* PORTFOLIO GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-16px);
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--primary-cyan);
  box-shadow: 0 28px 56px rgba(0, 217, 255, 0.18);
}

.portfolio-filebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

.portfolio-filename {
  color: var(--primary-cyan);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  margin-left: auto;
  font-weight: 600;
}

.portfolio-visual {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.portfolio-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  pointer-events: none;
}

.portfolio-visual-icon {
  font-size: 56px;
}

.portfolio-visual-year {
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.portfolio-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-type {
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.portfolio-card h3 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.portfolio-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.portfolio-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tech-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid var(--primary-cyan);
  border-radius: 12px;
  font-size: 11px;
  color: var(--primary-cyan);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-weight: 600;
}

.portfolio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 13px;
}

.portfolio-arrow {
  color: var(--primary-cyan);
  font-size: 16px;
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.08);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--primary-cyan);
  box-shadow: 0 20px 48px rgba(0, 217, 255, 0.12);
}

.team-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.avatar-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-cyan);
  border-radius: 50%;
  animation: spin 4s linear infinite;
}

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

.avatar-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-lime));
  color: white;
  border-radius: 50%;
}

.team-info h4 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  color: var(--primary-cyan);
  margin-bottom: 8px;
  font-weight: 600;
}

.team-exp {
  display: block;
  font-size: 13px;
  color: var(--text-gray);
}

/* CONTACT */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-left h2 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.contact-left p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-gray);
}

.info-item span {
  font-size: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(0, 217, 255, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-family: "Noto Sans Lao", "Inter", sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.btn-full {
  width: 100%;
}

@media (max-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section-head h2 {
    font-size: 28px;
  }
}

/* FOOTER */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 20px 20px;
  border-top: 3px solid var(--primary-cyan);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  font-size: 14px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ANIMATIONS */
.reveal {
  animation: reveal-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) var(--delay, 0s)
    backwards;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accent {
  color: var(--primary-cyan);
}
.portfolio-image {
  width: 100%;
  height: 220px;

  overflow: hidden;
  background: #fff;
}

.portfolio-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 0.45s;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.08);
}

/* =========================
   PRODUCT SECTION
========================= */

.product {
  padding: 90px 20px;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(0, 217, 255, 0.08),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.product-heading {
  max-width: 760px;
  margin: 0 auto 48px;
}

.product-heading h2 {
  margin-bottom: 14px;
}

.product-heading h2 .accent {
  display: block;
  margin-top: 4px;
}

.product-heading p {
  margin: 0 auto;
  max-width: 650px;
}

.product-module-count {
  display: inline-block;
  margin: 0 5px;
  padding: 2px 9px;
  color: #008ca3;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-visual {
  position: sticky;
  top: 100px;
  min-width: 0;
}

.product-image {
  position: relative;
  overflow: hidden;
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 217, 255, 0.16);
  border-radius: 20px;
  box-shadow:
    0 20px 50px rgba(26, 26, 46, 0.14),
    0 4px 12px rgba(26, 26, 46, 0.06);
}

/* ຈຸດສຳຄັນ: ປ້ອງກັນຮູບຖືກບີບ */
.product-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: 13px;
  object-fit: contain;
}

.product-image-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--text-gray);
  font-size: 12px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(107, 207, 127, 0.16);
}

.product-info {
  min-width: 0;
}

.product-desc {
  margin: 0 0 24px;
  padding: 20px;
  color: var(--text-gray);
  background: #ffffff;
  border-left: 4px solid var(--primary-cyan);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  line-height: 1.85;
}

.product-subhead {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 26px 0 12px;
  color: #008ca3;
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.product-features--core {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 13px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.product-feature.is-core {
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.055),
    rgba(107, 207, 127, 0.045)
  );
  border-color: rgba(0, 217, 255, 0.2);
}

.product-feature:hover {
  transform: translateY(-3px);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 24px rgba(0, 217, 255, 0.1);
}

.feature-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1px solid rgba(0, 217, 255, 0.18);
  border-radius: 11px;
  font-size: 20px;
}

.feature-content {
  min-width: 0;
}

.product-feature h4 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 5px;
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.5;
}

.product-feature p {
  margin: 0;
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.7;
  opacity: 1;
}

.core-badge {
  padding: 2px 8px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--primary-cyan),
    var(--primary-lime)
  );
  border-radius: 20px;
  font-family: "Noto Sans Lao", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
}

.product-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.extra-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  color: var(--text-gray);
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}

.product-actions {
  margin-top: 28px;
}

.product-actions .btn-primary {
  gap: 10px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 680px;
  }

  .product-visual {
    position: static;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .product {
    padding: 58px 16px;
  }

  .product .container {
    padding: 0;
  }

  .product-heading {
    margin-bottom: 30px;
    padding: 0 4px;
  }

  .product-heading .section-eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .product-heading h2 {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.25;
  }

  .product-heading h2 .accent {
    font-size: 29px;
  }

  .product-heading p {
    font-size: 14px;
    line-height: 1.8;
  }

  .product-showcase {
    gap: 25px;
  }

  .product-image {
    padding: 6px;
    border-radius: 16px;
  }

  .product-image img {
    border-radius: 11px;
  }

  .product-image-label {
    margin-top: 11px;
  }

  .product-desc {
    margin-bottom: 22px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.85;
  }

  .product-feature {
    gap: 11px;
    padding: 13px;
  }

  .feature-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .product-feature h4 {
    font-size: 14px;
  }

  .product-feature p {
    font-size: 12.5px;
  }

  .product-extra {
    gap: 7px;
  }

  .extra-pill {
    padding: 7px 10px;
    font-size: 11.5px;
  }

  .product-actions .btn-primary {
    width: 100%;
  }
}

.footer {
  margin-top: 120px;

  background: #0f172a;

  color: #cbd5e1;
}

.footer .container {
  padding: 70px 20px 25px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.2fr;

  gap: 60px;
}

.footer-col h4 {
  color: #fff;

  margin-bottom: 20px;

  font-size: 18px;
}

.footer-col a {
  display: block;

  color: #94a3b8;

  text-decoration: none;

  margin-bottom: 12px;

  transition: 0.25s;
}

.footer-col a:hover {
  color: #38bdf8;

  transform: translateX(4px);
}

.footer-desc {
  margin: 20px 0;

  line-height: 1.8;

  color: #94a3b8;
}

.footer-social {
  display: flex;

  gap: 12px;

  margin-top: 25px;
}

.footer-social a {
  width: 42px;

  height: 42px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  background: #1e293b;

  color: #fff;

  font-size: 18px;

  transition: 0.3s;
}

.footer-social a:hover {
  background: #06b6d4;

  transform: translateY(-5px);
}

.footer-bottom {
  margin-top: 60px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  padding-top: 25px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  color: #94a3b8;

  font-size: 14px;
}

.footer-brand .nav-logo {
  color: #fff;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand .logo-icon {
  background: linear-gradient(135deg, #00d4ff, #00ffa3);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;

    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 15px;

    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@400;500;600;700;800&display=swap");

:root {
  --primary-cyan: #00d9ff;
  --primary-lime: #6bcf7f;
  --primary-pink: #ff6b9d;
  --primary-orange: #ff9a76;
  --primary-yellow: #ffe66d;
  --primary-blue: #5dade2;

  --bg-white: #ffffff;
  --bg-light: #f8fafb;
  --bg-lighter: #f0f4f8;
  --text-dark: #1a1a2e;
  --text-gray: #555555;
  --text-light: #999999;
  --border-light: #e0e0e0;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Noto Sans Lao",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* NAVIGATION */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.15);
  padding: 16px 0;
  box-shadow: 0 4px 16px rgba(0, 217, 255, 0.08);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-lime));
  border-radius: 6px;
  color: white;
  font-weight: 800;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  /* padding: 4px 0; */
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-lime));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-cyan);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-cyan),
    var(--primary-lime)
  ) !important;
  color: white !important;
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 217, 255, 0.25);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 217, 255, 0.35);
}
.nav-burger {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fafbfc 0%, #f0f4f8 50%, #e8f0f6 100%);
  padding: 100px 20px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.08), transparent 70%);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 157, 0.08),
    transparent 70%
  );
  border-radius: 50%;
  animation: float-reverse 10s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(40px) translateX(10px);
  }
}

@keyframes float-reverse {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-40px) translateX(-10px);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 32px;
  color: var(--text-dark);
  letter-spacing: -1px;
}

.hero-accent {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0, 217, 255, 0.1);
  border: 2px solid var(--primary-cyan);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.dot-pulse {
  width: 6px;
  height: 6px;
  background: var(--primary-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-sub {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-terminal-line {
  background: var(--text-dark);
  color: var(--primary-cyan);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 32px;
  font-size: 14px;
  border-left: 4px solid var(--primary-cyan);
  overflow-x: auto;
}

.cursor-blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-primary {
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-lime));
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 12px 28px rgba(0, 217, 255, 0.32);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 217, 255, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-dark);
  text-decoration: none;
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: var(--text-dark);
  color: white;
}

.hero-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tech-pill {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.tech-pill:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.hero-ide {
  position: relative;
  perspective: 1000px;
}

.ide-window {
  background: var(--text-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transform: translateZ(20px);
}

.ide-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #2a2a3e;
  border-bottom: 1px solid var(--border-light);
}

.ide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ide-dot--red {
  background: #ff6b6b;
}

.ide-dot--yellow {
  background: #ffe66d;
}

.ide-dot--green {
  background: #6bcf7f;
}

.ide-filename {
  color: var(--primary-cyan);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  margin-left: auto;
  font-weight: 600;
}

.ide-body {
  display: flex;
  background: var(--text-dark);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 13px;
  color: var(--primary-cyan);
  line-height: 1.6;
}

.ide-lines {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  background: rgba(0, 217, 255, 0.05);
  border-right: 1px solid var(--border-light);
  color: var(--text-light);
  text-align: right;
  user-select: none;
  min-width: 40px;
}

.ide-lines span {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ide-code {
  flex: 1;
  padding: 16px;
  overflow: auto;
  max-height: 300px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  z-index: 2;
}

.scroll-line {
  width: 2px;
  height: 20px;
  background: var(--primary-cyan);
  margin: 8px auto;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-ide {
    display: none;
  }
}

/* STATS */
.stats {
  padding: 80px 20px;
  background: linear-gradient(
    180deg,
    var(--bg-lighter) 0%,
    var(--bg-white) 100%
  );
  border-top: 3px solid var(--primary-lime);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 28px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--primary-cyan);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 217, 255, 0.12);
}

.stat-num {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 600;
}

/* SECTIONS */
.services,
.process,
.portfolio,
.team,
.product,
.contact {
  padding: 80px 20px;
}

.services {
  background: var(--bg-white);
  border-bottom: 3px solid var(--primary-pink);
}

.process {
  background: var(--bg-lighter);
  border-bottom: 3px solid var(--primary-orange);
}

.portfolio {
  background: var(--bg-white);
  border-bottom: 3px solid var(--primary-yellow);
}

.team {
  background: var(--bg-lighter);
  border-bottom: 3px solid var(--primary-blue);
}

.contact {
  background: linear-gradient(135deg, var(--bg-light), var(--bg-lighter));
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: block;
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 52px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-head p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-lime));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--primary-cyan);
  box-shadow: 0 20px 48px rgba(0, 217, 255, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 42px;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  color: var(--primary-cyan);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--primary-lime);
}

/* PROCESS STEPS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}

.process-step {
  padding: 28px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 154, 118, 0.1);
  border-radius: 16px;
  border-left: 4px solid var(--primary-orange);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.process-step:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.8);
  border-left-color: var(--primary-orange);
  box-shadow: 0 16px 40px rgba(255, 154, 118, 0.12);
}

.step-num {
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.step-body h4 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-body p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* PORTFOLIO GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-16px);
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--primary-cyan);
  box-shadow: 0 28px 56px rgba(0, 217, 255, 0.18);
}

.portfolio-filebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

.portfolio-filename {
  color: var(--primary-cyan);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  margin-left: auto;
  font-weight: 600;
}

.portfolio-visual {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.portfolio-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  pointer-events: none;
}

.portfolio-visual-icon {
  font-size: 56px;
}

.portfolio-visual-year {
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.portfolio-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-type {
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.portfolio-card h3 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.portfolio-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.portfolio-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tech-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid var(--primary-cyan);
  border-radius: 12px;
  font-size: 11px;
  color: var(--primary-cyan);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-weight: 600;
}

.portfolio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 13px;
}

.portfolio-arrow {
  color: var(--primary-cyan);
  font-size: 16px;
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.08);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--primary-cyan);
  box-shadow: 0 20px 48px rgba(0, 217, 255, 0.12);
}

.team-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.avatar-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-cyan);
  border-radius: 50%;
  animation: spin 4s linear infinite;
}

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

.avatar-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-lime));
  color: white;
  border-radius: 50%;
}

.team-info h4 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-size: 12px;
  color: var(--primary-cyan);
  margin-bottom: 8px;
  font-weight: 600;
}

.team-exp {
  display: block;
  font-size: 13px;
  color: var(--text-gray);
}

/* CONTACT */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-left h2 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.contact-left p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-gray);
}

.info-item span {
  font-size: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(0, 217, 255, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-family: "Noto Sans Lao", "Inter", sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.btn-full {
  width: 100%;
}

@media (max-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section-head h2 {
    font-size: 28px;
  }
}

/* FOOTER */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 20px 20px;
  border-top: 3px solid var(--primary-cyan);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  font-size: 14px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ANIMATIONS */
.reveal {
  animation: reveal-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) var(--delay, 0s)
    backwards;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accent {
  color: var(--primary-cyan);
}
.portfolio-image {
  width: 100%;
  height: 220px;

  overflow: hidden;
  background: #fff;
}

.portfolio-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 0.45s;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.08);
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: 100px;
}

.product-subhead {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--accent, #c2740a);
  margin: 20px 0 10px;
  text-transform: uppercase;
}

.product-features--core {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 10px;
}
.product-feature.is-core {
  background: rgba(194, 116, 10, 0.06);
  border: 1px solid rgba(194, 116, 10, 0.25);
}
.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.product-feature h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-feature p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.core-badge {
  font-size: 10px;
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
  font-weight: 600;
  color: #fff;
  background: #c2740a;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.product-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.extra-pill {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--line, #e0dccf);
  color: var(--muted, #6b7480);
}

.product-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }
  .product-image img {
    position: static;
  }
}

.footer {
  margin-top: 120px;

  background: #0f172a;

  color: #cbd5e1;
}

.footer .container {
  padding: 70px 20px 25px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.2fr;

  gap: 60px;
}

.footer-col h4 {
  color: #fff;

  margin-bottom: 20px;

  font-size: 18px;
}

.footer-col a {
  display: block;

  color: #94a3b8;

  text-decoration: none;

  margin-bottom: 12px;

  transition: 0.25s;
}

.footer-col a:hover {
  color: #38bdf8;

  transform: translateX(4px);
}

.footer-desc {
  margin: 20px 0;

  line-height: 1.8;

  color: #94a3b8;
}

.footer-social {
  display: flex;

  gap: 12px;

  margin-top: 25px;
}

.footer-social a {
  width: 42px;

  height: 42px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  background: #1e293b;

  color: #fff;

  font-size: 18px;

  transition: 0.3s;
}

.footer-social a:hover {
  background: #06b6d4;

  transform: translateY(-5px);
}

.footer-bottom {
  margin-top: 60px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  padding-top: 25px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  color: #94a3b8;

  font-size: 14px;
}

.footer-brand .nav-logo {
  color: #fff;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand .logo-icon {
  background: linear-gradient(135deg, #00d4ff, #00ffa3);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;

    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 15px;

    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* =========================================
   TRAINING SECTION - BASE
========================================= */
.training {
  padding: 80px 20px;
  background: var(--bg-white);
  border-bottom: 3px solid var(--primary-lime);
}

.training .training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.training .course-card {
  display: block;
  padding: 32px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(107, 207, 127, 0.15);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.training .course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-lime), var(--primary-cyan));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.training .course-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--primary-lime);
  box-shadow: 0 20px 48px rgba(107, 207, 127, 0.16);
}

.training .course-card:hover::before {
  opacity: 1;
}

.training .course-icon {
  font-size: 42px;
  margin-bottom: 16px;
  display: block;
}

.training .course-card h3 {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.training .course-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.training .course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.training .course-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(107, 207, 127, 0.1);
  border: 1px solid var(--primary-lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: "JetBrains Mono", "Noto Sans Lao", monospace;
}

.training .training-actions {
  text-align: center;
  margin-top: 48px;
}

/* =========================================
   TRAINING SECTION - DETAILED CARD (curriculum)
========================================= */
.training .course-card--detailed {
  grid-column: 1 / -1;
  max-width: 100%;
}

@media (min-width: 900px) {
  .training .course-card--detailed {
    grid-column: span 2;
  }
}

.training .course-tagline {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-cyan);
  margin-bottom: 12px;
  line-height: 1.5;
}

.training .curriculum-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 16px 0 8px;
}

.training .curriculum-list {
  list-style: none;
  counter-reset: curriculum-counter;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.training .curriculum-list > li {
  counter-increment: curriculum-counter;
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.training .curriculum-list > li::before {
  content: counter(curriculum-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-lime), var(--primary-cyan));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.training .curriculum-sublist {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.training .curriculum-sublist li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-gray);
}

.training .curriculum-sublist li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--primary-lime);
  font-weight: 700;
}

@media (max-width: 768px) {
  .training .training-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   SWEETALERT2 - LAO FONT STYLING
========================================= */
.swal-lao-font,
.swal-lao-font * {
  font-family: "Noto Sans Lao", "Inter", sans-serif !important;
}

.swal2-popup {
  border-radius: 16px !important;
}

.swal2-title {
  font-family: "Space Grotesk", "Noto Sans Lao", monospace !important;
  font-size: 22px !important;
}

.swal2-html-container {
  font-size: 15px !important;
  color: var(--text-gray) !important;
}
.field-hint{
  display:block;
  margin-top:6px;
  font-size:12px;
  line-height:1.6;
  opacity:.55;
  font-family:'Noto Sans Lao','Inter',sans-serif;   /* ບໍ່ໃຊ້ mono ກັບພາສາລາວ */
}
.field-hint code{
  font-family:'JetBrains Mono',monospace;
  font-size:11.5px;
  padding:1px 5px;
  border-radius:4px;
  background:rgba(0,0,0,.05);
}
