/* ==========================================================================
   Dawamak — Simple, Modern, SEO-Friendly & Mobile-Responsive Stylesheet
   Brand Colors (Official Dawamak Logo):
   - Navy:  #091B5C | Deep Navy: #05103A
   - Gold:  #BD954C | Bright Gold: #E1AD49 | Soft Gold: #FDF8EE
   ========================================================================== */

:root {
  --navy: #091B5C;
  --navy-dark: #05103A;
  --navy-light: #153084;
  --gold: #BD954C;
  --gold-bright: #E1AD49;
  --gold-soft: #FDF8EE;
  --ink: #0F1A36;
  --muted: #5E6D85;
  --line: #E6ECF5;
  --soft: #F7F9FC;
  --white: #FFFFFF;
  --green: #10B981;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-sm: 0 6px 20px rgba(9, 27, 92, 0.05);
  --shadow: 0 18px 45px rgba(9, 27, 92, 0.10);
  --shadow-gold: 0 12px 28px rgba(189, 149, 76, 0.26);
  --font: "Inter", "Cairo", system-ui, -apple-system, sans-serif;
  --head: "Manrope", "Cairo", system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: "Cairo", sans-serif;
}

body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] .kicker {
  font-family: "Cairo", sans-serif;
  letter-spacing: 0 !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

h1, h2, h3, h4, h5 {
  font-family: var(--head);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-top: 0;
}

.section {
  padding: 76px 0;
  scroll-margin-top: 76px;
}

.container-xl {
  max-width: 1200px;
}

/* Section Headers */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #785313;
  background: var(--gold-soft);
  border: 1px solid rgba(189, 149, 76, 0.38);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-heading h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-heading h2 span {
  color: var(--gold);
}

.section-heading p {
  font-size: 16.5px;
  color: var(--muted);
  margin: 0;
}

/* Header */
.header {
  height: 78px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 997;
  transition: 0.25s;
}

body.scrolled .header {
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.header .logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.navmenu ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navmenu a {
  display: block;
  padding: 8px 13px;
  color: #3E4C66;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}

.navmenu a:hover,
.navmenu a.active {
  color: var(--navy);
  background: var(--gold-soft);
}

/* Buttons */
.btn-brand,
.btn-getstarted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 14px;
  border-radius: 12px;
  padding: 11px 20px;
  border: 0;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
}

.btn-brand:hover,
.btn-getstarted:hover {
  transform: translateY(-2px);
  color: var(--navy-dark);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 12px;
  padding: 11px 20px;
}

.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  background: var(--white);
}

.btn-outline-brand:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--navy);
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.lang-switch-btn:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

/* ==========================================================================
   Hero Section (Clean & Airy)
   ========================================================================== */
