/* SecureKeys CR - clean light startup redesign */

:root {
  --bg: #ffffff;
  --bg-2: #f7f9fc;
  --bg-3: #eef2f8;
  --bg-4: #e4eaf4;
  --cyan: #38b6d4;
  --cyan-dark: #2196b8;
  --cyan-dim: rgba(56, 182, 212, 0.1);
  --cyan-glow: rgba(56, 182, 212, 0.2);
  --indigo: #2b3fd4;
  --indigo-dim: rgba(43, 63, 212, 0.1);
  --text: #0d1117;
  --text-2: #374151;
  --text-3: #6b7280;
  --text-4: #9ca3af;
  --line: rgba(0, 0, 0, 0.07);
  --line-strong: rgba(0, 0, 0, 0.12);
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.09), 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-cyan: 0 8px 28px rgba(56, 182, 212, 0.22), 0 2px 8px rgba(56, 182, 212, 0.12);
  --amber: #d97706;
  --success: #059669;
  --font-head: "Exo 2", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --container: min(1160px, calc(100% - 3rem));
  --header-height: 104px;
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 9999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.82) 45%, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.82) 45%, transparent 60%);
  opacity: 0.75;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at top center, rgba(56, 182, 212, 0.05), transparent 55%),
    radial-gradient(circle at top right, rgba(43, 63, 212, 0.06), transparent 60%);
}

body.language-switching main,
body.language-switching footer,
body.language-switching .site-header {
  opacity: 0.82;
  transform: translateY(2px);
}

body,
main,
footer,
.site-header {
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

::selection {
  background: rgba(56, 182, 212, 0.18);
  color: var(--text);
}

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

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

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

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

button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(56, 182, 212, 0.9);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  padding: 0.9rem 0 0.7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 100%);
  backdrop-filter: blur(18px) saturate(1.2);
}

.site-header.scrolled {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.site-header.scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.nav-shell {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.88rem 1rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(24px) saturate(1.4);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.brand-copy__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.brand-copy__meta {
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  object-fit: contain;
  padding: 4px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
  border: 1px solid var(--line-strong);
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.brand:hover .brand-mark {
  border-color: rgba(56, 182, 212, 0.35);
  box-shadow: 0 0 0 4px rgba(56, 182, 212, 0.08);
  transform: translateY(-1px);
}

.nav-list,
.mobile-nav__list {
  list-style: none;
}

.nav-list {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.92);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.primary-nav--desktop {
  justify-self: center;
  min-width: 0;
}

.nav-list a,
.mobile-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--text-3);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-list a:hover,
.mobile-nav__list a:hover {
  color: var(--text);
  background: #fff;
  border-color: rgba(56, 182, 212, 0.18);
  box-shadow: var(--shadow-xs);
}

.nav-list a.is-active,
.nav-list a[aria-current="page"] {
  color: var(--text);
  background: #fff;
  border-color: rgba(56, 182, 212, 0.22);
  box-shadow: var(--shadow-sm);
}

.nav-list a::after {
  content: none;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.4rem;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ease-out);
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions,
.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-actions {
  justify-self: end;
}

.nav-cta {
  box-shadow: var(--shadow-xs);
}

.nav-utility {
  min-height: 46px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 46px;
  padding: 0 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(56, 182, 212, 0.25);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  color: #fff;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.lang-toggle__label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0 0.95rem 0 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-toggle:hover {
  background: var(--bg-3);
  transform: translateY(-1px);
}

.nav-toggle__icon {
  position: relative;
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
}

.nav-toggle__icon span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 220ms var(--ease-out), opacity 220ms ease, width 220ms ease;
}

.nav-toggle__icon span:nth-child(1) {
  top: 0;
}

.nav-toggle__icon span:nth-child(2) {
  top: 5px;
}

.nav-toggle__icon span:nth-child(3) {
  top: 10px;
}

.nav-toggle__label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}

.site-header.menu-open .nav-toggle {
  background: #fff;
  border-color: rgba(56, 182, 212, 0.24);
  box-shadow: var(--shadow-sm);
}

.site-header.menu-open .nav-toggle__icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.site-header.menu-open .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 200ms var(--ease-spring), box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 28%, rgba(255, 255, 255, 0.18) 50%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
  z-index: -1;
}

