:root {
  --accent: #00e5c7;
  --accent-dim: #00b89e;
  --accent-glow: rgba(0, 229, 199, 0.35);
  --coral: #ff6b4a;
  --coral-glow: rgba(255, 107, 74, 0.3);
  --violet: #8b5cf6;
  --bg: #06080f;
  --bg-elevated: #0c1019;
  --surface: #111827;
  --surface-hover: #1a2234;
  --text: #f0f4f8;
  --muted: #8892a4;
  --line: rgba(255, 255, 255, 0.08);
  --gradient-main: linear-gradient(135deg, var(--accent) 0%, #3b9eff 50%, var(--violet) 100%);
  --gradient-warm: linear-gradient(135deg, var(--coral), var(--violet));
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 76px;
  --max-w: 1240px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

.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");
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: screen;
}

body.cursor-active .cursor-glow {
  opacity: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

/* ─── 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: var(--max-w);
  width: calc(100% - 40px);
  margin: 16px auto 0;
  padding: 12px 20px;
  background: rgba(6, 8, 15, 0.6);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.header.scrolled {
  background: rgba(6, 8, 15, 0.92);
  border-color: rgba(0, 229, 199, 0.15);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  min-width: 0;
}

.logo:hover {
  color: var(--text);
}

.logo-ring {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gradient-main);
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 20px 4px var(--accent-glow); }
}

.logo-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--bg);
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-toggle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.05em;
}

.lang-toggle:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Main ─── */
main {
  position: relative;
  z-index: 1;
}

section {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.section-head {
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.1rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, opacity 0.2s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn.primary {
  background: var(--gradient-main);
  color: var(--bg);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn.primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: var(--bg);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  border-color: rgba(0, 229, 199, 0.4);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 60px;
  max-width: none;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: rgba(0, 229, 199, 0.12);
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -8%;
  background: rgba(139, 92, 246, 0.15);
  animation-delay: -3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 40%;
  background: rgba(255, 107, 74, 0.08);
  animation-delay: -5s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.grid-lines {
  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 70% 60% at 50% 40%, black, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 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; }
}

.hero-content p {
  color: var(--muted);
  margin-top: 24px;
  max-width: 48ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-metric-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-metric-plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-metric-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.hero-metric-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4/5;
  animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

.hero-card-glow {
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 180deg, var(--accent), var(--violet), var(--coral), var(--accent));
  border-radius: 30px;
  opacity: 0.4;
  filter: blur(40px);
  animation: glow-spin 8s linear infinite;
}

@keyframes glow-spin {
  to { transform: rotate(360deg); }
}

.hero-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 32px;
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  overflow: hidden;
}

.hero-card-orbit {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px dashed rgba(0, 229, 199, 0.3);
  border-radius: 50%;
  animation: orbit-spin 4s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.hero-card-letter {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-card-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.06em;
}

.hero-card-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-top: 12px;
}

.hero-card-bars span {
  width: 8px;
  height: var(--h);
  background: var(--gradient-main);
  border-radius: 4px;
  animation: bar-bounce 2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.15s);
}

.hero-card-bars span:nth-child(1) { animation-delay: 0s; }
.hero-card-bars span:nth-child(2) { animation-delay: 0.15s; }
.hero-card-bars span:nth-child(3) { animation-delay: 0.3s; }
.hero-card-bars span:nth-child(4) { animation-delay: 0.45s; }
.hero-card-bars span:nth-child(5) { animation-delay: 0.6s; }

@keyframes bar-bounce {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-float-card svg {
  color: var(--accent);
}

.float-card-1 {
  top: 10%;
  left: -5%;
  animation: float-drift 5s ease-in-out infinite;
}

.float-card-2 {
  bottom: 15%;
  right: -5%;
  animation: float-drift 5s ease-in-out infinite reverse;
  animation-delay: -2s;
}

@keyframes float-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -12px); }
}

/* ─── Marquee ─── */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: rgba(0, 229, 199, 0.03);
  margin-bottom: 100px;
}

