/* ==========================================================================
   Nexus AI Studio — Design System
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-soft: #0a0a0b;
  --panel: #111111;
  --panel-2: #151518;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --purple: #7C3AED;
  --purple-light: #A855F7;
  --blue: #2563EB;
  --white: #FFFFFF;
  --gray: #9ca3af;
  --gray-mid: #6b7280;

  --gradient: linear-gradient(120deg, #7C3AED 0%, #A855F7 45%, #2563EB 100%);
  --gradient-soft: linear-gradient(120deg, rgba(124, 58, 237, 0.35), rgba(37, 99, 235, 0.35));

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --container: 1180px;
  --nav-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: rgba(124, 58, 237, 0.5); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--purple), var(--blue));
  border-radius: 8px;
  border: 2px solid var(--bg);
}

/* Focus visible */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Background mesh ---------- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(124, 58, 237, 0.09), transparent 60%),
    radial-gradient(50% 35% at 90% 15%, rgba(37, 99, 235, 0.08), transparent 60%),
    var(--bg);
  pointer-events: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 18px;
}

.section__kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section__sub {
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  color: var(--gray);
  max-width: 560px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.3s, background 0.3s, color 0.3s;
  will-change: transform;
}

.btn:active { transform: scale(0.97); }

.btn__arrow { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--gradient);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 30px -8px rgba(124, 58, 237, 0.55);
}

.btn--primary:hover {
  background-position: 100% 50%;
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 40px -10px rgba(124, 58, 237, 0.75);
}

.btn--glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient);
  -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;
  opacity: 0;
  transition: opacity 0.35s;
}

.btn--glow:hover::after { opacity: 1; }

.btn--glow {
  animation: btnGlow 4s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 30px -8px rgba(124,58,237,0.5), 0 0 24px -6px rgba(124,58,237,0.4); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 8px 30px -8px rgba(124,58,237,0.7), 0 0 34px -4px rgba(37,99,235,0.55); }
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #e5e7eb;
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(168, 85, 247, 0.08);
  transform: translateY(-3px);
}

.btn--sm { padding: 11px 20px; font-size: 0.88rem; }
.btn--xl { padding: 18px 34px; font-size: 1.05rem; }

.btn__wa { width: 20px; height: 20px; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

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

/* ==========================================================================
   Scroll progress
   ========================================================================== */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient);
  border-radius: 0 3px 3px 0;
}

