:root {
  --orange: #f36b16;
  --orange-dark: #dc5b0d;
  --orange-light: #fff0e7;
  --navy: #0b2f57;
  --navy-800: #164a78;
  --navy-700: #164a78;
  --footer-navy: #081e32;
  --peach: #fff4ef;
  --peach-dark: #fff0e7;
  --text: #172536;
  --text-muted: #5f6f7e;
  --border: #e6ddd8;
}

html {
  font-size: 16px;
}

body {
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

h1, h2, h3, h4 {
  color: var(--navy);
}

.btn,
.btn-sm,
.btn-lg {
  border-radius: 11px;
  font-weight: 700;
}

.btn-primary {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
}

.btn-outline-primary {
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline-primary:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* Announcement bar */
.announcement-bar {
  background: var(--navy);
  color: #d9e7ef;
  font-size: 0.82rem;
  padding: 0.5rem 0;
}

.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.announcement-bar strong {
  color: #fff;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.site-header .navbar {
  min-height: 82px;
}

.site-header .navbar-brand {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
  text-transform: uppercase;
  padding-left: 0.75rem;
  border-left: 1px solid #dfcfc7;
}

.site-header .nav-link {
  color: #344b5e;
  font-weight: 650;
  font-size: 0.92rem;
}

.site-header .nav-link:hover {
  color: var(--orange);
}

/* Eyebrow labels */
.eyebrow {
  display: block;
  text-align: center;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.95rem;
}

.eyebrow.text-start {
  text-align: left;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 85% 10%, #ffe3d2 0, transparent 31%), linear-gradient(180deg, var(--peach), #fff);
  padding: 5rem 0;
}

.hero .eyebrow {
  text-align: left;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.55rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 1.3rem;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero .lead {
  font-size: 1.13rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.hero-actions {
  margin: 1.875rem 0 1.625rem;
}

.hero-actions .btn {
  margin-right: 0.75rem;
}

.hero-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #496070;
}

.hero-checks li::before {
  content: "\2713";
  color: var(--orange);
  font-weight: 900;
  margin-right: 0.4rem;
}

/* Hero dashboard mockup */
.hero-mockup {
  background: #ffffff;
  border: 1px solid #cad9df;
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(11, 47, 87, 0.13);
  overflow: hidden;
  position: relative;
}

.hero-mockup-titlebar {
  background: var(--navy);
  color: #fff;
  font-size: 0.77rem;
  font-weight: 750;
  padding: 0.6rem 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-mockup-titlebar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7691a4;
}

.hero-mockup-body {
  display: flex;
}

.hero-mockup-sidebar {
  width: 34%;
  background: #f0f5f7;
  padding: 1rem 0.75rem;
  font-size: 0.75rem;
}

.hero-mockup-sidebar div {
  padding: 0.4rem 0.5rem;
  margin-bottom: 0.25rem;
  border-radius: 8px;
  color: #5a7180;
}

.hero-mockup-sidebar div.active {
  background: #ffffff;
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(12, 41, 68, 0.07);
}

.hero-mockup-main {
  flex: 1;
  padding: 1rem 1.1rem;
}

.hero-mockup-main .greeting {
  font-weight: 800;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.hero-mockup-main .greeting-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-mockup-stats {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.hero-mockup-stats .stat {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.5rem 0.6rem;
}

.hero-mockup-stats .stat .num {
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
}

.hero-mockup-stats .stat .label {
  font-size: 0.62rem;
  color: var(--text-muted);
}

.hero-mockup-actions-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.hero-mockup-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text);
  padding: 0.35rem 0;
  border-top: 1px solid #edf1f3;
}

.hero-mockup-action .flag {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-mockup-action .flag.due-soon { background: #ff9a3d; }
.hero-mockup-action .flag.ready { background: #217a5b; }
.hero-mockup-action .flag.upcoming { background: #ff9a3d; }

.hero-mockup-action .due {
  margin-left: auto;
  font-size: 0.55rem;
  background: var(--orange-light);
  color: #9b3d08;
  padding: 3px 6px;
  border-radius: 10px;
}

/* Sections */
.section {
  padding: 5.125rem 0;
}

.section-alt {
  background: #fff8f4;
}

.section-title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 0.875rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* Ownership cards */
.ownership-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: 17px;
  padding: 1.5625rem;
  height: 100%;
}

.card-badge {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3125rem 0.5625rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.ownership-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.85rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.check-list li {
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.check-list li::before {
  content: "\2713";
  color: var(--orange);
  font-weight: 900;
  position: absolute;
  left: 0;
}

/* Ownership cards use bullet markers, not checkmarks, to match the source design */
.ownership-card .check-list {
  color: #425a6c;
}

.ownership-card .check-list li {
  padding-left: 1.1rem;
  padding-top: 0.5625rem;
  padding-bottom: 0.5625rem;
  margin-bottom: 0;
  border-top: 1px solid #f0eae7;
}

.ownership-card .check-list li:first-child {
  border-top: none;
}

.ownership-card .check-list li::before {
  content: "\2022";
  font-weight: 900;
}

/* Compliance split section */
.compliance-copy .section-subtitle,
.compliance-copy .eyebrow,
.compliance-copy .section-title {
  text-align: left;
  margin-left: 0;
}

.compliance-copy .section-title {
  max-width: none;
}

.compliance-copy p.lead-copy {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.dark-card {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 2.0625rem;
}

.dark-card h3 {
  color: #fff;
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
}

.dark-card .dark-card-sub {
  color: #c8d9e3;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.dark-step {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 0.9375rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.dark-step .num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(243, 107, 22, 0.24);
  color: #ffc08f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.dark-step .step-title {
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.dark-step .step-desc {
  font-size: 0.86rem;
  color: #c8d9e3;
}

/* Workflow steps */
.workflow-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 17px;
  padding: 1.5625rem;
  height: 100%;
}

.workflow-card .num {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
}

.workflow-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.workflow-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Pricing */
.price-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4375rem;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--orange);
  box-shadow: 0 18px 42px rgba(243, 107, 22, 0.14);
}

.price-card .package-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 0.3125rem 0.5625rem;
  border-radius: 20px;
  margin-bottom: 0.3125rem;
}

.price-card.featured .package-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  background: var(--orange);
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 0.66rem;
  margin-bottom: 0;
}

.price-card h3 {
  font-size: 1.08rem;
  margin: 0.5rem 0;
}

.price-card .price {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--navy);
  margin-bottom: 0.1rem;
}

.price-card .price span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0;
}

.price-card .price-note {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 0.9rem;
}

.price-card .price-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.price-card .check-list {
  flex: 1;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
}

.price-card .check-list li {
  padding: 0.3125rem 0 0.3125rem 1.3rem;
  margin-bottom: 0;
}

.price-card .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  max-width: 780px;
  margin: 1.25rem auto 0;
}

/* CTA */
.cta-section {
  background: var(--navy);
  color: #fff;
  padding: 4.375rem 0;
}

.cta-section .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.875rem;
  flex-wrap: wrap;
}

.cta-section .cta-copy {
  flex: 1;
  min-width: 260px;
}

.cta-section .section-title {
  color: #fff;
  text-align: left;
  margin: 0 0 0.5rem;
  max-width: none;
  font-size: 2.35rem;
}

.cta-section .lead {
  color: #c8d9e3;
  margin: 0;
  text-align: left;
}

/* Footer */
.site-footer {
  background: var(--footer-navy);
  color: #b7cbd7;
  padding: 2.875rem 0 1.5rem;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.footer-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--peach);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}

