@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

/* ==========================================================================
   VELADEE Premium Handcrafted Aesthetics (2026 Modern SaaS & Executive UI)
   ========================================================================== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body, h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, span, div, li, td, th {
  font-family: "IBM Plex Sans Thai", "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body {
  background-color: #fcfcfd;
  color: #1e293b;
  line-height: 1.6;
}

/* Luxury Left Accent Bar */
.luxury-left-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 100vh;
  background: linear-gradient(180deg, #1d4ed8 0%, #3b82f6 50%, #f59e0b 100%);
  z-index: 9999;
}

/* Header & Language Switcher */
.header-03 {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  max-height: 48px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

.lang-switcher-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: #1d4ed8;
}

.lang-btn.active {
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Main Container & Layout */
.main-wrapper.demo-03 {
  position: relative;
  padding: 50px 0 80px 0;
  overflow: hidden;
}

/* Floating Decorative Shapes */
.shape-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.85;
  animation: floatShape 8s ease-in-out infinite alternate;
}

@keyframes floatShape {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(3deg); }
}

.shape-3 { top: 10%; left: 5%; width: 120px; animation-duration: 7s; }
.shape-4 { top: 18%; left: 45%; width: 90px; animation-duration: 9s; }
.shape-5 { top: 40%; right: 8%; width: 110px; animation-duration: 8s; }
.shape-6 { top: 65%; left: 8%; width: 95px; animation-duration: 10s; }
.shape-7 { bottom: 15%; right: 12%; width: 130px; animation-duration: 7.5s; }
.shape-8 { top: 5%; right: 20%; width: 75px; animation-duration: 8.5s; }

/* Hero Content & Typography */
.content-wrapper {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 78, 216, 0.08);
  color: #1d4ed8;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(29, 78, 216, 0.15);
}

.content-wrapper h1 {
  font-size: 38px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.02em;
}

.content-wrapper p.lead {
  font-size: 18px !important;
  color: #475569 !important;
  line-height: 1.7 !important;
  margin-bottom: 28px !important;
}

/* Call to Action Buttons */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
  transition: all 0.25s ease;
  border: none;
}

.btn-cta-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.45);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #1e293b !important;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none !important;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  margin-left: 12px;
}

.btn-cta-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a !important;
  transform: translateY(-1px);
}

/* Images & Graphics Aspect Ratio Protection */
.img-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
}

.img-wrapper img, img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Executive Highlight Card */
.highlight-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 36px 40px;
  border-radius: 16px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-card h3 {
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-card p {
  color: #cbd5e1 !important;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Feature Section Title & Grid */
.feature-section-title {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-top: 60px !important;
  position: relative;
  z-index: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 30px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.feature-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.12);
  transform: translateY(-3px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(29, 78, 216, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 10px !important;
}

.feature-card p {
  font-size: 15px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* FAQ Section */
.faq-section {
  margin-top: 70px;
  position: relative;
  z-index: 1;
}

.faq-title {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 30px !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* PWA Bottom Floating Install Banner */
.pwa-bottom-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  margin: 0 auto;
  z-index: 99999;
  animation: slideUpBanner 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpBanner {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.pwa-banner-inner {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.pwa-banner-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pwa-banner-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.pwa-banner-text {
  min-width: 0;
}

.pwa-banner-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwa-banner-sub {
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pwa-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.4);
  transition: all 0.2s ease;
}

.pwa-banner-btn:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}

.pwa-banner-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.pwa-banner-close:hover {
  color: #ffffff;
}

/* Cookie Consent Banner (PDPA / GDPR 2026 Compliant) */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 960px;
  margin: 0 auto;
  z-index: 99999;
  animation: slideUpBanner 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-consent-banner.fade-out {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-consent-inner {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.cookie-consent-content {
  flex: 1;
  min-width: 0;
}

.cookie-consent-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cookie-consent-desc {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

.cookie-consent-desc a {
  color: #60a5fa !important;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-consent-desc a:hover {
  color: #93c5fd !important;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}

.btn-cookie-decline {
  background: transparent;
  color: #94a3b8 !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border-color: #94a3b8;
}

/* Footer Styling */
footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 28px 0;
  color: #64748b;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

footer a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Mobile Fixes */
@media (max-width: 768px) {
  .shape { opacity: 0.3; }
  .shape-4 { left: 35%; width: 60px; }
  .content-wrapper h1 {
    font-size: 28px !important;
  }
  .main-wrapper.demo-03 {
    padding: 30px 0 50px 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .btn-cta-primary, .btn-cta-secondary {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 10px;
  }
  .pwa-bottom-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .pwa-banner-inner {
    padding: 12px 14px;
  }
  .pwa-banner-icon {
    width: 36px !important;
    height: 36px !important;
  }
  .pwa-banner-title {
    font-size: 14px;
  }
  .pwa-banner-sub {
    font-size: 11px;
  }
  .pwa-banner-btn {
    padding: 7px 12px;
    font-size: 12px;
  }
  .cookie-consent-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px;
    gap: 14px;
  }
  .cookie-consent-actions {
    justify-content: flex-end;
    width: 100%;
  }
  .btn-cookie-accept, .btn-cookie-decline {
    flex: 1;
    text-align: center;
    padding: 9px 14px;
    font-size: 13px;
  }
}
