:root {
  --bg: #060608;
  --fg: #f5f3ef;
  --muted: #9a97a6;
  --accent: #ff4d2e;
  --accent-2: #7c5cff;
  --accent-3: #17e3b0;
  --card: #101013;
  --border: rgba(245, 243, 239, 0.1);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* ambient background glows */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.glow-a {
  width: 620px; height: 620px;
  background: var(--accent);
  top: -200px; left: -150px;
  animation: float-a 22s ease-in-out infinite;
}
.glow-b {
  width: 520px; height: 520px;
  background: var(--accent-2);
  top: 30%; right: -200px;
  animation: float-b 26s ease-in-out infinite;
}
.glow-c {
  width: 460px; height: 460px;
  background: var(--accent-3);
  bottom: -220px; left: 20%;
  opacity: 0.3;
  animation: float-c 30s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-60px, 90px) scale(1.1); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.2); }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

header, main, footer { position: relative; z-index: 2; }

/* nav */
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
}
.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--fg) !important;
}
.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(255,77,46,0.08);
}

/* hero */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 24px 140px;
}
.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--accent-3);
  font-weight: 600;
  margin: 0 0 22px;
}
.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 42px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0a0a0a;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(255,77,46,0.55);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn-ghost:hover {
  border-color: var(--fg);
  transform: translateY(-2px);
}
.btn-lg { padding: 20px 40px; font-size: 1.15rem; }

/* section shared */
.services, .process, .contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 24px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 56px;
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(255,77,46,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,243,239,0.25);
}
.card:hover::before { opacity: 1; }
.card-num {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.card h3 {
  font-size: 1.35rem;
  margin: 18px 0 14px;
  font-weight: 700;
}
.card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
}
.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-list li {
  font-size: 0.92rem;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-weight: 700;
  margin-bottom: 20px;
}
.step h4 { font-size: 1.15rem; margin: 0 0 10px; }
.step p { color: var(--muted); line-height: 1.6; margin: 0; }

/* contact */
.contact { text-align: center; }
.contact .section-eyebrow, .contact .section-title { }
.contact-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 40px;
}

/* footer */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .footer { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
