:root {
  --bg: #06080f;
  --bg-elevated: #0c1019;
  --text: #eef2ff;
  --muted: rgba(238, 242, 255, 0.58);
  --accent: #2ee8c5;
  --accent-two: #a855f7;
  --accent-warm: #f59e0b;
  --line: rgba(238, 242, 255, 0.1);
  --glass: rgba(12, 16, 25, 0.72);

  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --header-h: 76px;
  --max-w: 1200px;
  --gap: 20px;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Syne", 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);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s;
}

a:hover {
  color: var(--accent-two);
}

/* Animated background */

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: float-orb 18s var(--ease-out) infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -8%;
  left: -6%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation-duration: 22s;
}

.orb-2 {
  width: 440px;
  height: 440px;
  top: 35%;
  right: -10%;
  background: radial-gradient(circle, var(--accent-two) 0%, transparent 70%);
  animation-delay: -6s;
  animation-duration: 26s;
}

.orb-3 {
  width: 360px;
  height: 360px;
  bottom: 5%;
  left: 30%;
  background: radial-gradient(circle, var(--accent-warm) 0%, transparent 70%);
  opacity: 0.25;
  animation-delay: -12s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 242, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 80%);
}

@keyframes float-orb {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-20px, 40px) scale(0.95); }
  100% { transform: translate(30px, 20px) scale(1.05); }
}

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--max-w) + 48px);
  width: 100%;
  margin: 0 auto;
  padding: 16px 24px;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, padding 0.4s;
}

.header.is-scrolled {
  background: var(--glass);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo:hover {
  color: var(--text);
}

.logo-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  padding: 2px;
  animation: logo-pulse 4s ease-in-out infinite;
}

.logo-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 232, 197, 0.4); }
  50% { box-shadow: 0 0 24px 4px rgba(46, 232, 197, 0.15); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  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(--accent), var(--accent-two));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}

.nav a:hover {
  color: var(--text);
  background: rgba(238, 242, 255, 0.04);
}

.nav a:hover::after {
  width: 60%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: rgba(238, 242, 255, 0.04);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.lang-toggle {
  padding: 8px 14px;
}

.lang-toggle:hover {
  border-color: rgba(46, 232, 197, 0.4);
  background: rgba(46, 232, 197, 0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Main layout */

main {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 32px) 20px 80px;
}

section {
  margin-bottom: 100px;
}

section:last-child {
  margin-bottom: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}

.section-head {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(238, 242, 255, 0.03);
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.4; box-shadow: none; }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #1cb89a);
  color: var(--bg);
  box-shadow: 0 8px 32px rgba(46, 232, 197, 0.25);
}

.btn.primary:hover {
  color: var(--bg);
  box-shadow: 0 12px 40px rgba(46, 232, 197, 0.35);
  transform: translateY(-3px) scale(1.02);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  color: var(--text);
  border-color: rgba(46, 232, 197, 0.4);
  background: rgba(46, 232, 197, 0.06);
  transform: translateY(-3px);
}

/* Reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* Hero */

.hero {
  margin-bottom: 0;
  padding-bottom: 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 180px);
  padding: 24px 0 48px;
}

.hero-text {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 24px 0 36px;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-title {
  background: linear-gradient(135deg, var(--text) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-shimmer 6s ease-in-out infinite alternate;
}

@keyframes title-shimmer {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.15); }
}

/* Hero orbit visual */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-orbit {
  position: relative;
  width: min(380px, 80vw);
  height: min(380px, 80vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.orbit-ring-1 {
  inset: 0;
  animation: spin 30s linear infinite;
  border-color: rgba(46, 232, 197, 0.2);
}

.orbit-ring-2 {
  inset: 15%;
  animation: spin 22s linear infinite reverse;
  border-style: dashed;
  border-color: rgba(168, 85, 247, 0.25);
}

.orbit-ring-3 {
  inset: 30%;
  animation: spin 18s linear infinite;
  border-color: rgba(245, 158, 11, 0.15);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-core {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46, 232, 197, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(46, 232, 197, 0.3);
  box-shadow: 0 0 60px rgba(46, 232, 197, 0.2), inset 0 0 30px rgba(46, 232, 197, 0.05);
  animation: core-glow 4s ease-in-out infinite alternate;
}

@keyframes core-glow {
  0% { box-shadow: 0 0 40px rgba(46, 232, 197, 0.15), inset 0 0 20px rgba(46, 232, 197, 0.05); }
  100% { box-shadow: 0 0 80px rgba(168, 85, 247, 0.25), inset 0 0 40px rgba(46, 232, 197, 0.1); }
}

.hero-core-letter {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.orbit-chip {
  position: absolute;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.orbit-chip svg {
  width: 22px;
  height: 22px;
}

.orbit-chip-1 {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  animation: chip-float 5s ease-in-out infinite;
}

.orbit-chip-2 {
  bottom: 15%;
  left: 8%;
  color: var(--accent-two);
  animation: chip-float 5s ease-in-out infinite -1.5s;
}

.orbit-chip-3 {
  bottom: 20%;
  right: 5%;
  color: var(--accent-warm);
  animation: chip-float 5s ease-in-out infinite -3s;
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.orbit-chip-1 {
  animation-name: chip-float-center;
}

@keyframes chip-float-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.hero-card-words {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Stats bar */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding: 28px 32px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.stat-item {
  text-align: center;
  padding: 8px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--line);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Marquee */

.marquee-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 100px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(12, 16, 25, 0.6);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 242, 255, 0.25);
  white-space: nowrap;
  transition: -webkit-text-stroke-color 0.3s;
}

.marquee-track span:nth-child(odd) {
  -webkit-text-stroke-color: rgba(46, 232, 197, 0.35);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Profile bento */

.profile-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: var(--gap);
}

.bento-card {
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.bento-card:hover {
  border-color: rgba(46, 232, 197, 0.25);
  transform: translateY(-4px);
}

.bento-main {
  grid-column: span 2;
  grid-row: span 2;
  font-size: 1.15rem;
  color: var(--muted);
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(160deg, rgba(46, 232, 197, 0.06) 0%, transparent 50%),
    var(--bg-elevated);
}

.bento-quote {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
}

.quote-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 12px;
}

.bento-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.bento-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(46, 232, 197, 0.08));
}

.bento-badge-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-two);
  opacity: 0.4;
  line-height: 1;
}

.bento-badge-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 8px;
}

