:root {
  --bg: #030712;
  --bg-soft: #07111f;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(125, 211, 252, 0.34);
  --text: #f8fafc;
  --muted: #a6b3c5;
  --muted-strong: #d7e0ee;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --blue-strong: #2563eb;
  --green: #34d399;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --radius-lg: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 211, 238, 0.16), transparent 30rem),
    radial-gradient(circle at 82% 12%, rgba(59, 130, 246, 0.18), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #050b16 48%, #020617 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
  z-index: -1;
}

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

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

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

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.split-text h2,
.contact-heading h2 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(1.95rem, 3.55vw, 3.15rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p,
.split-text p,
.contact-heading p {
  margin: 20px 0 0;
  color: var(--muted-strong);
  font-size: 1.04rem;
  line-height: 1.72;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a5f3fc;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.48;
  text-transform: uppercase;
}

.eyebrow span,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.9);
}

/* Buttons */
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

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

.primary {
  border-color: rgba(34, 211, 238, 0.5);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #020617;
  box-shadow: 0 16px 42px rgba(34, 211, 238, 0.24);
}

.primary:hover {
  box-shadow: 0 20px 54px rgba(34, 211, 238, 0.34);
}

.secondary {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(125, 211, 252, 0.34);
}

.secondary:hover,
.ghost:hover {
  background: rgba(30, 41, 59, 0.92);
  border-color: rgba(125, 211, 252, 0.58);
}

.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  min-height: 40px;
  padding: 9px 16px;
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
  color: #cffafe;
}

.inline-link {
  display: inline-flex;
  margin-top: auto;
  color: #a5f3fc;
  font-weight: 700;
}

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
}

.nav-container {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #020617;
  box-shadow: 0 10px 34px rgba(34, 211, 238, 0.32);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:not(.btn):hover {
  color: #e0f2fe;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.76);
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 132px 0 86px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(10px);
}

.hero::before {
  width: 460px;
  height: 460px;
  left: -180px;
  top: 12%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 68%);
  animation: floatGlow 9s ease-in-out infinite;
}

.hero::after {
  width: 620px;
  height: 620px;
  right: -260px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
  animation: floatGlow 11s ease-in-out infinite reverse;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  animation: rise 0.7s ease both;
}

.hero-copy h1 {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 4.9vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.72;
}

.hero-buttons {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-proof div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: #e0f2fe;
  font-size: 1rem;
}

.hero-proof span {
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  animation: rise 0.8s ease both 0.1s;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% -4% -8% 8%;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.26), rgba(59, 130, 246, 0.06));
  filter: blur(34px);
}

.dashboard-mockup {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.96)),
    url('/assets/images/dashboard.webp') center/cover;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(34, 211, 238, 0.18), transparent 34%);
  pointer-events: none;
}

.mockup-topbar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.mockup-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.mockup-topbar span:nth-child(1) { background: #fb7185; }
.mockup-topbar span:nth-child(2) { background: #fbbf24; }
.mockup-topbar span:nth-child(3) { background: #34d399; }

.mockup-topbar p {
  margin: 0 0 0 10px;
  font-size: 0.82rem;
}

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

.mockup-sidebar {
  padding: 24px 16px;
  display: grid;
  align-content: start;
  gap: 14px;
  border-right: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.42);
}

.mockup-sidebar span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.14);
}

.mockup-sidebar .active {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.95));
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.34);
}

.mockup-main {
  padding: 24px;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mockup-header small,
.mockup-header strong {
  display: block;
}

.mockup-header small {
  color: var(--muted);
  font-size: 0.8rem;
}

.mockup-header strong {
  margin-top: 4px;
  font-size: 1.25rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.34);
  background: rgba(52, 211, 153, 0.12);
  color: #bbf7d0;
  font-size: 0.78rem;
  font-weight: 700;
}

