/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #246BFD;
  --blue-dark:  #1a52d4;
  --blue-light: #e8f0fe;
  --navy:       #101a29;
  --text:       #374151;
  --text-light: #6b7280;
  --bg-light:   #f2f8fe;
  --white:      #ffffff;
  --green:      #17A678;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(36,107,253,0.10);
  --shadow-lg:  0 12px 48px rgba(36,107,253,0.18);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Kanit', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Kanit', sans-serif;
  color: var(--navy);
  line-height: 1.3;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Kanit', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36,107,253,0.30);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-header p   { color: var(--text-light); max-width: 560px; margin: 0 auto; font-size: 17px; }

.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-tag.light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36,107,253,0.08);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.10); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; object-fit: contain; }
.logo-img-footer { height: 40px; filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 2px;
  background: var(--blue);
  transition: right var(--transition);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { right: 0; }

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

.lang-toggle {
  background: var(--bg-light);
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Kanit', sans-serif;
}
.lang-toggle:hover {
  background: var(--blue);
  color: var(--white);
}

.nav-cta { padding: 9px 20px; font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding-top: 72px;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a7c 50%, #246BFD 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-accent { color: #7eb8ff; }

.hero-text p {
  color: rgba(255,255,255,0.80);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-btns .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.hero-btns .btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.8rem; font-weight: 800; color: var(--white); font-family: 'Kanit', sans-serif; }
.stat span   { font-size: 13px; color: rgba(255,255,255,0.65); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }

/* Hero Screenshot */
.hero-visual { position: relative; }

.hero-blob {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,107,253,0.35) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  z-index: 0;
  pointer-events: none;
}

.hero-screenshot-wrap {
  position: relative;
  z-index: 1;
  animation: float 5s ease-in-out infinite;
}

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

.screenshot-glow {
  position: absolute;
  inset: -20px;
  border-radius: 24px;
  background: radial-gradient(ellipse at center, rgba(36,107,253,0.30) 0%, transparent 70%);
  z-index: 0;
  filter: blur(20px);
}

.hero-screenshot {
  width: 100%;
  max-width: 580px;
  border-radius: 14px;
  box-shadow: 0 28px 72px rgba(0,0,0,0.60), 0 0 0 1.5px rgba(255,255,255,0.10);
  display: block;
  position: relative;
  z-index: 1;
}

.screenshot-badge-tl {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.screenshot-badge-br {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(36,107,253,0.80);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.03em;
}

.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #28c840; }

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
}
.hero-wave svg { display: block; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--bg-light);
  padding: 40px 0;
  text-align: center;
}
.trust-label {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 24px;
}
.trust-logos {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-logo-item {
  font-size: 15px;
  font-weight: 700;
  color: #b0bfd0;
  padding: 8px 20px;
  border: 1.5px solid #d8e6f5;
  border-radius: 8px;
  transition: all var(--transition);
}
.trust-logo-item:hover { color: var(--blue); border-color: var(--blue); }

/* ===== VALUE PROPS ===== */
.values {
  padding: 80px 0;
  background: var(--white);
}
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1.5px solid transparent;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--white);
}
.value-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--navy); }
.value-card p  { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.hiw-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
  flex-wrap: nowrap;
}

.hiw-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 36px 20px;
  border-radius: 16px;
  background: var(--bg-light);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  position: relative;
}
.hiw-step:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  background: var(--white);
}

.hiw-step-center {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.06);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.hiw-step-center:hover {
  transform: scale(1.06) translateY(-4px);
  border-color: var(--blue-dark);
}
.hiw-step-center h4 { color: var(--white); }
.hiw-step-center p  { color: rgba(255,255,255,0.80); }
.hiw-step-center .hiw-step-num { color: rgba(255,255,255,0.40); }

.hiw-step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-family: 'Kanit', sans-serif;
}

.hiw-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.hiw-step-icon svg { width: 32px; height: 32px; }
.hiw-icon-main { background: rgba(255,255,255,0.20); }

