/* MyVLife Design System – local system fonts, no external tracking or render-blocking assets */
:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #040b14;
  --bg-soft: #0b1828;
  --surface: rgba(15, 31, 49, 0.76);
  --surface-solid: #0f2033;
  --surface-hover: #142a40;
  --surface-light: rgba(255, 255, 255, 0.052);
  --line: rgba(168, 205, 226, 0.14);
  --line-strong: rgba(74, 215, 198, 0.34);
  --text: #f4f9fc;
  --text-soft: #b5c5d2;
  --muted: #8194a5;
  --primary: #42d6c4;
  --primary-bright: #6ce8d9;
  --primary-deep: #137f78;
  --secondary: #5da7ff;
  --warning: #ffcc76;
  --danger: #ff7785;
  --success: #57dfad;
  --shadow-sm: 0 12px 35px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 35px 100px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 0 50px rgba(66, 214, 196, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 82px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6fafc;
  --bg-deep: #edf4f7;
  --bg-soft: #e8f1f4;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-hover: #eef7f7;
  --surface-light: rgba(17, 58, 72, 0.045);
  --line: rgba(11, 62, 79, 0.13);
  --line-strong: rgba(12, 143, 135, 0.35);
  --text: #102432;
  --text-soft: #405866;
  --muted: #708692;
  --primary: #0f988f;
  --primary-bright: #097b75;
  --primary-deep: #08736d;
  --secondary: #2875cc;
  --shadow-sm: 0 12px 35px rgba(34, 76, 88, 0.09);
  --shadow-lg: 0 35px 100px rgba(34, 76, 88, 0.14);
  --shadow-glow: 0 0 50px rgba(15, 152, 143, 0.09);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  scrollbar-color: var(--primary-deep) var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

::selection {
  background: var(--primary);
  color: #03120f;
}

:focus-visible {
  outline: 3px solid var(--primary-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--primary);
  color: #03120f;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

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

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

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading-split {
  display: grid;
  grid-template-columns: 1.5fr .75fr;
  gap: 72px;
  align-items: end;
  width: 100%;
  text-align: left;
}

.section-heading p,
.section-heading-split > p {
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.section-heading-split > p {
  margin: 0 0 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--primary-bright);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

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

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.12;
}

h1 {
  margin-bottom: 25px;
  font-size: clamp(2.75rem, 5.4vw, 5.35rem);
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
}

h3 {
  font-size: 1.26rem;
}

.gradient-text {
  background: linear-gradient(105deg, var(--primary-bright), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: .93rem;
  font-weight: 760;
  line-height: 1;
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

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

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .25s ease;
}

.button:hover svg {
  transform: translateX(3px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  box-shadow: 0 13px 32px rgba(66, 214, 196, .16);
  color: #031512;
}

html[data-theme="light"] .button-primary {
  background: linear-gradient(135deg, #21b9ad, #0e9188);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 16px 40px rgba(66, 214, 196, .25);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface-light);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.button-small {
  min-height: 41px;
  padding: 11px 17px;
  border-radius: 10px;
  font-size: .82rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-bright);
  font-weight: 750;
}

.text-link span,
.text-link b {
  transition: transform .2s ease;
}

.text-link:hover span,
.text-link:hover b {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled,
.site-header.menu-visible {
  border-color: var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(93, 230, 213, .4);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(66, 214, 196, .2), rgba(93, 167, 255, .06));
  color: var(--primary-bright);
  font-weight: 900;
  box-shadow: inset 0 0 22px rgba(66, 214, 196, .1);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 22px;
  height: 1px;
  background: rgba(93, 230, 213, .2);
  content: "";
  transform: rotate(45deg);
}

.brand-mark::after {
  transform: rotate(-45deg);
}

.brand-mark span {
  position: relative;
  z-index: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: -.02em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 36px);
}

.desktop-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: .84rem;
  font-weight: 650;
  transition: color .2s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

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

.theme-toggle,
.menu-toggle {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-light);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.theme-icon {
  width: 18px;
  fill: none;
  stroke: var(--text-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

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

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

.menu-toggle {
  display: none;
  gap: 4px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 18px 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
}

.mobile-nav:not([hidden]) {
  display: grid;
}

.mobile-nav a {
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  padding: 175px 0 54px;
  background:
    radial-gradient(circle at 88% 24%, rgba(24, 121, 139, .17), transparent 32%),
    radial-gradient(circle at 15% 28%, rgba(44, 105, 169, .11), transparent 27%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: .27;
  background-image: linear-gradient(rgba(112, 174, 197, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(112, 174, 197, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .75;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 180px;
  left: -220px;
  width: 440px;
  height: 440px;
  background: rgba(55, 149, 179, .08);
  box-shadow: 0 0 150px rgba(55, 149, 179, .14);
}

.hero-glow-two {
  right: -170px;
  bottom: 120px;
  width: 380px;
  height: 380px;
  background: rgba(66, 214, 196, .06);
  box-shadow: 0 0 150px rgba(66, 214, 196, .12);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.hero-copy .eyebrow {
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: rgba(66, 214, 196, .06);
  font-size: .68rem;
}

.hero-copy .eyebrow::before {
  display: none;
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(87, 223, 173, .1);
}

.status-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid var(--success);
  border-radius: inherit;
  content: "";
  animation: status-pulse 2.2s ease-out infinite;
}

@keyframes status-pulse {
  0% { opacity: .8; transform: scale(.6); }
  70%, 100% { opacity: 0; transform: scale(1.7); }
}

.hero-lead {
  width: min(650px, 100%);
  margin-bottom: 31px;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 21px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: .77rem;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-list span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: rgba(66, 214, 196, .1);
  color: var(--primary-bright);
  font-size: .65rem;
}

.hero-visual {
  position: relative;
  perspective: 1200px;
}

.app-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(159, 217, 232, .19);
  border-radius: 19px;
  background: rgba(8, 20, 34, .76);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(31, 145, 152, .14), inset 0 1px rgba(255, 255, 255, .05);
  transform: rotateY(-4deg) rotateX(2deg);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .app-window {
  background: rgba(250, 254, 255, .92);
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr 2.6fr 1fr;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ee6d74;
}

.window-dots span:nth-child(2) { background: #e7bd61; }
.window-dots span:nth-child(3) { background: #53bc8a; }

.window-address {
  overflow: hidden;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: .59rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lock-icon {
  margin-right: 5px;
  color: var(--primary);
  font-size: .48rem;
}

.window-menu {
  color: var(--muted);
  font-size: .7rem;
  text-align: right;
}

.app-layout {
  display: grid;
  grid-template-columns: 60px 1fr;
  min-height: 390px;
}

.app-sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 17px 0;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, .018);
}

.mini-logo {
  display: grid;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--primary-bright);
  font-size: .66rem;
  font-weight: 900;
}

.side-item {
  width: 15px;
  height: 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.side-item.active {
  border-color: var(--primary);
  background: rgba(66, 214, 196, .16);
  box-shadow: 0 0 15px rgba(66, 214, 196, .15);
}

.app-content {
  padding: 25px 22px 20px;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.app-head div {
  display: grid;
  gap: 7px;
}

.app-head span,
.app-head strong,
.app-head i,
.chart-title span,
.chart-title i {
  display: block;
  border-radius: 10px;
  background: var(--surface-light);
}

.app-head span { width: 56px; height: 5px; background: rgba(66, 214, 196, .36); }
.app-head strong { width: 115px; height: 9px; }
.app-head i { width: 55px; height: 22px; border: 1px solid var(--line); }

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

.metric {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-light);
}

.metric span {
  overflow: hidden;
  color: var(--muted);
  font-size: .53rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric strong {
  font-size: .98rem;
}

.metric i {
  color: var(--muted);
  font-size: .48rem;
  font-style: normal;
}

.metric i.metric-up { color: var(--success); }

.chart-card {
  margin-top: 11px;
  padding: 14px 13px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-light);
}

.chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chart-title span { width: 70px; height: 7px; }
.chart-title i { width: 30px; height: 7px; }
.chart-card svg { width: 100%; height: 150px; overflow: visible; }
.chart-area { fill: url(#chart-fill); }
.chart-line { fill: none; stroke: var(--primary); stroke-linecap: round; stroke-width: 2.2; vector-effect: non-scaling-stroke; }

.code-line {
  margin-top: 11px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 9, 17, .34);
  color: var(--text-soft);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: .52rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme="light"] .code-line { background: rgba(223, 237, 241, .65); }
.code-line span { color: #c991eb; }
.code-line i { color: #8ec4ff; font-style: normal; }
.code-line b { color: var(--primary-bright); font-weight: 500; }

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(66, 214, 196, .12);
  border-radius: 50%;
  pointer-events: none;
}

.orbit::after {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 14px var(--primary);
  content: "";
}

.orbit-one { inset: -80px -50px -70px -70px; animation: orbit-spin 19s linear infinite; }
.orbit-one::after { top: 17%; left: 12%; }
.orbit-two { inset: -33px 12px -28px -27px; animation: orbit-spin 13s linear infinite reverse; }
.orbit-two::after { right: 10%; bottom: 20%; }

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

.floating-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface-solid) 84%, transparent);
  box-shadow: var(--shadow-sm), var(--shadow-glow);
  color: var(--primary-bright);
  font-family: Consolas, monospace;
  font-size: .83rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
  animation: float-chip 4.5s ease-in-out infinite;
}

.chip-code { top: -25px; right: 38px; }
.chip-speed { right: -22px; bottom: 55px; color: var(--secondary); animation-delay: -2.1s; }

@keyframes float-chip {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.hero-proof {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 85px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-proof div {
  display: grid;
  gap: 3px;
  padding: 24px 27px;
  border-right: 1px solid var(--line);
}

.hero-proof div:last-child { border-right: 0; }
.hero-proof strong { font-size: 1.16rem; letter-spacing: -.02em; }
.hero-proof span { color: var(--muted); font-size: .72rem; }

.audience-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.audience-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.audience-inner > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.audience-list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  color: var(--text-soft);
  font-size: .78rem;
  font-weight: 650;
}

.audience-list i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--primary-deep);
}

/* Services */
.services {
  background: linear-gradient(180deg, var(--bg), var(--bg-deep));
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 375px;
  overflow: hidden;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-solid) 60%, transparent));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 15% 12%, rgba(66, 214, 196, .1), transparent 35%);
  content: "";
  transition: opacity .35s ease;
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm), var(--shadow-glow);
  transform: translateY(-7px);
}

.service-card:hover::before { opacity: 1; }

.service-card-featured {
  border-color: rgba(66, 214, 196, .22);
  background: linear-gradient(145deg, rgba(28, 64, 73, .54), var(--surface));
}

html[data-theme="light"] .service-card-featured {
  background: linear-gradient(145deg, rgba(220, 246, 242, .9), var(--surface));
}

.service-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(66, 214, 196, .08);
  color: var(--primary-bright);
}

.service-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.card-number {
  position: absolute;
  top: 26px;
  right: 27px;
  color: var(--muted);
  font-family: Consolas, monospace;
  font-size: .67rem;
}

.service-card h3,
.service-card p,
.service-card ul,
.service-card a { position: relative; z-index: 1; }
.service-card h3 { margin-bottom: 13px; }
.service-card p { margin-bottom: 20px; color: var(--text-soft); font-size: .89rem; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.service-tags li {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: .62rem;
}

.service-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--primary-bright);
  font-size: .75rem;
  font-weight: 750;
}

.service-card a span { transition: transform .2s ease; }
.service-card a:hover span { transform: translateX(4px); }

/* Advantages */
.advantages {
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 50%, rgba(43, 122, 151, .1), transparent 30%),
    var(--bg-deep);
}

