/* Palette: cyber-futuristic — cyan + magenta on deep void */

:root {
  --cyan: hsl(186, 100%, 52%);
  --magenta: hsl(318, 92%, 58%);
  --violet: hsl(262, 78%, 62%);
  --bg: hsl(228, 32%, 4%);
  --bg-2: hsl(228, 28%, 8%);
  --text: hsl(220, 25%, 96%);
  --muted: hsl(220, 14%, 58%);
  --line: hsl(220, 20%, 16%);
  --glass: hsl(228, 28%, 10% / 0.72);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 76px;
  --max-w: 1240px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --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;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Animated background */

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, hsl(186 100% 52% / 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 15%, hsl(318 92% 58% / 0.1), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 90%, hsl(262 78% 62% / 0.08), transparent 55%);
  animation: meshShift 18s ease-in-out infinite alternate;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(hsl(220 20% 16% / 0.35) 1px, transparent 1px),
    linear-gradient(90deg, hsl(220 20% 16% / 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

@keyframes meshShift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-2%, 1%); }
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(186 100% 52% / 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow {
    opacity: 1;
  }
}

/* Header */

.header {
  position: sticky;
  top: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max-w);
  width: calc(100% - 2.5rem);
  margin: 16px auto 0;
  padding: 0.6rem 0.6rem 0.6rem 1.1rem;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid hsl(220 20% 20% / 0.8);
  border-radius: 100px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.header:hover {
  border-color: hsl(186 100% 52% / 0.25);
  box-shadow: 0 0 40px hsl(186 100% 52% / 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
}

.logo-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  padding: 2px;
  animation: logoPulse 4s ease-in-out infinite;
}

.logo-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
}

.logo-name {
  letter-spacing: -0.02em;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 0 hsl(186 100% 52% / 0.3); }
  50% { box-shadow: 0 0 0 6px hsl(186 100% 52% / 0); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}

.nav a:hover {
  color: var(--text);
  background: hsl(220 20% 16% / 0.5);
}