.marquee {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.marquee span:not(.marquee-sep) {
  transition: color 0.3s;
}

.marquee:hover span:not(.marquee-sep) {
  color: var(--accent);
}

.marquee-sep {
  color: var(--accent);
  opacity: 0.5;
  font-size: 0.8em;
}

@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ─── Profile Bento ─── */
.profile {
  margin-bottom: 120px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-main {
  grid-column: span 2;
  grid-row: span 2;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.bento-main::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  opacity: 0.5;
}

.bento-main:hover {
  border-color: rgba(0, 229, 199, 0.2);
}

.bento-main p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 50ch;
  position: relative;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-weight: 600;
  color: var(--accent);
  position: relative;
}

.bento-link:hover {
  gap: 14px;
}

.bento-stat {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.bento-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 199, 0.25);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-num.stat-text {
  -webkit-text-fill-color: unset;
  color: var(--accent);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
}

.stat-bar {
  margin-top: 16px;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-stat.visible .stat-bar-fill {
  width: 85%;
}

.stat-pulse {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.stat-rings {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
}

.stat-rings span {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: ring-pop 2s ease-in-out infinite;
}

.stat-rings span:nth-child(2) { animation-delay: 0.3s; opacity: 0.5; }
.stat-rings span:nth-child(3) { animation-delay: 0.6s; opacity: 0.7; }

@keyframes ring-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.bento-visual {
  grid-column: span 3;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.code-window {
  background: #0d1117;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.code-dots {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}

.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-window pre {
  padding: 20px 24px;
  overflow-x: auto;
}

.code-window code {
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

.code-kw { color: var(--violet); }
.code-var { color: var(--accent); }
.code-key { color: #79c0ff; }
.code-str { color: #a5d6ff; }
.code-bool { color: var(--coral); }

/* ─── Why section ─── */
.why {
  margin-bottom: 120px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-card {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s;
}

.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 199, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 199, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.why-card:hover::after {
  opacity: 1;
}

.why-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(0, 229, 199, 0.1);
  border-radius: 14px;
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(-5deg);
}

.why-card h3 {
  margin-bottom: 10px;
  position: relative;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--muted);
  position: relative;
}

/* ─── Areas ─── */
.areas {
  margin-bottom: 120px;
}

.areas-scroll-wrap {
  overflow-x: auto;
  margin: 0 -20px;
  padding: 8px 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dim) transparent;
}

.areas-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.area-card {
  width: 300px;
  flex-shrink: 0;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}

.area-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.area-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 229, 199, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.area-card:hover::before {
  transform: scaleX(1);
}

.area-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.area-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(0, 229, 199, 0.08);
  border-radius: 12px;
  color: var(--accent);
  transition: background 0.3s, transform 0.3s;
}

.area-icon svg {
  width: 22px;
  height: 22px;
}

.area-card:hover .area-icon {
  background: rgba(0, 229, 199, 0.18);
  transform: rotate(-8deg);
}

.area-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.area-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.area-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.area-card:hover .area-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ─── Process Timeline ─── */
.process {
  margin-bottom: 120px;
}

.timeline {
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  border-radius: 1px;
}

.timeline-progress {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient-main);
  border-radius: 1px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline.visible .timeline-progress {
  width: 100%;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.timeline-step {
  text-align: center;
}

.timeline-dot {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}

.timeline-dot span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted);
  transition: color 0.3s;
}

.timeline-step.visible .timeline-dot {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: scale(1.05);
}

.timeline-step.visible .timeline-dot span {
  color: var(--accent);
}

.timeline-content {
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, transform 0.3s;
}

.timeline-step:hover .timeline-content {
  border-color: rgba(0, 229, 199, 0.2);
  transform: translateY(-4px);
}

.timeline-content h3 {
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ─── CTA Banner ─── */
.cta-banner {
  margin-bottom: 120px;
  max-width: var(--max-w);
  padding: 0 20px;
}

.cta-inner {
  position: relative;
  text-align: center;
  padding: 72px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  animation: cta-pulse 4s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.cta-inner h2 {
  position: relative;
  margin-bottom: 12px;
}

.cta-inner p {
  position: relative;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 40ch;
  margin-inline: auto;
}

.cta-btn {
  position: relative;
}

/* ─── Contact ─── */
.contact {
  margin-bottom: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 36px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  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, 199, 0.2);
  transform: translateX(4px);
}

.contact-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 199, 0.1);
  border-radius: 10px;
  color: var(--accent);
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-list a,
.contact-list span[data-address] {
  font-size: 0.95rem;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-field {
  position: relative;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 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;
  resize: vertical;
}

.form-field label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.25s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field input:not(:placeholder-shown),
.form-field textarea:not(:placeholder-shown) {
  border-color: rgba(0, 229, 199, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 229, 199, 0.08);
}

.form-field input:focus + label,
.form-field textarea:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
  padding: 0 6px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: transparent;
}

.contact-form .btn {
  align-self: flex-start;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 20px;
  background: var(--bg-elevated);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-logo .logo-letter {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-main);
  border-radius: 8px;
  color: var(--bg);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-main {
    grid-column: span 2;
    grid-row: span 1;
    min-height: auto;
  }

  .bento-visual {
    grid-column: span 2;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .timeline-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px;
    background: rgba(6, 8, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .nav.open {
    display: flex;
  }

  .header {
    position: fixed;
    flex-wrap: wrap;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-main,
  .bento-visual {
    grid-column: span 1;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .float-card-1,
  .float-card-2 {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo-name {
    display: none;
  }

  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-metric-divider {
    display: none;
  }

  .bento-main {
    padding: 32px 24px;
  }

  .cta-inner {
    padding: 48px 24px;
  }

  .contact-form {
    padding: 28px 20px;
  }
}

@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 {
    animation: none;
  }
}
