@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --bg-dark: #07070a;
  --bg-surface: #101218;
  --bg-card: #151820;
  --text-main: #f0f2f5;
  --text-muted: #8b92a5;
  --accent: #ff5500;
  --accent-glow: rgba(255, 85, 0, 0.15);
  --border: #242834;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}

.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 1.5rem 0;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled { padding: 1rem 0; }

.header-inner {
  display: flex; justify-content: space-between; align-items: center;
}

.logo {
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; color: var(--text-main);
}
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; background: transparent; color: var(--text-main);
  border: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: var(--transition);
}

.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }

.card {
  background: var(--bg-card); border: 1px solid var(--border); padding: 2.5rem;
  position: relative; transition: var(--transition); transform-style: preserve-3d;
}

.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid transparent; transition: var(--transition); pointer-events: none;
}

.card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color: var(--accent); }
.card:hover::before { border-color: var(--accent); filter: blur(6px); opacity: 0.3; }

.card-img { width: 100%; height: 260px; object-fit: cover; margin-bottom: 1.5rem; filter: grayscale(80%) contrast(120%); transition: var(--transition); }
.card:hover .card-img { filter: grayscale(0%) contrast(100%); }
.card-title { font-size: 1.25rem; margin-bottom: 1rem; }
.card-desc { color: var(--text-muted); font-size: 0.95rem; }

.tag {
  display: inline-block; padding: 0.25rem 0.75rem; background: var(--bg-surface);
  border: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--accent); margin-bottom: 1rem;
}

.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-anim .scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.js-anim .scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  min-height: 100vh; display: flex; align-items: center; padding-top: 5rem;
  border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.15; z-index: 0; filter: grayscale(100%);
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-title { font-size: clamp(3rem, 5vw, 5.5rem); text-transform: uppercase; letter-spacing: -2px; margin-bottom: 1.5rem; line-height: 1; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 600px; }
.hero-actions { display: flex; gap: 1.5rem; }

.gradient-tracing {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 85, 0, 0.05), transparent 40%);
  pointer-events: none; z-index: 0;
}

.site-footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand .logo { margin-bottom: 1rem; display: block; }
.footer-desc { color: var(--text-muted); max-width: 320px; font-size: 0.95rem; }
.footer-links h4 { font-family: var(--font-mono); font-size: 0.875rem; text-transform: uppercase; margin-bottom: 1.5rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.875rem; }

.section-header { margin-bottom: 4rem; max-width: 700px; position: relative; z-index: 1; }
.section-title { font-size: 2.5rem; text-transform: uppercase; margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; }

.page-header { padding: 12rem 0 6rem; border-bottom: 1px solid var(--border); background: var(--bg-surface); position: relative; overflow: hidden; }
.page-title { font-size: 4rem; text-transform: uppercase; margin-bottom: 1rem; position: relative; z-index: 1; }

.content-block { margin-bottom: 4rem; position: relative; z-index: 1; }
.content-block h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.content-block p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.1rem; }

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-family: var(--font-mono); font-size: 0.875rem; margin-bottom: 0.5rem; color: var(--text-muted); text-transform: uppercase; }
.form-control {
  width: 100%; padding: 1rem; background: var(--bg-dark); border: 1px solid var(--border);
  color: var(--text-main); font-family: var(--font-sans); font-size: 1rem; transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
textarea.form-control { resize: vertical; min-height: 150px; }

.process-steps { position: relative; padding-left: 2rem; margin-top: 3rem; }
.process-step { position: relative; padding-bottom: 4rem; }
.process-step::before {
  content: ''; position: absolute; left: -2rem; top: 0; bottom: 0; width: 1px; background: var(--border);
}
.process-step:last-child::before { display: none; }
.process-step::after {
  content: ''; position: absolute; left: -2.3rem; top: 0.5rem; width: 11px; height: 11px;
  background: var(--bg-dark); border: 2px solid var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent-glow);
}
.process-step h3 { font-family: var(--font-mono); font-size: 1.2rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--text-muted); }

.svg-container { position: absolute; right: 0; top: 0; height: 100%; width: 50%; z-index: 0; opacity: 0.1; pointer-events: none; }
.animated-path { stroke: var(--accent); stroke-width: 2; fill: none; transition: stroke-dashoffset 0.1s linear; }

.cta-section { background: var(--bg-surface); text-align: center; padding: 6rem 0; border-top: 1px solid var(--border); }
.cta-section .section-header { margin: 0 auto 3rem; }