.button:hover::before {
  transform: translateX(120%);
}

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

.button:active {
  transform: translateY(0) scale(0.98);
}

.button__text {
  display: inline-flex;
  align-items: center;
}

.button-icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
  transition: transform 180ms ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--indigo) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-cyan), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.button--primary:hover {
  box-shadow: 0 14px 34px rgba(56, 182, 212, 0.24), 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 0 30px rgba(56, 182, 212, 0.08);
}

.button--ghost {
  color: var(--text);
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.button--ghost:hover {
  border-color: rgba(56, 182, 212, 0.4);
  box-shadow: var(--shadow-sm);
}

.button--block {
  width: 100%;
}

.mobile-menu {
  width: var(--container);
  margin: 0.75rem auto 0;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(24px) saturate(1.4);
  visibility: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px) scale(0.985);
  pointer-events: none;
  overflow: hidden;
  transition: max-height 320ms ease, opacity 200ms ease, transform 200ms ease, visibility 0s linear 320ms;
}

.mobile-menu__panel {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(56, 182, 212, 0.05) 0%, transparent 30%);
}

.site-header.menu-open .mobile-menu {
  visibility: visible;
  max-height: 560px;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: max-height 360ms var(--ease-out), opacity 220ms ease, transform 220ms ease, visibility 0s;
}

.mobile-nav__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.mobile-nav__list a {
  justify-content: space-between;
  padding: 1rem 1rem;
  min-height: 72px;
  border-radius: 22px;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  font-size: 1rem;
  font-weight: 700;
}

.mobile-nav__list a::after {
  content: "→";
  color: var(--cyan);
  font-weight: 700;
  transition: transform 180ms ease;
}

.mobile-nav__list a:hover::after,
.mobile-nav__list a.is-active::after,
.mobile-nav__list a[aria-current="page"]::after {
  transform: translateX(2px);
}

.mobile-nav__list a.is-active,
.mobile-nav__list a[aria-current="page"] {
  color: var(--text);
  background: #fff;
  border-color: rgba(56, 182, 212, 0.22);
  box-shadow: var(--shadow-sm);
}

.mobile-actions {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  flex-direction: row;
  gap: 0.75rem;
}

.mobile-actions .button,
.mobile-actions .lang-toggle {
  flex: 1 1 0;
  width: auto;
}

.mobile-actions .button {
  min-width: 0;
}

.mobile-actions .lang-toggle {
  min-width: 0;
  justify-content: center;
}

main {
  padding-top: var(--header-height);
}

.section {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8rem);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

main > section.section:nth-of-type(even) {
  background: var(--bg-2);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  display: block;
  width: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  flex-shrink: 0;
}

.section-heading {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--text);
}

.section-heading p {
  max-width: 42rem;
  margin: 0;
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--bg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(
    180deg,
    rgba(56, 182, 212, 0.04) 0%,
    rgba(43, 63, 212, 0.03) 40%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero-kicker {
  margin-bottom: 1.35rem;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  font-size: clamp(3rem, 6.5vw, 6.2rem);
  color: var(--text);
}

.hero-subtitle {
  max-width: 34rem;
  margin: 0;
  color: var(--text-2);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 460px);
  position: relative;
  z-index: 1;
}

.hero-visual__frame {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(56, 182, 212, 0.06);
}

.hero-visual__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 90% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at center, black 30%, transparent 80%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-visual__frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-xl) - 12px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 32%);
  pointer-events: none;
}

.hero-visual__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 46%, rgba(56, 182, 212, 0.08), transparent 46%);
}

.hero-visual__core {
  position: absolute;
  inset: 16% 14%;
  z-index: 3;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-visual__mono {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 9rem);
  letter-spacing: -0.1em;
  color: transparent;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--indigo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 32px rgba(56, 182, 212, 0.14));
  animation: monoPulse 7s ease-in-out infinite;
  user-select: none;
}