.hiw-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.hiw-step p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
}

.hiw-arrow {
  flex-shrink: 0;
  padding: 0 8px;
  display: flex;
  align-items: center;
}
.hiw-arrow svg { width: 48px; height: 24px; opacity: 0.5; }

/* Workflow image */
.hiw-image-wrap {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8f0fe 100%);
  border-radius: 20px;
  padding: 40px;
  border: 1.5px solid #d8e8fa;
  text-align: center;
  box-shadow: var(--shadow);
}
.hiw-image {
  max-width: 100%;
  width: 900px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hiw-steps {
    flex-direction: column;
    gap: 12px;
  }
  .hiw-arrow { transform: rotate(90deg); }
  .hiw-step, .hiw-step-center { max-width: 100%; width: 100%; }
  .hiw-step-center { transform: none; }
  .hiw-step-center:hover { transform: translateY(-4px); }
  .hiw-image-wrap { padding: 20px; }
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-cards-4 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1.5px solid #e5eaf2;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--blue);
}

.service-card.featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, var(--white) 60%, var(--blue-light) 100%);
  box-shadow: var(--shadow);
}

.service-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.service-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.cloud-icon  { background: var(--blue); }
.server-icon { background: var(--blue-light); }
.tele-icon   { background: var(--blue-light); }
.cloud-icon svg  { width: 30px; height: 30px; }
.server-icon svg { width: 30px; height: 30px; }
.tele-icon svg   { width: 30px; height: 30px; }

.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p  { color: var(--text-light); font-size: 14px; margin-bottom: 24px; }

.service-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.service-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f4fa;
}
.service-features li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--white);
}
.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-text .section-tag { margin-bottom: 14px; }
.features-text h2 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); margin-bottom: 36px; }

.feature-list { display: flex; flex-direction: column; gap: 24px; }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 6px;
  flex-shrink: 0;
}
.feature-item strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.feature-item p { font-size: 14px; color: var(--text-light); margin: 0; }

/* Feature Image */
.feature-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.feature-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(36,107,253,0.25) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.feature-img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.40), 0 0 0 1.5px rgba(255,255,255,0.08);
  display: block;
  position: relative;
  z-index: 1;
}
.feature-img-badge {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  background: rgba(36,107,253,0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  z-index: 2;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--bg-light);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-card-stack {
  position: relative;
  height: 380px;
}
.about-card {
  position: absolute;
  border-radius: 20px;
  padding: 36px;
  width: 85%;
}
.card-back {
  background: var(--blue);
  opacity: 0.25;
  bottom: 0; right: 0;
  height: 320px;
}
.card-front {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  top: 0; left: 0;
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  border: 1.5px solid var(--blue-light);
}
.about-card-icon { width: 64px; height: 64px; }
.about-card-icon svg { width: 64px; height: 64px; }
.about-card h4 { font-size: 1.2rem; color: var(--navy); }
.about-card p  { font-size: 14px; color: var(--text-light); }

.about-text .section-tag { margin-bottom: 14px; }
.about-text h2 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); margin-bottom: 18px; }
.about-text > p { color: var(--text-light); font-size: 16px; margin-bottom: 40px; }

.about-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.astat { display: flex; flex-direction: column; }
.astat strong { font-size: 2rem; font-weight: 800; color: var(--blue); font-family: 'Kanit', sans-serif; }
.astat span   { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* ===== EBOOK ===== */
.ebook-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.ebook-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.ebook-text .section-tag { margin-bottom: 14px; }
.ebook-text h2 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); margin-bottom: 16px; }
.ebook-text > p { color: var(--text-light); font-size: 16px; margin-bottom: 36px; }

.ebook-cards { display: flex; flex-direction: column; gap: 14px; }

.ebook-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid #e5eaf2;
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  position: relative;
}
.ebook-card-active:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.ebook-card-soon { opacity: 0.6; cursor: default; }

