:root {
  color-scheme: light;
  --bg: #050505;
  --bg-soft: #111113;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --card: #ffffff;
  --text: #101828;
  --muted: #667085;
  --light: #f8fafc;
  --white: #ffffff;
  --page: #f5f7fb;
  --section: #ffffff;
  --card-border: #e4e7ec;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #818cf8;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(7, 17, 31, 0.20);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --card: #111113;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --light: #18181b;
  --page: #050505;
  --section: #09090b;
  --card-border: #27272a;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page);
  line-height: 1.65;
  overflow-x: hidden;
  transition: color 0.3s ease, background-color 0.3s ease;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section-padding {
  padding: 110px 0;
}

.site-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 920px;
  background:
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.28), transparent 26%),
    radial-gradient(circle at 80% 10%, rgba(129, 140, 248, 0.22), transparent 24%),
    linear-gradient(145deg, #08080c 0%, #121225 55%, #050505 100%);
  z-index: -2;
  overflow: hidden;
  transform: translate3d(0, var(--bg-shift, 0px), 0);
  will-change: transform;
}

.glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.45;
}

.glow-one {
  background: var(--primary);
  left: 8%;
  top: 18%;
}

.glow-two {
  background: var(--accent);
  right: 7%;
  top: 12%;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: 0.25s ease;
}

.header.scrolled {
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.navbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #818cf8);
  box-shadow: 0 18px 36px rgba(99, 102, 241, 0.28);
}

.brand-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 14px;
  font-weight: 700;
}

.nav-menu a {
  padding: 12px 14px;
  border-radius: 999px;
  transition: 0.22s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
}

.nav-menu .nav-cta {
  color: #111827;
  background: var(--white);
  margin-left: 8px;
  box-shadow: 0 14px 38px rgba(255, 255, 255, 0.14);
}

.nav-menu .nav-cta:hover {
  color: #111827;
  background: #ffedd5;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 99px;
  transition: 0.25s ease;
}

.hero {
  min-height: 780px;
  color: var(--white);
  padding-top: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 900;
}

.eyebrow span {
  width: 30px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.hero h1,
.section-head h2,
.cta-box h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 20px 42px rgba(99, 102, 241, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 24px 54px rgba(99, 102, 241, 0.42);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-ghost.light {
  color: var(--white);
}

.btn-outline {
  color: var(--text);
  background: var(--white);
  border-color: #e4e7ec;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid #102033;
  border-radius: 999px;
  margin-right: -12px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  color: #9a3412;
  font-size: 11px;
  font-weight: 900;
}

.trust-row strong {
  font-size: 26px;
  display: block;
  line-height: 1;
}

.trust-row p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.66);
  max-width: 390px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.phone-card {
  position: relative;
  width: min(100%, 420px);
  min-height: 540px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 46px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06)),
    linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  backdrop-filter: blur(22px);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.38);
}

.floating-card {
  animation: float 5.5s ease-in-out infinite;
}

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

.phone-top {
  width: 76px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  margin: 0 auto 32px;
}

.app-panel {
  color: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.app-panel-main {
  padding: 24px;
}

.panel-label,
.app-panel-mini span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.app-panel-main strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 150px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.chart-bars i {
  flex: 1;
  display: block;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, #6366f1, #c7d2fe);
}

.chart-bars i:nth-child(1) { height: 42%; }
.chart-bars i:nth-child(2) { height: 76%; }
.chart-bars i:nth-child(3) { height: 58%; }
.chart-bars i:nth-child(4) { height: 92%; }
.chart-bars i:nth-child(5) { height: 68%; }

.app-panel-mini {
  position: absolute;
  width: 158px;
  padding: 18px;
}

.app-panel-mini strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.app-panel-mini.left {
  left: -38px;
  bottom: 150px;
}

.app-panel-mini.right {
  right: -42px;
  top: 138px;
}

.task-list {
  margin-top: 24px;
  padding: 20px;
  border-radius: 26px;
  background: var(--white);
  color: var(--text);
}

.task-list p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  font-weight: 800;
}

.task-list span {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.15);
}

.client-strip {
  position: relative;
  z-index: 2;
  padding: 34px 0;
  border-bottom: 1px solid var(--card-border);
  background: var(--section);
}

.client-strip-head {
  margin-bottom: 24px;
  color: var(--muted);
  text-align: center;
}