.hero {
  padding: 130px 0 64px;
  background:
    radial-gradient(circle at 85% 20%, rgba(189, 149, 76, 0.14), transparent 32%),
    linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-lead {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.hero-checks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-checks i {
  color: var(--navy);
  font-size: 16px;
}

/* Hero Replaceable Screenshot Composition */
.hero-visual-box {
  position: relative;
  padding-bottom: 20px;
}

.hero-dashboard-frame {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px;
  box-shadow: var(--shadow);
}

.hero-dashboard-frame img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.hero-phone-floating {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: 34%;
  max-width: 195px;
  background: var(--navy-dark);
  border: 4px solid var(--navy);
  border-radius: 24px;
  padding: 5px;
  box-shadow: 0 22px 50px rgba(5, 16, 58, 0.28);
}

body[dir="rtl"] .hero-phone-floating {
  right: auto;
  left: -12px;
}

.hero-phone-floating img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

/* ==========================================================================
   Core Features Section (Simple, Scannable Cards)
   ========================================================================== */
.features-section {
  background: var(--soft);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.category-badge i {
  color: var(--white);
}

.simple-feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.simple-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.sf-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  background: #EEF2FF;
  border: 1px solid rgba(9, 27, 92, 0.16);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.simple-feature-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--navy);
}

.simple-feature-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   3-Platform Screenshots Showcase (Employee App, Admin App, Web Dashboard)
   ========================================================================== */
.screenshots-section {
  background: var(--white);
}

.screenshot-card {
  background: var(--soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.screenshot-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.screenshot-card.highlight-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-color: var(--gold);
}

.screenshot-card.highlight-card h3 {
  color: var(--white);
}

.screenshot-card.highlight-card p {
  color: #CBD5E1;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--gold-soft);
  color: var(--navy);
  border: 1px solid rgba(189, 149, 76, 0.35);
  margin-bottom: 12px;
}

.highlight-card .platform-pill {
  background: var(--gold);
  color: var(--navy-dark);
}

.screenshot-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.screenshot-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.screenshot-img-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.screenshot-img-wrap.phone-wrap {
  max-width: 240px;
  margin: 0 auto;
  border-radius: 24px;
  background: var(--navy-dark);
  border: 3px solid #1E2E6E;
  padding: 6px;
}

.screenshot-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.screenshot-img-wrap.phone-wrap img {
  border-radius: 18px;
}

/* Multi-Admin & HR Roles Banner */
.roles-banner {
  margin-top: 32px;
  background: var(--gold-soft);
  border: 1px solid rgba(189, 149, 76, 0.35);
  border-radius: 20px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.roles-banner h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.roles-banner p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-pills span {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.role-pills span i {
  color: var(--navy);
}

/* ==========================================================================
   Pricing Section (Simple 3 Cards)
   ========================================================================== */
.pricing-section {
  background: var(--soft);
}

.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
  margin-top: 18px;
}

.pricing-toggle-wrap span.lbl {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.pricing-toggle-wrap span.lbl.active {
  color: var(--navy);
  font-weight: 800;
}

.switch-pill {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.switch-pill input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--navy);
  transition: 0.25s;
  border-radius: 34px;
}

.slider-round::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: var(--gold-bright);
  transition: 0.25s;
  border-radius: 50%;
}

.switch-pill input:checked + .slider-round::before {
  transform: translateX(22px);
}

.save-badge {
  background: #E8FBF3;
  color: #046C4E;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
}

.price-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.25s;
  position: relative;
}

.price-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.price-card.featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.price-card.featured h3,
.price-card.featured .price-amount,
.price-card.featured .price-features li {
  color: var(--white);
}

.price-card.featured p,
.price-card.featured .price-period {
  color: #CBD5E1 !important;
}

.popular-ribbon {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 99px;
}

body[dir="rtl"] .popular-ribbon {
  right: auto;
  left: 20px;
}

.plan-tier {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7A5414;
  display: block;
  margin-bottom: 4px;
}

.price-card.featured .plan-tier {
  color: var(--gold-bright);
}

.price-box {
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-card.featured .price-box {
  border-color: rgba(255, 255, 255, 0.14);
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--head);
}

.price-currency {
  font-size: 15px;
  font-weight: 800;
  color: #7A5414;
  margin-right: 4px;
}

.price-card.featured .price-currency {
  color: var(--gold-bright);
}

.price-period {
  font-size: 12.5px;
  color: var(--muted);
}

.price-yearly-val {
  display: none;
}

.yearly-mode .price-monthly-val {
  display: none;
}

.yearly-mode .price-yearly-val {
  display: inline;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
}

.price-features li i {
  color: var(--navy);
  flex-shrink: 0;
}

.price-card.featured .price-features li i {
  color: var(--white);
}

.unified-plan-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #EEF2FF;
  border: 1.5px solid rgba(9, 27, 92, 0.22);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 999px;
  margin-top: 14px;
}

.unified-plan-banner i {
  color: var(--navy);
  font-size: 16px;
}

.all-privileges-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 8px;
  background: #E8FBF3;
  color: #046C4E;
  margin-top: 10px;
}