.hero-visual__orb,
.hero-visual__ring,
.hero-visual__tile,
.hero-visual__edge {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.hero-visual__orb {
  border-radius: 50%;
  background: rgba(56, 182, 212, 0.25);
  filter: blur(1px);
  animation: floatOrb 10s ease-in-out infinite;
}

.hero-visual__orb--one {
  top: 10%;
  left: 10%;
  width: 64px;
  height: 64px;
}

.hero-visual__orb--two {
  top: 66%;
  right: 10%;
  width: 40px;
  height: 40px;
  animation-delay: -3s;
}

.hero-visual__orb--three {
  bottom: 16%;
  left: 20%;
  width: 18px;
  height: 18px;
  animation-delay: -6s;
}

.hero-visual__ring {
  border-radius: 50%;
  border: 1px solid rgba(56, 182, 212, 0.18);
  animation: ringPulse 9s ease-in-out infinite;
}

.hero-visual__ring--one {
  bottom: 14%;
  left: 6%;
  width: 140px;
  height: 140px;
  animation-delay: -2s;
}

.hero-visual__ring--two {
  top: 12%;
  right: 10%;
  width: 100px;
  height: 100px;
  animation-delay: -5s;
}

.hero-visual__tile {
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(56, 182, 212, 0.1), rgba(43, 63, 212, 0.08));
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-visual__tile--one {
  left: 10%;
  bottom: 18%;
  width: 88px;
  height: 56px;
  transform: rotate(-8deg);
}

.hero-visual__tile--two {
  right: 14%;
  bottom: 22%;
  width: 66px;
  height: 66px;
  transform: rotate(12deg);
}

.hero-visual__tile--three {
  right: 22%;
  top: 24%;
  width: 52px;
  height: 52px;
  transform: rotate(6deg);
}

.hero-visual__edge {
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
  height: 1px;
}

.hero-visual__edge--top {
  top: 8%;
  left: 6%;
  width: 45%;
  transform: rotate(-14deg);
}

.hero-visual__edge--bottom {
  bottom: 10%;
  right: 4%;
  width: 40%;
  transform: rotate(22deg);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.75;
  z-index: 1;
}

.scroll-indicator__line {
  width: 1px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), rgba(56, 182, 212, 0.05));
}

.scroll-indicator__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(56, 182, 212, 0.12);
  animation: pulseDot 2.2s ease-in-out infinite;
}

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

.service-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 280ms var(--ease-spring), border-color 280ms ease, box-shadow 280ms ease, background-color 280ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 280ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(56, 182, 212, 0.07), transparent 70%);
  opacity: 0;
  transition: opacity 280ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 182, 212, 0.28);
  box-shadow: var(--shadow-cyan);
}

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

.service-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 1.35rem;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(56, 182, 212, 0.1), rgba(43, 63, 212, 0.06));
  border: 1px solid rgba(56, 182, 212, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-card h3,
.why-card h3,
.process-step h3,
.portfolio-card h3,
.contact-highlight h3 {
  margin-bottom: 0.55rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.service-card h3 {
  font-size: 1.25rem;
}

.service-card p,
.why-card p,
.process-step p,
.portfolio-card p,
.contact-highlight p {
  color: var(--text-2);
  line-height: 1.7;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge--soft {
  color: var(--cyan-dark);
  background: var(--cyan-dim);
  border: 1px solid rgba(56, 182, 212, 0.12);
}

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

.why-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 182, 212, 0.8), transparent);
  opacity: 0.65;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 182, 212, 0.22);
  box-shadow: var(--shadow-sm);
}

.why-card__index,
.process-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.why-card__index {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--cyan-dim);
  border: 1px solid rgba(56, 182, 212, 0.14);
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.why-card h3 {
  font-size: 1.08rem;
}

.why-card p {
  font-size: 0.92rem;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 182, 212, 0.08), rgba(56, 182, 212, 0.38), rgba(43, 63, 212, 0.22), rgba(56, 182, 212, 0.08));
}

.process-step {
  position: relative;
  padding: 1.4rem 1.25rem 1.35rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.process-step__index {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--cyan-dim), rgba(43, 63, 212, 0.08));
  border: 1px solid rgba(56, 182, 212, 0.2);
  box-shadow: 0 0 0 6px rgba(56, 182, 212, 0.05);
}

.process-step h3 {
  font-size: 1.08rem;
}