.mockup-kpis {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mockup-kpis div,
.mockup-list div,
.mockup-chart {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
}

.mockup-kpis div {
  padding: 16px;
}

.mockup-kpis strong,
.mockup-kpis span {
  display: block;
}

.mockup-kpis strong {
  font-size: 1.5rem;
  color: #e0f2fe;
}

.mockup-kpis span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.mockup-chart {
  height: 150px;
  margin-top: 12px;
  padding: 18px;
  display: flex;
  align-items: end;
  gap: 12px;
}

.mockup-chart span {
  flex: 1;
  min-width: 20px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), rgba(37, 99, 235, 0.48));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.mockup-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.mockup-list div {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.mockup-list span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.6);
}

.mockup-list p,
.mockup-list b {
  margin: 0;
  font-size: 0.82rem;
}

.mockup-list p {
  color: var(--muted-strong);
}

.mockup-list b {
  color: #a5f3fc;
}

/* Cards */
.grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  margin-top: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.58));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 211, 252, 0.42);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
}

.service-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.service-card.featured {
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
}

.service-card.accent-card {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.13), rgba(37, 99, 235, 0.18)),
    rgba(15, 23, 42, 0.82);
}

.chip {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: #a5f3fc;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.card h3 {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.28;
}

.card p {
  margin: 14px 0 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.card ul {
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted-strong);
}

.card li {
  position: relative;
  padding-left: 20px;
  line-height: 1.48;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.64);
}

/* Process */
.process-section {
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(15, 23, 42, 0.44) 46%, rgba(2, 6, 23, 0));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 56px;
  align-items: start;
}

.process-note {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.68);
}

.process-note strong,
.process-note span {
  display: block;
}

.process-note strong {
  color: #e0f2fe;
}

.process-note span {
  margin-top: 8px;
  color: var(--muted-strong);
  line-height: 1.55;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  position: relative;
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.68);
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), transparent 38%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.step:hover::after {
  opacity: 1;
}

.step span {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.12);
  color: #a5f3fc;
  font-weight: 800;
}

.step div {
  position: relative;
  z-index: 1;
}

.step h3 {
  margin: 0;
  font-size: 1.18rem;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted-strong);
  line-height: 1.55;
}

/* Demos */
.demos-section {
  overflow: hidden;
}

.demos-heading {
  max-width: 830px;
}

.demo-filters {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.demo-filters::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: var(--muted-strong);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  border-color: rgba(34, 211, 238, 0.52);
  background: rgba(34, 211, 238, 0.12);
  color: #e0f2fe;
}

.carousel-shell {
  margin-top: 30px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: rgba(15, 23, 42, 0.78);
  color: #e0f2fe;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.56);
  background: rgba(34, 211, 238, 0.12);
}

.carousel-btn:disabled {
  opacity: 0.34;
  cursor: default;
  transform: none;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(286px, 30vw, 360px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 8px 2px 18px;
  scrollbar-width: none;
  cursor: grab;
  scroll-behavior: smooth;
  touch-action: pan-x;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-track.dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track .card {
  scroll-snap-align: start;
  cursor: grab;
}

.carousel-track a,
.carousel-track img {
  -webkit-user-drag: none;
  user-drag: none;
}

.carousel-track.dragging .card {
  cursor: grabbing;
}

.demo {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 211, 238, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 13, 26, 0.9));
}

.demo.is-hidden {
  display: none;
}

.demo h3 {
  min-height: auto;
}

.demo p {
  color: #cbd5e1;
}

.demo-meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.demo-cta {
  color: #a5f3fc;
  font-weight: 800;
  white-space: normal;
}


.demo-cta::after {
  content: " →";
}

.client-logo-card {
  align-items: flex-start;
}

.client-logo-wrap {
  width: 96px;
  height: 96px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: #f8fafc;
}

.client-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
}

.client-logo-hungaro img {
  padding: 0;
  object-fit: cover;
}

.client-logo-letter {
  color: #020617;
  font-size: 2.4rem;
  font-weight: 900;
}

/* Contact */
.contact-section {
  padding-bottom: 110px;
}

.contact-wrap {
  position: relative;
}

.contact-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.contact-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.74);
  box-shadow: var(--shadow);
}