.price-card.featured .all-privileges-pill {
  background: rgba(16, 185, 129, 0.22);
  color: #A7F3D0;
}

/* ==========================================================================
   FAQ & Contact Sections
   ========================================================================== */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 991px) {
  .faq-list {
    grid-template-columns: 1fr;
    max-width: 820px;
  }
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(9, 27, 92, 0.35);
}

.faq-item.faq-active {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  gap: 12px;
}

.faq-header h3 {
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
  font-weight: 800;
}

.faq-toggle {
  color: var(--navy);
  transition: 0.25s;
  flex-shrink: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content p {
  padding: 0 20px 16px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq-active .faq-content {
  max-height: 380px;
}

.faq-active .faq-toggle {
  transform: rotate(180deg);
  color: var(--navy);
}

/* Contact Section */
.contact-section {
  background: var(--soft);
}

.contact-card-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
}

.contact-card-info h3 {
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-card-info p {
  color: #CBD5E1;
  font-size: 14px;
  margin-bottom: 22px;
}

.contact-channel-list {
  display: grid;
  gap: 12px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 15px;
  border-radius: 14px;
  color: var(--white);
}

.contact-channel:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.contact-channel i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EEF2FF;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-channel small {
  display: block;
  font-size: 11px;
  color: #CBD5E1;
}

.contact-channel strong {
  font-size: 14px;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.form-control-custom {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
  background: var(--soft);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

/* Footer */
.footer {
  background: var(--navy-dark);
  color: #CBD5E1;
  padding: 56px 0 24px;
  border-top: 3px solid var(--gold);
}

.footer-logo {
  height: 54px;
  width: auto;
  margin-bottom: 14px;
}

.footer p {
  font-size: 13.5px;
  color: #94A3B8;
  max-width: 380px;
}

.footer h3,
.footer h4,
.footer h5 {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer a {
  display: block;
  color: #CBD5E1;
  font-size: 13px;
  margin: 8px 0;
}

.footer a:hover {
  color: var(--gold-bright);
}

.app-badges {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.app-badges a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--white);
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
}

.app-badges a i {
  color: var(--white);
  font-size: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #94A3B8;
}

/* Floating WhatsApp & Scroll Top */
.whatsapp-float-btn {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9998;
  background: #128C47;
  color: var(--white);
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(18, 140, 71, 0.35);
}

.whatsapp-float-btn:hover {
  background: #0F7A3E;
  color: var(--white);
  transform: translateY(-2px);
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  background: var(--gold);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--navy-dark);
  font-size: 22px;
  transition: 0.25s;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

#preloader {
  display: none;
}

.mobile-nav-toggle {
  background: transparent;
  border: 0;
  padding: 4px;
  line-height: 1;
  font-size: 28px;
  color: var(--navy);
  cursor: pointer;
}

/* ==========================================================================
   Mobile & Tablet Responsiveness
   ========================================================================== */
@media (max-width: 1199px) {
  .navmenu ul {
    display: none;
  }
  .mobile-nav-active .navmenu ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 78px 16px auto 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow);
    z-index: 999;
  }
}

@media (max-width: 991px) {
  .section {
    padding: 60px 0;
  }
  .hero {
    padding-top: 110px;
  }
  .hero-phone-floating {
    right: 8px;
    width: 30%;
  }
}

@media (max-width: 767px) {
  .header {
    height: 68px;
  }
  .header .logo img {
    height: 38px;
  }
  .header-actions {
    gap: 6px !important;
  }
  .lang-switch-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .btn-nav-login {
    padding: 7px 12px !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
    white-space: nowrap;
  }
  .hero {
    padding: 98px 0 48px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-lead {
    font-size: 15.5px;
  }
  .hero-phone-floating {
    position: relative;
    right: auto;
    left: auto;
    width: 65%;
    max-width: 220px;
    margin: -30px auto 0;
  }
  .contact-card-info,
  .contact-form-card,
  .price-card,
  .screenshot-card {
    padding: 22px 18px;
  }
  .whatsapp-float-btn span {
    display: none;
  }
  .whatsapp-float-btn {
    width: 48px;
    padding: 0;
    justify-content: center;
  }
}

/* ==========================================================================
   Dedicated Contact Us Page (contactus.html & contactus-en.html)
   ========================================================================== */
.contact-page-hero {
  padding: 132px 0 56px;
  background:
    radial-gradient(circle at 80% 15%, rgba(189, 149, 76, 0.16), transparent 36%),
    radial-gradient(circle at 15% 85%, rgba(9, 27, 92, 0.06), transparent 34%),
    linear-gradient(180deg, #F4F7FC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
}

.contact-page-hero h1 {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.contact-page-hero h1 span {
  color: var(--gold);
}

.contact-page-hero .hero-lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.breadcrumb-pill a {
  color: var(--navy);
}

.breadcrumb-pill a:hover {
  color: var(--gold);
}

.breadcrumb-pill .sep {
  color: var(--gold);
}

/* Regional Quick Contact Cards */
.regional-contact-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.regional-contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.rc-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.rc-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #EEF2FF;
  border: 1px solid rgba(9, 27, 92, 0.16);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.rc-icon.whatsapp-tone {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.3);
  color: #16A34A;
}

.rc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7A5414;
  margin-bottom: 2px;
}

.regional-contact-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: var(--navy);
}

.rc-number {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}

.rc-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.rc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--navy);
}

