@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-void: #08090c;
  --bg-primary: #0d1017;
  --bg-surface: #121722;
  --bg-elevated: #171d2a;
  --bg-card: rgba(255, 255, 255, 0.045);
  --text-100: #f7f8fb;
  --text-200: #c5cbd8;
  --text-300: #818a9d;
  --text-400: #566070;
  --flame-100: #ffb15e;
  --flame-200: #f47a2a;
  --flame-300: #c94e20;
  --crimson: #c5392d;
  --accent-flame: #f47a2a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text-100);
  background:
    linear-gradient(180deg, rgba(244, 122, 42, 0.05), transparent 420px),
    var(--bg-void);
  line-height: 1.65;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 75%);
}

/* Ensure [hidden] always wins over any display rule */
[hidden] { display: none !important; }

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
  background: #2d3544;
  border-radius: 99px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem);
  transition: 0.28s ease;
}

.navbar.scrolled {
  padding-block: 0.75rem;
  background: rgba(8, 9, 12, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  width: clamp(190px, 15vw, 250px);
  height: auto;
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
}

.nav-logo-fallback {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--text-300);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  border-radius: 99px;
  background: var(--flame-200);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-100);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--flame-200), var(--crimson));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px rgba(244, 122, 42, 0.28);
}

.nav-links .nav-cta::after {
  display: none;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--text-200);
  border-radius: 99px;
  transition: 0.25s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8.5rem clamp(1.25rem, 4vw, 3.5rem) 4rem;
}

.hero-mesh,
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-mesh {
  background:
    radial-gradient(ellipse 62% 52% at 82% 20%, rgba(244, 122, 42, 0.22), transparent 62%),
    radial-gradient(ellipse 42% 44% at 12% 82%, rgba(197, 57, 45, 0.13), transparent 65%),
    linear-gradient(135deg, #0c111b 0%, #090a0e 48%, #130b0b 100%);
}

.hero-grid {
  opacity: 0.55;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 55% 45%, #000 0%, transparent 74%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 38px;
  margin-bottom: 1.4rem;
  padding: 0.28rem 0.45rem 0.28rem 0.52rem;
  color: var(--text-200);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.hero-badge::before {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--flame-100);
  box-shadow: 0 0 18px var(--flame-200);
}

.hero-badge span {
  color: var(--flame-100);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  color: var(--text-100);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-title {
  max-width: 760px;
  margin-bottom: 1.35rem;
  color: var(--text-100);
  font-size: clamp(3rem, 6.4vw, 5.9rem);
  font-weight: 700;
  overflow-wrap: normal;
}

.flame-word {
  display: inline-block;
  color: transparent;
  background: linear-gradient(135deg, var(--flame-100), var(--flame-200) 50%, var(--crimson));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 2rem;
  color: var(--text-200);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.78;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s var(--ease-out), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--flame-200), var(--crimson));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 38px rgba(244, 122, 42, 0.28);
}

.btn-secondary {
  color: var(--text-100);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0 20px 50px rgba(244, 122, 42, 0.34);
}

.btn-secondary:hover {
  border-color: rgba(244, 122, 42, 0.48);
  background: rgba(244, 122, 42, 0.09);
}

.platform-shell {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(13, 16, 23, 0.78);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.platform-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(244, 122, 42, 0.18), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(255, 177, 94, 0.16), transparent 34%);
  pointer-events: none;
}

.platform-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  height: 48px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
}

.platform-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.platform-topbar span:first-child {
  background: var(--flame-200);
}

.platform-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 422px;
}

.platform-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  padding: 1.35rem 0;
  border-right: 1px solid var(--line);
}

.platform-sidebar span {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.platform-sidebar .active {
  background: linear-gradient(135deg, var(--flame-200), var(--crimson));
}

.platform-main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: 1.25rem;
}

.platform-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.platform-kpis div,
.platform-chart,
.platform-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(8, 9, 12, 0.42);
}

.platform-kpis div {
  min-height: 72px;
  padding: 0.75rem 0.9rem;
}

.platform-kpis span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-300);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.platform-kpis strong {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.65rem;
}

.platform-chart {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  min-height: 190px;
  padding: 1rem;
}

.platform-chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--flame-100), var(--flame-200) 55%, rgba(244, 122, 42, 0.28));
  box-shadow: 0 12px 30px rgba(244, 122, 42, 0.2);
}

.platform-table {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
}

.platform-table span {
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
}

.platform-table span:nth-child(2) {
  width: 78%;
}

.platform-table span:nth-child(3) {
  width: 88%;
}