.process-step p {
  font-size: 0.92rem;
}

.portfolio-grid {
  display: grid;
  gap: 1rem;
}

.portfolio-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-areas: "shot content";
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 280ms var(--ease-spring), border-color 280ms ease, box-shadow 280ms ease;
}

.portfolio-card--reverse {
  grid-template-areas: "content shot";
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 182, 212, 0.22);
  box-shadow: var(--shadow-md);
}

.portfolio-card__shot {
  grid-area: shot;
  position: relative;
  margin: 0;
  min-height: clamp(330px, 42vw, 560px);
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 182, 212, 0.08), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(43, 63, 212, 0.08), transparent 24%),
    linear-gradient(180deg, #f9fbfe 0%, #eef3fb 100%);
}

.portfolio-card__shot::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 18%, transparent 80%, rgba(13, 17, 23, 0.05) 100%);
}

.portfolio-card__image,
.portfolio-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portfolio-card__image {
  display: block;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 260ms ease, transform 500ms var(--ease-out);
}

.portfolio-card__shot.is-loaded .portfolio-card__image {
  opacity: 1;
  transform: scale(1);
}

.portfolio-card__fallback {
  background:
    radial-gradient(circle at 16% 20%, rgba(56, 182, 212, 0.16), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(43, 63, 212, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #eef3fb 100%);
  transition: opacity 260ms ease;
}

.portfolio-card__shot.is-loaded .portfolio-card__fallback {
  opacity: 0;
}

.portfolio-card__fallback::before,
.portfolio-card__fallback::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.portfolio-card__fallback::before {
  inset: 1rem 1rem auto;
  height: 62px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 24px 24px, #f87171 0 4px, transparent 4px),
    radial-gradient(circle at 42px 24px, #f59e0b 0 4px, transparent 4px),
    radial-gradient(circle at 60px 24px, #34d399 0 4px, transparent 4px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-xs);
}

.portfolio-card__fallback::after {
  inset: 92px 1rem 1rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0 112px, transparent 112px),
    linear-gradient(90deg, rgba(56, 182, 212, 0.32) 0 24%, transparent 24% 28%, rgba(43, 63, 212, 0.18) 28% 56%, transparent 56% 60%, rgba(56, 182, 212, 0.14) 60% 100%),
    linear-gradient(180deg, transparent 152px, rgba(255, 255, 255, 0.62) 152px 182px, transparent 182px),
    linear-gradient(180deg, transparent 228px, rgba(56, 182, 212, 0.52) 228px 372px, transparent 372px),
    linear-gradient(180deg, transparent 420px, rgba(43, 63, 212, 0.4) 420px 520px, transparent 520px),
    linear-gradient(180deg, transparent 610px, rgba(56, 182, 212, 0.2) 610px 760px, transparent 760px),
    rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-xs);
}

.portfolio-card__content {
  grid-area: content;
  display: grid;
  gap: 0.45rem;
  align-content: center;
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2.4rem);
}

.portfolio-card__type {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.9;
}

.portfolio-card h3 {
  margin-bottom: 0.15rem;
  font-size: clamp(1.35rem, 1.9vw, 2rem);
  line-height: 1.08;
}

.portfolio-card p {
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 34rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.contact-copy > p {
  max-width: 36rem;
  margin: 0 0 1.35rem;
  color: var(--text-2);
}

.contact-highlights {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-highlight {
  padding: 1.1rem 1.25rem 1.15rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid rgba(56, 182, 212, 0.4);
  box-shadow: var(--shadow-xs);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.contact-highlight:hover {
  transform: translateY(-3px);
  border-left-color: var(--cyan);
  box-shadow: var(--shadow-sm);
}

.contact-highlight h3 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.contact-highlight p {
  font-size: 0.92rem;
}

.contact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-stat {
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  text-align: center;
}

.contact-stat__label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-3);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-stat__value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--cyan-dark);
  letter-spacing: -0.02em;
}

.contact-form {
  position: relative;
  overflow: hidden;
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.contact-form::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 182, 212, 0.07), transparent 70%);
  pointer-events: none;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--text);
  padding: 0.95rem 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder,
.field select:invalid {
  color: var(--text-4);
}