.contact-form {
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-form .full-field,
.form-actions,
.form-status,
.form-note {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.56);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #64748b;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
  background: rgba(2, 6, 23, 0.82);
}

.honeypot {
  display: none !important;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #a5f3fc;
  font-size: 0.92rem;
}

.form-status.error {
  color: var(--danger);
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

.form-note a {
  color: #a5f3fc;
  font-weight: 700;
}

.contact-card {
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.18), transparent 34%),
    rgba(15, 23, 42, 0.78);
}

.contact-card h3 {
  margin: 18px 0 0;
  font-size: clamp(1.42rem, 2.1vw, 1.9rem);
  line-height: 1.24;
}

.contact-card p {
  margin: 18px 0 0;
  color: var(--muted-strong);
  line-height: 1.65;
}

.contact-points {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.contact-points div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 6, 23, 0.42);
}

.contact-points strong,
.contact-points span {
  display: block;
}

.contact-points strong {
  color: #e0f2fe;
}

.contact-points span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

/* Footer */
.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong,
.footer span {
  display: block;
}

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

.footer span {
  margin-top: 4px;
}

.footer-legal-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer a {
  color: #a5f3fc;
  font-weight: 700;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 6, 23, 0.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2200;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0f172a;
  color: var(--text);
  box-shadow: var(--shadow);
}

.modal-title {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.modal-title.error {
  color: var(--danger);
}

.modal-text {
  margin: 0;
  color: var(--muted-strong);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-preview-modal {
  z-index: 2400;
}

.site-preview-modal .site-preview-content {
  width: min(1280px, 95vw);
  height: min(86vh, 920px);
  max-height: 86vh;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #0b1220;
}

.site-preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  padding-right: 42px;
}

.site-preview-open {
  color: #dbeafe;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(219, 234, 254, 0.25);
  border-radius: 999px;
  padding: 8px 12px;
}

.site-preview-open:hover {
  background: rgba(219, 234, 254, 0.12);
}

.site-preview-frame {
  width: 100%;
  flex: 1;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: #fff;
}

.site-preview-frame.hidden {
  display: none;
}

.site-preview-fallback {
  display: none;
  flex: 1;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: radial-gradient(circle at 20% 15%, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.98));
  color: #e2e8f0;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.site-preview-fallback.show {
  display: flex;
}

.site-preview-fallback-inner {
  max-width: 560px;
  text-align: center;
}

.site-preview-fallback-inner h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.site-preview-fallback-inner p {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  line-height: 1.55;
}

.site-preview-fallback-actions {
  margin-top: 16px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -14px, 0);
  }
}

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

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-visual {
    max-width: 720px;
  }

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