.ebook-card-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ebook-card-icon svg { width: 24px; height: 24px; }

.ebook-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ebook-card-text strong { font-size: 15px; color: var(--navy); font-weight: 700; }
.ebook-card-text span   { font-size: 13px; color: var(--text-light); }

.ebook-card-arrow { color: var(--blue); flex-shrink: 0; }
.ebook-card-arrow svg { width: 20px; height: 20px; }

.ebook-card-user:hover { border-color: #17A678 !important; }
.ebook-card-icon-user { background: #e6f9f2 !important; }

.ebook-soon-badge {
  position: absolute;
  top: -10px; right: 14px;
  background: #e5eaf2;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* Ebook book preview */
.ebook-preview { display: flex; justify-content: center; }

.ebook-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  cursor: pointer;
}

.ebook-book {
  position: relative;
  width: 200px;
  height: 270px;
  animation: float 4s ease-in-out infinite;
}

.ebook-book-page {
  position: absolute;
  width: 200px;
  height: 270px;
  border-radius: 4px 12px 12px 4px;
}

.ebook-book-back {
  background: linear-gradient(135deg, #1a52d4, #246BFD);
  top: 6px; left: 6px;
  opacity: 0.5;
  box-shadow: 4px 4px 20px rgba(36,107,253,0.30);
}

.ebook-book-front {
  background: linear-gradient(160deg, #0d1b3e 0%, #1a3a7c 60%, #246BFD 100%);
  box-shadow: 8px 12px 40px rgba(0,0,0,0.35), -2px 0 8px rgba(0,0,0,0.20);
  top: 0; left: 0;
  overflow: hidden;
}

.ebook-book-cover {
  padding: 28px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.ebook-cover-logo {
  width: 50px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  object-fit: contain;
}

.ebook-book-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  font-family: 'Kanit', sans-serif;
}
.ebook-book-title span { font-size: 13px; font-weight: 400; opacity: 0.7; }

.ebook-book-label {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  font-weight: 400;
}

/* Spine line */
.ebook-book-front::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 10px;
  background: rgba(0,0,0,0.25);
}

.ebook-preview-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 24px;
  transition: all var(--transition);
  font-family: 'Kanit', sans-serif;
}
.ebook-preview-wrap:hover .ebook-preview-cta {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36,107,253,0.35);
}

@media (max-width: 900px) {
  .ebook-inner { grid-template-columns: 1fr; }
  .ebook-preview { display: none; }
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a7c 60%, #246BFD 100%);
}
.contact .section-header h2 { color: var(--white); }
.contact .section-header p  { color: rgba(255,255,255,0.75); }

.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d1dce8;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Kanit', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36,107,253,0.12);
}
.form-group textarea { resize: vertical; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: #e6f9f2;
  border-radius: 8px;
  color: var(--green);
  font-weight: 600;
  text-align: center;
}
.form-success.show { display: block; }

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

.contact-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
}
.contact-card h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.contact-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-item svg path, .contact-item svg polyline, .contact-item svg circle { stroke: rgba(255,255,255,0.7); }

.contact-cta-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
}
.contact-cta-card h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}
.contact-cta-card p {
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  margin-bottom: 20px;
}
.contact-cta-card .btn-primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.contact-cta-card .btn-primary:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.50); font-size: 14px; max-width: 280px; }
.footer-brand .logo-dbd { color: var(--blue); }
.footer-brand .logo-sol { color: var(--white); }

.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); text-align: center; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-links a.active-link { color: var(--blue); }
.nav-links a.active-link::after { right: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 32px; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .features-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .service-cards, .service-cards-4 { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .value-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 24px 24px; gap: 0; box-shadow: 0 8px 24px rgba(0,0,0,0.10); border-top: 1px solid #eee; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid #f0f4fa; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .stat-divider { width: 40px; height: 1px; }
  .about-stats { gap: 20px; }
  .trust-logos { gap: 12px; }
}