/* ==========================================================================
   Custom cursor
   ========================================================================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1.5px solid rgba(168, 85, 247, 0.7);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), margin 0.25s var(--ease-out), opacity 0.3s, border-color 0.3s, background 0.3s;
  transform: translate(0, 0);
}

.cursor.is-active {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-color: rgba(124, 58, 237, 0.9);
  background: rgba(124, 58, 237, 0.08);
}

.cursor.is-down { transform: scale(0.82); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(124, 58, 237, 0.6);
}

.logo__mark svg { width: 18px; height: 18px; }

.logo__accent { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--gray);
  border-radius: 8px;
  transition: color 0.3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  z-index: 950;
}

.hamburger__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.hamburger.is-open .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger__bar:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 920;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 600;
  padding: 8px 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}

.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.32s; }

.mobile-menu__link:hover { color: var(--purple-light); }

.mobile-menu__cta { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease-out) 0.4s, transform 0.5s var(--ease-out) 0.4s; }
.mobile-menu.is-open .mobile-menu__cta { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.hero__glow--purple {
  width: 520px;
  height: 520px;
  background: rgba(124, 58, 237, 0.32);
  top: -140px;
  left: -120px;
  animation: glowDrift 14s ease-in-out infinite alternate;
}

.hero__glow--blue {
  width: 560px;
  height: 560px;
  background: rgba(37, 99, 235, 0.26);
  bottom: -200px;
  right: -160px;
  animation: glowDrift 16s ease-in-out infinite alternate-reverse;
}

@keyframes glowDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  animation: gridFloat 24s linear infinite;
}

@keyframes gridFloat {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 64px, 0 64px; }
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(2px);
}

.orb--1 {
  width: 8px; height: 8px;
  background: var(--purple-light);
  box-shadow: 0 0 14px 3px rgba(168, 85, 247, 0.7);
  top: 22%;
  left: 12%;
  animation: floatY 7s ease-in-out infinite;
}

.orb--2 {
  width: 5px; height: 5px;
  background: #60a5fa;
  box-shadow: 0 0 10px 2px rgba(96, 165, 250, 0.7);
  top: 68%;
  left: 6%;
  animation: floatY 9s ease-in-out infinite 1s;
}

.orb--3 {
  width: 6px; height: 6px;
  background: var(--purple-light);
  box-shadow: 0 0 12px 2px rgba(168, 85, 247, 0.6);
  top: 30%;
  right: 8%;
  animation: floatY 8s ease-in-out infinite 0.5s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

/* Hero content */
.hero__content { position: relative; z-index: 2; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 500;
  color: #d1d5db;
  margin-bottom: 26px;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 10px 2px rgba(168, 85, 247, 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--gray-mid);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__tags li { display: inline-flex; align-items: center; gap: 8px; }

.hero__tags-icon { color: var(--purple-light); font-size: 0.7rem; }

/* ---------- Hero visual stage ---------- */
.hero__visual { position: relative; z-index: 1; }

.stage {
  position: relative;
  height: 560px;
  max-width: 560px;
  margin: 0 auto;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 6% 2% 2% 6%;
  background: conic-gradient(from 120deg at 50% 50%, rgba(124,58,237,0.16), rgba(37,99,235,0.14), rgba(124,58,237,0.16));
  filter: blur(46px);
  border-radius: 50%;
  animation: stagePulse 8s ease-in-out infinite alternate;
}

@keyframes stagePulse {
  0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  100% { transform: scale(1.12) rotate(10deg); opacity: 1; }
}

.mockup {
  position: absolute;
  background: linear-gradient(160deg, rgba(22, 22, 26, 0.92), rgba(10, 10, 12, 0.94));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px -14px rgba(124, 58, 237, 0.35);
  will-change: transform;
}

.mockup--browser {
  width: 92%;
  left: 0;
  top: 6%;
  animation: floatCard 7s ease-in-out infinite;
  z-index: 2;
}

.mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.mockup__dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup__dot--red { background: #ff5f57; }
.mockup__dot--yellow { background: #febc2e; }
.mockup__dot--green { background: #28c840; }

.mockup__url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--gray-mid);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 3px 10px;
}

.mockup__body { padding: 18px; }

.mockup__line {
  display: block;
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.mockup__line--title {
  width: 62%;
  height: 12px;
  background: linear-gradient(90deg, rgba(124,58,237,0.7), rgba(37,99,235,0.6));
}

.mockup__line--short { width: 44%; }

.mockup__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 92px;
  padding: 14px 0 18px;
}

.mockup__chart .bar {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--purple-light), rgba(124,58,237,0.25));
  animation: barGrow 1.4s var(--ease-out) backwards;
  transition: height 0.6s var(--ease-out);
}

.mockup__chart .bar:nth-child(even) { background: linear-gradient(180deg, #60a5fa, rgba(37,99,235,0.25)); }

@keyframes barGrow { from { height: 8%; } }

.mockup__row { display: flex; gap: 8px; }

.mockup__chip {
  height: 20px;
  border-radius: 6px;
}

.mockup__chip--purple { width: 34%; background: rgba(124,58,237,0.5); }
.mockup__chip--blue { width: 26%; background: rgba(37,99,235,0.5); }
.mockup__chip--line { flex: 1; background: rgba(255,255,255,0.08); }

.mockup--code {
  width: 46%;
  right: 0;
  top: 42%;
  z-index: 3;
  animation: floatCard 8s ease-in-out infinite 1s;
}

.code { padding: 16px; font-family: 'SF Mono', 'JetBrains Mono', monospace; font-size: 0.68rem; line-height: 1.9; }

.code__dots { display: flex; gap: 5px; margin-bottom: 10px; }
.code__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.15); }