@media (max-width: 780px) {
  .section-inner,
  .nav-container,
  .footer {
    width: min(100% - 28px, var(--max));
  }

  .nav-container {
    min-height: 66px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
  }

  .nav-menu .btn {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 108px 0 64px;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 13vw, 4.2rem);
  }

  .hero-buttons .btn,
  .form-actions .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .mockup-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-main {
    padding: 18px;
  }

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

  .section {
    padding: 72px 0;
  }

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

  .service-card {
    min-height: auto;
  }

  .carousel-shell {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-track {
    grid-auto-columns: minmax(270px, 86vw);
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

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

  .site-preview-modal .site-preview-content {
    width: 96vw;
    height: 84vh;
    padding: 12px;
  }
}

@media (max-width: 420px) {
  .section-inner,
  .nav-container,
  .footer {
    width: min(100% - 22px, var(--max));
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .section-heading h2,
  .split-text h2,
  .contact-heading h2 {
    font-size: 1.82rem;
    line-height: 1.18;
  }

  .dashboard-mockup {
    border-radius: 18px;
  }

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

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

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


/* Text polish pass */
.hero-copy,
.section-heading,
.split-text,
.contact-heading,
.card,
.step,
.contact-card {
  text-wrap: pretty;
}

.hero-copy h1,
.section-heading h2,
.split-text h2,
.contact-heading h2,
.contact-card h3 {
  text-wrap: balance;
}

.card p,
.step p,
.contact-card p,
.contact-points span,
.process-note span,
.demo p {
  color: var(--muted-strong);
}

.btn,
.filter-pill,
.chip,
.demo-cta {
  line-height: 1.2;
}

.demo-meta > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-form select {
  min-width: 0;
}

@media (max-width: 780px) {
  .eyebrow,
  .section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 9.2vw, 3.15rem);
    line-height: 1.1;
  }

  .section-heading h2,
  .split-text h2,
  .contact-heading h2 {
    font-size: clamp(1.8rem, 7vw, 2.35rem);
    line-height: 1.18;
  }

  .hero-lead,
  .section-heading p,
  .split-text p,
  .contact-heading p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .btn {
    min-height: 48px;
    padding-inline: 16px;
  }

  .card h3 {
    font-size: 1.22rem;
  }

  .demo {
    min-height: 300px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 2.05rem;
    line-height: 1.12;
  }

  .hero-lead,
  .section-heading p,
  .split-text p,
  .contact-heading p,
  .card p,
  .step p,
  .contact-card p {
    line-height: 1.64;
  }

  .mockup-list div {
    grid-template-columns: auto 1fr;
  }

  .mockup-list b {
    grid-column: 2;
  }
}


/* Compact content pass */
.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.15rem, 4.35vw, 3.55rem);
  line-height: 1.08;
}

.hero-lead {
  max-width: 610px;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2,
.split-text h2,
.contact-heading h2 {
  max-width: 720px;
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  line-height: 1.16;
}

.section-heading p,
.split-text p,
.contact-heading p {
  max-width: 620px;
}

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-card p {
  margin-bottom: 22px;
}

.learn-more {
  width: max-content;
  margin-top: auto;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: #a5f3fc;
  padding: 9px 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.learn-more:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.14);
}

.info-modal-content {
  max-width: 560px;
}

.info-modal-actions {
  margin-top: 20px;
}

@media (max-width: 780px) {
  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.85rem);
  }

  .section-heading h2,
  .split-text h2,
  .contact-heading h2 {
    font-size: clamp(1.65rem, 6.4vw, 2.15rem);
  }

  .service-card {
    min-height: auto;
  }

  .learn-more {
    width: 100%;
    justify-content: center;
  }
}


/* Visual enrichment pass */
.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
}

.hero-visual {
  transform: translateX(10px);
}

.dashboard-mockup {
  min-height: 560px;
  isolation: isolate;
}

.mockup-body {
  min-height: 506px;
}

.floating-card {
  position: absolute;
  z-index: 3;
  min-width: 142px;
  padding: 13px 14px;
  border: 1px solid rgba(125, 211, 252, 0.36);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), 0 0 28px rgba(34, 211, 238, 0.14);
  backdrop-filter: blur(14px);
  animation: floatCard 5s ease-in-out infinite;
}

.floating-card span,
.floating-card strong {
  display: block;
}

.floating-card span {
  color: var(--muted-strong);
  font-size: 0.76rem;
}

.floating-card strong {
  margin-top: 4px;
  color: #e0f2fe;
  font-size: 1.12rem;
}

.floating-card-sales {
  right: -12px;
  top: 88px;
}

.floating-card-sync {
  left: -18px;
  bottom: 92px;
  animation-delay: 1.1s;
}

.mockup-chart span {
  transform-origin: bottom;
  animation: chartPulse 3.4s ease-in-out infinite;
}

.mockup-chart span:nth-child(2) { animation-delay: 0.2s; }
.mockup-chart span:nth-child(3) { animation-delay: 0.4s; }
.mockup-chart span:nth-child(4) { animation-delay: 0.6s; }
.mockup-chart span:nth-child(5) { animation-delay: 0.8s; }
.mockup-chart span:nth-child(6) { animation-delay: 1s; }

.mockup-list div {
  animation: rowGlow 4.8s ease-in-out infinite;
}