.client-strip-head p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-slider {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  display: flex;
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.client-track {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  animation: client-scroll 28s linear infinite;
  will-change: transform;
}

.client-logo {
  width: 178px;
  height: 54px;
  flex: 0 0 178px;
  display: grid;
  place-items: center;
  padding: 4px 18px;
}

.client-logo img {
  width: 100%;
  height: 44px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

.client-slider:hover .client-track {
  animation-play-state: paused;
}

@keyframes client-scroll {
  to { transform: translateX(-100%); }
}

.section-head {
  max-width: 760px;
  text-align: center;
  margin-inline: auto;
  margin-bottom: 52px;
}

.section-head.align-left {
  text-align: left;
  margin-inline: 0;
}

.section-head h2,
.cta-box h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  color: var(--text);
}

.section-head p:not(.eyebrow),
.cta-box p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.step-card,
.portfolio-card,
.faq-list details {
  border: 1px solid var(--card-border);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.06);
}

.service-card {
  padding: 30px;
  transition: 0.25s ease;
}

.service-card:hover,
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(16, 24, 40, 0.10);
}

.icon-box {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--primary-dark);
  background: rgba(99, 102, 241, 0.12);
  font-weight: 950;
}

.service-card h3,
.step-card h3,
.portfolio-card h3 {
  margin: 24px 0 10px;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.service-card p,
.step-card p,
.portfolio-card p,
.feature-list p,
.faq-list p,
.footer p {
  margin: 0;
  color: var(--muted);
}

.process-section,
.integrations-section,
.faq-section {
  background: var(--section);
}

.process-grid,
.why-grid,
.integrations-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

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

.step-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  padding: 26px;
}

.step-card span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #101828;
  color: var(--white);
  font-weight: 950;
}

.step-card h3 {
  margin-top: 0;
}

.why-section {
  background: var(--page);
}

.why-visual {
  min-height: 490px;
  display: grid;
  place-items: center;
}

.browser-window {
  width: min(100%, 520px);
  padding: 18px;
  border-radius: 34px;
  background: #101828;
  box-shadow: 0 34px 90px rgba(16, 24, 40, 0.24);
}

.browser-bar {
  display: flex;
  gap: 8px;
  padding: 8px 8px 18px;
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
}

.browser-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-height: 340px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.20), transparent 40%),
    #16243a;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 140px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.metric-card.large {
  grid-column: 1 / -1;
}

.metric-card small {
  color: rgba(255, 255, 255, 0.66);
}

.metric-card strong {
  margin-top: 6px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.feature-list {
  display: grid;
  gap: 15px;
  margin-top: 28px;
}

.feature-list p {
  padding: 16px 18px;
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  background: var(--card);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-card {
  overflow: hidden;
  transition: 0.25s ease;
}

.portfolio-card > div:last-child {
  padding: 26px;
}

.portfolio-card h3 {
  margin-top: 0;
}

.portfolio-thumb {
  min-height: 230px;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  background: #0b0b12;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.integrations-section {
  position: relative;
  overflow: hidden;
}

.integrations-section::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 420px;
  left: 50%;
  top: 54%;
  translate: -50% -50%;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  filter: blur(110px);
  pointer-events: none;
}

.integration-cloud {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tech-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tech-color), transparent 45%);
  box-shadow: 0 22px 48px color-mix(in srgb, var(--tech-color), transparent 86%);
}

.tech-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--tech-color);
  background: color-mix(in srgb, var(--tech-color), transparent 88%);
}

.tech-logo i {
  color: var(--tech-color);
  font-size: 30px;
}

.tech-card strong,
.tech-card small {
  display: block;
}

.tech-card strong {
  color: var(--text);
  font-size: 16px;
}

.tech-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.tech-arrow {
  color: var(--muted);
  font-size: 20px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.tech-card:hover .tech-arrow {
  color: var(--primary);
  transform: rotate(45deg);
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.faq-list p {
  margin-top: 14px;
}

.cta-section {
  padding: 76px 0;
  background: var(--section);
}

.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 38px;
  align-items: center;
  padding: clamp(32px, 6vw, 66px);
  border-radius: 38px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(129, 140, 248, 0.24), transparent 22%),
    radial-gradient(circle at 10% 70%, rgba(99, 102, 241, 0.28), transparent 24%),
    #07070b;
  box-shadow: 0 34px 90px rgba(7, 17, 31, 0.24);
}

.cta-box h2 {
  color: var(--white);
}

.cta-box p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.footer {
  padding: 72px 0 30px;
  color: rgba(255, 255, 255, 0.72);
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 42px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 16px;
}

.footer a:not(.brand) {
  display: block;
  margin: 10px 0;
  transition: 0.2s ease;
}

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

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 900;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.copyright p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 38px rgba(79, 70, 229, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 18px, 0) scale(0.86);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