.advantages-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(55px, 8vw, 110px);
  align-items: start;
}

.advantages-copy {
  position: sticky;
  top: 130px;
}

.advantages-copy > p {
  margin: 25px 0 35px;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.quote-card {
  position: relative;
  padding: 24px 24px 22px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-light);
}

.quote-card svg {
  position: absolute;
  top: 21px;
  left: 22px;
  width: 26px;
  fill: none;
  stroke: var(--primary-bright);
  stroke-width: 1.3;
}

.quote-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: .85rem;
  font-style: italic;
}

.advantages-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.advantage {
  display: flex;
  min-height: 180px;
  gap: 19px;
  padding: 25px 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-light);
  transition: border-color .3s ease, background .3s ease, transform .3s var(--ease);
}

.advantage:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  transform: translateY(-4px);
}

.advantage > span {
  flex: 0 0 auto;
  color: var(--primary-bright);
  font-family: Consolas, monospace;
  font-size: .65rem;
}

.advantage h3 {
  margin-bottom: 9px;
  font-size: 1.02rem;
}

.advantage p {
  margin: 0;
  color: var(--muted);
  font-size: .79rem;
}

/* Concepts */
.work {
  background: var(--bg);
}

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

.concept-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .35s ease;
}

.concept-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-7px);
}

