@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Sans+Thai:wght@300;400;500;700&display=swap');

:root {
  --primary: #8B5CF6;
  --primary-light: #A78BFA;
  --accent: #F97316;
  --accent-light: #FB923C;
  --bg-dark: #0B0F1A;
  --bg-card: #111827;
  --bg-card2: #1E293B;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --gradient-1: linear-gradient(135deg, #8B5CF6, #F97316);
  --gradient-2: linear-gradient(135deg, #6D28D9, #DB2777, #F97316);
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
  --radius: 16px;
  --shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans Thai', 'Noto Sans SC', 'Noto Sans KR', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top:0; left:0; width:100%; z-index:1000;
  padding: 16px 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(0px);
}
.navbar.scrolled {
  background: rgba(11,15,26,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}
.nav-container {
  max-width: 1280px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo img { height:48px; }
.nav-links { display:flex; gap:32px; list-style:none; align-items:center; }
.nav-links a {
  color: var(--text-muted); text-decoration:none; font-weight:500;
  font-size:0.95rem; transition:color 0.3s; position:relative;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px;
  background: var(--gradient-1); transition: width 0.3s;
}
.nav-links a:hover { color:#fff; }
.nav-links a:hover::after { width:100%; }

.lang-switcher {
  display:flex; gap:4px; background: var(--glass);
  border:1px solid var(--glass-border); border-radius:8px; padding:3px;
}
.lang-btn {
  background:none; border:none; color:var(--text-muted); padding:6px 12px;
  border-radius:6px; cursor:pointer; font-size:0.8rem; font-weight:600;
  transition:all 0.3s;
}
.lang-btn.active {
  background: var(--gradient-1); color:#fff;
}

.nav-toggle {
  display:none; background:none; border:none; cursor:pointer;
  flex-direction:column; gap:5px;
}
.nav-toggle span {
  display:block; width:24px; height:2px; background:#fff;
  transition:all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height:100vh; display:flex; align-items:center;
  position:relative; overflow:hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position:absolute; inset:0; z-index:0;
}
.hero-bg img {
  width:100%; height:100%; object-fit:cover; opacity:0.25;
}
.hero-bg::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,15,26,0.3) 0%, var(--bg-dark) 100%);
}
.hero-content {
  position:relative; z-index:1; max-width:1280px; margin:0 auto; width:100%;
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}
.hero-text h1 {
  font-size:clamp(2.2rem,5vw,4rem); font-weight:900;
  line-height:1.1; margin-bottom:24px;
}
.hero-text h1 .gradient-text {
  background: var(--gradient-1); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
}
.hero-text p {
  font-size:1.15rem; color:var(--text-muted); margin-bottom:36px;
  max-width:520px; line-height:1.8;
}
.hero-btns { display:flex; gap:16px; flex-wrap:wrap; }
.btn-primary {
  background: var(--gradient-1); color:#fff; border:none;
  padding:16px 36px; border-radius:50px; font-size:1rem;
  font-weight:700; cursor:pointer; transition:all 0.3s;
  text-decoration:none; display:inline-flex; align-items:center; gap:8px;
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(139,92,246,0.4); }
.btn-outline {
  background:transparent; color:#fff; border:2px solid var(--glass-border);
  padding:14px 36px; border-radius:50px; font-size:1rem;
  font-weight:600; cursor:pointer; transition:all 0.3s;
  text-decoration:none; display:inline-flex; align-items:center; gap:8px;
}
.btn-outline:hover { border-color:var(--primary); background:rgba(139,92,246,0.1); }

.hero-visual { position:relative; }
.hero-visual img {
  width:100%; border-radius:var(--radius); box-shadow:var(--shadow);
}
.hero-float-card {
  position:absolute; background:var(--bg-card); border:1px solid var(--glass-border);
  border-radius:12px; padding:16px 20px; backdrop-filter:blur(10px);
  animation: float 6s ease-in-out infinite;
}
.hero-float-card.card-1 { top:-20px; right:-20px; }
.hero-float-card.card-2 { bottom:30px; left:-30px; }
.hero-float-card .num { font-size:1.6rem; font-weight:800; background:var(--gradient-1); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.hero-float-card .label { font-size:0.8rem; color:var(--text-muted); }

@keyframes float {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-15px); }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-card);
  border-top:1px solid var(--glass-border);
  border-bottom:1px solid var(--glass-border);
  padding:48px 24px;
}
.stats-grid {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr); gap:32px;
  text-align:center;
}
.stat-item .stat-num {
  font-size:2.5rem; font-weight:900;
  background:var(--gradient-1); -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.stat-item .stat-label { color:var(--text-muted); margin-top:4px; font-size:0.9rem; }

/* ===== SECTIONS ===== */
.section {
  padding:100px 24px;
  max-width:1280px; margin:0 auto;
}
.section-header {
  text-align:center; margin-bottom:64px;
}
.section-tag {
  display:inline-block; font-size:0.85rem; font-weight:700;
  color:var(--accent); text-transform:uppercase; letter-spacing:3px;
  margin-bottom:12px;
}
.section-title {
  font-size:clamp(1.8rem,4vw,2.8rem); font-weight:800; margin-bottom:16px;
}
.section-subtitle {
  color:var(--text-muted); font-size:1.05rem; max-width:600px; margin:0 auto;
}

/* ===== SERVICES ===== */
.services-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:28px;
}
.service-card {
  background:var(--bg-card); border:1px solid var(--glass-border);
  border-radius:var(--radius); padding:36px; transition:all 0.4s;
  position:relative; overflow:hidden;
}
.service-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:var(--gradient-1); transform:scaleX(0); transition:transform 0.4s;
}
.service-card:hover::before { transform:scaleX(1); }
.service-card:hover { transform:translateY(-8px); border-color:rgba(139,92,246,0.3); }
.service-card img {
  width:100%; height:180px; object-fit:cover; border-radius:12px; margin-bottom:20px;
}
.service-card h3 { font-size:1.25rem; margin-bottom:10px; }
.service-card p { color:var(--text-muted); font-size:0.95rem; line-height:1.7; }