.footer-tagline {
  color: #92a4b6;
  font-size: 0.86rem;
  max-width: 320px;
}

.footer-heading {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer ul li {
  margin-bottom: 0.4375rem;
  font-size: 0.86rem;
}

.site-footer a {
  color: #b7cbd7;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #274157;
  margin-top: 2.1875rem;
  padding-top: 1.125rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: #8298ac;
}

.footer-bottom a {
  color: #8298ac;
  margin-left: 1rem;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Demo booking modal */
.demo-modal-content {
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(11, 47, 87, 0.25);
}

.demo-modal-content .modal-body {
  padding: 1.75rem;
  position: relative;
}

.demo-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.demo-modal-close:hover {
  color: var(--navy);
}

.demo-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.4375rem;
}

.demo-modal-sub {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

#demoForm .form-label {
  font-weight: 750;
  font-size: 0.78rem;
  color: #4d6373;
  margin-bottom: 0.3125rem;
}

#demoForm .form-control,
#demoForm .form-select {
  border-radius: 9px;
  border-color: var(--border);
  padding: 0.625rem;
}

#demoForm .form-control:focus,
#demoForm .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 0.2rem rgba(243, 107, 22, 0.15);
}

.demo-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.demo-package-banner {
  background: var(--orange-light);
  color: var(--orange-dark);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.demo-package-banner strong {
  color: var(--navy);
}

.demo-phone-flag {
  background: #fff;
  border-color: var(--border);
  font-size: 1rem;
}

#demoForm .form-range {
  accent-color: var(--orange);
}

.demo-employees-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.3rem;
}

/* Demo modal inline result message */
.demo-inline-message {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.demo-inline-message.success {
  background: #e3f3ec;
  color: #1a5c44;
}

.demo-inline-message.error {
  background: #fdeaea;
  color: #a02222;
}

/* Floating SoulHR/SoulNext badge — fixed to the viewport, always visible */
.floating-badge {
  position: fixed;
  right: 1.125rem;
  bottom: 1.125rem;
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(12, 41, 68, 0.18);
}

.floating-badge-link {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.4375rem 0.5625rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.floating-badge-link.primary {
  background: var(--navy);
  color: #fff;
}

.floating-badge-link.primary:hover {
  background: var(--navy-800);
  color: #fff;
}

.floating-badge-link.secondary {
  color: var(--navy);
}

.floating-badge-link.secondary:hover {
  color: var(--orange-dark);
}

@media (max-width: 480px) {
  .floating-badge {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .floating-badge-link {
    padding: 0.4rem 0.55rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 767px) {
  .cta-section .cta-inner {
    text-align: center;
    justify-content: center;
  }

  .cta-section .section-title,
  .cta-section .lead {
    text-align: center;
  }
}