.nav a:hover::after {
  width: 60%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-toggle,
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: hsl(228 28% 8% / 0.8);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.lang-toggle {
  width: 44px;
  height: 38px;
  border-radius: 999px;
}

.lang-toggle:hover {
  border-color: var(--cyan);
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 38px;
  border-radius: 12px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Main layout */

main {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.25rem 5rem;
}

section {
  padding: 5rem 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan);
  opacity: 0.7;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* Reveal animation */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(186 100% 52% / 0.2), hsl(318 92% 58% / 0.2));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before {
  opacity: 1;
}

.btn.primary {
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: var(--bg);
  box-shadow: 0 4px 24px hsl(186 100% 52% / 0.25);
}

.btn.primary:hover {
  box-shadow: 0 8px 40px hsl(186 100% 52% / 0.4);
  transform: translateY(-2px) scale(1.02);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn.ghost:hover {
  border-color: var(--cyan);
  background: hsl(186 100% 52% / 0.06);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 3rem);
  padding-top: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem 0.4rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: hsl(228 28% 8% / 0.6);
  margin-bottom: 0.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.title-line {
  background: linear-gradient(135deg, var(--text) 40%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

/* Hero visual — orbital system */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.orbit-system {
  position: relative;
  width: 340px;
  height: 340px;
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid hsl(186 100% 52% / 0.15);
  border-radius: 50%;
  animation: orbitSpin linear infinite;
}

.orbit span {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.orbit-1 {
  inset: 0;
  animation-duration: 12s;
}

.orbit-1 span {
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.orbit-2 {
  inset: 40px;
  animation-duration: 18s;
  animation-direction: reverse;
  border-color: hsl(318 92% 58% / 0.15);
}

.orbit-2 span {
  background: var(--magenta);
  box-shadow: 0 0 16px var(--magenta);
}

.orbit-3 {
  inset: 80px;
  animation-duration: 24s;
  border-color: hsl(262 78% 62% / 0.15);
}

.orbit-3 span {
  background: var(--violet);
  box-shadow: 0 0 16px var(--violet);
  width: 8px;
  height: 8px;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-core {
  position: absolute;
  inset: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(186 100% 52% / 0.15), hsl(318 92% 58% / 0.15));
  border: 1px solid hsl(186 100% 52% / 0.3);
  animation: coreFloat 6s ease-in-out infinite;
}

.core-letter {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes coreFloat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.hero-float-card {
  position: absolute;
  bottom: 20px;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  animation: floatCard 5s ease-in-out infinite;
}

.float-icon {
  color: var(--cyan);
  font-size: 1rem;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* Marquee */

.marquee-wrap {
  overflow: hidden;
  padding: 1.5rem 0;
  border-block: 1px solid var(--line);
  margin: 1rem 0 2rem;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: hsl(220 14% 58% / 0.5);
  white-space: nowrap;
}

.marquee span:not(:nth-child(even)) {
  color: transparent;
  -webkit-text-stroke: 1px hsl(220 14% 40% / 0.6);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Profile — bento grid */

.profile {
  border-top: 1px solid var(--line);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.bento-card {
  padding: 1.75rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.bento-card:hover {
  border-color: hsl(186 100% 52% / 0.3);
  transform: translateY(-3px);
}

.bento-main {
  grid-column: span 2;
}

.bento-main p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.bento-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
}

.bento-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.bento-icon {
  font-size: 2rem;
  color: var(--cyan);
}

.bento-visual {
  grid-column: span 1;
  background: hsl(228 32% 6%);
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
}

.code-line {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.code-kw { color: var(--magenta); }
.code-str { color: var(--cyan); }
.code-fn { color: var(--violet); }

.code-cursor {
  color: var(--cyan);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Areas — masonry */

.areas {
  border-top: 1px solid var(--line);
}

.areas-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  grid-auto-flow: dense;
}

.area-card {
  position: relative;
  padding: 1.75rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.area-card:hover {
  border-color: hsl(186 100% 52% / 0.35);
}

.area-card:hover .area-glow {
  opacity: 1;
}

.area-wide {
  grid-column: span 2;
}

.area-tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.area-icon {
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 1rem;
  transition: transform 0.4s var(--ease-spring);
}

.area-card:hover .area-icon {
  transform: scale(1.2) rotate(10deg);
}

.area-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--magenta);
  margin-bottom: 0.6rem;
}

.area-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.area-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

.area-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, hsl(186 100% 52% / 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

/* Advantages */

.advantages {
  border-top: 1px solid var(--line);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.adv-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.adv-card:hover {
  transform: translateY(-6px);
  border-color: hsl(318 92% 58% / 0.3);
}

.adv-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, hsl(186 100% 52% / 0.08), hsl(318 92% 58% / 0.06));
  border-color: hsl(186 100% 52% / 0.2);
}

.adv-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.35;
  margin-bottom: 1rem;
}

.adv-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.adv-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.adv-rings {
  position: absolute;
  right: -20px;
  bottom: -20px;
  opacity: 0.15;
}

.adv-rings span {
  position: absolute;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  animation: ringExpand 4s ease-out infinite;
}

.adv-rings span:nth-child(1) { width: 80px; height: 80px; animation-delay: 0s; }
.adv-rings span:nth-child(2) { width: 120px; height: 120px; animation-delay: 1s; }
.adv-rings span:nth-child(3) { width: 160px; height: 160px; animation-delay: 2s; }

@keyframes ringExpand {
  0% { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0; }
}

/* Process — timeline */

.process {
  border-top: 1px solid var(--line);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 2rem;
}

.timeline-line {
  position: absolute;
  left: 2.65rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.2s var(--ease-out);
}

.timeline.active .timeline-line {
  transform: scaleY(1);
  background: linear-gradient(180deg, var(--cyan), var(--magenta), var(--line));
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem 0;
  align-items: start;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  transition: border-color 0.4s, color 0.4s, box-shadow 0.4s;
}

.timeline-step.visible .timeline-dot {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 24px hsl(186 100% 52% / 0.25);
}

.timeline-content {
  padding: 0.5rem 1.5rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.timeline-step.visible .timeline-content {
  border-color: hsl(186 100% 52% / 0.2);
}

.timeline-step:hover .timeline-content {
  transform: translateX(6px);
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* CTA banner */

.cta-banner {
  position: relative;
  margin: 2rem 0;
  padding: 4rem 3rem;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, hsl(186 100% 52% / 0.12), hsl(318 92% 58% / 0.1));
  border: 1px solid hsl(186 100% 52% / 0.2);
  overflow: hidden;
  text-align: center;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta-inner p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  max-width: 48ch;
  margin-inline: auto;
}

.cta-shapes span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid hsl(186 100% 52% / 0.15);
  animation: ctaShape 8s ease-in-out infinite;
}

.cta-shapes span:nth-child(1) {
  width: 200px;
  height: 200px;
  top: -60px;
  right: -40px;
}

.cta-shapes span:nth-child(2) {
  width: 120px;
  height: 120px;
  bottom: -30px;
  left: 10%;
  animation-delay: 2s;
}

.cta-shapes span:nth-child(3) {
  width: 80px;
  height: 80px;
  top: 30%;
  left: -20px;
  animation-delay: 4s;
}

@keyframes ctaShape {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
}

/* Contact */

.contact {
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: hsl(186 100% 52% / 0.08);
  border: 1px solid hsl(186 100% 52% / 0.15);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}

.contact-list li:hover .contact-icon {
  transform: scale(1.1) rotate(-5deg);
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-list a,
.contact-list span[data-address] {
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.25s;
}

.contact-list a:hover {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label.full {
  grid-column: span 2;
}

.contact-form label span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: hsl(228 32% 6%);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px hsl(186 100% 52% / 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn {
  grid-column: span 2;
  justify-self: start;
  margin-top: 0.5rem;
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 3rem 1.25rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-brand .logo-letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.75rem;
  color: hsl(220 14% 40%);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee {
    animation: none;
  }
}

/* Responsive */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    min-height: 360px;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-main {
    grid-column: span 2;
  }

  .bento-visual {
    grid-column: span 2;
  }

  .areas-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-wide,
  .area-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-featured {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem;
    background: hsl(228 28% 8% / 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease-out);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav a {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header {
    width: calc(100% - 1.5rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-main,
  .bento-visual {
    grid-column: span 1;
  }

  .areas-masonry,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .adv-featured {
    grid-column: span 1;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline-line {
    left: 25px;
  }

  .timeline-step {
    gap: 1.25rem;
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form label.full,
  .contact-form .btn {
    grid-column: span 1;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