.code__line { color: #9ca3af; white-space: nowrap; }
.code__line--k b { color: #c4b5fd; font-weight: 600; }
.code__line--k em { color: #7dd3fc; font-style: normal; }
.code__line--s b { color: #c4b5fd; font-weight: 600; }
.code__line--ind { padding-left: 14px; }
.code__line--ind em { color: #7dd3fc; font-style: normal; }
.code__line--ok { color: #34d399; }

.mockup--ai {
  width: 40%;
  left: -2%;
  bottom: 4%;
  z-index: 3;
  animation: floatCard 9s ease-in-out infinite 0.6s;
  padding: 18px;
}

.ai__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }

.ai__spark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.8rem;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0); box-shadow: 0 0 0 0 rgba(168,85,247,0.4); }
  50% { transform: scale(1.12) rotate(12deg); box-shadow: 0 0 18px 4px rgba(168,85,247,0.5); }
}

.ai__label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: #e5e7eb; }

.ai__metric { display: flex; align-items: baseline; gap: 4px; margin-bottom: 10px; }

.ai__num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ai__unit { color: var(--purple-light); font-weight: 600; }
.ai__caption { font-size: 0.72rem; color: var(--gray-mid); margin-left: 6px; }

.ai__bar { height: 5px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.ai__bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--gradient); }

.mockup--growth {
  display: flex;
  align-items: center;
  gap: 12px;
  right: 4%;
  top: 4%;
  z-index: 3;
  padding: 14px 18px;
  animation: floatCard 10s ease-in-out infinite 0.3s;
}

.growth__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.16);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.growth__icon svg { width: 20px; height: 20px; }

.growth__label { display: block; font-size: 0.7rem; color: var(--gray-mid); }
.growth__value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #34d399; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 15, 18, 0.9);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: #e5e7eb;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
  animation: floatY 6s ease-in-out infinite;
}

.chip svg { width: 15px; height: 15px; }

.chip--design { right: 2%; top: 20%; color: var(--purple-light); animation-delay: 0.4s; }
.chip--code { right: 12%; bottom: -2%; color: #60a5fa; animation-delay: 1.1s; }

/* Hero scroll hint */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray-mid);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--purple-light), transparent);
  overflow: hidden;
  position: relative;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: #fff;
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { overflow: hidden; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
  padding: 34px 28px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s, box-shadow 0.5s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(124,58,237,0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8), 0 0 44px -16px rgba(124, 58, 237, 0.4);
}

.card:hover::before { opacity: 1; }

.card__glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--gradient-soft);
  filter: blur(56px);
  top: -70px;
  right: -70px;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}

.card:hover .card__glow { opacity: 1; }

.service { position: relative; z-index: 1; }

.service__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(124,58,237,0.18), rgba(37,99,235,0.14));
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple-light);
  margin-bottom: 22px;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
}

.service__icon svg { width: 26px; height: 26px; }

.service:hover .service__icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 12px 30px -8px rgba(124, 58, 237, 0.5);
  color: #fff;
}

.service__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.service__desc {
  font-size: 0.93rem;
  color: var(--gray);
  position: relative;
  z-index: 1;
}

.service__tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  transition: background 0.3s, color 0.3s;
}

.service:hover .service__tag { background: rgba(124, 58, 237, 0.25); color: #c4b5fd; }

/* ==========================================================================
   WHY
   ========================================================================== */
.why { overflow: hidden; }

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}

.why__list { display: grid; gap: 0; }

.why__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.why__item:last-child { border-bottom: 0; }

.why__check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(124,58,237,0.25), rgba(37,99,235,0.2));
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #a78bfa;
  box-shadow: 0 0 16px -4px rgba(124, 58, 237, 0.5);
}

.why__check svg { width: 16px; height: 16px; }

.why__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 2px;
}

.why__text span { font-size: 0.88rem; color: var(--gray-mid); }

/* Builder animation */
.builder { position: relative; perspective: 1400px; }

.builder__glass {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(18,18,22,0.92), rgba(9,9,11,0.96));
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.85);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}

.builder:hover .builder__glass { transform: rotateY(0deg) rotateX(0deg); }

.builder__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.builder__bar-label { margin-left: 10px; font-size: 0.72rem; color: var(--gray-mid); font-family: var(--font-display); }

.builder__canvas {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
}

.builder__frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  padding: 20px;
  position: relative;
}

.builder__nav { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.builder__nav i {
  width: 34px; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.12);
}
.builder__nav i:nth-child(2) { width: 46px; background: rgba(168,85,247,0.5); }
.builder__nav .builder__nav-cta {
  margin-left: auto;
  width: 54px; height: 16px;
  border-radius: 8px;
  background: var(--gradient);
}

.builder__headline { display: grid; gap: 9px; margin-bottom: 26px; }
.builder__h1 { height: 12px; width: 52%; border-radius: 6px; background: rgba(255,255,255,0.14); }
.builder__h1--grad { width: 38%; background: var(--gradient); animation: shimmer 3.5s linear infinite; }

