:root {
  --bg: #06060b;
  --bg-elevated: #0e0e16;
  --surface: #13131f;
  --surface-hover: #1a1a2a;
  --text: #f0f0f5;
  --muted: #8888a0;
  --cyan: #00e5ff;
  --violet: #8b5cf6;
  --magenta: #f472b6;
  --orange: #fb923c;
  --gradient: linear-gradient(135deg, var(--cyan), var(--violet) 50%, var(--magenta));
  --gradient-warm: linear-gradient(135deg, var(--orange), var(--magenta));
  --line: rgba(255, 255, 255, 0.08);
  --glow-cyan: 0 0 40px rgba(0, 229, 255, 0.25);
  --glow-violet: 0 0 60px rgba(139, 92, 246, 0.2);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Syne", system-ui, sans-serif;
  --max-w: 1240px;
  --header-h: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Background effects */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 229, 255, 0.12);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.1);
  bottom: 20%;
  left: -10%;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(244, 114, 182, 0.08);
  top: 50%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient);
  z-index: 10001;
  transition: width 0.05s linear;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 16px 32px;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, border-color 0.4s;
}

.header.scrolled {
  background: rgba(6, 6, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  padding: 2px;
  animation: logoPulse 3s ease-in-out infinite;
}

.logo-ring .logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.3); }
  50% { box-shadow: 0 0 20px 4px rgba(0, 229, 255, 0.15); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s var(--ease-out);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.lang-toggle:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Main */
main {
  position: relative;
  z-index: 1;
}

section {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 48px;
}

.section-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.1em;
  padding-top: 6px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 8px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.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; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.btn-glow {
  background: var(--gradient);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--glow-cyan), var(--glow-violet);
}

.btn-glow:hover::before {
  transform: translateX(100%);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text) 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 48ch;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero orbit visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-orbit {
  position: relative;
  width: 340px;
  height: 340px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-ring-1 {
  animation: orbitSpin 20s linear infinite;
}

.orbit-ring-2 {
  inset: 30px;
  border-color: rgba(0, 229, 255, 0.15);
  animation: orbitSpin 15s linear infinite reverse;
}

.orbit-ring-3 {
  inset: 60px;
  border-color: rgba(139, 92, 246, 0.2);
  animation: orbitSpin 25s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--bg);
  box-shadow: var(--glow-cyan), var(--glow-violet);
  animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

.orbit-node {
  position: absolute;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.orbit-node-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation: nodeFloat 4s ease-in-out infinite;
}

.orbit-node-2 {
  bottom: 20%;
  left: 5%;
  animation: nodeFloat 4s ease-in-out infinite 1s;
}

.orbit-node-3 {
  bottom: 20%;
  right: 5%;
  animation: nodeFloat 4s ease-in-out infinite 2s;
}

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* Marquee */
.marquee-wrap {
  padding: 0;
  max-width: none;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.marquee {
  overflow: hidden;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-item::after {
  content: "✦";
  color: var(--cyan);
  font-size: 0.8rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Stats */
.stats {
  padding: 60px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.stat-card {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: var(--glow-cyan);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* About bento */
.about-bento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.about-main {
  grid-row: span 2;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-main p {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
}

.about-quote {
  padding: 32px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: var(--radius);
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.4;
  position: absolute;
  top: 16px;
  left: 24px;
}

.about-quote p {
  font-size: 1.05rem;
  font-style: italic;
  padding-top: 24px;
  color: var(--text);
}

.about-visual {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.code-block {
  background: var(--bg-elevated);
  height: 100%;
}

.code-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.code-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.code-header span:nth-child(1) { background: #ff5f57; }
.code-header span:nth-child(2) { background: #febc2e; }
.code-header span:nth-child(3) { background: #28c840; }

.code-block pre {
  padding: 20px;
  font-size: 0.8rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-kw { color: var(--violet); }
.code-key { color: var(--cyan); }
.code-str { color: var(--magenta); }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.1s linear, border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
}

.value-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--glow-violet);
}

.value-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--cyan);
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Services horizontal scroll */
.services {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.services .section-head {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.services-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 24px 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.services-scroll-wrap:active {
  cursor: grabbing;
}

.services-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.services-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-right: 24px;
}

.service-card {
  flex: 0 0 300px;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-snap-align: start;
  transition: transform 0.1s linear, border-color 0.3s, background 0.3s;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  background: var(--surface-hover);
  border-color: rgba(0, 229, 255, 0.25);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.service-arrow {
  font-size: 1.25rem;
  color: var(--cyan);
  transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-arrow {
  transform: translateX(6px);
}

.scroll-hint-bar {
  text-align: center;
  padding-bottom: 20px;
}

.scroll-hint-bar span {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Timeline process */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.timeline-line {
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--line);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
}

.timeline-line.active {
  background: var(--gradient);
  transform: scaleX(1);
}

.timeline-step {
  position: relative;
  text-align: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
}

.timeline-step.visible .timeline-dot {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.timeline-content {
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}

.timeline-step:hover .timeline-content {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.2);
}

.timeline-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* CTA banner */
.cta-banner {
  position: relative;
  max-width: none;
  margin: 0 24px;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-inner p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cta-glow {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--magenta), var(--cyan));
  opacity: 0.15;
  animation: ctaRotate 10s linear infinite;
  filter: blur(60px);
}

@keyframes ctaRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, transform 0.3s;
}

.contact-item:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateX(6px);
}

.contact-icon {
  font-size: 1.25rem;
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-list a {
  font-weight: 500;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--cyan);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.input-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.input-wrap span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.input-wrap input,
.input-wrap textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-wrap input:focus,
.input-wrap textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.input-wrap textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 24px;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark.sm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--bg);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.footer-copy {
  text-align: right;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-orbit {
    width: 280px;
    height: 280px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-bento {
    grid-template-columns: 1fr;
  }

  .about-main {
    grid-row: auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline-line {
    top: 0;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }

  .timeline-line.active {
    transform: scaleY(1);
  }

  .timeline-step {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 20px;
    text-align: left;
    padding-bottom: 32px;
  }

  .timeline-dot {
    margin: 8px 0 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: rgba(14, 14, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav a:hover {
    background: var(--surface);
  }

  .menu-btn {
    display: flex;
  }

  .header {
    padding: 12px 20px;
  }

  section {
    padding: 72px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex: 0 0 260px;
  }

  .cta-inner {
    padding: 60px 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cursor-glow {
    display: none;
  }
}

@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;
  }
}