.bento-badge-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

.bento-pulse {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.pulse-rings {
  position: relative;
  width: 64px;
  height: 64px;
}

.pulse-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse-ring 3s ease-out infinite;
}

.pulse-rings span:nth-child(2) { animation-delay: 1s; }
.pulse-rings span:nth-child(3) { animation-delay: 2s; }

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.bento-pulse p {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Areas bento */

.areas-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: var(--gap);
}

.area-card {
  position: relative;
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(800px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.area-card:hover {
  border-color: rgba(46, 232, 197, 0.35);
}

.area-wide {
  grid-column: span 2;
}

.area-tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.area-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(46, 232, 197, 0.1);
  color: var(--accent);
  margin-bottom: 16px;
}

.area-icon svg {
  width: 22px;
  height: 22px;
}

.area-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-two);
  opacity: 0.6;
}

.area-card h3 {
  margin-bottom: 10px;
}

.area-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.area-glow {
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 232, 197, 0.12), transparent 70%);
  pointer-events: none;
  transition: opacity 0.4s;
  opacity: 0;
}

.area-card:hover .area-glow {
  opacity: 1;
}

/* Timeline process */

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0;
}

.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-two));
  border-radius: 2px;
  transition: height 1.2s var(--ease-out);
}

.timeline-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
}

.timeline-node {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(46, 232, 197, 0.2);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.timeline-step.is-visible .timeline-node {
  animation: node-pop 0.6s var(--ease-spring) backwards;
}

@keyframes node-pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.timeline-node span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
}

.timeline-body {
  padding: 16px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}

.timeline-step:hover .timeline-body {
  border-color: rgba(46, 232, 197, 0.3);
  transform: translateX(8px);
}

.timeline-body h3 {
  margin-bottom: 8px;
}

.timeline-body p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Advantages */

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.adv-card {
  padding: 32px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.adv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-two));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 232, 197, 0.2);
}

.adv-card:hover::before {
  transform: scaleX(1);
}

.adv-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 242, 255, 0.12);
  margin-bottom: 16px;
  transition: -webkit-text-stroke-color 0.3s;
}

.adv-card:hover .adv-num {
  -webkit-text-stroke-color: rgba(46, 232, 197, 0.4);
}

.adv-card h3 {
  margin-bottom: 10px;
}

.adv-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* CTA band */

.cta-band {
  position: relative;
  margin-bottom: 100px;
  padding: 64px 48px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, rgba(46, 232, 197, 0.12), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(46, 232, 197, 0.2);
  overflow: hidden;
  text-align: center;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(46, 232, 197, 0.15), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.12), transparent 50%);
  animation: cta-shift 8s ease-in-out infinite alternate;
}

@keyframes cta-shift {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-text {
  color: var(--muted);
  margin: 16px 0 32px;
  font-size: 1rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.contact-item:hover {
  background: rgba(238, 242, 255, 0.03);
  border-color: var(--line);
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(46, 232, 197, 0.1);
  color: var(--accent);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-list a,
.contact-list span[data-address] {
  color: var(--text);
  font-weight: 500;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(46, 232, 197, 0.3), transparent 40%, rgba(168, 85, 247, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.contact-form:focus-within::before {
  opacity: 1;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label.full {
  grid-column: span 2;
}

.contact-form label span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 14px 16px;
  background: rgba(6, 8, 15, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(46, 232, 197, 0.5);
  box-shadow: 0 0 0 3px rgba(46, 232, 197, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  grid-column: span 2;
  justify-self: start;
}

/* Footer */

.footer {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 32px 20px 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* Responsive */

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px) scale(0.98);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav a {
    padding: 14px 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .tag {
    margin-left: auto;
    margin-right: auto;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .profile-bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-main {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-quote {
    grid-column: span 2;
  }

  .areas-bento {
    grid-template-columns: 1fr 1fr;
  }

  .area-wide,
  .area-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 12px 16px;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .stat-item::after {
    display: none !important;
  }

  .profile-bento,
  .areas-bento,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .bento-main,
  .bento-quote,
  .area-wide {
    grid-column: span 1;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .contact-form label.full,
  .contact-form .btn {
    grid-column: span 1;
  }

  .cta-band {
    padding: 48px 24px;
  }

  section {
    margin-bottom: 72px;
  }

  .marquee-wrap {
    margin-bottom: 72px;
  }
}
