/* Quenyx — ported from Lovable export (styles.css + layout) */
:root {
  --radius: 10px;
  --background: #fafbfc;
  --foreground: #1e293b;
  --primary: #ff5c00;
  --primary-foreground: #ffffff;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --gradient-primary: linear-gradient(135deg, #e8230a 0%, #ff5c00 60%, #ff8c00 100%);
  --gradient-hero: radial-gradient(1200px 600px at 80% -10%, rgba(255, 92, 0, 0.1) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(30, 58, 138, 0.06) 0%, transparent 55%), #fafbfc;
  --brand-red: #e8230a;
  --devops-green: #4ade80;
  --industries-bg: #1e293b;
  --container: 1280px;
  --header-h: 60px;
  --site-gutter: 1.5rem;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: var(--font-ar);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container,
.page-inset {
  width: min(100% - var(--site-gutter) * 2, var(--container));
  margin-inline: auto;
}

/* —— Header (Nav.tsx) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
}

.brand-name {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--foreground);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.85);
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #0f172a;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: #fafbfc;
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-size: 0.9375rem;
  color: rgba(15, 23, 42, 0.8);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-sticky-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  background: var(--gradient-primary);
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-sticky-cta {
    display: none;
  }
}

@media (max-width: 1023px) {
  .header-early-access,
  .nav-cta-text,
  .header-actions .btn-header {
    display: none;
  }
}

.header-early-access {
  display: none;
}

@media (min-width: 1024px) {
  .header-early-access {
    display: inline-flex;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(232, 35, 10, 0.45);
}

.btn-ghost,
.nav-cta-text {
  background: transparent;
  color: #1e293b;
  border: 1.5px solid rgba(15, 23, 42, 0.18);
}

.btn-ghost:hover,
.nav-cta-text:hover {
  border-color: #1e293b;
  background: rgba(15, 23, 42, 0.03);
  transform: none;
}

.btn-dark {
  background: #0f172a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
}

.btn-header {
  padding: 0.5rem 1rem;
}

/* —— Surfaces —— */
.bg-hero-light {
  background: var(--gradient-hero);
}

.bg-grid {
  background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.text-gradient-brand {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-surface {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card-surface:hover {
  border-color: rgba(255, 92, 0, 0.35);
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.12);
}

.section-label,
.eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0f172a;
}

.section-lead {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  max-width: 42rem;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head.centered {
  text-align: center;
}

.section-head.centered .section-lead {
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: #fafbfc;
}

.section-white {
  background: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - var(--header-h));
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  pointer-events: none;
  bottom: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(232, 35, 10, 0.1) 0%, rgba(255, 92, 0, 0.05) 40%, transparent 70%);
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  padding: 4rem 0 5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b94100;
  background: rgba(255, 92, 0, 0.1);
  border: 1px solid rgba(255, 92, 0, 0.25);
  margin-bottom: 1.5rem;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.hero-line {
  display: block;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  max-width: 34rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-audience-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.audience-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.audience-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audience-label.exec {
  color: var(--primary);
}

.audience-label.devops {
  color: var(--devops-green);
}

.hero-promo {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 36rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgba(255, 92, 0, 0.25);
  border-radius: 12px;
  box-shadow: 0 6px 20px -12px rgba(15, 23, 42, 0.15);
  margin-bottom: 2rem;
}

.hero-promo strong {
  color: #b94100;
}

.hero-promo p {
  font-size: 0.875rem;
  color: #475569;
}

.hero-regions {
  font-size: 0.75rem;
  color: rgba(30, 41, 59, 0.55);
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stats-grid .card-surface {
  padding: 1.5rem;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 900;
}

.stat-label {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* —— Offer —— */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.offer {
  padding: 2rem 2.25rem;
  border-radius: 14px;
}

.offer-saas {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  border-radius: 14px;
}

.offer-managed {
  background: var(--gradient-primary);
  color: #fff;
}

.tag-product {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.tag-green {
  background: rgba(74, 222, 128, 0.12);
  color: var(--devops-green);
}

.tag-dark {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.offer-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.offer-managed .offer-tag {
  color: rgba(255, 255, 255, 0.8);
}

.offer h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.offer-audience-green {
  color: var(--devops-green);
  font-weight: 600;
  font-size: 0.9375rem;
}

.offer-audience-light {
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}

.offer > p:not(.offer-tag):not(.offer-audience) {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin: 0.75rem 0 1rem;
}

.offer-managed > p:not(.offer-tag):not(.offer-audience) {
  color: rgba(255, 255, 255, 0.85);
}

.offer ul {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.offer-saas li {
  color: #1e293b;
}

.offer-managed li {
  color: #fff;
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.offer-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.offer-link-light {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 4px;
}

.offer-hint {
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2rem;
}

/* —— Outcomes —— */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.outcome {
  padding: 2rem;
}

.outcome-icon {
  margin-bottom: 1rem;
}

.outcome h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.outcome p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.outcome a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* —— Steps —— */
.steps-wrap {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
}

.steps-track {
  display: none;
}

@media (min-width: 768px) {
  .steps-track {
    display: block;
    position: absolute;
    top: 24px;
    left: 16%;
    right: 16%;
    height: 0;
    border-top: 1px dashed rgba(255, 92, 0, 0.3);
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* —— Why —— */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
  }
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.why-feature {
  padding: 1.25rem;
}

.why-feature-icon {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.why-feature h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

.why-feature p {
  display: none;
}

/* —— Modules —— */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.module {
  padding: 1.5rem;
}

.qyn-name {
  font-weight: 700;
  font-size: 1.125rem;
}

.qyn-name .qyn {
  color: var(--primary);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.badge-live {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--devops-green);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.module p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.modules-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* —— Industries —— */
.industries-section {
  background: var(--industries-bg);
  color: #fafbfc;
  padding: 5rem 0;
}

.industries-section .section-label {
  color: var(--brand-red);
  text-align: center;
}

.industries-section .section-title {
  color: #fff;
  text-align: center;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry {
  padding: 1.5rem;
  border-radius: 16px;
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s;
}

.industry:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.industry h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0.5rem 0;
}

.industry p {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.industry-tags span {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(232, 35, 10, 0.08);
  color: var(--brand-red);
  margin-right: 0.35rem;
}

.industries-more {
  text-align: center;
  margin-top: 2.5rem;
}

.industries-more a {
  font-weight: 700;
  color: var(--brand-red);
}

/* —— Split CTA —— */
.cta-band {
  padding: 0;
}

.cta-band-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cta-panel {
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
}

.cta-self {
  background: #fff;
}

.cta-managed {
  background: var(--gradient-primary);
  color: #fff;
}

.cta-panel .pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.cta-self .pill {
  background: rgba(74, 222, 128, 0.1);
  color: var(--devops-green);
}

.cta-managed .pill {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.cta-panel h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.cta-panel > p {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  max-width: 28rem;
}

.cta-managed > p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-panel ul {
  list-style: none;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
}

.cta-panel li {
  margin-bottom: 0.35rem;
}

/* —— Inner pages —— */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0f172a;
}

.page-hero-lead {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  color: #475569;
  max-width: 40rem;
  line-height: 1.7;
}

.contact-bar {
  background: #fff;
  border-block: 1px solid var(--border);
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.contact-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
}

.contact-bar a:hover {
  color: var(--primary);
}

.content-grid {
  display: grid;
  gap: 1rem;
}

.content-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.content-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.pill-live {
  background: rgba(74, 222, 128, 0.12);
  color: var(--devops-green);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.pill-saas {
  background: rgba(74, 222, 128, 0.1);
  color: var(--devops-green);
}

/* —— Footer —— */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 4rem 0 0;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .site-footer {
    padding-bottom: 1.5rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 0;
}

.footer-main {
  padding-bottom: 2.5rem;
}

.footer-bar {
  border-top: 1px solid #e2e8f0;
}

.footer-bar .footer-bottom {
  border-top: none;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.45rem;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a:hover {
  color: var(--primary);
}

/* —— Help widget —— */
.help-widget {
  position: fixed;
  right: 1rem;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

@media (min-width: 1024px) {
  .help-widget {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

.help-panel {
  width: 16rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.help-options {
  padding: 0.5rem;
}

.help-option-loose {
  display: block;
  padding: 0.75rem;
  border-radius: 10px;
  border: none;
  border-top: none;
  transition: background 0.15s;
}

.help-option-loose:first-child {
  border-top: none;
}

.help-option-loose:hover {
  background: #f1f5f9;
}

.help-option-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

.help-option-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.contact-page-hero {
  position: relative;
  background: #fff;
  overflow: hidden;
  padding-bottom: 2.5rem;
}

.contact-page-hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.15) 0%, transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.contact-page-hero-inner {
  position: relative;
  max-width: 48rem;
  padding-top: calc(var(--header-h) + 2rem);
}

.contact-back {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.contact-page-title {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.contact-page-lead {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: #475569;
  line-height: 1.7;
  max-width: 40rem;
}

.lead-form-intro {
  margin-bottom: 1.5rem;
}

.lead-form-heading {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
}

.phone-row {
  grid-template-columns: 6.5rem 1fr;
}

.field .req {
  color: var(--primary);
}

.contact-form-alt {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-form-alt a {
  color: var(--primary);
  font-weight: 600;
}

.contact-chooser-hero {
  text-align: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-chooser-hero-inner {
  max-width: 48rem;
  margin-inline: auto;
  padding: calc(var(--header-h) + 1.25rem) 1.5rem 2.5rem;
}

.contact-chooser-h1 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.contact-chooser-lead {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  max-width: 36rem;
  margin-inline: auto;
}

.contact-free-pill {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: rgba(255, 92, 0, 0.1);
  border: 1px solid rgba(255, 92, 0, 0.25);
  color: #b94100;
}

.contact-chooser-panel {
  position: relative;
  overflow: hidden;
}

.contact-chooser-panel-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 23.75rem;
  height: 100%;
}

.contact-chooser-title {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.contact-split-brand .contact-chooser-title {
  color: #fff;
}

.contact-chooser-desc {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 28rem;
}

.contact-chooser-desc-light {
  color: rgba(255, 255, 255, 0.85);
}

.contact-chooser-cta {
  margin-top: auto;
  padding-top: 1.75rem;
  align-self: flex-start;
}

.contact-chooser-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.15) 0%, transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.contact-chooser-icon {
  font-size: 2.5rem;
  margin-top: 1rem;
}

.contact-chooser-list {
  color: #1e293b;
}

.contact-split-brand .contact-chooser-list {
  color: rgba(255, 255, 255, 0.95);
}

.contact-rule-section {
  text-align: center;
  background: #fafbfc;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .contact-rule-section {
    padding: 5rem 0;
  }
}

.contact-rule {
  max-width: 40rem;
  margin-inline: auto;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.help-panel[hidden] {
  display: none;
}

.help-header {
  padding: 1rem;
  background: var(--gradient-primary);
  color: #fff;
}

.help-header p {
  font-size: 0.875rem;
  font-weight: 700;
}

.help-header span {
  font-size: 0.75rem;
  opacity: 0.85;
}

.help-option {
  display: block;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  transition: background 0.15s;
}

.help-option:hover {
  background: #f1f5f9;
}

.help-option-text strong {
  display: block;
  font-size: 0.875rem;
}

.help-option-text span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.help-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 900;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 10px 30px -6px rgba(232, 35, 10, 0.55);
}

.help-fab-x {
  display: none;
  font-size: 1.5rem;
}

.help-widget.is-open .help-fab-q {
  display: none;
}

.help-widget.is-open .help-fab-x {
  display: block;
}

.contact-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* —— Forms —— */
.contact-form-wrap {
  max-width: 40rem;
  margin-inline: auto;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #fff;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

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

.form-status.ok {
  color: var(--devops-green);
}

.form-status.err {
  color: var(--brand-red);
}

.about-cta-inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  padding: 4rem 0;
}

.about-hero {
  padding-bottom: 3rem;
}

.about-hero-inner {
  position: relative;
  max-width: 56rem;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 2rem;
}

.about-hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0f172a;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.about-loc-card {
  padding: 1.25rem;
}

.about-loc-wide {
  grid-column: 1 / -1;
}

.about-loc-flag {
  font-size: 1.75rem;
}

.about-loc-name {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #0f172a;
}

.about-loc-meta {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
}

.about-loc-coverage {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

.about-values {
  margin-top: 2rem;
}

.about-value-card {
  padding: 2rem;
}

.about-value-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

.about-value-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.7;
}

.about-cta-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
}

@media (max-width: 960px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }
}

.hero-gradient {
  background: var(--gradient-primary);
  color: #fff;
}

.hero-gradient-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-gradient-lead {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.btn-ghost-on-dark {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section-dark {
  background: #1e293b;
  color: #fafbfc;
}

.section-dark .section-title {
  color: #fff;
}

.platform-delivered-section {
  padding: 5rem 0;
}

.platform-delivered-label {
  color: #e8230a !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.platform-delivered-title {
  color: #fff;
  margin-bottom: 2.5rem;
}

.platform-delivered-grid {
  margin-top: 0;
}

.platform-delivered-card {
  padding: 1.5rem;
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1rem;
}

.platform-delivered-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0.75rem;
}

.platform-delivered-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

.platform-delivered-icon {
  font-size: 1.875rem;
  line-height: 1;
}

.services-filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.services-filter-inner {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  scrollbar-width: none;
}

.services-filter-inner::-webkit-scrollbar {
  display: none;
}

.services-filter-btn {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: color 0.2s;
}

.services-filter-btn.is-active {
  color: #fff;
}

.services-filter-btn:hover {
  color: #e2e8f0;
}

.services-filter-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  border-radius: 999px;
  background: var(--gradient-primary);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#services-grid [data-svc-cat].is-filter-hidden {
  display: none !important;
}

.section-head-center {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.module-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.module-popular {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient-primary);
}

.module {
  position: relative;
}

.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-cta-panel {
  padding: 2.5rem 2rem;
}

.split-cta-light {
  background: #fff;
}

.split-cta-brand {
  background: var(--gradient-primary);
  color: #fff;
}

.split-cta-brand p {
  color: rgba(255, 255, 255, 0.85);
}

.split-cta-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  font-size: 0.875rem;
}

.pill-light {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-split-panel {
  padding: 2.5rem 1.5rem;
  min-height: 23.75rem;
}

@media (min-width: 768px) {
  .contact-split-panel {
    padding: 2.5rem 4rem;
  }
}

.contact-split-light {
  background: #fff;
}

.contact-split-brand {
  background: var(--gradient-primary);
  color: #fff;
}

.contact-split-brand p {
  color: rgba(255, 255, 255, 0.85);
}

.industry-card {
  overflow: hidden;
  padding: 0;
}

.industry-accent {
  height: 6px;
  background: var(--gradient-primary);
}

.compliance-card {
  position: relative;
  padding-left: 2rem;
  overflow: hidden;
}

.compliance-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
}

.compliance-card-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.compliance-card-meta .compliance-flag {
  font-size: 1rem;
  line-height: 1;
}

.compliance-card-code {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.compliance-card-name {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.compliance-pdca-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.compliance-pdca-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.compliance-pdca-grid::before {
  content: "";
  display: none;
}

@media (min-width: 768px) {
  .compliance-pdca-grid::before {
    display: block;
    position: absolute;
    top: 1.5rem;
    left: 12%;
    right: 12%;
    height: 0;
    border-top: 1px dashed rgba(255, 92, 0, 0.35);
    z-index: 0;
  }
}

.compliance-pdca-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.compliance-pdca-num {
  width: 3rem;
  height: 3rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
}

.compliance-pdca-step h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.compliance-pdca-step p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (max-width: 960px) {
  .compliance-pdca-grid {
    grid-template-columns: 1fr;
  }

  .compliance-pdca-grid::before {
    display: none;
  }
}

.pricing-accent {
  box-shadow: 0 20px 40px -20px rgba(255, 92, 0, 0.35);
  outline: 2px solid var(--primary);
}

.pricing-features {
  list-style: none;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}

.pricing-features li {
  margin-bottom: 0.35rem;
  padding-left: 1.25rem;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.svc-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--muted-foreground);
  cursor: pointer;
}

.chip-block {
  border-radius: 8px;
  text-align: left;
  padding: 0.65rem 0.75rem;
}

.chip.is-active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.lead-form .form-status {
  min-height: 1.25rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 960px) {
  .split-cta,
  .contact-split {
    grid-template-columns: 1fr;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .offer-grid,
  .outcomes,
  .steps,
  .modules-grid,
  .industries-grid,
  .cta-band-split,
  .footer-grid,
  .content-grid.cols-2,
  .content-grid.cols-3,
  .stats-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .why-features {
    grid-template-columns: 1fr 1fr;
  }
}

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

[dir="rtl"] .help-widget {
  right: auto;
  left: 1rem;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .header-inner,
html[dir="rtl"] .hero-inner,
html[dir="rtl"] .section-head.centered,
html[dir="rtl"] .footer-bottom {
  text-align: inherit;
}

html[dir="rtl"] .site-header .header-inner {
  direction: rtl;
}

html[dir="rtl"] .nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-actions,
html[dir="rtl"] .offer-actions,
html[dir="rtl"] .hero-split {
  direction: rtl;
}

html[dir="rtl"] .why-feature {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] .module-top,
html[dir="rtl"] .outcome,
html[dir="rtl"] .step,
html[dir="rtl"] .offer-tag,
html[dir="rtl"] .footer-bottom {
  direction: rtl;
}

html[dir="rtl"] .mobile-sticky-cta {
  direction: rtl;
}

html[dir="rtl"] .form-row,
html[dir="rtl"] .phone-row,
html[dir="rtl"] .lead-form-grid {
  direction: rtl;
}

html[dir="rtl"] .contact-chooser-cta {
  align-self: flex-end;
}

html[dir="rtl"] .contact-chooser-panel-inner {
  text-align: right;
}

html[dir="rtl"] .contact-chooser-lead,
html[dir="rtl"] .contact-chooser-hero {
  text-align: center;
}

html[dir="rtl"] .help-panel,
html[dir="rtl"] .help-option {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .steps-track {
  transform: scaleX(-1);
}

html[dir="rtl"] .steps {
  direction: rtl;
}

@media (min-width: 768px) {
  html[dir="rtl"] .footer-bottom {
    flex-direction: row-reverse;
    text-align: right;
  }
}
