@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ============================================================
   BASE / RESET
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: #F9F8F5;
  color: #2D2D2D;
  min-height: 100vh;
  padding: 48px 24px;
}
a { color: #84B0C9; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ============================================================
   LAYOUT — SHARED COMPONENTS
   ============================================================ */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.topbar {
  max-width: 1060px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar .brand { font-size: 24px; font-weight: 500; color: #2D2D2D; letter-spacing: -0.5px; }
.topbar .back { font-size: 14px; font-weight: 400; }

.page-title {
  max-width: 1060px;
  margin: 0 auto 48px;
}
.page-title h1 { font-size: 32px; font-weight: 500; margin-bottom: 6px; }
.page-title p { font-size: 15px; font-weight: 300; color: #8a8a8a; }

/* Unified content section (white card) */
.section {
  max-width: 1060px;
  margin: 0 auto 48px;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.section h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section h2 .badge {
  font-size: 11px;
  font-weight: 400;
  background: #DDE8DA;
  color: #4a6a4a;
  padding: 2px 10px;
  border-radius: 20px;
}
.section > p {
  font-size: 14px;
  font-weight: 300;
  color: #8a8a8a;
  margin-bottom: 28px;
}

.footer {
  text-align: center;
  margin-top: 48px;
  font-size: 13px;
  font-weight: 300;
  color: #b0afa8;
  letter-spacing: 1px;
}

.divider {
  border: none;
  border-top: 1px solid #f0efe9;
  margin: 28px 0;
}

/* Section head (used in landing & trust) */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.5px; margin-bottom: 10px; }
.section-head p { font-size: 16px; font-weight: 300; color: #8a8a8a; max-width: 480px; margin: 0 auto; }

/* ============================================================
   BUTTONS — SHARED
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.btn:active { transform: translateY(0); }

.btn-primary   { background: #84B0C9; color: #fff; }
.btn-secondary { background: #fff; color: #2D2D2D; border: 1.5px solid #DDE8DA; }
.btn-accent    { background: #F7C5A8; color: #5a3a20; }
.btn-success   { background: #B9D2B1; color: #2a4a28; }
.btn-soft      { background: #F9DCC4; color: #5a3a20; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.helper-text {
  font-size: 12px;
  font-weight: 300;
  color: #b0afa8;
  margin-top: 5px;
}

/* Button sizes */
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }
.btn-pill { border-radius: 50px; }
.btn-icon { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 10px; }
.btn-icon-round { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; }

/* Button colours */
.btn-blue  { background: #84B0C9; color: #fff; }
.btn-teal  { background: #9BBFBF; color: #fff; }
.btn-green { background: #B9D2B1; color: #2a4a28; }
.btn-cream { background: #DDE8DA; color: #4a5a4a; }
.btn-peach { background: #F7C5A8; color: #5a3a20; }
.btn-warm  { background: #F9DCC4; color: #5a3a20; }
.btn-dark  { background: #2D2D2D; color: #fff; }
.btn-white { background: #fff; color: #2D2D2D; border: 1.5px solid #DDE8DA; }

/* Ghost / outline buttons */
.btn-ghost-blue  { background: transparent; color: #84B0C9; border: 1.5px solid #84B0C9; }
.btn-ghost-teal  { background: transparent; color: #9BBFBF; border: 1.5px solid #9BBFBF; }
.btn-ghost-green { background: transparent; color: #7aa872; border: 1.5px solid #B9D2B1; }
.btn-ghost-peach { background: transparent; color: #c4895e; border: 1.5px solid #F7C5A8; }
.btn-ghost-dark  { background: transparent; color: #2D2D2D; border: 1.5px solid #2D2D2D; }

/* Button states */
.btn-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.btn-loading { position: relative; color: transparent !important; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Landing-only standalone buttons */
.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: #2D2D2D;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid #DDE8DA;
  transition: background 0.2s;
}
.btn-outline:hover { background: #fff; }

/* ============================================================
   FORMS — INPUT CONTROLS
   ============================================================ */
.form-group { margin-bottom: 22px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #2D2D2D;
  background: #F9F8F5;
  border: 1.5px solid #DDE8DA;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #84B0C9;
  box-shadow: 0 0 0 3px rgba(132,176,201,0.15);
}
input::placeholder, textarea::placeholder {
  color: #b5b5b0;
  font-weight: 300;
}
textarea { resize: vertical; min-height: 100px; }
select { cursor: pointer; }

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

.checkbox-group, .radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkbox-group label, .radio-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  color: #2D2D2D;
  cursor: pointer;
}
input[type="checkbox"], input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #84B0C9;
  cursor: pointer;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f0efe9;
}
.toggle-row:last-child { border-bottom: none; }
.toggle-row span { font-size: 14px; font-weight: 400; }

.toggle {
  position: relative;
  width: 46px;
  height: 26px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .slider {
  position: absolute;
  inset: 0;
  background: #DDE8DA;
  border-radius: 26px;
  cursor: pointer;
  transition: background 0.25s;
}
.toggle .slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
}
.toggle input:checked + .slider { background: #84B0C9; }
.toggle input:checked + .slider::before { transform: translateX(20px); }

/* ============================================================
   DASHBOARD — pg-dashboard (index.php)
   ============================================================ */
.pg-dashboard { padding: 60px 24px; }

.pg-dashboard .header {
  text-align: center;
  margin-bottom: 56px;
}
.pg-dashboard .header h1 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.pg-dashboard .header p {
  font-size: 18px;
  font-weight: 300;
  color: #8a8a8a;
  letter-spacing: 3px;
}

.pg-dashboard .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pg-dashboard .card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  text-decoration: none;
  color: #2D2D2D;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 4px solid transparent;
}
.pg-dashboard .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.pg-dashboard .card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.pg-dashboard .card h2 { font-size: 18px; font-weight: 500; }
.pg-dashboard .card p { font-size: 14px; font-weight: 300; color: #8a8a8a; line-height: 1.5; }

.card-logo    { border-left-color: #84B0C9; }
.card-logo .icon { background: #84B0C9; color: #fff; }
.card-forms   { border-left-color: #9BBFBF; }
.card-forms .icon { background: #9BBFBF; color: #fff; }
.card-layout  { border-left-color: #B9D2B1; }
.card-layout .icon { background: #B9D2B1; color: #fff; }
.card-comps   { border-left-color: #DDE8DA; }
.card-comps .icon { background: #DDE8DA; color: #fff; }
.card-landing { border-left-color: #F7C5A8; }
.card-landing .icon { background: #F7C5A8; color: #fff; }
.card-text    { border-left-color: #F9DCC4; }
.card-text .icon { background: #F9DCC4; color: #fff; }
.card-trust   { border-left-color: #84B0C9; }
.card-trust .icon { background: #84B0C9; color: #fff; }
.card-elem    { border-left-color: #9BBFBF; }
.card-elem .icon { background: #9BBFBF; color: #fff; }
.card-chat1   { border-left-color: #B9D2B1; }
.card-chat1 .icon { background: #B9D2B1; color: #fff; }
.card-chat2   { border-left-color: #DDE8DA; }
.card-chat2 .icon { background: #DDE8DA; color: #fff; }

.pg-dashboard .footer { margin-top: 64px; }

/* ============================================================
   LOGO — pg-logo (logo.php)
   ============================================================ */
.pg-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}
.pg-logo object {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
}

/* ============================================================
   FORMS PAGE — pg-forms (forms.php)
   ============================================================ */
.pg-forms .topbar,
.pg-forms .page-title,
.pg-forms .section { max-width: 820px; }

.pg-forms .btn-row { margin-top: 8px; }

/* ============================================================
   LAYOUTS PAGE — pg-layouts (layouts.php)
   ============================================================ */
.pg-layouts .block {
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  min-height: 60px;
}

.demo-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.demo-2col .block { min-height: 100px; }

.demo-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.demo-3col .block { min-height: 100px; }

.demo-sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
}
.demo-sidebar .block { min-height: 220px; }

.demo-holy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.demo-holy-header { min-height: 60px; }
.demo-holy-body {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 16px;
}
.demo-holy-body .block { min-height: 200px; }
.demo-holy-footer { min-height: 60px; }

.demo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.demo-card-item {
  background: #F9F8F5;
  border-radius: 12px;
  overflow: hidden;
}
.demo-card-img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
}
.demo-card-body { padding: 14px; }
.demo-card-body .line {
  height: 10px;
  border-radius: 5px;
  background: #DDE8DA;
  margin-bottom: 8px;
}
.demo-card-body .line.short { width: 60%; }

.demo-dash {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.demo-dash .stat { min-height: 90px; border-radius: 10px; }
.demo-dash .wide {
  grid-column: span 2;
  min-height: 180px;
  border-radius: 10px;
}

/* ============================================================
   COMPONENTS PAGE — pg-components (components.php)
   ============================================================ */
.pg-components .section { overflow: hidden; }

/* Navbar demo */
.demo-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1.5px solid #DDE8DA;
  border-radius: 12px;
  padding: 14px 24px;
}
.demo-navbar .nav-brand { font-size: 20px; font-weight: 500; color: #2D2D2D; }
.demo-navbar .nav-links { display: flex; gap: 24px; list-style: none; }
.demo-navbar .nav-links li a { font-size: 14px; font-weight: 400; color: #555; text-decoration: none; }
.demo-navbar .nav-links li a:hover { color: #84B0C9; text-decoration: none; }
.demo-navbar .nav-links li a.active { color: #84B0C9; font-weight: 500; }
.demo-navbar .nav-btn {
  padding: 8px 20px;
  background: #84B0C9;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* Hero demo */
.demo-hero {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.demo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.demo-hero .hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 40px 36px;
  background: linear-gradient(transparent, rgba(0,0,0,0.45));
}
.demo-hero .hero-overlay h3 { font-size: 28px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.demo-hero .hero-overlay p { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.demo-hero .hero-overlay .btn-hero {
  display: inline-block;
  padding: 10px 24px;
  background: #F7C5A8;
  color: #5a3a20;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

/* Image cards (components) */
.demo-img-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.img-card {
  border-radius: 12px;
  overflow: hidden;
  background: #F9F8F5;
  transition: transform 0.2s, box-shadow 0.2s;
}
.img-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.img-card img { height: 160px; object-fit: cover; }
.img-card .img-card-body { padding: 16px; }
.img-card .img-card-body h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.img-card .img-card-body p { font-size: 12px; font-weight: 300; color: #8a8a8a; }

/* Alerts */
.demo-alerts { display: flex; flex-direction: column; gap: 12px; }
.alert {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-info    { background: #e8f0f6; color: #3a6d8c; border-left: 4px solid #84B0C9; }
.alert-success { background: #ecf3ea; color: #3a5e37; border-left: 4px solid #B9D2B1; }
.alert-warning { background: #fdf0e6; color: #7a5030; border-left: 4px solid #F7C5A8; }
.alert-neutral { background: #f0efea; color: #555;    border-left: 4px solid #DDE8DA; }

/* Badges */
.demo-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge-item {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.badge-blue   { background: #84B0C9; color: #fff; }
.badge-teal   { background: #9BBFBF; color: #fff; }
.badge-green  { background: #B9D2B1; color: #2a4a28; }
.badge-cream  { background: #DDE8DA; color: #4a6a4a; }
.badge-peach  { background: #F7C5A8; color: #5a3a20; }
.badge-warm   { background: #F9DCC4; color: #5a3a20; }
.badge-outline {
  background: transparent;
  color: #84B0C9;
  border: 1.5px solid #84B0C9;
}

/* Avatars */
.demo-avatars { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #DDE8DA;
}
.avatar-stack { display: flex; }
.avatar-stack .avatar {
  margin-left: -14px;
  border: 3px solid #fff;
}
.avatar-stack .avatar:first-child { margin-left: 0; }
.avatar-stack .avatar-more {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #DDE8DA;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  margin-left: -14px;
  border: 3px solid #fff;
}

/* Breadcrumbs */
.demo-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.demo-breadcrumbs span { color: #b0afa8; }
.demo-breadcrumbs a { font-weight: 400; }
.demo-breadcrumbs .current { font-weight: 500; color: #2D2D2D; }

/* Tabs */
.demo-tabs { display: flex; gap: 0; border-bottom: 2px solid #f0efe9; margin-bottom: 20px; }
.demo-tabs .tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #8a8a8a;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.demo-tabs .tab:hover { color: #555; }
.demo-tabs .tab.active {
  color: #84B0C9;
  font-weight: 500;
  border-bottom-color: #84B0C9;
}
.tab-content {
  padding: 16px 0;
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
}

/* Modal */
.demo-modal-container {
  background: rgba(45,45,45,0.08);
  border-radius: 14px;
  padding: 48px 24px;
  display: flex;
  justify-content: center;
}
.demo-modal {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  text-align: center;
}
.demo-modal img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.demo-modal h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.demo-modal p { font-size: 14px; font-weight: 300; color: #8a8a8a; margin-bottom: 24px; line-height: 1.5; }
.demo-modal .modal-btns { display: flex; gap: 12px; justify-content: center; }
.demo-modal .btn-m {
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}
.btn-m-primary { background: #84B0C9; color: #fff; }
.btn-m-secondary { background: #F9F8F5; color: #555; border: 1.5px solid #DDE8DA !important; }

/* Pagination */
.demo-pagination {
  display: flex;
  gap: 6px;
  align-items: center;
}
.demo-pagination .pg {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  background: #F9F8F5;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}
.demo-pagination .pg:hover { background: #DDE8DA; text-decoration: none; }
.demo-pagination .pg.active { background: #84B0C9; color: #fff; }
.demo-pagination .pg.disabled { color: #ccc; cursor: default; }

/* Testimonial (components page) */
.demo-testimonial {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
}
.demo-testimonial img {
  border-radius: 14px;
  height: 200px;
  object-fit: cover;
}
.demo-testimonial blockquote {
  font-size: 16px;
  font-weight: 300;
  color: #555;
  font-style: italic;
  line-height: 1.7;
  border-left: 3px solid #F7C5A8;
  padding-left: 20px;
}
.demo-testimonial .author {
  font-size: 13px;
  font-weight: 500;
  color: #2D2D2D;
  margin-top: 12px;
  font-style: normal;
}

/* ============================================================
   LANDING PAGE — pg-landing (landing.php)
   ============================================================ */
.pg-landing { padding: 0; }
.pg-landing a { color: inherit; }
.pg-landing a:hover { text-decoration: none; }

/* Nav */
.pg-landing nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249,248,245,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pg-landing nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.pg-landing nav .brand { font-size: 22px; font-weight: 500; letter-spacing: -0.5px; }
.pg-landing nav ul { list-style: none; display: flex; gap: 28px; }
.pg-landing nav ul li a { font-size: 14px; font-weight: 400; color: #555; transition: color 0.2s; }
.pg-landing nav ul li a:hover { color: #84B0C9; }
.pg-landing nav .nav-cta {
  padding: 8px 22px;
  background: #84B0C9;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.2s;
}
.pg-landing nav .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(132,176,201,0.3);
}

/* Hero */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #F9F8F5 0%, #e8f0f0 100%);
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: #84B0C9; }
.hero p {
  font-size: 18px;
  font-weight: 300;
  color: #666;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pg-landing .btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: #84B0C9;
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.2s;
}
.pg-landing .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(132,176,201,0.3);
}
.hero-img {
  margin: 56px auto 0;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.hero-img img { width: 100%; height: auto; display: block; }

/* Trust bar */
.pg-landing .trust { padding: 48px 0; text-align: center; }
.pg-landing .trust p { font-size: 13px; font-weight: 400; color: #b0afa8; letter-spacing: 2px; margin-bottom: 20px; }
.trust-logos { display: flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap; opacity: 0.45; }
.trust-logos span { font-size: 20px; font-weight: 600; color: #2D2D2D; letter-spacing: 1px; }

/* Features */
.features { padding: 80px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.feature-card p { font-size: 14px; font-weight: 300; color: #8a8a8a; line-height: 1.6; }

/* How it works */
.how { padding: 80px 0; background: #fff; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  counter-reset: step;
}
.step { text-align: center; position: relative; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #84B0C9;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.step p { font-size: 14px; font-weight: 300; color: #8a8a8a; line-height: 1.5; }

/* Testimonials (shared landing & trust) */
.testimonials { padding: 80px 0; }
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.pg-landing .test-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.test-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.test-card .stars { color: #F7C5A8; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.test-card blockquote {
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
}
.test-card .test-author { display: flex; align-items: center; gap: 12px; }
.test-card .test-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #DDE8DA;
}
.test-card .test-author .name { font-size: 13px; font-weight: 500; }
.test-card .test-author .role { font-size: 12px; font-weight: 300; color: #8a8a8a; }

/* Pricing */
.pricing { padding: 80px 0; background: #fff; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  background: #F9F8F5;
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1.5px solid transparent;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.price-card.featured {
  background: #fff;
  border-color: #84B0C9;
  box-shadow: 0 4px 20px rgba(132,176,201,0.15);
}
.price-card .plan { font-size: 13px; font-weight: 500; color: #84B0C9; letter-spacing: 1px; margin-bottom: 8px; }
.price-card .amount { font-size: 42px; font-weight: 600; margin-bottom: 4px; }
.price-card .amount span { font-size: 16px; font-weight: 300; color: #8a8a8a; }
.price-card .period { font-size: 13px; font-weight: 300; color: #8a8a8a; margin-bottom: 24px; }
.price-card ul { list-style: none; margin-bottom: 28px; text-align: left; }
.price-card ul li {
  font-size: 14px;
  font-weight: 300;
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid #f0efe9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card ul li::before { content: '✓'; color: #B9D2B1; font-weight: 600; font-size: 14px; }
.price-card .btn-price {
  display: block;
  padding: 12px 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: transform 0.15s;
}
.price-card .btn-price:hover { transform: translateY(-1px); }
.btn-price-primary { background: #84B0C9; color: #fff; }
.btn-price-outline { background: transparent; color: #2D2D2D; border: 1.5px solid #DDE8DA; }

/* CTA */
.cta { padding: 80px 0; text-align: center; }
.cta-box {
  background: linear-gradient(135deg, #84B0C9 0%, #9BBFBF 50%, #B9D2B1 100%);
  border-radius: 20px;
  padding: 64px 40px;
  max-width: 800px;
  margin: 0 auto;
}
.cta-box h2 { font-size: 30px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.cta-box p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.btn-cta {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: #2D2D2D;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Landing footer */
.pg-landing footer {
  padding: 48px 0;
  border-top: 1px solid #f0efe9;
}
.pg-landing footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand h4 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.footer-brand p { font-size: 13px; font-weight: 300; color: #8a8a8a; }
.footer-links h5 { font-size: 12px; font-weight: 500; color: #b0afa8; letter-spacing: 1px; margin-bottom: 10px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 6px; }
.footer-links ul li a { font-size: 14px; font-weight: 300; color: #555; }
.footer-links ul li a:hover { color: #84B0C9; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 300;
  color: #b0afa8;
}
.footer-bottom a { color: #84B0C9; }

/* Dashboard link */
.dash-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  padding: 8px 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  font-size: 12px;
  font-weight: 500;
  color: #84B0C9;
}

/* ============================================================
   TEXT BLOCKS — pg-textblocks (textblocks.php)
   ============================================================ */
.pg-textblocks img { border-radius: 12px; }

.pg-textblocks .topbar,
.pg-textblocks .page-title { max-width: 820px; }

.pg-textblocks .footer { max-width: 820px; margin: 16px auto 0; }

.pg-textblocks .block {
  max-width: 820px;
  margin: 0 auto 48px;
  background: #fff;
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.block-label {
  font-size: 11px;
  font-weight: 500;
  color: #84B0C9;
  letter-spacing: 2px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0efe9;
}

/* Heading scale */
.heading-scale h1 { font-size: 40px; font-weight: 600; letter-spacing: -1px; margin-bottom: 12px; }
.heading-scale h2 { font-size: 30px; font-weight: 500; letter-spacing: -0.5px; margin-bottom: 10px; }
.heading-scale h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.heading-scale h4 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.heading-scale h5 { font-size: 14px; font-weight: 500; color: #555; margin-bottom: 4px; }
.heading-scale h6 { font-size: 12px; font-weight: 500; color: #8a8a8a; letter-spacing: 1px; margin-bottom: 4px; }
.heading-scale .divider { border: none; border-top: 1px solid #f0efe9; margin: 20px 0; }

/* Prose */
.prose h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.3px; margin-bottom: 14px; }
.prose h3 { font-size: 18px; font-weight: 500; margin: 28px 0 10px; color: #2D2D2D; }
.prose h4 { font-size: 15px; font-weight: 500; margin: 22px 0 8px; color: #555; }
.prose p { font-size: 15px; font-weight: 300; line-height: 1.8; color: #444; margin-bottom: 18px; }
.prose p strong { font-weight: 500; color: #2D2D2D; }
.prose blockquote {
  border-left: 3px solid #F7C5A8;
  margin: 24px 0;
  padding: 16px 24px;
  background: #fdf8f4;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 15px;
  font-weight: 300;
  color: #555;
  line-height: 1.7;
}
.prose ul, .prose ol { margin: 0 0 18px 24px; font-size: 15px; font-weight: 300; color: #444; line-height: 1.8; }
.prose ul li, .prose ol li { margin-bottom: 4px; }
.prose .lead { font-size: 18px; font-weight: 300; color: #555; line-height: 1.7; margin-bottom: 24px; }
.prose .small-text { font-size: 13px; font-weight: 300; color: #8a8a8a; line-height: 1.6; }
.prose .highlight {
  background: #DDE8DA;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
}
.prose hr { border: none; border-top: 1px solid #f0efe9; margin: 32px 0; }

/* Image layouts */
.img-full { margin: 28px 0; border-radius: 12px; overflow: hidden; }
.img-full img { width: 100%; height: 280px; object-fit: cover; border-radius: 0; }
.img-caption { font-size: 12px; font-weight: 300; color: #b0afa8; text-align: center; margin-top: 8px; }

.img-side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; align-items: start; }
.img-side img { width: 100%; height: 220px; object-fit: cover; }
.img-side .img-side-text p { margin-bottom: 14px; }

.img-float-left { float: left; width: 240px; margin: 4px 24px 14px 0; border-radius: 12px; overflow: hidden; }
.img-float-left img { width: 100%; height: 180px; object-fit: cover; border-radius: 0; }
.img-float-right { float: right; width: 240px; margin: 4px 0 14px 24px; border-radius: 12px; overflow: hidden; }
.img-float-right img { width: 100%; height: 180px; object-fit: cover; border-radius: 0; }
.clearfix::after { content: ''; display: table; clear: both; }

.img-trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin: 28px 0; }
.img-trio img { width: 100%; height: 160px; object-fit: cover; }

/* ============================================================
   TRUST PAGE — pg-trust (trust.php)
   ============================================================ */
.pg-trust { padding: 0; }
.pg-trust .wrap { max-width: 960px; }

.pg-trust .topbar {
  max-width: none;
  margin: 0;
  padding: 48px 0 40px;
}

/* Override unified .section for trust (bare wrapper, not white card) */
.pg-trust .section {
  max-width: none;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin: 0 0 64px;
}
.pg-trust .section h2 { display: block; }

.pg-trust .section-head { margin-bottom: 32px; text-align: left; }
.pg-trust .section-head h2 { font-size: 26px; font-weight: 500; letter-spacing: -0.5px; margin-bottom: 8px; }
.pg-trust .section-head p { font-size: 15px; font-weight: 300; color: #8a8a8a; max-width: 540px; margin: 0; }

/* Trust hero */
.trust-hero { text-align: center; padding: 0 0 64px; }
.trust-hero h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 600; letter-spacing: -1px; margin-bottom: 14px; }
.trust-hero h1 span { color: #84B0C9; }
.trust-hero p { font-size: 17px; font-weight: 300; color: #666; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* Badge bar */
.badge-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
  border-top: 1px solid #f0efe9;
  border-bottom: 1px solid #f0efe9;
  margin-bottom: 64px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.trust-badge .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.trust-badge .badge-text { font-size: 13px; font-weight: 500; line-height: 1.3; }
.trust-badge .badge-sub { font-size: 11px; font-weight: 300; color: #8a8a8a; }

/* Cert grid */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cert-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cert-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.cert-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-align: center;
}
.cert-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.cert-card p { font-size: 13px; font-weight: 300; color: #666; line-height: 1.5; }
.cert-card .cert-id { font-size: 11px; font-weight: 400; color: #b0afa8; margin-top: 6px; font-family: monospace; }

/* Detail panels */
.detail-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-panel {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.detail-panel h3 { font-size: 16px; font-weight: 500; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.detail-panel h3 .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.detail-panel p { font-size: 14px; font-weight: 300; color: #555; line-height: 1.7; margin-bottom: 10px; }
.detail-panel ul { list-style: none; margin: 0; }
.detail-panel ul li {
  font-size: 13px;
  font-weight: 300;
  color: #555;
  padding: 7px 0;
  border-bottom: 1px solid #f0efe9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-panel ul li:last-child { border-bottom: none; }
.detail-panel ul li::before { content: '✓'; color: #B9D2B1; font-weight: 600; font-size: 13px; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #DDE8DA;
}
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #84B0C9;
  border: 3px solid #F9F8F5;
  box-shadow: 0 0 0 2px #84B0C9;
}
.tl-item .tl-date { font-size: 12px; font-weight: 500; color: #84B0C9; margin-bottom: 4px; }
.tl-item h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.tl-item p { font-size: 13px; font-weight: 300; color: #666; line-height: 1.5; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 64px; }
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.stat-card .stat-num { font-size: 36px; font-weight: 600; margin-bottom: 4px; }
.stat-card .stat-label { font-size: 13px; font-weight: 300; color: #8a8a8a; }

/* Trust testimonial role override */
.pg-trust .test-card .test-author .role { font-size: 11px; }

/* Partner logos */
.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  padding: 40px 0;
  opacity: 0.4;
}
.partner-row span { font-size: 18px; font-weight: 600; color: #2D2D2D; letter-spacing: 1px; }

/* Trust CTA */
.trust-cta {
  text-align: center;
  padding: 48px 36px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, #84B0C9 0%, #9BBFBF 50%, #B9D2B1 100%);
  border-radius: 20px;
}
.trust-cta h2 { font-size: 26px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.trust-cta p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.trust-cta a {
  display: inline-block;
  padding: 12px 32px;
  background: #fff;
  color: #2D2D2D;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.pg-trust .footer { margin-top: 0; padding: 24px 0 48px; }

/* ============================================================
   ELEMENTS PAGE — pg-elements (elements.php)
   ============================================================ */
.pg-elements a { color: inherit; }
.pg-elements a:hover { text-decoration: none; }
.pg-elements .topbar .back { color: #84B0C9; }
.pg-elements .topbar .back:hover { text-decoration: underline; }

.pg-elements .btn-row { margin-bottom: 24px; align-items: center; }
.pg-elements .footer { max-width: 1060px; margin: 16px auto 0; }

.pg-elements .label {
  font-size: 12px;
  font-weight: 500;
  color: #b0afa8;
  margin: 20px 0 10px;
  letter-spacing: 1px;
}

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid #f0efe9; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: #F9F8F5; }
th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 12px;
  color: #8a8a8a;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #f0efe9;
}
td { padding: 12px 16px; border-bottom: 1px solid #f0efe9; font-weight: 300; color: #444; }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fdfcfa; }

.td-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.td-badge-blue  { background: #e8f0f6; color: #3a6d8c; }
.td-badge-green { background: #ecf3ea; color: #3a5e37; }
.td-badge-peach { background: #fdf0e6; color: #7a5030; }
.td-badge-red   { background: #fce8e8; color: #8a3030; }

.td-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 8px;
  border: 1.5px solid #DDE8DA;
}
.td-mono { font-family: monospace; font-size: 12px; color: #8a8a8a; }

.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 300;
  color: #8a8a8a;
  border-top: 1px solid #f0efe9;
}
.table-footer .pg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  background: #F9F8F5;
  margin: 0 2px;
  cursor: pointer;
}
.table-footer .pg.active { background: #84B0C9; color: #fff; }

.table-striped tbody tr:nth-child(even) { background: #fdfcfa; }
.table-compact th, .table-compact td { padding: 8px 14px; font-size: 13px; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.c-card {
  background: #F9F8F5;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.c-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.c-card-img { height: 140px; object-fit: cover; width: 100%; }
.c-card-body { padding: 18px 20px; }
.c-card-body h4 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.c-card-body p { font-size: 13px; font-weight: 300; color: #8a8a8a; line-height: 1.5; }
.c-card-footer { padding: 0 20px 16px; display: flex; gap: 8px; }

.c-flat { background: #fff; border: 1.5px solid #f0efe9; border-radius: 14px; padding: 24px 22px; }
.c-flat h4 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.c-flat p { font-size: 13px; font-weight: 300; color: #8a8a8a; line-height: 1.5; margin-bottom: 14px; }

.c-stat {
  background: #fff;
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  border-top: 3px solid transparent;
}
.c-stat .stat-val { font-size: 32px; font-weight: 600; margin-bottom: 2px; }
.c-stat .stat-lbl { font-size: 13px; font-weight: 300; color: #8a8a8a; }

.c-profile {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
}
.c-profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid #DDE8DA;
}
.c-profile h4 { font-size: 15px; font-weight: 500; margin-bottom: 2px; }
.c-profile .role { font-size: 12px; font-weight: 300; color: #8a8a8a; margin-bottom: 14px; }
.c-profile .profile-btns { display: flex; gap: 8px; justify-content: center; }

.c-horizontal {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr;
}
.c-horizontal img { width: 100%; height: 100%; object-fit: cover; }
.c-horizontal .c-h-body { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.c-horizontal .c-h-body h4 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.c-horizontal .c-h-body p { font-size: 13px; font-weight: 300; color: #8a8a8a; line-height: 1.5; margin-bottom: 12px; }

.c-color { border-radius: 14px; padding: 28px 22px; color: #fff; }
.c-color h4 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.c-color p { font-size: 13px; font-weight: 300; opacity: 0.85; line-height: 1.5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .demo-2col, .demo-3col { grid-template-columns: 1fr; }
  .demo-sidebar { grid-template-columns: 1fr; }
  .demo-holy-body { grid-template-columns: 1fr; }
  .demo-dash { grid-template-columns: 1fr 1fr; }
  .demo-dash .wide { grid-column: span 2; }

  .features-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .pg-landing .test-grid { grid-template-columns: 1fr; }
  .pg-landing nav ul { display: none; }
  .hero { padding: 60px 0 40px; }
  .pg-landing footer .wrap { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 700px) {
  .detail-panels { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .demo-testimonial { grid-template-columns: 1fr; }
  .img-side { grid-template-columns: 1fr; }
  .img-trio { grid-template-columns: 1fr; }
  .c-horizontal { grid-template-columns: 1fr; }
  .c-horizontal img { height: 160px; }
}

/* =====================================================
   CHAT — SHARED
   ===================================================== */
body.pg-chat1,body.pg-chat2{padding:0;overflow:hidden;height:100vh}

.chat-topbar{
  height:56px;display:flex;align-items:center;justify-content:space-between;
  padding:0 20px;border-bottom:1px solid #f0efe9;background:#fff;flex-shrink:0;
}
.chat-topbar .brand{font-size:20px;font-weight:500;color:#2D2D2D;letter-spacing:-.5px}
.chat-topbar .back{font-size:13px;font-weight:400;color:#84B0C9;text-decoration:none}
.chat-topbar .back:hover{text-decoration:underline}

.chat-messages{
  flex:1;overflow-y:auto;padding:24px 20px;display:flex;flex-direction:column;gap:16px;
  justify-content:flex-end;
}
.chat-messages::-webkit-scrollbar{width:6px}
.chat-messages::-webkit-scrollbar-thumb{background:#DDE8DA;border-radius:3px}

.msg{max-width:75%;display:flex;flex-direction:column;gap:4px}
.msg-user{align-self:flex-end}
.msg-agent{align-self:flex-start}
.msg-bubble{
  padding:12px 16px;font-size:14px;font-weight:300;line-height:1.6;
  border-radius:14px;word-break:break-word;
}
.msg-user .msg-bubble{background:#84B0C9;color:#fff;border-bottom-right-radius:4px}
.msg-agent .msg-bubble{background:#fff;color:#2D2D2D;border:1px solid #f0efe9;border-bottom-left-radius:4px}
.msg-time{font-size:11px;font-weight:300;color:#b0afa8}
.msg-user .msg-time{text-align:right}

.msg-typing{align-self:flex-start}
.msg-typing .msg-bubble{display:flex;gap:5px;align-items:center;padding:14px 20px}
.typing-dot{width:7px;height:7px;border-radius:50%;background:#b0afa8;animation:typingBounce 1.4s infinite}
.typing-dot:nth-child(2){animation-delay:.2s}
.typing-dot:nth-child(3){animation-delay:.4s}
@keyframes typingBounce{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-6px)}}

.chat-input{
  display:flex;align-items:center;gap:10px;
  padding:14px 20px;border-top:1px solid #f0efe9;background:#fff;flex-shrink:0;
}
.chat-input input{
  flex:1;padding:12px 16px;font-family:'Poppins',sans-serif;font-size:14px;
  font-weight:400;color:#2D2D2D;background:#F9F8F5;border:1.5px solid #DDE8DA;
  border-radius:10px;outline:none;transition:border-color .2s;min-width:0;
}
.chat-input input:focus{border-color:#84B0C9}
.chat-input input::placeholder{color:#b5b5b0;font-weight:300}
.chat-send{
  width:42px;height:42px;border-radius:10px;border:none;
  background:#84B0C9;color:#fff;font-size:18px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  transition:transform .15s,box-shadow .2s;
}
.chat-send:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(132,176,201,.3)}
.chat-ptt{
  width:42px;height:42px;border-radius:50%;border:none;
  background:#F7C5A8;color:#5a3a20;font-size:18px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  transition:transform .15s,background .2s;
}
.chat-ptt:hover{background:#f0b48e;transform:scale(1.05)}
.chat-ptt.recording{background:#e8937a;animation:pttPulse 1s infinite}
@keyframes pttPulse{0%,100%{box-shadow:0 0 0 0 rgba(247,197,168,.4)}50%{box-shadow:0 0 0 10px rgba(247,197,168,0)}}

/* conversation list items (shared between both chat layouts) */
.convo-action-btn{
  width:24px;height:24px;border:none;background:transparent;
  color:#b0afa8;font-size:14px;cursor:pointer;border-radius:6px;
  display:flex;align-items:center;justify-content:center;
}
.convo-action-btn:hover{background:#f0efe9;color:#555}
.convo-action-btn.delete:hover{background:#fce8e8;color:#c44}

/* =====================================================
   CHAT 1 — SIDEBAR LAYOUT
   ===================================================== */
.chat1-wrap{display:flex;height:100vh;overflow:hidden;position:relative}

.chat1-sidebar{
  width:300px;flex-shrink:0;background:#fff;border-right:1px solid #f0efe9;
  display:flex;flex-direction:column;height:100vh;z-index:20;
}
.chat1-sidebar-head{
  padding:18px 20px;display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid #f0efe9;flex-shrink:0;
}
.chat1-sidebar-head h3{font-size:15px;font-weight:500}
.chat1-new-btn{
  width:32px;height:32px;border-radius:8px;border:none;
  background:#84B0C9;color:#fff;font-size:18px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.chat1-convos{flex:1;overflow-y:auto;padding:8px 0}
.chat1-convos::-webkit-scrollbar{width:5px}
.chat1-convos::-webkit-scrollbar-thumb{background:#DDE8DA;border-radius:3px}
.chat1-convo{
  display:flex;align-items:center;gap:12px;padding:12px 20px;
  cursor:pointer;transition:background .15s;position:relative;
}
.chat1-convo:hover{background:#fdfcfa}
.chat1-convo.active{background:#f4f8fb}
.chat1-convo.active::before{
  content:'';position:absolute;left:0;top:8px;bottom:8px;
  width:3px;border-radius:0 3px 3px 0;background:#84B0C9;
}
.chat1-convo-icon{
  width:36px;height:36px;border-radius:10px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-size:16px;color:#fff;
}
.chat1-convo-info{flex:1;min-width:0}
.chat1-convo-info .convo-title{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat1-convo-info .convo-preview{font-size:12px;font-weight:300;color:#8a8a8a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat1-convo-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}
.chat1-convo-meta .convo-time{font-size:11px;font-weight:300;color:#b0afa8}
.chat1-convo-actions{display:flex;gap:2px;opacity:0;transition:opacity .15s}
.chat1-convo:hover .chat1-convo-actions{opacity:1}

.chat1-main{flex:1;display:flex;flex-direction:column;min-width:0;background:#F9F8F5}

.chat1-toggle-sidebar{
  display:none;width:36px;height:36px;border-radius:8px;border:none;
  background:#F9F8F5;color:#555;font-size:18px;cursor:pointer;
  align-items:center;justify-content:center;flex-shrink:0;
}
.chat1-backdrop{display:none;position:absolute;inset:0;background:rgba(45,45,45,.12);z-index:19}

/* =====================================================
   CHAT 2 — OVERLAY PANEL LAYOUT
   ===================================================== */
.chat2-wrap{display:flex;flex-direction:column;height:100vh;overflow:hidden;background:#F9F8F5;position:relative}

.chat2-header{
  height:56px;display:flex;align-items:center;gap:12px;
  padding:0 20px;border-bottom:1px solid #f0efe9;background:#fff;flex-shrink:0;
}
.chat2-header .brand{font-size:20px;font-weight:500;letter-spacing:-.5px}
.chat2-header .back{font-size:13px;font-weight:400;color:#84B0C9;text-decoration:none;margin-left:auto}
.chat2-header .back:hover{text-decoration:underline}
.chat2-history-btn{
  width:36px;height:36px;border-radius:8px;border:1.5px solid #DDE8DA;
  background:#fff;color:#555;font-size:16px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .15s;
}
.chat2-history-btn:hover{background:#F9F8F5}

.chat2-body{flex:1;display:flex;overflow:hidden;position:relative}
.chat2-chat{flex:1;display:flex;flex-direction:column;min-width:0;max-width:720px;width:100%;margin:0 auto}
.chat2-chat .chat-messages{padding:24px 20px}
.chat2-chat .chat-input{border-top:none;padding:12px 20px 20px;background:transparent;display:flex;gap:0}
.chat2-input-inner{
  display:flex;align-items:center;gap:10px;width:100%;
  padding:10px 14px;background:#fff;border:1.5px solid #DDE8DA;
  border-radius:14px;transition:border-color .2s;
}
.chat2-input-inner:focus-within{border-color:#84B0C9}
.chat2-input-inner input{
  flex:1;padding:6px 4px;font-family:'Poppins',sans-serif;font-size:14px;
  font-weight:400;color:#2D2D2D;background:transparent;border:none;outline:none;min-width:0;
}
.chat2-input-inner input::placeholder{color:#b5b5b0;font-weight:300}
.chat2-input-inner .chat-send{width:34px;height:34px;border-radius:8px;font-size:16px}
.chat2-input-inner .chat-ptt{width:34px;height:34px;font-size:16px}

.chat2-panel{
  position:absolute;left:0;top:0;bottom:0;width:320px;
  background:#fff;border-right:1px solid #f0efe9;
  transform:translateX(-100%);transition:transform .25s ease;
  z-index:10;display:flex;flex-direction:column;
}
.chat2-panel.open{transform:translateX(0)}
.chat2-panel-head{
  padding:18px 20px;display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid #f0efe9;flex-shrink:0;
}
.chat2-panel-head h3{font-size:15px;font-weight:500}
.chat2-panel-close{
  width:28px;height:28px;border-radius:6px;border:none;
  background:#F9F8F5;color:#555;font-size:16px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.chat2-panel-close:hover{background:#f0efe9}
.chat2-convos{flex:1;overflow-y:auto;padding:8px 0}
.chat2-convo{
  display:flex;align-items:center;gap:12px;padding:12px 20px;
  cursor:pointer;transition:background .15s;
}
.chat2-convo:hover{background:#fdfcfa}
.chat2-convo.active{background:#f4f8fb}
.chat2-convo-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.chat2-convo-info{flex:1;min-width:0}
.chat2-convo-info .convo-title{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat2-convo-info .convo-preview{font-size:12px;font-weight:300;color:#8a8a8a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat2-convo-meta{display:flex;align-items:center;gap:4px;flex-shrink:0}
.chat2-convo-meta .convo-time{font-size:11px;font-weight:300;color:#b0afa8}
.chat2-convo-actions{display:flex;gap:2px;opacity:0;transition:opacity .15s}
.chat2-convo:hover .chat2-convo-actions{opacity:1}
.chat2-backdrop{display:none;position:absolute;inset:0;background:rgba(45,45,45,.12);z-index:9}
.chat2-backdrop.open{display:block}

/* =====================================================
   RESPONSIVE — CHAT
   ===================================================== */
@media(max-width:768px){
  .chat1-sidebar{
    position:absolute;left:0;top:0;bottom:0;
    transform:translateX(-100%);transition:transform .25s ease;
  }
  .chat1-sidebar.open{transform:translateX(0)}
  .chat1-toggle-sidebar{display:flex}
  .chat1-backdrop.open{display:block}
  .msg{max-width:88%}
  .chat2-panel{width:280px}
}
@media(max-width:480px){
  .chat1-sidebar{width:260px}
  .chat2-panel{width:100%}
  .msg{max-width:92%}
}
