:root {
  --navy: #07111f;
  --black: #05070b;
  --panel: #0d1726;
  --panel-soft: rgba(13, 23, 38, 0.76);
  --graphite: #1b2430;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #a8b3c7;
  --blue: #1e7bff;
  --cyan: #21d4fd;
  --green: #35e59a;
  --amber: #f5b849;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 85% 5%, rgba(33, 212, 253, 0.12), transparent 28rem),
    radial-gradient(circle at 12% 35%, rgba(30, 123, 255, 0.12), transparent 30rem),
    linear-gradient(135deg, var(--black), var(--navy) 52%, #060b13);
  color: var(--text);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 58px);
  background: rgba(5, 7, 11, 0.58);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header[data-elevated="true"] {
  background: rgba(5, 7, 11, 0.88);
  border-bottom-color: var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: clamp(150px, 16vw, 210px);
  height: 48px;
  object-fit: contain;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.96);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 26px rgba(33, 212, 253, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  height: 38px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.lang-toggle span {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.lang-toggle .active {
  color: white;
  background: rgba(30, 123, 255, 0.92);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-cta,
.button-primary {
  color: white;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 44px rgba(30, 123, 255, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  backdrop-filter: blur(16px);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-secondary:hover {
  border-color: rgba(33, 212, 253, 0.55);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 132px clamp(18px, 5vw, 72px) 88px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.96) 0%, rgba(7, 17, 31, 0.84) 36%, rgba(5, 7, 11, 0.22) 100%),
    linear-gradient(0deg, rgba(5, 7, 11, 0.94) 0%, transparent 42%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, black 0%, transparent 72%);
  animation: drift 18s linear infinite;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero p,
.section-heading p,
.ai-copy p,
.cta-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(680px, 100%);
  margin-top: 42px;
}

.hero-metrics div,
.about-panel,
.timeline-card,
.service-card,
.testimonial-card,
.contact-form,
.ai-dashboard {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
}

.hero-metrics span,
.service-card p,
.timeline-item p,
.about-panel p,
.testimonial-card p,
.form-note,
.pain-grid article,
.starter-grid p,
.team-card p,
.process-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.compact-metrics strong {
  font-size: 20px;
}

.signal-card {
  position: absolute;
  right: clamp(18px, 6vw, 94px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(33, 212, 253, 0.25);
  border-radius: 8px;
  color: var(--text);
  background: rgba(5, 7, 11, 0.58);
  box-shadow: 0 18px 70px rgba(33, 212, 253, 0.12);
  backdrop-filter: blur(16px);
}

.signal-card-one {
  top: 28%;
  animation: float 6s ease-in-out infinite;
}

.signal-card-two {
  bottom: 21%;
  right: clamp(24px, 16vw, 220px);
  animation: float 7s ease-in-out infinite reverse;
}

.section {
  padding: 104px clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(920px, 100%);
  margin-bottom: 44px;
}

.section-heading.compact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: 32px;
  align-items: end;
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 22px;
}

.timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 32px;
}

.timeline-item {
  position: relative;
  z-index: 1;
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid rgba(33, 212, 253, 0.36);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(33, 212, 253, 0.08);
  font-weight: 800;
}

.timeline-line {
  position: absolute;
  left: 54px;
  right: 54px;
  top: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.about-panel {
  padding: 32px;
}

.about-panel > svg {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: var(--cyan);
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.stat-strip span,
.benefit-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.pillar-card {
  min-height: 420px;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(33, 212, 253, 0.5);
  background: rgba(13, 23, 38, 0.94);
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--cyan);
}

.service-category {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-more {
  margin-top: auto;
  width: fit-content;
  padding: 0;
  border: 0;
  color: var(--cyan);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.service-more:hover {
  color: var(--text);
}

.insight-section {
  padding: 48px clamp(18px, 5vw, 72px) 104px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.insight-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(248, 130, 47, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 130, 47, 0.09), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.insight-grid svg {
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  color: var(--amber);
}

.insight-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.pain-section {
  padding-top: 78px;
}

.pain-grid,
.starter-grid,
.team-grid,
.process-grid {
  display: grid;
  gap: 16px;
}

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

.pain-grid article,
.starter-grid article,
.team-card,
.process-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.pain-grid article {
  min-height: 154px;
  padding: 20px;
  color: var(--text);
  font-weight: 750;
}

.section-cta {
  margin-top: 28px;
}

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

.starter-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.starter-grid a {
  margin-top: auto;
  color: var(--cyan);
  font-weight: 800;
}

.trust-track .testimonial-card {
  min-height: 230px;
}

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

.team-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
}

.team-avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(248, 130, 47, 0.4);
  border-radius: 8px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(248, 130, 47, 0.88), rgba(30, 123, 255, 0.68));
  font-size: 23px;
  font-weight: 900;
}

.team-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.team-tags span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 800;
}

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

.process-grid article {
  min-height: 230px;
  padding: 24px;
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid rgba(33, 212, 253, 0.34);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(33, 212, 253, 0.08);
  font-weight: 900;
}

.ai-section,
.final-cta,
.benefits-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: center;
  margin: 40px clamp(18px, 5vw, 72px);
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(33, 212, 253, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 74% 22%, rgba(33, 212, 253, 0.18), transparent 28rem),
    linear-gradient(135deg, rgba(13, 23, 38, 0.94), rgba(5, 7, 11, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ai-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.ai-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.ai-list svg {
  color: var(--green);
}

.ai-dashboard {
  position: relative;
  min-height: 520px;
  padding: 22px;
  overflow: hidden;
}

.dashboard-top {
  display: flex;
  gap: 7px;
}

.dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.dashboard-orbit {
  position: relative;
  height: 300px;
  display: grid;
  place-items: center;
}

.dashboard-orbit::before {
  content: "";
  width: 250px;
  height: 250px;
  border: 1px solid rgba(33, 212, 253, 0.24);
  border-radius: 999px;
  animation: spin 18s linear infinite;
}

.core {
  position: absolute;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, rgba(30, 123, 255, 0.94), rgba(33, 212, 253, 0.88));
  box-shadow: 0 0 55px rgba(33, 212, 253, 0.32);
}

.core svg {
  width: 48px;
  height: 48px;
}

.node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(53, 229, 154, 0.6);
}

.node-one {
  top: 70px;
  right: 26%;
}

.node-two {
  left: 24%;
  top: 46%;
  background: var(--cyan);
}

.node-three {
  bottom: 56px;
  right: 34%;
  background: var(--amber);
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dashboard-cards div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-cards strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.dashboard-cards span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.industry-grid article {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
}

.industry-grid svg,
.benefit-list svg {
  flex: 0 0 auto;
  color: var(--cyan);
}

.benefits-section {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  padding: 26px;
}

.testimonial-card p {
  font-size: 17px;
}

.testimonial-card strong {
  color: var(--text);
}

.final-cta {
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  margin-bottom: 82px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.honeypot {
  display: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(33, 212, 253, 0.6);
}

.contact-form .invalid {
  border-color: rgba(255, 130, 130, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 130, 130, 0.12);
}

.contact-form [aria-invalid="true"] {
  border-color: rgba(255, 130, 130, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 130, 130, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.consent-field {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cyan);
}

.consent-field a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-field .field-error {
  grid-column: 2;
}

.field-error {
  min-height: 16px;
  color: #ffb2b2;
  font-size: 12px;
  font-weight: 700;
}

.contact-form button[disabled] {
  cursor: progress;
  opacity: 0.72;
}

.form-note {
  margin: 0;
  font-size: 13px;
  outline: none;
}

.form-note.success {
  color: var(--green);
}

.form-note.error {
  color: #ffb2b2;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: rgba(5, 7, 11, 0.72);
}

.footer-links {
  display: flex;
  gap: 22px;
  color: var(--text);
  font-weight: 700;
}

.footer-logo {
  width: 190px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--black);
  background: var(--green);
  box-shadow: 0 16px 40px rgba(53, 229, 154, 0.26);
}

.service-modal {
  width: min(860px, calc(100vw - 34px));
  max-height: min(760px, calc(100vh - 34px));
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(33, 212, 253, 0.24);
  border-radius: 8px;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(33, 212, 253, 0.14), transparent 22rem),
    linear-gradient(135deg, rgba(13, 23, 38, 0.98), rgba(5, 7, 11, 0.98));
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.62);
}

.service-modal::backdrop {
  background: rgba(2, 6, 12, 0.72);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.service-modal p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.modal-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.modal-detail-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.modal-detail-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.section-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(78px, 78px, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1120px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .main-nav.open {
    position: fixed;
    inset: 76px 14px auto 14px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(5, 7, 11, 0.96);
    box-shadow: var(--shadow);
  }

  .main-nav.open a {
    padding: 16px;
    border-radius: 8px;
  }

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

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

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

  .pain-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-top: 122px;
  }

  .hero-metrics,
  .about-grid,
  .timeline-card,
  .ai-section,
  .benefits-section,
  .final-cta,
  .section-heading.compact,
  .testimonial-track,
  .modal-detail-grid,
  .starter-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .signal-card {
    display: none;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .timeline-line {
    display: none;
  }

  .services-grid,
  .industry-grid,
  .pain-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-section,
  .benefits-section,
  .final-cta {
    margin-left: 18px;
    margin-right: 18px;
  }

  .insight-section {
    padding-top: 28px;
    padding-bottom: 78px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 68px;
    padding: 0 14px;
  }

  .brand strong {
    font-size: 12px;
  }

  .brand-logo {
    width: 150px;
    height: 42px;
    padding: 6px 8px;
  }

  .hero {
    padding: 104px 18px 62px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions .button,
  .hero-actions,
  .contact-form .button {
    width: 100%;
  }

  .hero-metrics,
  .services-grid,
  .industry-grid,
  .dashboard-cards,
  .pain-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .service-modal {
    padding-top: 58px;
  }

  .ai-dashboard {
    min-height: 440px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* Phase 2 UX/UI refinement layer */
:root {
  --space-section: clamp(72px, 8vw, 112px);
  --space-section-tight: clamp(46px, 6vw, 78px);
  --space-card: clamp(20px, 2.4vw, 28px);
  --grid-gap: clamp(14px, 1.8vw, 22px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 72%);
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.lang-toggle,
.lang-toggle span {
  border-radius: 999px;
}

.button,
.header-cta,
.service-card,
.pain-grid article,
.starter-grid article,
.team-card,
.process-grid article {
  transition:
    transform 0.24s var(--ease),
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

.hero {
  padding-bottom: clamp(72px, 8vw, 112px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-system-map {
  position: absolute;
  right: clamp(22px, 7vw, 112px);
  top: 22%;
  width: min(390px, 32vw);
  min-height: 440px;
  z-index: 1;
  pointer-events: none;
}

.map-node,
.map-core {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--text);
  background: rgba(8, 18, 31, 0.66);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.map-node {
  min-width: 180px;
  padding: 14px 16px;
  font-weight: 900;
}

.map-node svg {
  width: 24px;
  height: 24px;
}

.map-protect {
  top: 0;
  right: 20px;
  color: #9feaff;
}

.map-automate {
  top: 156px;
  left: 0;
  color: #f8d282;
}

.map-scale {
  bottom: 0;
  right: 0;
  color: #8ff2bd;
}

.map-core {
  top: 198px;
  right: 82px;
  width: 92px;
  height: 92px;
  justify-content: center;
  border-color: rgba(33, 212, 253, 0.32);
  background: radial-gradient(circle, rgba(33, 212, 253, 0.2), rgba(8, 18, 31, 0.62));
  animation: pulseCore 4.5s ease-in-out infinite;
}

.map-core svg {
  width: 40px;
  height: 40px;
  color: var(--cyan);
}

.map-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33, 212, 253, 0.54), transparent);
  transform-origin: center;
}

.map-line-one {
  top: 124px;
  left: 108px;
  width: 210px;
  transform: rotate(-24deg);
}

.map-line-two {
  top: 285px;
  left: 105px;
  width: 226px;
  transform: rotate(28deg);
}

h1 {
  font-size: clamp(42px, 5.7vw, 72px);
  line-height: 1;
}

h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
}

.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.services-grid,
.insight-grid,
.pain-grid,
.starter-grid,
.team-grid,
.process-grid,
.testimonial-track {
  gap: var(--grid-gap);
}

.service-card,
.starter-grid article,
.team-card,
.process-grid article,
.testimonial-card,
.about-panel,
.timeline-card,
.contact-form {
  border-radius: 12px;
}

.service-card {
  min-height: unset;
  padding: var(--space-card);
}

.pillar-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
}

.pillar-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(33, 212, 253, 0.08);
  filter: blur(12px);
  transition: transform 0.24s var(--ease), opacity 0.24s ease;
}

.pillar-card[data-key="protect"] {
  border-color: rgba(33, 212, 253, 0.2);
}

.pillar-card[data-key="automate"] {
  border-color: rgba(245, 184, 73, 0.22);
}

.pillar-card[data-key="scale"] {
  border-color: rgba(53, 229, 154, 0.2);
}

.pillar-card[data-key="automate"] svg,
.pillar-card[data-key="automate"] .service-category {
  color: var(--amber);
}

.pillar-card[data-key="scale"] svg,
.pillar-card[data-key="scale"] .service-category {
  color: var(--green);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.service-card:hover svg {
  transform: translateY(-2px) scale(1.04);
}

.service-card:hover::after {
  transform: scale(1.28);
  opacity: 0.9;
}

.service-card svg {
  transition: transform 0.24s var(--ease), color 0.24s ease;
}

.pain-section {
  padding-top: var(--space-section-tight);
}

.pain-grid article {
  min-height: unset;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px;
  color: var(--text);
}

.pain-grid article svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.pain-grid article:hover,
.starter-grid article:hover,
.team-card:hover,
.process-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 212, 253, 0.3);
  background: rgba(255, 255, 255, 0.062);
}

.starter-grid article,
.process-grid article {
  min-height: unset;
  padding: var(--space-card);
}

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

.team-card {
  grid-template-columns: 1fr;
  gap: 18px;
  padding: var(--space-card);
}

.team-avatar {
  width: 100%;
  max-width: 140px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  font-size: 30px;
}

.team-more {
  width: fit-content;
  margin-top: 18px;
  padding: 0;
  border: 0;
  color: var(--cyan);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.team-more:hover,
.team-more:focus-visible {
  color: var(--text);
}

.service-modal,
.team-modal {
  width: min(860px, calc(100vw - 34px));
  max-height: min(760px, calc(100vh - 34px));
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(33, 212, 253, 0.24);
  border-radius: 12px;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(33, 212, 253, 0.14), transparent 22rem),
    linear-gradient(135deg, rgba(13, 23, 38, 0.98), rgba(5, 7, 11, 0.98));
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.62);
}

.team-modal::backdrop {
  background: rgba(2, 6, 12, 0.72);
  backdrop-filter: blur(8px);
}

.team-modal p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.team-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.team-modal-tags span {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  font-weight: 800;
}

.section-reveal.visible .pain-grid article,
.section-reveal.visible .service-card,
.section-reveal.visible .starter-grid article,
.section-reveal.visible .team-card,
.section-reveal.visible .process-grid article {
  animation: cardRise 0.48s var(--ease) both;
}

.section-reveal.visible .pain-grid article:nth-child(2),
.section-reveal.visible .service-card:nth-child(2),
.section-reveal.visible .starter-grid article:nth-child(2),
.section-reveal.visible .team-card:nth-child(2),
.section-reveal.visible .process-grid article:nth-child(2) {
  animation-delay: 70ms;
}

.section-reveal.visible .pain-grid article:nth-child(3),
.section-reveal.visible .service-card:nth-child(3),
.section-reveal.visible .starter-grid article:nth-child(3),
.section-reveal.visible .team-card:nth-child(3),
.section-reveal.visible .process-grid article:nth-child(3) {
  animation-delay: 140ms;
}

.section-reveal.visible .pain-grid article:nth-child(n + 4),
.section-reveal.visible .process-grid article:nth-child(4) {
  animation-delay: 210ms;
}

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

@keyframes pulseCore {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 32px rgba(33, 212, 253, 0.2);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 0 58px rgba(33, 212, 253, 0.36);
  }
}

@media (max-width: 1120px) {
  .hero-system-map {
    opacity: 0.62;
    right: 20px;
  }

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

@media (max-width: 860px) {
  .hero-system-map {
    display: none;
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 38px;
  }

  .pain-grid article {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .section-reveal {
    opacity: 1;
    transform: none;
  }

  .hero-grid,
  .signal-card,
  .map-core,
  .dashboard-orbit::before {
    animation: none !important;
  }
}