.platform-table span:nth-child(4) {
  width: 66%;
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.hero-stats > div {
  min-height: 112px;
  padding: 1.2rem;
  background: rgba(13, 16, 23, 0.78);
}

.hero-stat-num {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--flame-100);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero-stat-label {
  color: var(--text-300);
  font-size: 0.82rem;
  line-height: 1.45;
}

section {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.section-header {
  max-width: 740px;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: block;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: var(--flame-100);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--flame-200);
}

.section-title {
  margin-bottom: 1rem;
  color: var(--text-100);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 700;
}

.section-subtitle {
  max-width: 650px;
  color: var(--text-300);
  font-size: 1.02rem;
  line-height: 1.76;
}

.services-section,
.why-section,
.contact-section {
  position: relative;
  background: var(--bg-primary);
}

.about-section,
.clients-section {
  background: var(--bg-void);
}

.services-grid,
.why-grid,
.clients-grid,
.about-stats {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow-md);
}

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

.service-card,
.why-card,
.client-badge,
.stat-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  transition: transform 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}

.service-card.visible,
.why-card.visible {
  transition: background 0.25s ease;
}

.service-card {
  min-height: 300px;
  padding: 2rem;
}

.service-card::before,
.why-card::before,
.client-badge::before,
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 122, 42, 0.13), transparent 48%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover,
.why-card:hover,
.client-badge:hover,
.stat-card:hover {
  background: var(--bg-elevated);
}

.service-card:hover::before,
.why-card:hover::before,
.client-badge:hover::before,
.stat-card:hover::before {
  opacity: 1;
}

.service-card-beam {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--flame-200), var(--crimson));
}

.service-num {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
}

.service-icon,
.why-icon,
.badge-icon,
.ci-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(244, 122, 42, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(244, 122, 42, 0.1);
  font-size: 1.22rem;
}

.service-card h3,
.why-card h3 {
  position: relative;
  margin-bottom: 0.75rem;
  color: var(--text-100);
  font-size: 1.16rem;
}

.service-card p,
.why-card p {
  position: relative;
  color: var(--text-300);
  font-size: 0.93rem;
  line-height: 1.72;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(2rem, 7vw, 5.5rem);
  align-items: center;
}

.about-text p {
  margin-bottom: 1.05rem;
  color: var(--text-300);
  font-size: 1rem;
  line-height: 1.82;
}

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

.stat-card {
  min-height: 162px;
  padding: 1.7rem 1.25rem;
}

.stat-number {
  position: relative;
  display: block;
  margin-bottom: 0.45rem;
  color: var(--flame-100);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  font-weight: 700;
}

.stat-label {
  position: relative;
  color: var(--text-300);
  font-size: 0.86rem;
  line-height: 1.45;
}

.why-grid {
  grid-template-columns: repeat(4, 1fr);
}

.why-card {
  min-height: 290px;
  padding: 2rem 1.5rem;
}

.why-icon {
  margin-bottom: 1.1rem;
}

.clients-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.clients-intro .section-eyebrow {
  justify-content: center;
}

.clients-intro .section-eyebrow::before {
  display: none;
}

.clients-intro .section-subtitle {
  margin-inline: auto;
}

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

.client-badge {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.4rem;
}

.badge-icon {
  flex: 0 0 auto;
  font-size: 1.35rem;
}

.badge-title {
  color: var(--text-100);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
}

.clients-tagline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.9rem;
  color: var(--text-200);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.86rem;
}

