:root {
  --acid: #C8FF00;
  --black: #0A0A0A;
  --dark: #111111;
  --darker: #0D0D0D;
  --gray: #1A1A1A;
  --gray2: #222222;
  --text: #EFEFEF;
  --muted: #555555;
  --muted2: #333333;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: auto;
}

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  border-color: var(--gray2);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
}
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--acid);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--acid);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--acid); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--acid);
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 48px 80px;
  overflow: hidden;
}

/* Scanlines */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
  z-index: 2;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray2) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray2) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,255,0,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1000px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--muted2);
  padding: 6px 16px;
  margin-bottom: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 0.8s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acid);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(64px, 11vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  animation: fadeUp 0.8s 0.1s ease both;
  margin-bottom: 8px;
}
.hero-title .accent { color: var(--acid); }

.hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 56px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: #888;
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeUp 0.8s 0.4s ease both;
}

.btn-primary {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--acid);
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s;
}
.btn-primary:hover::after { transform: translateX(0); }

.btn-ghost {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--muted2);
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-ghost:hover { color: var(--acid); border-color: var(--acid); }

/* logo big in hero */
.hero-logo-wrap {
  position: relative;
  z-index: 3;
  margin-bottom: 40px;
  animation: fadeDown 0.8s ease both;
}
.hero-logo-wrap img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(200,255,0,0.3));
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 1s 0.8s both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--acid), transparent);
  animation: scrollAnim 2s infinite;
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* SECTIONS COMMON */
section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--acid);
  display: inline-block;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title .dim { color: var(--muted2); }

/* SERVICES */
#services {
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid var(--gray2);
}
#services > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
#services { max-width: 100%; }

.services-header {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 48px;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.service-card {
  background: var(--dark);
  border: 1px solid var(--gray2);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--acid);
  transition: height 0.4s;
}
.service-card:hover { border-color: var(--gray); background: var(--gray); }
.service-card:hover::before { height: 100%; }

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-bottom: 28px;
}
.service-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}
.service-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 14px;
}
.service-desc {
  font-size: 14px;
  font-weight: 300;
  color: #666;
  line-height: 1.7;
  margin-bottom: 28px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--acid);
  border: 1px solid rgba(200,255,0,0.25);
  padding: 4px 10px;
}

/* PORTFOLIO */
#portfolio {
  border-top: 1px solid var(--gray2);
  padding: 100px 48px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  margin-top: 60px;
}
.portfolio-item {
  background: var(--dark);
  border: 1px solid var(--gray2);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
}
.portfolio-item:hover {
  transform: translateY(-4px);
  border-color: var(--gray);
}
.portfolio-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}
.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}
.portfolio-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 4px;
}
.portfolio-category {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--acid);
}
.portfolio-coming-soon {
  text-align: center;
  padding: 60px 20px;
  margin-top: 40px;
  background: var(--darker);
  border: 1px solid var(--gray2);
}
.coming-soon-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.coming-soon-content p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.coming-soon-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.coming-soon-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray2);
  animation: pulse 2s infinite;
}
.coming-soon-dots .dot:nth-child(2) {
  animation-delay: 0.3s;
}
.coming-soon-dots .dot:nth-child(3) {
  animation-delay: 0.6s;
}

/* PROCESS */
#process {
  border-top: 1px solid var(--gray2);
  padding: 100px 48px;
}
.process-steps {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray2);
  position: relative;
}
.process-step:first-child { border-top: 1px solid var(--gray2); }
.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 56px;
  color: var(--muted2);
  line-height: 1;
  transition: color 0.3s;
}
.process-step:hover .step-num { color: var(--acid); }
.step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  padding-top: 8px;
}
.step-desc {
  font-size: 14px;
  font-weight: 300;
  color: #666;
  line-height: 1.7;
  padding-top: 8px;
}

/* ABOUT */
#about {
  border-top: 1px solid var(--gray2);
  padding: 100px 48px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
  align-items: center;
}
.about-text p {
  font-size: 15px;
  font-weight: 300;
  color: #888;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-text p strong {
  color: var(--text);
  font-weight: 500;
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.about-logo-wrap {
  position: relative;
}
.about-logo-wrap img {
  width: 280px;
  filter: drop-shadow(0 0 80px rgba(200,255,0,0.2));
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.about-ring {
  position: absolute;
  border: 1px solid rgba(200,255,0,0.12);
  border-radius: 50%;
  animation: ringPulse 4s ease-in-out infinite;
}
.about-ring:nth-child(2) { width: 320px; height: 320px; animation-delay: 0s; }
.about-ring:nth-child(3) { width: 420px; height: 420px; animation-delay: 0.8s; }
.about-ring:nth-child(4) { width: 500px; height: 500px; animation-delay: 1.6s; }
@keyframes ringPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.03); }
}

/* CONTACT */
#contact {
  border-top: 1px solid var(--gray2);
  padding: 100px 48px;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}
.contact-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 12px;
}
.contact-info p {
  font-size: 14px;
  font-weight: 300;
  color: #666;
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-item-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--gray2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--acid);
}
.contact-item-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #888;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark);
  border: 1px solid var(--gray2);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select { cursor: pointer; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--acid);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group textarea { height: 120px; }

.form-submit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--acid);
  border: none;
  padding: 16px 32px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  align-self: flex-start;
  margin-top: 8px;
}
.form-submit:hover { opacity: 0.85; transform: translateY(-2px); }

/* FOOTER */
footer {
  border-top: 1px solid var(--gray2);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--darker);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo img { width: 28px; }
.footer-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--acid);
  text-transform: uppercase;
}
.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--acid); }

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* MARQUEE */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--gray2);
  border-bottom: 1px solid var(--gray2);
  padding: 16px 0;
  background: var(--darker);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.marquee-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--acid);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 18px 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  #hero { padding: 100px 20px 60px; }
  section { padding: 60px 20px; }
  #portfolio { padding: 60px 20px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-image { height: 200px; }
  .portfolio-title { font-size: 16px; }
  .coming-soon-content h3 { font-size: 24px; }
  .services-header, .services-grid { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 30px 20px; }
  .process-step { grid-template-columns: 50px 1fr; }
  .step-desc { display: none; }
  #process, #about, #contact { padding: 60px 20px; }
  .about-ring { display: none; }
}