.back-to-top:hover {
  color: var(--white);
  transform: translate3d(0, -4px, 0) scale(1.04);
  box-shadow: 0 20px 46px rgba(79, 70, 229, 0.48);
}

.back-to-top svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

section.section-arrival > .container {
  animation: section-arrival 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes section-arrival {
  0% {
    opacity: 0.55;
    filter: blur(5px);
    transform: translate3d(0, 24px, 0) scale(0.985);
  }
  55% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.navbar > .brand { order: 1; }

.nav-menu {
  order: 2;
  margin-left: auto;
}

.nav-actions {
  order: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.theme-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-sun { display: none; }

html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="dark"] .theme-icon-moon { display: none; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-links a {
  width: auto !important;
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 800;
}

.glow-one { animation: drift-one 9s ease-in-out infinite; }
.glow-two { animation: drift-two 11s ease-in-out infinite; }

@keyframes drift-one {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(45px, 25px, 0) scale(1.12); }
}

@keyframes drift-two {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-38px, 38px, 0) scale(0.9); }
}

html[data-theme="dark"] .task-list,
html[data-theme="dark"] .btn-outline {
  background: var(--card);
  color: var(--text);
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .portfolio-card,
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .tech-card {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .feature-list p {
  color: var(--muted);
}

html[data-theme="dark"] .portfolio-thumb,
html[data-theme="dark"] .browser-window {
  border: 1px solid #27272a;
}

html[data-theme="dark"] .why-section {
  background: #050505;
}

html[data-theme="dark"] .process-section,
html[data-theme="dark"] .integrations-section,
html[data-theme="dark"] .faq-section,
html[data-theme="dark"] .cta-section {
  background: #09090b;
}

.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 32px, 0) scale(0.985);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

@media (min-width: 769px) {
  .process-grid > .section-head.reveal,
  .why-visual.reveal {
    transform: translate3d(-34px, 8px, 0) scale(0.985);
  }

  .why-grid > .section-head.reveal,
  .faq-list.reveal {
    transform: translate3d(34px, 8px, 0) scale(0.985);
  }

  .process-grid > .section-head.reveal.is-visible,
  .why-visual.reveal.is-visible,
  .why-grid > .section-head.reveal.is-visible,
  .faq-list.reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .process-grid,
  .why-grid,
  .integrations-grid,
  .faq-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead,
  .trust-row {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .section-head.align-left {
    text-align: center;
    margin-inline: auto;
  }

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

  .cta-actions {
    justify-content: center;
  }

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

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

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

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

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

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

  .nav-menu {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    padding: 32px;
    background: rgba(5, 5, 5, 0.97);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

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

  .nav-actions {
    position: relative;
    z-index: 102;
  }

  .nav-menu a {
    text-align: center;
    font-size: 20px;
    padding: 16px 18px;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section-padding {
    padding: 76px 0;
  }

  .navbar {
    min-height: 72px;
    gap: 10px;
  }

  .brand {
    font-size: 18px;
    gap: 8px;
  }

  .brand-text > span {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 90px;
    background:
      radial-gradient(circle at 50% 18%, rgba(99, 102, 241, 0.42), transparent 32%),
      linear-gradient(180deg, #101027 0%, #090914 56%, #050505 100%);
  }

  .site-bg {
    height: 1000px;
  }

  .hero h1,
  .section-head h2,
  .cta-box h2 {
    letter-spacing: -0.055em;
  }

  .hero h1 {
    font-size: clamp(38px, 11.5vw, 48px);
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .hero-grid {
    min-width: 0;
  }

  .hero-lead,
  .section-head p:not(.eyebrow),
  .cta-box p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-row {
    flex-direction: column;
    text-align: center;
  }

  .hero-visual {
    min-height: 470px;
  }

  .phone-card {
    min-height: 460px;
    border-radius: 34px;
    padding: 20px;
  }

  .phone-card,
  html[data-theme="light"] .phone-card,
  html[data-theme="dark"] .phone-card {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
      #151524;
    backdrop-filter: none;
  }

  .phone-card .app-panel,
  .phone-card .task-list,
  html[data-theme="light"] .phone-card .task-list {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    backdrop-filter: none;
  }

  .app-panel-mini {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .chart-bars {
    height: 120px;
  }

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

  .integration-cloud {
    grid-template-columns: 1fr;
  }

  .theme-label {
    display: none;
  }

  .theme-toggle {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }

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

  .browser-content {
    grid-template-columns: 1fr;
  }

  .client-logo {
    width: 150px;
    flex-basis: 150px;
  }

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

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .site-bg {
    transform: none;
  }

  .client-track {
    animation: none !important;
  }

  .client-track[aria-hidden="true"] {
    display: none;
  }
}