/* ===== ABOUT ===== */
.about-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}
.about-img img {
  width:100%; border-radius:var(--radius); box-shadow:var(--shadow);
}
.about-text h2 { font-size:2rem; margin-bottom:20px; }
.about-text p { color:var(--text-muted); margin-bottom:16px; line-height:1.8; }
.about-features { list-style:none; margin-top:24px; }
.about-features li {
  padding:8px 0; color:var(--text-muted); display:flex; align-items:center; gap:12px;
}
.about-features li::before {
  content:'✓'; background:var(--gradient-1); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; font-weight:700; font-size:1.2rem;
}

/* ===== GLOBAL ===== */
.global-section {
  padding:100px 24px; position:relative; overflow:hidden;
}
.global-inner {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}
.global-img img { width:100%; border-radius:var(--radius); }
.lang-cards { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:28px; }
.lang-card {
  background:var(--bg-card); border:1px solid var(--glass-border);
  border-radius:12px; padding:20px; text-align:center; transition:all 0.3s;
}
.lang-card:hover { border-color:var(--primary); transform:translateY(-4px); }
.lang-card .flag { font-size:2rem; margin-bottom:8px; }
.lang-card .lang-name { font-weight:600; font-size:0.95rem; }

/* ===== TEAM ===== */
.team-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:32px;
}
.team-card {
  background:var(--bg-card); border:1px solid var(--glass-border);
  border-radius:var(--radius); overflow:hidden; transition:all 0.4s;
}
.team-card:hover { transform:translateY(-8px); border-color:rgba(139,92,246,0.3); }
.team-card-header {
  background:var(--gradient-2); padding:32px; text-align:center; position:relative;
}
.team-card-header::after {
  content:''; position:absolute; bottom:-20px; left:50%; transform:translateX(-50%);
  width:0; height:0; border-left:20px solid transparent;
  border-right:20px solid transparent; border-top:20px solid #F97316;
}
.team-card-header h3 { font-size:1.3rem; margin-bottom:4px; }
.team-card-header span { font-size:0.85rem; opacity:0.9; }
.team-card-body { padding:32px; }
.team-contact { list-style:none; }
.team-contact li {
  display:flex; align-items:center; gap:12px; padding:10px 0;
  border-bottom:1px solid var(--glass-border); color:var(--text-muted);
  font-size:0.9rem;
}
.team-contact li:last-child { border-bottom:none; }
.team-contact li .icon {
  width:36px; height:36px; border-radius:8px; display:flex;
  align-items:center; justify-content:center; font-size:1rem;
  background:rgba(139,92,246,0.15); color:var(--primary-light); flex-shrink:0;
}

