:root {
  --habit-bg-main: #0b1120;
  --habit-bg-surface: #1e293b;
  --habit-bg-elevated: #0f172a;
  --habit-accent-glow: #10b981;
  --habit-accent-bright: #34d399;
  --habit-cyan-tone: #06b6d4;
  --habit-text-bright: #f8fafc;
  --habit-text-muted: #94a3b8;
  --habit-border-glow: rgba(16, 185, 129, 0.25);
  --habit-shadow-deep: 0 20px 35px -10px rgba(0, 0, 0, 0.6), 0 0 20px 0 rgba(16, 185, 129, 0.15);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Base resets & typography */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--habit-bg-main);
  color: var(--habit-text-bright);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scroll progress bar */
.posture-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--habit-accent-glow), var(--habit-cyan-tone));
  width: 100%;
  transform-origin: 0 50%;
  animation: postureProgress linear;
  animation-timeline: scroll();
  z-index: 100;
}

@keyframes postureProgress {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Viewport fade animation */
@supports (animation-timeline: view()) {
  .sedentary-fade-view {
    animation: postureFadeIn linear both;
    animation-timeline: view(120px 0px);
  }
}

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

/* Common Section Wrapper */
.ergonomic-main-wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.desk-section-pad {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  position: relative;
}

/* Header Styles */
.office-header-shell {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.office-header-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.office-brand-slot img {
  height: 42px;
  width: auto;
  display: block;
}

.office-nav-menu {
  display: flex;
  align-items: center;
}

.office-nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.office-nav-list a {
  color: var(--habit-text-bright);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.office-nav-list a:hover {
  color: var(--habit-accent-bright);
}

.office-nav-cta-link {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--habit-accent-glow), var(--habit-cyan-tone));
  color: #0b1120 !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.office-nav-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.office-menu-btn, .office-menu-chk {
  display: none;
}

/* Mobile Header Hamburger */
@media (max-width: 768px) {
  .office-menu-btn {
    display: block;
    cursor: pointer;
    color: var(--habit-text-bright);
  }

  .office-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--habit-bg-elevated);
    border-bottom: 1px solid var(--habit-border-glow);
    display: none;
    padding: 1.5rem;
  }

  .office-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .office-menu-chk:checked ~ .office-nav-menu {
    display: flex;
  }
}

/* Hero Section (Preset D: Asymmetric 100vh) */
.sedentary-hero-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.sedentary-hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sedentary-hero-caption {
  width: 48%;
  z-index: 10;
}

.sedentary-hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--habit-accent-bright);
  margin-bottom: 1rem;
}

.sedentary-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--habit-text-bright);
  margin-bottom: 1.25rem;
}

.sedentary-hero-description {
  font-size: 1.1rem;
  color: var(--habit-text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.sedentary-hero-backdrop-clip {
  width: 48%;
  height: 70vh;
  opacity: 0.6;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--habit-shadow-deep);
}

.sedentary-hero-backdrop-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .sedentary-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .sedentary-hero-caption {
    width: 100%;
  }
  .sedentary-hero-backdrop-clip {
    width: 100%;
    height: 40vh;
    margin-top: 2rem;
    clip-path: none;
  }
  .sedentary-hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Divider Line */
.wellbeing-divider-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.wellbeing-divider-accent {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--habit-accent-glow), var(--habit-cyan-tone));
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
}

/* Titles and Paragraphs */
.ergonomic-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--habit-text-bright);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.desk-paragraph {
  color: var(--habit-text-muted);
  font-size: 1.025rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* Pull-Quote */
.ergonomic-quote-box {
  border-left: 4px solid var(--habit-accent-glow);
  background: rgba(30, 41, 59, 0.6);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: #e2e8f0;
}

.desk-image-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--habit-shadow-deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.desk-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA Banner Strip */
.posture-cta-banner {
  position: relative;
  background-image: url('img/bg.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 8dvh 1.5rem;
}

.posture-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 32, 0.88);
}

.posture-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.posture-cta-subtext {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto;
}

/* Pill Button */
.posture-pill-btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--habit-accent-glow), var(--habit-cyan-tone));
  color: #0b1120;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.posture-pill-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.6);
}

/* Features Grid (2 Columns) */
.habit-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .habit-features-grid {
    grid-template-columns: 1fr;
  }
}

.webinar-feature-cell {
  display: flex;
  gap: 1.5rem;
  background: var(--habit-bg-surface);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--habit-border-glow);
  box-shadow: var(--habit-shadow-deep);
  transition: transform 0.25s ease;
}

.webinar-feature-cell:hover {
  transform: translateY(-4px);
}

.webinar-feature-icon-circle {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--habit-accent-glow);
  color: var(--habit-accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.webinar-feature-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--habit-text-bright);
  margin-bottom: 0.5rem;
}

/* Content 2 Strip */
.desk-cover-strip {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--habit-shadow-deep);
}

.desk-cover-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desk-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.desk-check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  color: #e2e8f0;
  font-size: 1rem;
}

.desk-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--habit-accent-bright);
  font-weight: bold;
}

/* Testimonials: Minimal Style with Border Bottom */
.desk-testimonials-list {
  display: flex;
  flex-direction: column;
}

.active-review-row {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.active-review-row:last-child {
  border-bottom: none;
}

.active-review-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.active-review-quote {
  font-size: 1.1rem;
  color: var(--habit-text-bright);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.active-review-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--habit-accent-bright);
}

/* Form: Floating Card Style (Max 700px) */
.webinar-form-card {
  max-width: 700px;
  width: 100%;
  background: var(--habit-bg-elevated);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--habit-shadow-deep);
  border: 1px solid var(--habit-border-glow);
}

.desk-address-box {
  background: rgba(30, 41, 59, 0.5);
  padding: 1.25rem;
  border-radius: 12px;
  font-style: normal;
}

.desk-address-title {
  font-weight: 700;
  color: var(--habit-accent-bright);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.desk-address-content {
  color: var(--habit-text-muted);
  font-size: 0.875rem;
}

.desk-address-email {
  font-size: 0.85rem;
  color: var(--habit-text-bright);
  word-break: break-all;
}

.desk-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.desk-form-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.desk-form-input:focus {
  border-color: var(--habit-accent-glow);
}

/* FAQ: Large Decor Number Font Size 5rem Opacity 0.08 */
.habit-faq-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.posture-faq-box {
  position: relative;
  background: var(--habit-bg-surface);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.posture-faq-num {
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: #ffffff;
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.posture-faq-body {
  position: relative;
  z-index: 10;
}

.posture-faq-question {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--habit-text-bright);
  margin-bottom: 0.5rem;
}

/* Footer */
.office-footer-shell {
  background: #070a14;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.office-footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.office-footer-wrap img {
  height: 38px;
  width: auto;
}

.office-footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.office-footer-links a {
  color: var(--habit-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.office-footer-links a:hover {
  color: var(--habit-accent-bright);
}

@media (max-width: 768px) {
  .office-footer-wrap {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .office-footer-links {
    flex-direction: column;
    gap: 0.85rem;
  }
}