.concept-visual {
  position: relative;
  height: 275px;
  overflow: hidden;
}

.concept-browser {
  position: relative;
  z-index: 5;
  display: flex;
  height: 25px;
  align-items: center;
  gap: 4px;
  padding-left: 10px;
  background: rgba(3, 7, 10, .34);
}

.concept-browser span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}

.concept-craft {
  background: linear-gradient(120deg, #15191c 45%, #303538);
}

.craft-nav,
.medical-nav,
.food-nav {
  position: relative;
  z-index: 4;
  display: flex;
  height: 40px;
  align-items: center;
  gap: 15px;
  padding: 0 18px;
  color: white;
  font-size: .38rem;
}

.craft-nav b,
.medical-nav b,
.food-nav b {
  margin-right: auto;
  font-size: .52rem;
  letter-spacing: .11em;
}

.craft-nav i,
.medical-nav i,
.food-nav i {
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .32);
}

.craft-copy,
.medical-copy,
.food-copy {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 43px 22px;
  color: white;
}

.craft-copy small,
.medical-copy small,
.food-copy small {
  margin-bottom: 8px;
  color: #efad5c;
  font-size: .36rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.craft-copy strong,
.medical-copy strong,
.food-copy strong {
  font-family: Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.craft-copy span,
.medical-copy > span,
.food-copy > span {
  width: 70px;
  height: 13px;
  margin-top: 18px;
  border-radius: 2px;
  background: #c58035;
  color: white;
  font-size: .35rem;
}

.craft-shape {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 205px;
  height: 215px;
  border-radius: 50% 12% 0 0;
  background: linear-gradient(135deg, #4e5558, #171b1d);
  box-shadow: -22px -20px 70px rgba(0, 0, 0, .35);
  transform: rotate(-9deg);
}

.craft-shape i {
  position: absolute;
  width: 110px;
  height: 12px;
  border: 4px solid #a6733b;
  border-radius: 2px;
  transform: rotate(45deg);
}

.craft-shape i:nth-child(1) { top: 65px; left: 45px; }
.craft-shape i:nth-child(2) { top: 105px; left: 35px; transform: rotate(-32deg); }
.craft-shape i:nth-child(3) { top: 145px; left: 65px; width: 70px; transform: rotate(12deg); }

.concept-medical {
  background: linear-gradient(135deg, #eaf6f5, #c9e7e3);
}

.medical-nav { color: #183d43; }
.medical-nav b { font-size: .64rem; letter-spacing: -.02em; }
.medical-nav b span { color: #36a998; }
.medical-nav i { background: rgba(24, 61, 67, .24); }
.medical-nav em,
.food-nav em { padding: 4px 7px; border-radius: 3px; background: #318f85; color: white; font-size: .34rem; font-style: normal; }
.medical-copy { color: #163a40; }
.medical-copy small { color: #318f85; }
.medical-copy strong { font-family: ui-sans-serif, sans-serif; font-size: 1.28rem; letter-spacing: -.05em; }
.medical-copy > span { display: grid; width: auto; height: auto; min-height: 17px; place-items: center; padding: 2px 8px; background: #318f85; }
.medical-orb { position: absolute; right: -35px; bottom: -55px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f9ffff 0 12%, #8fc8c1 50%, #438f87); box-shadow: -25px -25px 70px rgba(56, 139, 130, .18); }
.medical-orb::after { position: absolute; inset: 42px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; content: "+"; color: white; font-size: 4rem; line-height: 115px; text-align: center; }

.concept-food {
  background: linear-gradient(120deg, #1b1714, #30241c);
}

.food-nav b { font-family: Georgia, serif; font-size: .69rem; }
.food-nav em { background: #996d40; }
.food-copy small { color: #c99a6b; }
.food-copy > span { display: grid; width: auto; height: auto; min-height: 17px; place-items: center; padding: 2px 8px; background: #95683d; }
.food-plate { position: absolute; right: -52px; bottom: -54px; width: 225px; height: 225px; border: 25px solid #d6cbc0; border-radius: 50%; background: radial-gradient(circle, #74513a 0 18%, #3a8a65 19% 26%, #d09351 27% 36%, #f4e1c2 37%); box-shadow: -25px -25px 70px rgba(0, 0, 0, .45); }
.food-plate i { position: absolute; width: 32px; height: 11px; border-radius: 50%; background: #b9d57b; transform: rotate(30deg); }
.food-plate i:nth-child(1) { top: 30px; left: 20px; }
.food-plate i:nth-child(2) { right: 18px; bottom: 36px; transform: rotate(-20deg); }
.food-plate i:nth-child(3) { right: 30px; top: 43px; transform: rotate(80deg); }

.concept-body {
  padding: 21px 22px 23px;
}

.concept-body h3 {
  margin: 6px 0 11px;
  font-size: 1.13rem;
}

.concept-body p {
  margin: 0;
  color: var(--muted);
  font-size: .77rem;
}

.demo-label {
  color: var(--primary-bright);
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.portfolio-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 26px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(66, 214, 196, .075), var(--surface));
}

.note-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: rgba(66, 214, 196, .12);
  color: var(--primary-bright);
}

.note-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.portfolio-note h3 { margin: 0 0 6px; font-size: 1.05rem; }
.portfolio-note p { margin: 0; color: var(--text-soft); font-size: .78rem; }

/* About */
.about {
  background: var(--bg-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(55px, 9vw, 125px);
  align-items: center;
}

.about-visual {
  position: relative;
}

.developer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface-solid), color-mix(in srgb, var(--bg) 80%, transparent));
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.developer-card::before {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(66, 214, 196, .08);
  box-shadow: 0 0 90px rgba(66, 214, 196, .1);
  content: "";
}

.developer-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 23px;
  border-bottom: 1px solid var(--line);
}

.developer-avatar {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(66, 214, 196, .2), rgba(93, 167, 255, .12));
  color: var(--primary-bright);
  font-weight: 900;
}

.developer-top div {
  display: grid;
  gap: 3px;
  line-height: 1.25;
}

.developer-top strong { font-size: .82rem; }
.developer-top small { color: var(--muted); font-size: .64rem; }
.online-dot { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); }

.developer-code {
  display: grid;
  gap: 14px;
  padding: 37px 27px;
  color: var(--text-soft);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: clamp(.65rem, 1.1vw, .79rem);
  line-height: 1.3;
}

.developer-code span { white-space: nowrap; }
.developer-code i { display: inline-block; width: 27px; color: var(--muted); font-style: normal; opacity: .5; }
.developer-code b { color: #c991eb; font-weight: 500; }
.developer-code em { color: var(--primary-bright); font-style: normal; }
.developer-code strong { color: var(--secondary); font-weight: 500; }

.developer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .59rem;
}

.developer-bottom span { display: flex; align-items: center; gap: 7px; }
.developer-bottom span i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.developer-bottom b { color: var(--text-soft); font-weight: 600; }

.about-badge {
  position: absolute;
  right: -27px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
}

.about-badge strong { color: var(--primary-bright); font-size: 1.27rem; }
.about-badge span { color: var(--muted); font-size: .55rem; line-height: 1.3; text-transform: uppercase; }
.about-copy > p { color: var(--text-soft); }
.about-copy .about-lead { margin: 25px 0 16px; color: var(--text); font-size: 1.08rem; }

.about-values {
  display: grid;
  gap: 14px;
  margin: 29px 0;
}

.about-values > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.about-values svg {
  width: 27px;
  height: 27px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(66, 214, 196, .1);
  fill: none;
  stroke: var(--primary-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.about-values span { display: grid; gap: 2px; }
.about-values strong { font-size: .86rem; }
.about-values small { color: var(--muted); font-size: .7rem; }

/* Process */
.process {
  background: var(--bg);
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 47px;
  right: 6%;
  left: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
  content: "";
}

.process-step {
  position: relative;
  padding: 0 13px;
  text-align: center;
}

.step-number {
  position: absolute;
  top: -8px;
  left: calc(50% + 28px);
  color: var(--muted);
  font-family: Consolas, monospace;
  font-size: .53rem;
}

.step-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  margin: 15px auto 23px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: var(--surface-solid);
  box-shadow: 0 0 0 8px var(--bg), var(--shadow-glow);
  color: var(--primary-bright);
  transition: transform .3s var(--ease), background .3s ease;
}

.process-step:hover .step-icon {
  background: rgba(66, 214, 196, .11);
  transform: translateY(-5px) rotate(2deg);
}

.step-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.process-step h3 {
  min-height: 39px;
  margin: 0 0 9px;
  font-size: .88rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.55;
}

/* Conversion */
.conversion-banner {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 82% 50%, rgba(66, 214, 196, .13), transparent 28%),
    radial-gradient(circle at 12% 40%, rgba(67, 130, 204, .11), transparent 30%),
    var(--bg-deep);
}

.banner-grid {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(rgba(66, 214, 196, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(66, 214, 196, .07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.conversion-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .75fr;
  gap: 90px;
  align-items: end;
}

.conversion-inner h2 { font-size: clamp(2.15rem, 4.3vw, 3.75rem); }
.conversion-inner p { margin-bottom: 25px; color: var(--text-soft); }

/* FAQ */
.faq {
  background: var(--bg-deep);
}

.faq-grid {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: clamp(55px, 8vw, 115px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 130px;
}

.faq-intro p {
  margin: 24px 0 28px;
  color: var(--text-soft);
}

.faq-list {
  display: grid;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 19px 4px;
  cursor: pointer;
  font-size: .94rem;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary span {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color .25s ease, transform .25s ease;
}

.faq-item summary span::before,
.faq-item summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--primary-bright);
  content: "";
  transform: translate(-50%, -50%);
}

.faq-item summary span::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s ease; }
.faq-item[open] summary span { border-color: var(--line-strong); transform: rotate(180deg); }
.faq-item[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }

.faq-item p {
  margin: -5px 50px 24px 4px;
  color: var(--text-soft);
  font-size: .85rem;
}

/* Contact */
.contact {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 55%, rgba(33, 121, 149, .12), transparent 28%),
    var(--bg);
}

.contact::after {
  position: absolute;
  right: -170px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(66, 214, 196, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(66, 214, 196, .015), 0 0 0 120px rgba(66, 214, 196, .01);
  content: "";
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(55px, 8vw, 100px);
  align-items: start;
}

.contact-copy > p {
  margin: 25px 0 35px;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.contact-points {
  display: grid;
  gap: 18px;
}

.contact-points > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-points > div > span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-light);
  color: var(--primary-bright);
}

.contact-points svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.contact-points > div > div { display: grid; min-width: 0; gap: 2px; }
.contact-points small { color: var(--muted); font-size: .64rem; }
.contact-points strong { overflow-wrap: anywhere; font-size: .8rem; }

.contact-trust {
  display: flex;
  gap: 12px;
  margin-top: 31px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.contact-trust > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(66, 214, 196, .12);
  color: var(--primary-bright);
  font-size: .72rem;
}

.contact-trust p { margin: 0; color: var(--muted); font-size: .7rem; }
.contact-trust strong { color: var(--text-soft); }

.contact-form {
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-solid) 80%, transparent));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.form-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-head > div { display: grid; gap: 6px; }
.form-head > div > span { color: var(--primary-bright); font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.form-head h3 { margin: 0; font-size: 1.15rem; }
.form-badge { flex: 0 0 auto; padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 100px; background: rgba(66, 214, 196, .06); color: var(--primary-bright); font-size: .55rem; font-weight: 700; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 19px;
}

.field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.field-full { grid-column: 1 / -1; }

.field label {
  color: var(--text-soft);
  font-size: .7rem;
  font-weight: 700;
}

.field label > span:not(.optional) { color: var(--primary-bright); }
.field .optional { color: var(--muted); font-size: .58rem; font-weight: 500; }

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: rgba(3, 11, 19, .24);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea,
html[data-theme="light"] .field select {
  background: rgba(255, 255, 255, .7);
}

.field input,
.field select {
  min-height: 47px;
  padding: 10px 13px;
}

.field textarea {
  min-height: 137px;
  padding: 12px 13px;
  line-height: 1.55;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary-deep);
  background: var(--surface-light);
  box-shadow: 0 0 0 3px rgba(66, 214, 196, .08);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.field select option { background: var(--surface-solid); color: var(--text); }

.field-error {
  min-height: 0;
  color: var(--danger);
  font-size: .61rem;
}

.field-error:empty { display: none; }

.field-meta {
  display: flex;
  min-height: 15px;
  justify-content: space-between;
  color: var(--muted);
  font-size: .58rem;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  margin-top: 1px;
}

.checkbox-field input {
  width: 17px;
  min-height: 17px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.checkbox-field label {
  font-size: .65rem;
  font-weight: 500;
  line-height: 1.55;
}

.checkbox-field label a {
  color: var(--primary-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.submit-button {
  position: relative;
  width: 100%;
  margin-top: 23px;
}

.submit-button.loading span,
.submit-button.loading svg { visibility: hidden; }
.submit-button:disabled { cursor: wait; opacity: .75; }

.button-loader {
  position: absolute;
  display: none;
  width: 21px;
  height: 21px;
  border: 2px solid rgba(3, 21, 18, .25);
  border-top-color: #031512;
  border-radius: 50%;
  animation: loader-spin .7s linear infinite;
}

.submit-button.loading .button-loader { display: block; }
@keyframes loader-spin { to { transform: rotate(360deg); } }

.form-status {
  display: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: .72rem;
}

.form-status.success { display: block; border: 1px solid rgba(87, 223, 173, .3); background: rgba(87, 223, 173, .08); color: var(--success); }
.form-status.error { display: block; border: 1px solid rgba(255, 119, 133, .3); background: rgba(255, 119, 133, .07); color: var(--danger); }
.required-note { margin: 13px 0 0; color: var(--muted); font-size: .57rem; text-align: center; }
.required-note span { color: var(--primary-bright); }

/* Footer */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.65fr repeat(3, 1fr);
  gap: clamp(38px, 6vw, 80px);
  padding-top: 69px;
  padding-bottom: 55px;
}

.footer-brand p {
  width: min(310px, 100%);
  margin: 20px 0;
  color: var(--muted);
  font-size: .76rem;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text-soft);
  font-size: .58rem;
  font-weight: 800;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.social-links a:hover { border-color: var(--line-strong); color: var(--primary-bright); transform: translateY(-2px); }

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.footer-column h2 {
  margin: 4px 0 8px;
  font-size: .77rem;
  letter-spacing: .01em;
}

.footer-column a,
.footer-column > span {
  color: var(--muted);
  font-size: .7rem;
  transition: color .2s ease;
}

.footer-column a:hover { color: var(--primary-bright); }
.footer-contact .text-link { margin-top: 5px; color: var(--primary-bright); font-weight: 700; }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .62rem;
}

.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--primary-bright); }
.back-to-top { justify-self: end; }
.back-to-top span { margin-left: 4px; color: var(--primary-bright); }

/* Legal and error pages */
.subpage-main {
  min-height: 75vh;
  padding: 150px 0 100px;
  background: radial-gradient(circle at 80% 10%, rgba(66, 214, 196, .08), transparent 28%), var(--bg);
}

.legal-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 4px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.legal-nav strong { margin: 2px 8px 10px; font-size: .75rem; }
.legal-nav a { padding: 8px; border-radius: 7px; color: var(--muted); font-size: .7rem; }
.legal-nav a:hover { background: var(--surface-light); color: var(--primary-bright); }

.legal-content { width: min(780px, 100%); }
.legal-content > header { margin-bottom: 45px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-content > header p { margin: 18px 0 0; color: var(--text-soft); }
.legal-content h2 { margin: 45px 0 14px; font-size: 1.45rem; letter-spacing: -.025em; }
.legal-content h3 { margin: 28px 0 10px; font-size: 1.03rem; }
.legal-content p,
.legal-content li { color: var(--text-soft); font-size: .88rem; }
.legal-content ul { padding-left: 21px; }
.legal-content a { color: var(--primary-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal-content address { color: var(--text-soft); font-style: normal; }
.legal-note { margin: 28px 0; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(66, 214, 196, .06); }
.legal-note strong { display: block; margin-bottom: 6px; color: var(--primary-bright); font-size: .78rem; }
.legal-note p { margin: 0; font-size: .75rem; }
.legal-updated { color: var(--muted); font-size: .69rem; }

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
  background: radial-gradient(circle at center, rgba(66, 214, 196, .09), transparent 34%), var(--bg-deep);
  text-align: center;
}

.error-card { width: min(560px, 100%); }
.error-code { display: block; margin-bottom: 12px; background: linear-gradient(105deg, var(--primary-bright), var(--secondary)); background-clip: text; color: transparent; font-size: clamp(6rem, 20vw, 11rem); font-weight: 900; letter-spacing: -.09em; line-height: .8; }
.error-card h1 { margin-bottom: 15px; font-size: 2rem; }
.error-card p { margin-bottom: 28px; color: var(--text-soft); }

/* Reveal motion */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

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

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

.js .reveal-delay { transition-delay: .12s; }

/* Responsive */
@media (max-width: 1060px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .hero { padding-top: 145px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { width: min(780px, 100%); text-align: center; margin-inline: auto; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions,
  .trust-list { justify-content: center; }
  .hero-visual { width: min(680px, 85%); margin: 45px auto 0; }
  .hero-proof { margin-top: 75px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .concept-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); margin-inline: auto; }
  .process-list { grid-template-columns: repeat(4, 1fr); gap: 35px 0; }
  .process-list::before { display: none; }
  .step-icon { box-shadow: var(--shadow-glow); }
  .footer-top { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
  :root { --header-height: 70px; }
  .section { padding: 90px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading-split { grid-template-columns: 1fr; gap: 18px; }
  .hero { min-height: auto; padding-top: 125px; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); }
  .hero-proof div:nth-child(2) { border-right: 0; }
  .hero-proof div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .audience-inner { align-items: flex-start; flex-direction: column; padding: 24px 0; }
  .audience-list { flex-wrap: wrap; }
  .advantages-grid,
  .about-grid,
  .faq-grid,
  .contact-grid,
  .conversion-inner { grid-template-columns: 1fr; }
  .advantages-copy,
  .faq-intro { position: static; }
  .advantages-list { grid-template-columns: repeat(2, 1fr); }
  .about-visual { width: min(560px, calc(100% - 25px)); margin-inline: auto; }
  .about-copy { order: -1; }
  .conversion-inner { gap: 35px; }
  .portfolio-note { grid-template-columns: auto 1fr; }
  .portfolio-note .button { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
  .legal-shell { grid-template-columns: 1fr; gap: 32px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .legal-nav strong { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-cta { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  h1 {
    overflow-wrap: anywhere;
    hyphens: auto;
    font-size: clamp(2.15rem, 9vw, 2.9rem);
  }
  h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-copy { text-align: left; }
  .hero-copy .eyebrow { justify-content: flex-start; }
  .hero-actions,
  .trust-list { justify-content: flex-start; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; }
  .hero-visual { width: calc(100% - 8px); }
  .app-window { transform: none; }
  .app-layout { grid-template-columns: 40px 1fr; min-height: 310px; }
  .app-sidebar { gap: 14px; }
  .app-content { padding: 18px 12px 13px; }
  .metric { padding: 9px 7px; }
  .metric span { font-size: .46rem; }
  .metric strong { font-size: .73rem; }
  .chart-card svg { height: 100px; }
  .chip-code { right: 18px; }
  .chip-speed { right: -6px; }
  .floating-chip { width: 43px; height: 43px; border-radius: 12px; font-size: .68rem; }
  .hero-proof div { padding: 18px 13px; }
  .hero-proof strong { font-size: .94rem; }
  .hero-proof span { font-size: .6rem; }
  .service-grid,
  .advantages-list,
  .concept-grid,
  .form-grid { grid-template-columns: 1fr; }
  .concept-card:last-child { grid-column: auto; width: 100%; }
  .service-card { min-height: 340px; }
  .advantages-grid { gap: 42px; }
  .portfolio-note { grid-template-columns: 1fr; padding: 22px; }
  .portfolio-note .button { grid-column: auto; }
  .note-icon { width: 42px; height: 42px; }
  .about-badge { right: -10px; bottom: 20px; }
  .developer-code { padding: 30px 18px; font-size: .61rem; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-step:last-child { grid-column: 1 / -1; width: 50%; justify-self: center; }
  .conversion-banner { padding: 70px 0; }
  .contact-form { padding: 22px 17px; border-radius: var(--radius); }
  .form-head { align-items: flex-start; flex-direction: column; }
  .field-full { grid-column: auto; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 38px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 14px; }
  .footer-bottom nav { grid-column: 1 / -1; grid-row: 1; }
  .footer-bottom p { grid-row: 2; }
  .back-to-top { grid-row: 2; }
}

@media (max-width: 400px) {
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-proof div:last-child { border-bottom: 0; }
  .process-list { grid-template-columns: 1fr; }
  .process-step:last-child { grid-column: auto; width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .particle-canvas { display: none; }
}