@keyframes shimmer {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.45); }
  100% { filter: brightness(1); }
}

.builder__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.builder__cardx {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  background: rgba(255,255,255,0.02);
  display: grid;
  gap: 8px;
}

.builder__icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(124,58,237,0.6), rgba(37,99,235,0.5));
}

.builder__ln { height: 6px; width: 85%; border-radius: 4px; background: rgba(255,255,255,0.1); }
.builder__ln--sm { width: 55%; background: rgba(255,255,255,0.06); }

.builder__cursor {
  position: absolute;
  width: 22px;
  height: 22px;
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.8));
  top: 26%;
  right: 16%;
  animation: cursorMove 5.5s ease-in-out infinite;
  z-index: 3;
}

.builder__cursor svg { width: 100%; height: 100%; }

@keyframes cursorMove {
  0% { transform: translate(0, 0) rotate(0); }
  35% { transform: translate(-90px, 60px) rotate(0); }
  55% { transform: translate(-130px, 20px) rotate(0); }
  80% { transform: translate(-40px, 90px) rotate(0); }
  100% { transform: translate(0, 0) rotate(0); }
}

.builder__badge {
  position: absolute;
  right: 8%;
  bottom: 22%;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(16, 16, 20, 0.92);
  border: 1px solid rgba(168, 85, 247, 0.35);
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: #c4b5fd;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.6);
  animation: floatY 4s ease-in-out infinite;
  z-index: 3;
}

.builder__status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.builder__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px 2px rgba(52, 211, 153, 0.6);
  animation: pulse 2.2s ease-in-out infinite;
}

.builder__status-text { font-size: 0.78rem; color: var(--gray-mid); }

.builder__glow {
  position: absolute;
  inset: -12% -8% -8% -8%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(124,58,237,0.22), rgba(37,99,235,0.18), rgba(168,85,247,0.22));
  filter: blur(60px);
  border-radius: 40px;
  z-index: 1;
  animation: glowSpin 12s linear infinite;
}

@keyframes glowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   PROCESS / TIMELINE
   ========================================================================== */
.process { overflow: hidden; }

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), var(--blue), transparent 96%);
  opacity: 0.35;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 24px;
}

.timeline__marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.timeline__num {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(160deg, rgba(124,58,237,0.85), rgba(37,99,235,0.8));
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 8px var(--bg), 0 12px 34px -8px rgba(124, 58, 237, 0.7);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
}

.timeline__item:hover .timeline__num {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px var(--bg), 0 16px 44px -8px rgba(124, 58, 237, 0.9);
}

.timeline__line { display: none; }

.timeline__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  padding: 28px 30px;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  align-self: start;
}

.timeline__item:hover .timeline__card {
  transform: translateX(8px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.7), 0 0 40px -18px rgba(124,58,237,0.4);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline__desc { color: var(--gray); font-size: 0.95rem; }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.projects { overflow: hidden; }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.project {
  position: relative;
  grid-column: span 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,0.03), rgba(255,255,255,0.006));
  overflow: hidden;
  transition: transform 0.55s var(--ease-out), border-color 0.4s, box-shadow 0.55s;
}

.project:nth-child(3) { grid-column: span 6; }

.project:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 34px 70px -28px rgba(0,0,0,0.85), 0 0 50px -18px rgba(124,58,237,0.45);
}

.project__mockup {
  position: relative;
  height: 260px;
  background:
    radial-gradient(80% 80% at 80% 0%, rgba(124,58,237,0.14), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, rgba(37,99,235,0.12), transparent 60%),
    #0a0a0c;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: transform 0.7s var(--ease-out);
}

.project:hover .project__mockup { transform: scale(1.02); }

.project__info { padding: 26px 28px 30px; position: relative; }

.project__category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 10px;
}

.project__title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.project__desc { color: var(--gray-mid); font-size: 0.92rem; max-width: 480px; }

.project__arrow {
  position: absolute;
  right: 26px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gray);
  transition: all 0.45s var(--ease-out);
}

.project__arrow svg { width: 20px; height: 20px; }

.project:hover .project__arrow {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translate(4px, -4px);
  box-shadow: 0 12px 26px -8px rgba(124,58,237,0.6);
}