.field select option {
  background: #fff;
  color: var(--text);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  background: var(--bg-4);
  border-color: var(--line-strong);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: rgba(56, 182, 212, 0.5);
  box-shadow: 0 0 0 4px rgba(56, 182, 212, 0.12);
  outline: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(217, 119, 6, 0.7);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.field-error {
  margin: 0;
  color: var(--amber);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-note {
  margin: 0.5rem 0 0.75rem;
  color: var(--text-3);
  font-size: 0.82rem;
}

.form-status {
  margin: 0;
  min-height: 1.4rem;
  color: var(--text-3);
  font-size: 0.88rem;
  font-weight: 500;
}

.form-status.is-success {
  color: var(--success);
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 5vw, 5rem) 0 1.5rem;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(56, 182, 212, 0.04), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.footer-brand {
  max-width: 26rem;
}

.brand--footer {
  margin-bottom: 1rem;
}

.footer-tagline {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.5rem;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-links a {
  position: relative;
  display: inline-flex;
  width: fit-content;
  color: var(--text-3);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0.2rem 0;
  transition: color 180ms ease, transform 180ms ease;
}

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

.footer-contact p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--cyan-dark);
}

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

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-3);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), filter 700ms var(--ease-out);
  will-change: opacity, transform, filter;
}

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

.services-grid .reveal:nth-child(2),
.why-grid .reveal:nth-child(2),
.portfolio-grid .reveal:nth-child(2),
.contact-highlights .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.services-grid .reveal:nth-child(3),
.why-grid .reveal:nth-child(3),
.portfolio-grid .reveal:nth-child(3),
.contact-highlights .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.why-grid .reveal:nth-child(4),
.portfolio-grid .reveal:nth-child(4),
.contact-highlights .reveal:nth-child(4) {
  transition-delay: 240ms;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(10px, -14px, 0) scale(1.08);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 6px rgba(56, 182, 212, 0.12);
  }

  50% {
    transform: translateY(5px);
    box-shadow: 0 0 0 10px rgba(56, 182, 212, 0.05);
  }
}

@keyframes monoPulse {
  0%,
  100% {
    filter: brightness(1);
    transform: translateY(0);
  }

  50% {
    filter: brightness(1.08);
    transform: translateY(-5px);
  }
}

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

  .hero-visual {
    width: 100%;
    justify-self: stretch;
  }

  .contact-copy {
    position: static;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 100px;
  }

  .site-header {
    padding: 0.8rem 0 0.6rem;
  }

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

  .primary-nav--desktop,
  .nav-cta {
    display: none;
  }

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

  .services-grid,
  .why-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .portfolio-card--reverse {
    grid-template-columns: 1fr;
    grid-template-areas:
      "shot"
      "content";
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    text-align: left;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 10vw, 4.5rem);
  }

  .hero-visual__frame {
    min-height: 300px;
  }

  .mobile-actions {
    align-items: stretch;
  }

  .brand-copy__meta {
    display: none;
  }

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

@media (max-width: 640px) {
  :root {
    --header-height: 88px;
    --container: min(1160px, calc(100% - 1.25rem));
  }

  .site-header {
    padding: 0.65rem 0 0.5rem;
  }

  .nav-shell {
    min-height: 68px;
    padding: 0.72rem 0.8rem;
    border-radius: 24px;
  }

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

  .brand-copy {
    display: none;
  }

  .nav-actions {
    gap: 0.45rem;
  }

  .nav-toggle {
    padding: 0 0.8rem 0 0.68rem;
  }

  .mobile-menu {
    width: var(--container);
  }

  .mobile-nav__list {
    grid-template-columns: 1fr;
  }

  .mobile-menu__panel {
    padding: 0.85rem;
  }

  .mobile-actions {
    flex-direction: column;
  }

  .mobile-actions .button,
  .mobile-actions .lang-toggle {
    width: 100%;
  }

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

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

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

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .service-card,
  .contact-form {
    padding: 1.5rem;
  }

  .why-grid {
    gap: 0.75rem;
  }

  .why-card {
    border-radius: 20px;
  }

  .portfolio-card__shot {
    min-height: 280px;
  }

  .contact-stats {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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