/* ============================================================
   EVALUATION OFFICE SYNDROME INTRO PAGE
   Matching OFFIT DO-D Theme & Exact User Design Mockup
   ============================================================ */

/* ==========================================
   1. HERO SECTION (Matching User Image Mockup)
   ========================================== */
.os-hero-section {
  background: linear-gradient(125deg, #9bb6e9 0%, #b8c9ec 32%, #d2c6e6 68%, #ebd5df 100%);
  border-radius: 28px;
  padding: 40px 48px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(18, 78, 161, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Subtle glowing background orbs */
.os-hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.os-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* Left Side - Text & CTA */
.os-hero-text {
  flex: 1 1 54%;
  min-width: 0;
}

/* Badge / Category Tag */
.os-hero-tag {
  display: inline-block;
  font-family: 'Prompt', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e4b9e;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

/* Main Titles */
.os-hero-title-white {
  font-family: 'Prompt', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  display: block;
  text-shadow: 0 2px 10px rgba(14, 55, 116, 0.15);
  margin-bottom: 2px;
}

.os-hero-title-dark {
  font-family: 'Prompt', sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  color: #14326d;
  line-height: 1.2;
  display: block;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

/* Paragraph Text */
.os-hero-desc {
  font-family: 'Prompt', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #244177;
  line-height: 1.8;
  margin-bottom: 14px;
}

.os-hero-desc span {
  display: inline-block;
}

.os-hero-subtext {
  font-family: 'Prompt', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1c3d79;
  line-height: 1.6;
  margin-bottom: 22px;
}

.os-hero-subtext .os-subtext-item {
  display: inline-block;
}

/* Checklist */
.os-hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.os-hero-checklist li {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  font-family: 'Prompt', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #14326d;
  width: 100%;
}

.os-hero-checklist li i {
  color: #1a4f9e;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  margin-top: 2px;
}

.os-hero-checklist li span {
  flex: 1;
  text-align: left;
  line-height: 1.45;
}

/* Action Button */
.os-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1e4b9e;
  color: #ffffff !important;
  font-family: 'Prompt', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 11px 36px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(30, 75, 158, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.os-hero-btn:hover {
  background: #143a80;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px rgba(30, 75, 158, 0.45);
  color: #ffffff !important;
}

/* Right Side - Visual Illustration Card */
.os-hero-visual {
  flex: 0 0 42%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.os-hero-card-img {
  width: 100%;
  height: auto;
  max-width: 440px;
  object-fit: contain;
  display: block;
  border-radius: 26px;
  box-shadow: 0 12px 36px rgba(18, 78, 161, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.os-hero-card-img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 42px rgba(18, 78, 161, 0.24);
}

/* ==========================================
   2. QUICK STATS (2 Boxes Side-by-Side)
   ========================================== */
.os-stats-grid,
.os-stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.os-stat-box,
.os-stat-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 18px rgba(18, 78, 161, 0.05);
  border: 1px solid rgba(215, 228, 243, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.os-stat-box:hover,
.os-stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 78, 161, 0.08);
}

.os-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e58f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.os-stat-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.os-stat-number {
  font-family: 'Prompt', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.os-stat-label {
  font-family: 'Prompt', sans-serif;
  font-size: 0.825rem;
  color: #64748b;
  line-height: 1.35;
}

.os-stat-divider {
  display: none !important;
}

/* ==========================================
   3. STAGES OF OFFICE SYNDROME (3 ระยะ)
   ========================================== */
.os-stages-section {
  margin-bottom: 24px;
}

.os-section-header {
  text-align: center;
  margin-bottom: 22px;
}

.os-section-title {
  font-family: 'Prompt', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f2b5c;
  margin-bottom: 6px;
}

.os-section-desc {
  font-family: 'Prompt', sans-serif;
  font-size: 0.9rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.os-stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.os-stage-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(215, 228, 243, 0.7);
  box-shadow: 0 4px 18px rgba(18, 78, 161, 0.04);
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.os-stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(18, 78, 161, 0.1);
  border-color: #93c5fd;
}

.os-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Prompt', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  width: fit-content;
}

.stage-1 .os-stage-badge { background: #ecfdf5; color: #059669; }
.stage-2 .os-stage-badge { background: #fffbeb; color: #d97706; }
.stage-3 .os-stage-badge { background: #fef2f2; color: #dc2626; }

.os-stage-title {
  font-family: 'Prompt', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.os-stage-body {
  font-family: 'Prompt', sans-serif;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}

.os-stage-symptoms {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  font-family: 'Prompt', sans-serif;
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.5;
}

/* ==========================================
   4. FEATURES GRID
   ========================================== */
.os-features-section {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid rgba(215, 228, 243, 0.7);
  box-shadow: 0 6px 22px rgba(18, 78, 161, 0.04);
}

.os-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.os-feature-item {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.os-feature-item:hover {
  background: #ffffff;
  border-color: #60a5fa;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-3px);
}

.os-feature-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.os-feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e58f6 0%, #1d4ed8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0;
  box-shadow: 0 6px 16px rgba(30, 88, 246, 0.25);
  flex-shrink: 0;
}

.os-feature-name {
  font-family: 'Prompt', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.os-feature-desc {
  font-family: 'Prompt', sans-serif;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   5. CTA FOOTER BANNER
   ========================================== */
.os-bottom-cta {
  background: linear-gradient(135deg, #0e3774 0%, #185ec2 100%);
  border-radius: 24px;
  padding: 36px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(14, 55, 116, 0.2);
  margin-bottom: 24px;
}

.os-bottom-cta-text h3 {
  font-family: 'Prompt', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.os-bottom-cta-text p {
  font-family: 'Prompt', sans-serif;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.os-bottom-cta-btn {
  background: #ffffff;
  color: #0e3774 !important;
  font-family: 'Prompt', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 13px 34px;
  border-radius: 50px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.os-bottom-cta-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1199.98px) {
  .os-hero-section {
    padding: 32px;
  }
  .os-hero-title-white {
    font-size: 2.1rem;
  }
  .os-hero-title-dark {
    font-size: 1.8rem;
  }
}

@media (max-width: 991.98px) {
  .os-hero-content {
    flex-direction: column;
    text-align: center;
  }
  .os-hero-text {
    flex: 1 1 100%;
  }
  .os-hero-checklist {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 28px auto;
  }
  .os-hero-visual {
    flex: 1 1 100%;
    max-width: 360px;
  }
  .os-stages-grid {
    grid-template-columns: 1fr;
  }
  .os-features-grid {
    grid-template-columns: 1fr;
  }
  .os-bottom-cta {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .os-stats-grid,
  .os-stats-bar {
    gap: 10px;
    margin-bottom: 20px;
  }
  .os-stat-box,
  .os-stat-item {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 14px;
  }
  .os-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1.1rem;
  }
  .os-stat-number {
    font-size: 0.95rem;
  }
  .os-stat-label {
    font-size: 0.75rem;
  }
  .os-hero-title-dark {
    font-size: clamp(1.15rem, 3.8vw, 1.45rem);
    white-space: nowrap;
  }
  .os-hero-subtext .os-subtext-item {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .os-stats-grid,
  .os-stats-bar {
    gap: 8px;
    margin-bottom: 18px;
  }
  .os-stat-box,
  .os-stat-item {
    padding: 10px 10px;
    gap: 8px;
    border-radius: 12px;
  }
  .os-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 0.95rem;
  }
  .os-stat-number {
    font-size: 0.86rem;
  }
  .os-stat-label {
    font-size: 0.7rem;
    line-height: 1.25;
  }
  .os-hero-section {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .os-hero-title-white {
    font-size: 1.65rem;
  }
  .os-hero-title-dark {
    font-size: clamp(0.98rem, 4.3vw, 1.2rem);
    white-space: nowrap;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
  }
  .os-hero-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .os-hero-subtext {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .os-hero-checklist {
    max-width: 330px;
    margin: 0 auto 24px auto;
    gap: 10px;
  }
  .os-hero-checklist li {
    font-size: 0.92rem;
  }
  .os-hero-btn {
    width: 100%;
  }

  /* Features Section Mobile */
  .os-features-section {
    padding: 22px 16px;
    border-radius: 20px;
  }
  .os-feature-item {
    padding: 16px 14px;
    border-radius: 16px;
  }
  .os-feature-header {
    gap: 10px;
    margin-bottom: 10px;
  }
  .os-feature-icon-wrap {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
    border-radius: 12px;
  }
  .os-feature-name {
    font-size: clamp(0.85rem, 3.8vw, 0.98rem);
    white-space: nowrap;
    letter-spacing: -0.3px;
  }
  .os-feature-desc {
    font-size: 0.84rem;
    line-height: 1.55;
  }
}

/* Mobile Sidebar Toggle Support */
@media (max-width: 991.98px) {
  .dashboard-sidebar {
    transform: translateX(-100%) !important;
    z-index: 1055 !important;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.35s ease !important;
  }
  .dashboard-sidebar.show,
  .dashboard-sidebar.active {
    transform: translateX(0) !important;
    box-shadow: 12px 0 35px rgba(0, 0, 0, 0.28) !important;
  }
  .sidebar-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  .sidebar-overlay.show,
  .sidebar-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}