/* Project mockups visuals */
.project__mockup-nav { display: flex; gap: 7px; align-items: center; width: 86%; }
.project__mockup-nav span { width: 30px; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.12); }
.project__mockup-nav .project__mockup-btn {
  margin-left: auto;
  width: 56px; height: 16px;
  border-radius: 8px;
  background: var(--gradient);
}

.project__mockup--landing { flex-direction: column; gap: 26px; padding: 30px 0; }

.project__mockup-hero { display: grid; gap: 12px; width: 74%; }
.project__mockup-line { display: block; border-radius: 6px; background: rgba(255,255,255,0.1); }
.project__mockup-line--xl { height: 14px; width: 70%; background: linear-gradient(90deg, rgba(124,58,237,0.75), rgba(37,99,235,0.6)); }
.project__mockup-line--md { height: 10px; width: 46%; background: rgba(255,255,255,0.06); }
.project__mockup-hero .project__mockup-btn { width: 110px; height: 26px; border-radius: 13px; background: var(--gradient); }

/* Menu mockup */
.project__mockup--menu { background: radial-gradient(60% 80% at 50% 100%, rgba(124,58,237,0.18), transparent 70%), #0a0a0c; }

.menu__phone {
  width: 150px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #121216, #0c0c0e);
  padding: 14px 12px 16px;
  display: grid;
  gap: 10px;
  box-shadow: 0 26px 60px -18px rgba(0,0,0,0.8);
  animation: floatY 6s ease-in-out infinite;
}

.menu__phone-header {
  width: 60%;
  height: 8px;
  border-radius: 4px;
  background: var(--gradient);
  margin: 0 auto 4px;
}

.menu__dish {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: rgba(255,255,255,0.02);
}

.menu__img { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(160deg, #a855f7, #7c3aed); flex-shrink: 0; }
.menu__img--blue { background: linear-gradient(160deg, #60a5fa, #2563eb); }

.menu__txt { display: grid; gap: 6px; flex: 1; }
.menu__txt em { height: 6px; width: 85%; border-radius: 4px; background: rgba(255,255,255,0.14); }
.menu__txt b { height: 5px; width: 55%; border-radius: 4px; background: rgba(255,255,255,0.06); }

.menu__wa {
  text-align: center;
  font-size: 0.58rem;
  font-weight: 600;
  color: #fff;
  background: #22c55e;
  border-radius: 999px;
  padding: 7px 0;
  margin-top: 2px;
}

/* System mockup */
.project__mockup--system { background: radial-gradient(70% 80% at 20% 0%, rgba(37,99,235,0.16), transparent 60%), #0a0a0c; }

.system__sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 34%;
  background: rgba(5,5,7,0.85);
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.system__logo {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--gradient);
  margin-bottom: 6px;
}

.system__nav { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); width: 70%; }
.system__nav--on { background: linear-gradient(90deg, rgba(124,58,237,0.7), rgba(37,99,235,0.5)); width: 55%; }

.system__main { margin-left: 34%; padding: 20px; width: 66%; display: grid; gap: 12px; }

.system__card {
  height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}

.system__table { display: grid; gap: 8px; margin-top: 6px; }
.system__row { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.07); }
.system__row:nth-child(2) { width: 88%; }
.system__row:nth-child(3) { width: 64%; }

/* Site mockup */
.project__mockup--site { background: radial-gradient(70% 70% at 80% 100%, rgba(124,58,237,0.16), transparent 60%), #0a0a0c; }

.site__browser {
  width: 78%;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: linear-gradient(180deg, #131317, #0b0b0d);
  box-shadow: 0 26px 60px -18px rgba(0,0,0,0.8);
}

.site__bar { display: block; height: 26px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--line); }

.site__content { padding: 20px; display: grid; gap: 12px; }
.site__logo { width: 34px; height: 34px; border-radius: 9px; background: var(--gradient); }
.site__navi { display: flex; gap: 8px; margin-left: auto; }
.site__navi b { width: 26px; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.site__hero-text { height: 12px; width: 70%; border-radius: 6px; background: linear-gradient(90deg, rgba(168,85,247,0.7), rgba(37,99,235,0.6)); margin-top: 10px; }
.site__hero-text--sm { width: 45%; background: rgba(255,255,255,0.08); }

/* AI mockup */
.project__mockup--ai2 { background: radial-gradient(60% 80% at 50% 30%, rgba(124,58,237,0.22), transparent 70%), #0a0a0c; }

.ai2__orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, #7c3aed, #2563eb, #a855f7, #7c3aed);
  filter: blur(4px);
  opacity: 0.5;
  animation: glowSpin 10s linear infinite;
}

.ai2__chat {
  position: relative;
  z-index: 2;
  width: 72%;
  display: grid;
  gap: 10px;
}

.ai2__msg {
  max-width: 88%;
  font-size: 0.74rem;
  padding: 9px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.ai2__msg--in {
  justify-self: start;
  background: linear-gradient(160deg, rgba(124,58,237,0.35), rgba(37,99,235,0.25));
  border-color: rgba(168,85,247,0.4);
  color: #e9d5ff;
}

.ai2__msg--out {
  justify-self: end;
  background: rgba(255,255,255,0.06);
  color: #d1d5db;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.cta__glow--a {
  width: 480px; height: 480px;
  background: rgba(124, 58, 237, 0.28);
  top: -160px; left: 50%;
  transform: translateX(-50%);
  animation: glowDrift 12s ease-in-out infinite alternate;
}

.cta__glow--b {
  width: 380px; height: 380px;
  background: rgba(37, 99, 235, 0.22);
  bottom: -180px; right: 8%;
  animation: glowDrift 15s ease-in-out infinite alternate-reverse;
}

.cta__inner { position: relative; z-index: 2; }

.cta__card {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(124,58,237,0.16), transparent 60%),
    linear-gradient(170deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    rgba(8, 8, 10, 0.7);
  backdrop-filter: blur(16px);
  padding: clamp(44px, 6vw, 80px) clamp(24px, 5vw, 70px);
  overflow: hidden;
}

.cta__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient);
  -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;
  opacity: 0.8;
  animation: borderPulse 4s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.cta__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 18px;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.cta__text {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto 38px;
}

.cta__actions { display: flex; justify-content: center; margin-bottom: 22px; }

.cta__note { font-size: 0.82rem; color: var(--gray-mid); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10,10,12,0.4), rgba(5,5,5,1));
  padding-top: clamp(48px, 6vw, 80px);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 56px;
}

.footer__tagline {
  color: var(--gray-mid);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 260px;
  font-style: italic;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-self: center;
}

.footer__link {
  color: var(--gray);
  font-size: 0.94rem;
  padding: 6px 0;
  transition: color 0.3s, transform 0.3s var(--ease-out);
  display: inline-block;
}

.footer__link:hover { color: #fff; transform: translateX(5px); }

.footer__social {
  display: flex;
  gap: 12px;
  justify-self: end;
}

.footer__social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  color: var(--gray);
  background: rgba(255,255,255,0.02);
  transition: all 0.35s var(--ease-out);
}

.footer__social-link svg { width: 20px; height: 20px; }

.footer__social-link:hover {
  color: #fff;
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(124, 58, 237, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 26px -8px rgba(124,58,237,0.5);
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--gray-mid);
}

.footer__heart { color: var(--purple-light); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .stage { max-width: 460px; height: 500px; }

  .why__inner { grid-template-columns: 1fr; gap: 64px; }
  .builder__glass { max-width: 560px; margin: 0 auto; }

  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .project { grid-column: span 1; }
  .project:nth-child(3) { grid-column: span 2; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__social { justify-self: start; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .hamburger { display: flex; }

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

  .hero__title { font-size: clamp(2rem, 8vw, 2.7rem); }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__actions { flex-direction: column; }

  .stage { height: 460px; max-width: 400px; }

  .mockup--browser { width: 96%; }
  .mockup--ai { width: 46%; }
  .mockup--growth { right: 0; }
  .chip--design { right: 0; }

  .projects__grid { grid-template-columns: 1fr; }
  .project { grid-column: span 1; }
  .project:nth-child(3) { grid-column: span 1; }

  .timeline { gap: 20px; }
  .timeline::before { left: 30px; }
  .timeline__item { grid-template-columns: 60px 1fr; gap: 18px; }
  .timeline__num { width: 60px; height: 60px; font-size: 0.95rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__nav { justify-self: start; flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }
  .footer__social { justify-self: start; }
  .footer__bottom-inner { justify-content: center; text-align: center; }

  .hero__scroll { display: none; }
}

/* Small phones */
@media (max-width: 420px) {
  .stage { height: 420px; }
  .mockup--ai { padding: 14px; }
  .ai__num { font-size: 1.6rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .cursor { display: none; }
}