.mockup-list div:nth-child(2) { animation-delay: 0.8s; }
.mockup-list div:nth-child(3) { animation-delay: 1.6s; }

.service-media {
  position: relative;
  height: 118px;
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.5);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(2, 6, 23, 0.62));
  pointer-events: none;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.04);
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.08);
}

.service-mini-visual {
  height: 118px;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.2), transparent 42%),
    rgba(2, 6, 23, 0.5);
}

.service-mini-visual span {
  display: block;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--cyan), rgba(37, 99, 235, 0.45));
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.22);
}

.service-mini-visual span:nth-child(1) { height: 42%; }
.service-mini-visual span:nth-child(2) { height: 68%; }
.service-mini-visual span:nth-child(3) { height: 88%; }

@keyframes floatCard {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes chartPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.86; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

@keyframes rowGlow {
  0%, 100% { border-color: var(--line); background: rgba(15, 23, 42, 0.72); }
  45% { border-color: rgba(34, 211, 238, 0.38); background: rgba(15, 23, 42, 0.92); }
}

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

  .hero-visual {
    transform: none;
  }

  .dashboard-mockup {
    min-height: auto;
  }
}

@media (max-width: 780px) {
  .floating-card {
    display: none;
  }

  .service-media,
  .service-mini-visual {
    height: 104px;
  }
}


/* Rotating hero mockup */
.rotating-mockup {
  min-height: 560px;
}

.rotating-mockup .mockup-body {
  min-height: 506px;
}

.mockup-stage {
  position: relative;
  min-height: 506px;
  overflow: hidden;
}

.mockup-screen {
  position: absolute;
  inset: 24px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(28px) scale(0.985);
  pointer-events: none;
  animation: rotateScreens 15s ease-in-out infinite;
}

.screen-sales { animation-delay: 0s; }
.screen-analytics { animation-delay: 5s; }
.screen-chat { animation-delay: 10s; }

.rotating-mockup .mockup-header,
.rotating-mockup .mockup-kpis,
.rotating-mockup .mockup-chart,
.rotating-mockup .mockup-list,
.analytics-grid,
.chat-window,
.automation-strip {
  flex: 0 0 auto;
}

.analytics-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
}

.line-card,
.donut-card,
.mini-bars,
.chat-window,
.automation-strip div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.74);
}

.line-card {
  min-height: 168px;
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.line-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 34%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.9), rgba(59, 130, 246, 0.8), transparent);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.28);
  transform: skewY(-8deg);
  animation: lineSweep 3s ease-in-out infinite;
}

.line-card span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.8);
}

.line-card span:nth-child(1) { left: 12%; top: 58%; }
.line-card span:nth-child(2) { left: 28%; top: 42%; }
.line-card span:nth-child(3) { left: 46%; top: 48%; }
.line-card span:nth-child(4) { left: 64%; top: 28%; }
.line-card span:nth-child(5) { left: 82%; top: 34%; }

.donut-card {
  min-height: 168px;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
}

.donut-chart {
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) 0 74%, rgba(148, 163, 184, 0.18) 74% 100%);
  box-shadow: inset 0 0 0 12px rgba(2, 6, 23, 0.92), 0 0 24px rgba(34, 211, 238, 0.18);
}

.donut-chart strong {
  color: #e0f2fe;
  font-size: 1.1rem;
}

.donut-card p {
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.mini-bars {
  min-height: 118px;
  padding: 16px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.mini-bars span {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), rgba(37, 99, 235, 0.42));
  animation: chartPulse 3.2s ease-in-out infinite;
}

.chat-window {
  margin-top: 24px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.chat-row {
  max-width: 82%;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.8);
  animation: messageIn 15s ease-in-out infinite;
}

.chat-row span {
  display: block;
  color: #a5f3fc;
  font-size: 0.72rem;
  font-weight: 800;
}

.chat-row p {
  margin: 4px 0 0;
  color: var(--muted-strong);
  font-size: 0.86rem;
  line-height: 1.42;
}