.ti-icon {
  margin-right: 0.4rem;
  color: var(--flame-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-items {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.contact-item .ci-icon {
  flex: 0 0 auto;
  margin: 0;
}

.ci-label {
  margin-bottom: 0.2rem;
  color: var(--flame-100);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ci-value {
  color: var(--text-200);
  font-size: 0.94rem;
  line-height: 1.58;
}

.ci-value a {
  color: var(--text-100);
  text-decoration: none;
}

.ci-value a:hover {
  color: var(--flame-100);
}

.gst-tag {
  display: inline-flex;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-200);
  background: rgba(255, 255, 255, 0.05);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
}

/* ─── CONTACT FORM ─── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cf-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-200);
  letter-spacing: 0.02em;
}

.cf-req { color: var(--flame-200); }

.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-100);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--text-400); }

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--flame-200);
  box-shadow: 0 0 0 3px rgba(244, 122, 42, 0.12);
}

.cf-field input.cf-invalid,
.cf-field select.cf-invalid,
.cf-field textarea.cf-invalid {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(197, 57, 45, 0.12);
}

.cf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23818a9d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.cf-field select option { background: var(--bg-elevated); color: var(--text-100); }

.cf-field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

.cf-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
}

.cf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.cf-btn-icon { transition: transform 0.25s ease; }
.cf-submit:not(:disabled):hover .cf-btn-icon { transform: translateX(4px); }

.cf-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-sm);
  color: #4ade80;
  font-size: 0.875rem;
  font-weight: 500;
}

.cf-error {
  padding: 0.85rem 1rem;
  background: rgba(197, 57, 45, 0.08);
  border: 1px solid rgba(197, 57, 45, 0.25);
  border-radius: var(--radius-sm);
  color: #f87171;
  font-size: 0.875rem;
}

.cf-error a { color: var(--flame-100); }

footer {
  padding: 4rem clamp(1.25rem, 4vw, 3.5rem) 2rem;
  background: #06070a;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand img {
  width: clamp(220px, 22vw, 320px);
  height: auto;
  max-height: 136px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.75rem;
}


.footer-brand p {
  max-width: 420px;
  color: var(--text-300);
  font-size: 0.92rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--text-100);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-300);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--flame-100);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.5rem;
  color: var(--text-400);
  font-size: 0.82rem;
}

.footer-gst {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
}

.page-header {
  position: relative;
  overflow: hidden;
  padding: 9rem clamp(1.25rem, 4vw, 3.5rem) 4rem;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(244, 122, 42, 0.18), transparent 50%),
    var(--bg-primary);
  border-bottom: 1px solid var(--line);
}

.page-header-inner {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.page-header h1 {
  max-width: 780px;
  margin-bottom: 0.75rem;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.last-updated {
  color: var(--text-300);
  font-size: 0.9rem;
}

.page-content {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 4.5rem clamp(1.25rem, 4vw, 3.5rem) 6rem;
}

.policy-notice,
.policy-contact-box {
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  color: var(--text-200);
  background: rgba(244, 122, 42, 0.08);
  border: 1px solid rgba(244, 122, 42, 0.2);
  border-radius: var(--radius-md);
}

.policy-section {
  margin-bottom: 2.4rem;
}

.policy-section h2 {
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.55rem;
}

.policy-section h3 {
  margin: 1.1rem 0 0.4rem;
  color: var(--text-100);
  font-size: 1.08rem;
}

.policy-section p,
.policy-section li {
  color: var(--text-300);
  font-size: 0.98rem;
  line-height: 1.78;
}

.policy-section ul,
.policy-section ol {
  margin: 0.5rem 0 1rem 1.25rem;
}

.policy-section a {
  color: var(--flame-100);
  text-decoration: none;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navbar.scrolled,
  .nav-links,
  .platform-shell {
    background: rgba(8, 9, 12, 0.96);
  }
}

@media (max-width: 1060px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    width: min(720px, 100%);
  }

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

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cf-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(8, 9, 12, 0.96);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 0 0.8rem;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 6.5rem;
  }

  .hero-content {
    gap: 1.5rem;
    min-width: 0;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.65rem, 10.6vw, 4.2rem);
    overflow-wrap: break-word;
  }

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

  .platform-shell {
    min-height: 390px;
  }

  .platform-body {
    grid-template-columns: 54px 1fr;
    min-height: 342px;
  }

  .platform-kpis {
    grid-template-columns: 1fr;
  }

  .platform-kpis div {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  section,
  footer {
    padding-inline: 1rem;
  }

  .nav-logo img {
    width: 168px;
    max-height: 58px;
  }

  .hero-copy,
  .hero-subtitle,
  .hero-visual,
  .platform-shell,
  .hero-stats {
    width: min(100%, 328px);
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy {
    justify-self: start;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10.8vw, 3.25rem);
    line-height: 1.03;
    max-width: 328px;
  }

  .hero-badge {
    max-width: 100%;
    flex-wrap: wrap;
    white-space: normal;
    gap: 0.45rem;
    line-height: 1.25;
    padding: 0.52rem;
    border-radius: 16px;
  }

  .hero-badge strong {
    width: 100%;
    justify-content: center;
    padding: 0.45rem 0.65rem;
    text-align: center;
  }

  .hero-ctas,
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-stats,
  .services-grid,
  .why-grid,
  .clients-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .service-card,
  .why-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .client-badge,
  .contact-item {
    align-items: flex-start;
  }

  .platform-shell {
    min-height: 340px;
  }

  .platform-body {
    grid-template-columns: 1fr;
  }

  .platform-sidebar {
    display: none;
  }

  .platform-chart {
    min-height: 138px;
  }

  .platform-main {
    padding: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .hero-copy,
  .hero-subtitle,
  .hero-visual,
  .platform-shell,
  .hero-stats {
    width: min(100%, 328px);
  }

  .hero-title {
    max-width: 328px;
    font-size: clamp(2.25rem, 10vw, 3rem);
  }
}