.rc-btn:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--navy);
}

.rc-btn.rc-btn-wa {
  background: #128C47;
  border-color: #128C47;
  color: var(--white);
}

.rc-btn.rc-btn-wa:hover {
  background: #0F7A3E;
  color: var(--white);
}

/* Official Company & Compliance Info Box inside Contact Card */
.company-details-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 24px 0 20px;
  padding-top: 20px;
}

.company-details-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-label-custom {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

textarea.form-control-custom {
  min-height: 115px;
  resize: vertical;
}

.support-dept-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}

.support-dept-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.support-dept-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.support-dept-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Performance & Fast Rendering Optimizations + Legal Pages
   ========================================================================== */
.features-section,
.screenshots-section,
.pricing-section,
#faq,
.contact-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 650px;
}

.legal-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 920px;
  margin: 0 auto;
}

.legal-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 767px) {
  .legal-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   Enterprise Integrations Section (ZKTeco / BioTime & ERPNext v15/v16)
   ========================================================================== */
.integrations-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(225, 173, 73, 0.14), transparent 36%),
    radial-gradient(circle at 12% 88%, rgba(21, 48, 132, 0.35), transparent 40%),
    linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.integrations-section .section-heading h2 {
  color: var(--white);
}

.integrations-section .section-heading h2 span {
  color: var(--gold-bright);
}

.integrations-section .section-heading p {
  color: #CBD5E1;
}

.integration-flagship-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.integration-flagship-card:hover {
  border-color: rgba(225, 173, 73, 0.55);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.integration-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.integration-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  box-shadow: 0 10px 24px rgba(189, 149, 76, 0.32);
}

.integration-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6EE7B7;
  padding: 5px 12px;
  border-radius: 999px;
}

.integration-flagship-card h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.integration-flagship-card > div > p {
  color: #CBD5E1;
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.integration-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: grid;
  gap: 10px;
}

.integration-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #E2E8F0;
  line-height: 1.5;
}

.integration-checklist li i {
  color: var(--gold-bright);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.integration-sync-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.integration-sync-pills span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  padding: 5px 11px;
  border-radius: 8px;
}

.sync-pipeline-banner {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(225, 173, 73, 0.35);
  border-radius: 20px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.sync-pipeline-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sync-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 27, 92, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.sync-step-pill i {
  color: var(--gold-bright);
}

/* Inline Self-Registration Module Checkboxes */
.reg-module-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reg-module-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--soft);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
}

.reg-module-pill:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.reg-module-pill input {
  accent-color: var(--navy);
  margin: 0;
}