.chat-row.outgoing {
  justify-self: end;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.56);
  color: var(--muted-strong);
}

.chat-input span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.7);
}

.chat-input strong {
  font-size: 0.82rem;
}

.automation-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.automation-strip div {
  padding: 14px;
}

.automation-strip strong,
.automation-strip span {
  display: block;
}

.automation-strip strong {
  color: #e0f2fe;
  font-size: 1.1rem;
}

.automation-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.mockup-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.mockup-dots span {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
  animation: dotCycle 15s ease-in-out infinite;
}

.mockup-dots span:nth-child(2) { animation-delay: 5s; }
.mockup-dots span:nth-child(3) { animation-delay: 10s; }

.floating-card {
  display: none;
}

@keyframes rotateScreens {
  0%, 5% { opacity: 0; transform: translateX(28px) scale(0.985); }
  10%, 29% { opacity: 1; transform: translateX(0) scale(1); }
  34%, 100% { opacity: 0; transform: translateX(-28px) scale(0.985); }
}

@keyframes dotCycle {
  0%, 8%, 34%, 100% { background: rgba(148, 163, 184, 0.28); }
  10%, 29% { background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 16px rgba(34, 211, 238, 0.42); }
}

@keyframes lineSweep {
  0%, 100% { transform: translateX(-8px) skewY(-8deg); opacity: 0.7; }
  50% { transform: translateX(10px) skewY(-8deg); opacity: 1; }
}

@keyframes messageIn {
  0%, 8% { transform: translateY(8px); opacity: 0; }
  12%, 100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 780px) {
  .mockup-stage,
  .rotating-mockup .mockup-body {
    min-height: 470px;
  }

  .mockup-screen {
    inset: 18px;
  }

  .analytics-grid,
  .automation-strip {
    grid-template-columns: 1fr;
  }

  .line-card,
  .donut-card,
  .mini-bars {
    min-height: 112px;
  }

  .donut-card {
    display: none;
  }

  .chat-row {
    max-width: 94%;
  }
}


/* Sidebar-driven mockup behavior */
.mockup-sidebar.mockup-nav {
  position: relative;
}

.mockup-sidebar .mockup-nav-item {
  position: relative;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mockup-sidebar .mockup-nav-item::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 8px;
  background: rgba(203, 213, 225, 0.22);
}

.mockup-sidebar .nav-sales,
.mockup-sidebar .nav-analytics,
.mockup-sidebar .nav-chat {
  animation: sidebarModule 15s ease-in-out infinite;
}

.mockup-sidebar .nav-analytics { animation-delay: 5s; }
.mockup-sidebar .nav-chat { animation-delay: 10s; }

.mockup-sidebar .nav-settings {
  opacity: 0.45;
}

.mockup-screen {
  transform: none;
  animation-name: fadeScreens;
}

.mockup-screen::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 18px;
  background: radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.08), transparent 42%);
  opacity: 0.9;
}

.mockup-dots {
  display: none;
}

@keyframes fadeScreens {
  0%, 7% { opacity: 0; transform: scale(0.99); }
  10%, 30% { opacity: 1; transform: scale(1); }
  34%, 100% { opacity: 0; transform: scale(0.99); }
}

@keyframes sidebarModule {
  0%, 7%, 34%, 100% {
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: none;
  }
  10%, 30% {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.95));
    border-color: rgba(165, 243, 252, 0.55);
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.34);
  }
}


/* Tighten hero-to-services spacing */
.hero {
  min-height: auto;
  padding-bottom: 48px;
}

.services-section {
  padding-top: 56px;
}

@media (max-width: 1040px) {
  .hero {
    padding-bottom: 40px;
  }

  .services-section {
    padding-top: 48px;
  }
}

@media (max-width: 780px) {
  .hero {
    padding-bottom: 36px;
  }

  .services-section {
    padding-top: 44px;
  }
}


/* Services heading balance */
.services-section .section-heading {
  max-width: 820px;
}

.services-section .section-heading h2 {
  max-width: 780px;
}