/* ===== CONTACT ===== */
.contact-section {
  background:var(--bg-card); border-top:1px solid var(--glass-border);
  padding:100px 24px;
}
.contact-grid {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:60px;
}
.contact-info h2 { font-size:2rem; margin-bottom:20px; }
.contact-info p { color:var(--text-muted); margin-bottom:28px; }
.contact-details { list-style:none; }
.contact-details li {
  display:flex; gap:16px; align-items:flex-start; padding:16px 0;
  border-bottom:1px solid var(--glass-border);
}
.contact-details li .icon {
  width:48px; height:48px; border-radius:12px;
  background:rgba(139,92,246,0.15); display:flex;
  align-items:center; justify-content:center;
  color:var(--primary-light); font-size:1.2rem; flex-shrink:0;
}
.contact-details li strong { display:block; margin-bottom:4px; color:#fff; }
.contact-details li span { color:var(--text-muted); font-size:0.9rem; }

.contact-form {
  background:var(--bg-card2); border:1px solid var(--glass-border);
  border-radius:var(--radius); padding:40px;
}
.contact-form h3 { font-size:1.4rem; margin-bottom:24px; }
.form-group { margin-bottom:20px; }
.form-group label {
  display:block; font-size:0.85rem; font-weight:600; color:var(--text-muted);
  margin-bottom:6px;
}
.form-group input, .form-group textarea, .form-group select {
  width:100%; padding:14px 16px; background:var(--bg-dark);
  border:1px solid var(--glass-border); border-radius:10px;
  color:#fff; font-size:0.95rem; font-family:inherit;
  transition:border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline:none; border-color:var(--primary);
}
.form-group textarea { resize:vertical; min-height:120px; }

/* ===== FOOTER ===== */
.footer {
  background:var(--bg-dark); border-top:1px solid var(--glass-border);
  padding:60px 24px 30px;
}
.footer-inner {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px;
}
.footer-brand img { height:40px; margin-bottom:16px; }
.footer-brand p { color:var(--text-muted); font-size:0.9rem; line-height:1.7; }
.footer h4 { margin-bottom:16px; font-size:1rem; }
.footer ul { list-style:none; }
.footer ul li { padding:4px 0; }
.footer ul a { color:var(--text-muted); text-decoration:none; font-size:0.9rem; transition:color 0.3s; }
.footer ul a:hover { color:var(--primary-light); }
.footer-bottom {
  max-width:1280px; margin:40px auto 0; padding-top:24px;
  border-top:1px solid var(--glass-border);
  display:flex; justify-content:space-between; align-items:center;
  color:var(--text-muted); font-size:0.85rem;
}
.social-links { display:flex; gap:12px; }
.social-links a {
  width:40px; height:40px; border-radius:10px; display:flex;
  align-items:center; justify-content:center;
  background:var(--glass); border:1px solid var(--glass-border);
  color:var(--text-muted); text-decoration:none; transition:all 0.3s;
}
.social-links a:hover { background:var(--primary); color:#fff; border-color:var(--primary); }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity:0; transform:translateY(40px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active { opacity:1; transform:translateY(0); }

/* ===== RESPONSIVE ===== */
@media(max-width:968px) {
  .hero-content, .about-grid, .global-inner, .contact-grid {
    grid-template-columns:1fr; gap:40px;
  }
  .footer-inner { grid-template-columns:1fr 1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .nav-links { display:none; }
  .nav-toggle { display:flex; }
  .nav-links.open {
    display:flex; flex-direction:column; position:absolute;
    top:100%; left:0; right:0; background:rgba(11,15,26,0.98);
    padding:24px; gap:16px; border-bottom:1px solid var(--glass-border);
  }
}
@media(max-width:600px) {
  .stats-grid { grid-template-columns:1fr 1fr; gap:20px; }
  .stat-item .stat-num { font-size:1.8rem; }
  .hero-btns { flex-direction:column; }
  .footer-inner { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; gap:16px; text-align:center; }
  .lang-cards { grid-template-columns:1fr 1fr; }
  .team-grid { grid-template-columns:1fr; }
}
