:root {
  --bg: #030819;
  --bg-deep: #010513;
  --panel: rgba(12, 26, 71, 0.68);
  --panel-strong: rgba(17, 36, 97, 0.82);
  --line: rgba(104, 141, 255, 0.34);
  --line-bright: rgba(80, 161, 255, 0.9);
  --text: #f7fbff;
  --muted: #c6d2f4;
  --soft: #8da3d8;
  --blue: #1a7cff;
  --cyan: #21c8ff;
  --violet: #7c3cff;
  --pink: #d86dff;
  --green: #5be29d;
  --orange: #ff8a2a;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --radius: 20px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 86% 16%, rgba(33, 200, 255, 0.2), transparent 20rem),
    radial-gradient(circle at 72% 50%, rgba(124, 60, 255, 0.32), transparent 26rem),
    radial-gradient(circle at 16% 24%, rgba(26, 124, 255, 0.14), transparent 22rem),
    linear-gradient(180deg, #04091e 0%, #010514 55%, #020818 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 60% 20%, black, transparent 58%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(1, 5, 19, 0), rgba(1, 5, 19, 0.64));
  pointer-events: none;
}

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

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

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

.page-glow {
  position: fixed;
  right: -220px;
  bottom: -160px;
  z-index: -1;
  width: 620px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 60, 255, 0.55), rgba(26, 124, 255, 0.16) 44%, transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(1240px, calc(100% - 24px));
  margin: 16px auto 0;
  padding: 8px;
  border: 1px solid rgba(85, 128, 255, 0.27);
  border-radius: 22px;
  background: rgba(5, 13, 42, 0.78);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.header-actions,
.hero-actions,
.feature-row,
.site-footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  padding: 14px 24px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.site-nav {
  justify-content: center;
  gap: 20px;
  min-height: 64px;
  padding: 0 28px;
  border: 1px solid rgba(91, 131, 255, 0.24);
  border-radius: 26px;
  background: rgba(4, 10, 36, 0.72);
}

.site-nav a {
  position: relative;
  padding: 12px 4px;
  color: rgba(247, 251, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  content: "";
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.header-actions {
  justify-content: flex-end;
  gap: 12px;
  padding-right: 12px;
}

.nav-toggle {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(91, 131, 255, 0.28);
  border-radius: 18px;
  color: var(--text);
  background: rgba(6, 17, 57, 0.78);
  cursor: pointer;
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

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

.button.primary,
.button.header-cta {
  background: linear-gradient(135deg, #1264ff, #8f38ff);
  box-shadow: 0 18px 46px rgba(36, 112, 255, 0.32);
}

.button.header-cta {
  min-height: 54px;
  padding: 0 24px;
  background: linear-gradient(135deg, #2558ff, #25b8ff);
}

.button.secondary {
  border-color: rgba(130, 161, 255, 0.46);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 24px rgba(106, 143, 255, 0.08);
}

.hero,
.stats-panel,
.section,
.cta-panel,
.site-footer,
.about-hero,
.contact-layout,
.page-hero {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 38px;
  align-items: center;
  min-height: 690px;
  padding: 58px 0 34px;
}

.hero::before {
  position: absolute;
  top: 94px;
  right: 60px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dff3ff;
  box-shadow:
    150px 80px 0 #58a7ff,
    106px -28px 0 #89b9ff,
    300px 180px 0 #ffffff;
  content: "";
  opacity: 0.9;
}

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

.hero-pill,
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 10px 18px;
  border: 1px solid rgba(110, 144, 255, 0.55);
  border-radius: 999px;
  color: var(--text);
  background: rgba(19, 39, 98, 0.58);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: inset 0 0 24px rgba(42, 112, 255, 0.18);
}

.hero-pill i {
  color: var(--cyan);
}

.hero h1 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(3.2rem, 6.2vw, 5.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 span,
.section-heading h2 span {
  background: linear-gradient(100deg, #21b7ff 0%, #386aff 38%, #9e5dff 70%, #f079ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.feature-row {
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 42px;
  color: rgba(247, 251, 255, 0.9);
  font-weight: 700;
}

.feature-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-row i {
  color: var(--blue);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 3px solid rgba(99, 194, 255, 0.88);
  border-left-color: rgba(164, 88, 255, 0.96);
  border-right-color: rgba(164, 88, 255, 0.12);
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(67, 151, 255, 0.95));
  transform: rotate(-12deg);
}

.orbit-one {
  right: -40px;
  bottom: 98px;
  width: 480px;
  height: 140px;
}

.orbit-two {
  right: 20px;
  bottom: 44px;
  width: 370px;
  height: 98px;
  transform: rotate(14deg);
}

.dot-field {
  position: absolute;
  top: 30px;
  left: 74px;
  width: 210px;
  height: 150px;
  opacity: 0.42;
  background-image: radial-gradient(circle, rgba(63, 126, 255, 0.9) 1px, transparent 1px);
  background-size: 20px 20px;
}

.laptop {
  position: absolute;
  right: 18px;
  top: 70px;
  z-index: 3;
  width: min(560px, 100%);
  perspective: 1200px;
}

.screen {
  height: 350px;
  padding: 12px;
  border: 4px solid #080b12;
  border-radius: 22px 22px 10px 10px;
  background: #05080f;
  box-shadow:
    0 28px 80px rgba(10, 21, 72, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.58);
  transform: rotate(-7deg) skewX(-2deg);
  overflow: hidden;
}

.keyboard {
  width: 520px;
  height: 88px;
  margin: -8px 0 0 24px;
  border-radius: 0 0 38px 38px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12), transparent 38%, rgba(255,255,255,0.08)),
    linear-gradient(180deg, #192034, #0b1022);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.46);
  transform: rotate(-7deg) skewX(-16deg);
}

.mock-site {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.mock-light {
  padding: 24px;
  color: #0b0c12;
  background:
    linear-gradient(90deg, rgba(255, 245, 239, 0.9), rgba(255, 245, 239, 0.58)),
    url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=900&q=80") center / cover;
}

.mock-dark {
  color: var(--text);
  background: #090d1b;
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
}

.mock-content {
  max-width: 280px;
  margin-top: 58px;
}

.mock-content h2,
.mock-dark h3 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.1;
}

.mock-content p,
.mock-dark p {
  color: #3b3c45;
  font-size: 0.82rem;
}

.mock-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border-radius: 7px;
  color: #fff;
  background: #11131b;
  font-size: 0.76rem;
  font-weight: 800;
}

.phone {
  position: absolute;
  right: 0;
  bottom: 10px;
  z-index: 5;
  width: 170px;
  padding: 10px;
  border: 5px solid #05070c;
  border-radius: 32px;
  background: #05070c;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58);
}

.phone::before {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 58px;
  height: 14px;
  border-radius: 0 0 10px 10px;
  background: #05070c;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 300px;
  border-radius: 24px;
  overflow: hidden;
  background: #090d1b;
}

.phone .mock-site {
  padding: 28px 14px 14px;
}

.phone .mock-nav {
  font-size: 0.5rem;
}

.mock-dark h3 {
  margin-top: 42px;
  font-size: 1rem;
}

.mock-dark p {
  color: #c5cce5;
  font-size: 0.52rem;
}

.mock-dark .mock-button {
  margin: 4px 0 18px;
  color: #11131b;
  background: #fff;
  font-size: 0.48rem;
}

.mock-dark img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 11px;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4px;
  padding: 28px 40px;
  border: 1px solid rgba(126, 157, 255, 0.58);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(24, 48, 119, 0.72), rgba(12, 23, 70, 0.64));
  box-shadow: inset 0 0 70px rgba(55, 105, 255, 0.13), var(--shadow);
}

.stat {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding: 0 30px;
  border-right: 1px solid rgba(141, 163, 216, 0.3);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.stat-icon,
.service-card > i {
  display: inline-grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(72, 144, 255, 0.52);
  border-radius: 18px;
  color: #8bdcff;
  background: linear-gradient(135deg, rgba(14, 96, 255, 0.8), rgba(24, 47, 123, 0.76));
  box-shadow: inset 0 0 24px rgba(62, 153, 255, 0.24);
  font-size: 2rem;
  flex: 0 0 auto;
}

.stat-icon.violet {
  color: #ffa8ff;
  border-color: rgba(169, 92, 255, 0.52);
  background: linear-gradient(135deg, rgba(124, 60, 255, 0.58), rgba(42, 31, 92, 0.86));
}

.stat-icon.purple {
  color: #f095ff;
  border-color: rgba(124, 60, 255, 0.54);
}

.stat-icon.green {
  color: #79ffc0;
  border-color: rgba(91, 226, 157, 0.52);
  background: linear-gradient(135deg, rgba(29, 137, 116, 0.8), rgba(24, 47, 123, 0.76));
}

.stat strong {
  display: block;
  font-size: 2.15rem;
  line-height: 1;
}

.stat span:not(.stat-icon) {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 78px 0 46px;
}

.services-section {
  position: relative;
  width: min(1240px, calc(100% - 24px));
  margin-top: 32px;
  border: 1px solid rgba(45, 82, 177, 0.3);
  border-radius: 28px;
  background: rgba(4, 12, 37, 0.54);
  box-shadow: inset 0 0 100px rgba(37, 88, 255, 0.1);
}

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.section-pill {
  margin-bottom: 20px;
  padding: 7px 20px;
  color: #efe8ff;
}

.section-heading h2 {
  position: relative;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading h2::after {
  display: block;
  width: 52px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  content: "";
}

.service-showcase {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.service-card {
  position: relative;
  min-height: 500px;
  padding: 28px;
  border: 1px solid rgba(60, 126, 255, 0.68);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(25, 49, 114, 0.88), rgba(3, 10, 31, 0.9));
  box-shadow: inset 0 0 50px rgba(26, 124, 255, 0.12), 0 24px 58px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  position: absolute;
  inset: auto 18px 0;
  height: 92px;
  border-radius: 999px;
  background: rgba(26, 124, 255, 0.2);
  filter: blur(30px);
  content: "";
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(50, 210, 255, 0.96);
  box-shadow: 0 0 38px rgba(25, 129, 255, 0.66), 0 28px 78px rgba(0, 0, 0, 0.48);
}

.service-card.violet {
  border-color: rgba(132, 66, 255, 0.82);
  background: linear-gradient(155deg, rgba(70, 34, 145, 0.86), rgba(7, 8, 34, 0.92));
}

.service-card.orange {
  border-color: rgba(255, 138, 42, 0.82);
  background: linear-gradient(155deg, rgba(91, 48, 24, 0.86), rgba(12, 11, 25, 0.92));
}

.service-card.green {
  border-color: rgba(91, 226, 157, 0.8);
  background: linear-gradient(155deg, rgba(19, 79, 69, 0.86), rgba(7, 17, 27, 0.92));
}

.service-card > i {
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 1.75rem;
}

.service-card.violet > i {
  border-color: rgba(191, 130, 255, 0.48);
  background: linear-gradient(135deg, #7736ff, #40127f);
}

.service-card.orange > i {
  border-color: rgba(255, 177, 95, 0.48);
  background: linear-gradient(135deg, #ff8a2a, #8f3714);
}

.service-card.green > i {
  border-color: rgba(91, 226, 157, 0.48);
  background: linear-gradient(135deg, #24b875, #115944);
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.38rem;
  line-height: 1.14;
}

.service-card p {
  min-height: 66px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: rgba(247, 251, 255, 0.9);
  font-size: 0.88rem;
}

.service-card li {
  display: flex;
  gap: 8px;
}

.service-card li::before {
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
  margin-top: 3px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  content: "✓";
  font-size: 0.58rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.service-card.violet li::before {
  background: var(--violet);
}

.service-card.orange li::before {
  background: var(--orange);
}

.service-card.green li::before {
  background: #2cc67b;
}

.service-card a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #45b6ff;
  font-weight: 800;
}

.service-card.violet a {
  color: #d393ff;
}

.service-card.orange a {
  color: #ff9a39;
}

.service-card.green a {
  color: #7effb6;
}

.cta-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  margin-block: 62px 36px;
  padding: 38px 54px;
  border: 1px solid rgba(126, 157, 255, 0.58);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(24, 48, 119, 0.72), rgba(12, 23, 70, 0.64));
  box-shadow: inset 0 0 70px rgba(55, 105, 255, 0.13), var(--shadow);
}

.chat-orbit {
  position: relative;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, #155cff 0 28%, rgba(21, 92, 255, 0.16) 29% 100%);
}

.chat-orbit::before,
.chat-orbit::after {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(99, 143, 255, 0.22);
  border-radius: inherit;
  content: "";
}

.chat-orbit::after {
  inset: -24px;
}

.chat-orbit i {
  font-size: 1.65rem;
}

.cta-panel h2 {
  margin: 0 0 4px;
  font-size: 1.9rem;
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 42px;
  color: var(--soft);
}

.site-footer div {
  gap: 18px;
  font-weight: 800;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

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

/* Shared inner pages keep the same content but inherit the dark system. */
.page-hero,
.about-hero,
.contact-layout {
  padding: 86px 0 62px;
}

.page-hero h1,
.about-copy h1,
.contact-intro h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.page-hero p,
.about-copy p,
.contact-intro p,
.section-heading p,
.form-note {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-grid,
.pricing-grid,
.faq-list,
.timeline,
.tech-stack,
.contact-methods {
  display: grid;
  gap: 18px;
}

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

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

.price-card,
.testimonial,
.contact-form,
.faq-list details,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.price-card,
.testimonial,
.timeline-item,
.contact-form,
.faq-list details {
  padding: 26px;
}

.pricing-grid {
  padding-top: 42px;
}

.price-card {
  position: relative;
}

.price-card.featured {
  border-color: rgba(126, 91, 255, 0.78);
  box-shadow: 0 0 38px rgba(124, 60, 255, 0.26), var(--shadow);
}

.badge {
  position: absolute;
  top: -34px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid rgba(183, 129, 255, 0.92);
  border-radius: 999px;
  color: #f4edff;
  background: linear-gradient(135deg, rgba(115, 62, 255, 0.98), rgba(151, 64, 255, 0.9));
  box-shadow: 0 0 28px rgba(142, 76, 255, 0.72), inset 0 0 20px rgba(255, 255, 255, 0.12);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
}

.badge i {
  color: #d8c7ff;
  font-size: 1.2rem;
  fill: currentColor;
}

.price {
  color: var(--text);
  font-size: 2rem;
  font-weight: 900;
}

.price-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin: 0.2rem 0;
  color: var(--cyan);
  font-size: 1rem;
  line-height: 1.3;
}

.price-link:hover {
  color: var(--text);
}

.about-card-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-card-grid .service-card {
  min-height: 0;
  padding: 24px;
}

.about-card-grid .service-card::before {
  height: 56px;
}

.about-card-grid .service-card > i {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  font-size: 1.45rem;
}

.about-card-grid .service-card h3 {
  margin-bottom: 10px;
}

.about-card-grid .service-card p {
  min-height: 0;
}

.price-card ul,
.faq-list p,
.timeline-item p {
  color: var(--muted);
}

.about-hero,
.contact-layout,
.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.about-image img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
}

.tech-stack span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(26, 124, 255, 0.18);
  font-weight: 800;
}

.contact-layout {
  align-items: start;
}

.contact-methods {
  margin-top: 28px;
}

.contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-weight: 800;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(126, 157, 255, 0.34);
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--text);
  background: rgba(4, 10, 36, 0.78);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(33, 200, 255, 0.18);
  border-color: var(--cyan);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

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

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 12px;
    right: 12px;
    display: none;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
  }

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

  .site-nav a {
    padding: 12px 14px;
  }

  .site-nav a::after {
    left: auto;
    right: 12px;
  }

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

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

  .laptop {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

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

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

@media (max-width: 840px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    padding-inline: 12px;
  }

  .header-actions {
    display: none;
  }

  .hero,
  .stats-panel,
  .section,
  .cta-panel,
  .site-footer,
  .about-hero,
  .contact-layout,
  .page-hero {
    width: min(100% - 28px, var(--max));
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

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

  .laptop {
    width: min(470px, 95%);
  }

  .screen {
    height: 300px;
  }

  .keyboard {
    width: 88%;
  }

  .phone {
    width: 142px;
  }

  .stats-panel,
  .card-grid.three,
  .card-grid.four,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-panel {
    gap: 22px;
  }

  .stat {
    padding: 0;
    border-right: 0;
  }

  .service-showcase {
    width: min(100% - 28px, var(--max));
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .about-hero,
  .contact-layout,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    font-size: 0.68rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions .button,
  .cta-panel .button {
    width: 100%;
  }

  .feature-row {
    gap: 14px;
  }

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

  .screen {
    height: 245px;
  }

  .mock-content {
    margin-top: 34px;
  }

  .mock-content h2 {
    font-size: 1.28rem;
  }

  .phone {
    right: -6px;
    width: 118px;
  }

  .phone-screen {
    min-height: 230px;
  }

  .stats-panel {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .stat strong {
    font-size: 1.8rem;
  }

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

  .cta-panel {
    padding: 30px 24px;
  }

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