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

:root {
  --bg-deep: #0e0d1a;
  --bg-surface: #1a1c2e;
  --bg-card: #16152a;
  --cyan: #5fcde4;
  --pink: #ff77a8;
  --yellow: #faef5d;
  --white: #e8e8ff;
  --dim: #2a2a4a;
  --text: #b8b8d0;
  --text-bright: #e0e0f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== PIXEL GRID ===== */
.px-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.008) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14,13,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(95,205,228,0.04);
}

.nav-logo {
  font-family: 'Silkscreen', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}
.nav-logo .ai {
  color: var(--cyan);
  text-shadow: 2px 2px 0 var(--pink);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--dim);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--cyan); }

/* ===== SECTIONS ===== */
section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-tag {
  font-family: 'Silkscreen', monospace;
  font-size: 9px;
  color: var(--cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-tag::before {
  content: '►';
  font-size: 7px;
}

/* ===== HERO ===== */
.hero-section {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
}

.ambient {
  position: absolute;
  width: 4px;
  height: 4px;
  opacity: 0.1;
  animation: floatUp 10s linear infinite;
}

.hero-pre {
  font-family: 'Silkscreen', monospace;
  font-size: 11px;
  color: var(--pink);
  letter-spacing: 2px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}
.hero-pre .blink-arrow {
  animation: arrowBlink 1.5s step-end infinite;
}

.hero-title {
  font-family: 'Silkscreen', monospace;
  font-size: clamp(36px, 7vw, 68px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1.15;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.4);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s forwards;
}
.hero-title .ai {
  color: var(--bg-deep);
  position: relative;
}
.hero-title .ai::before {
  content: '';
  position: absolute;
  inset: -4px -8px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  z-index: -1;
  animation: aiShift 4s ease-in-out infinite alternate;
}

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text);
  line-height: 1.6;
  max-width: 620px;
  margin-top: 20px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.6s 0.6s forwards;
}
.hero-sub strong {
  color: var(--text-bright);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  opacity: 0;
  animation: fadeUp 0.6s 0.8s forwards;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: 'Silkscreen', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 14px 28px;
  background: var(--cyan);
  color: var(--bg-deep);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--pink);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--cyan);
}

.btn-ghost {
  font-family: 'Silkscreen', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 14px 28px;
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-ghost:hover {
  background: rgba(95,205,228,0.08);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--pink);
}

/* Power bar */
.hero-pwr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.6s 1s forwards;
}
.hero-pwr-label {
  font-family: 'Silkscreen', monospace;
  font-size: 8px;
  color: var(--dim);
  letter-spacing: 2px;
}
.hero-pwr-track {
  width: 180px;
  height: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(95,205,228,0.1);
  display: flex;
  gap: 2px;
  padding: 1px;
}
.hero-pwr-seg {
  flex: 1;
  background: var(--cyan);
  animation: segP 2s ease-in-out infinite;
}
.hero-pwr-seg:nth-child(n+6) { background: var(--yellow); }
.hero-pwr-seg:nth-child(n+9) { background: var(--pink); }
.hero-pwr-seg:nth-child(2) { animation-delay: 0.1s; }
.hero-pwr-seg:nth-child(3) { animation-delay: 0.2s; }
.hero-pwr-seg:nth-child(4) { animation-delay: 0.3s; }
.hero-pwr-seg:nth-child(5) { animation-delay: 0.4s; }
.hero-pwr-seg:nth-child(6) { animation-delay: 0.5s; }
.hero-pwr-seg:nth-child(7) { animation-delay: 0.6s; }
.hero-pwr-seg:nth-child(8) { animation-delay: 0.7s; }
.hero-pwr-seg:nth-child(9) { animation-delay: 0.8s; }
.hero-pwr-seg:nth-child(10) { animation-delay: 0.9s; }
.hero-pwr-pct {
  font-family: 'Silkscreen', monospace;
  font-size: 8px;
  color: var(--pink);
  opacity: 0.5;
}

/* ===== QUOTE ===== */
.quote-section {
  padding: 20px 40px 80px;
  text-align: center;
  position: relative;
}
.quote-block {
  max-width: 700px;
  margin: 0 auto;
}
.quote-line1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--dim);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 20px;
}
.quote-line2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--text);
  font-weight: 300;
  line-height: 1.5;
}
.quote-line2 .hl-bad { color: var(--pink); opacity: 0.5; }
.quote-line2 .hl-avg { color: var(--yellow); opacity: 0.6; }
.quote-line2 .hl-great { color: var(--cyan); font-weight: 700; }
.quote-tag {
  font-family: 'Silkscreen', monospace;
  font-size: 9px;
  color: var(--dim);
  margin-top: 28px;
  letter-spacing: 2px;
}

/* ===== SERVICES ===== */
.services-section { padding: 60px 40px 80px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 16px;
}

.service-card {
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translate(-2px, -4px);
  box-shadow: 4px 6px 0 rgba(95,205,228,0.08);
}
.service-card .card-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.service-icon {
  font-family: 'Silkscreen', monospace;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}
.service-icon .l1 { position: absolute; top: 0; left: 0; transform: translate(4px, 4px); }
.service-icon .l2 { position: absolute; top: 0; left: 0; transform: translate(2px, 2px); }
.service-icon .l3 { position: relative; }

.service-card:nth-child(1) .service-icon .l1 { color: #2a1a3e; }
.service-card:nth-child(1) .service-icon .l2 { color: var(--pink); }
.service-card:nth-child(1) .service-icon .l3 { color: var(--cyan); }
.service-card:nth-child(2) .service-icon .l1 { color: #2a2a1a; }
.service-card:nth-child(2) .service-icon .l2 { color: var(--cyan); }
.service-card:nth-child(2) .service-icon .l3 { color: var(--yellow); }
.service-card:nth-child(3) .service-icon .l1 { color: #2a1a2a; }
.service-card:nth-child(3) .service-icon .l2 { color: var(--yellow); }
.service-card:nth-child(3) .service-icon .l3 { color: var(--pink); }

.service-title {
  font-family: 'Silkscreen', monospace;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.service-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  font-weight: 300;
  flex: 1;
}
.service-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 1px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ===== ABOUT ===== */
.about-section {
  padding: 60px 40px 80px;
  position: relative;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text h2 {
  font-family: 'Silkscreen', monospace;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}
.about-text h2 .hl { color: var(--cyan); }
.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  font-weight: 300;
  margin-bottom: 16px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step {
  background: var(--bg-surface);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}
.step:hover { transform: translateX(4px); }
.step-num {
  font-family: 'Silkscreen', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 2px 2px 0 var(--pink);
  min-width: 36px;
}
.step-content h3 {
  font-family: 'Silkscreen', monospace;
  font-size: 11px;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.step-content p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
}
.step-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}
.step:nth-child(1) .step-bar { background: var(--cyan); }
.step:nth-child(2) .step-bar { background: var(--yellow); }
.step:nth-child(3) .step-bar { background: var(--pink); }
.step:nth-child(4) .step-bar { background: var(--cyan); }

/* ===== CONTACT ===== */
.contact-section { padding: 60px 40px 80px; }

.contact-box {
  background: var(--bg-surface);
  border-radius: 16px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(95,205,228,0.06);
}
.contact-box .c { position: absolute; width: 14px; height: 14px; }
.contact-box .c-tl { top: 14px; left: 14px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); opacity: 0.2; }
.contact-box .c-tr { top: 14px; right: 14px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); opacity: 0.2; }
.contact-box .c-bl { bottom: 14px; left: 14px; border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan); opacity: 0.2; }
.contact-box .c-br { bottom: 14px; right: 14px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); opacity: 0.2; }

.contact-title {
  font-family: 'Silkscreen', monospace;
  font-size: clamp(22px, 4vw, 34px);
  color: var(--white);
  letter-spacing: 2px;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
  margin-bottom: 16px;
}
.contact-title .ai {
  color: var(--cyan);
  text-shadow: 3px 3px 0 var(--pink);
}
.contact-sub {
  font-size: 16px;
  color: var(--text);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.contact-email {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 1px;
  padding: 14px 32px;
  border: 2px solid var(--cyan);
  display: inline-block;
  transition: all 0.3s;
}
.contact-email:hover {
  background: var(--cyan);
  color: var(--bg-deep);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--pink);
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.footer-logo {
  font-family: 'Silkscreen', monospace;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 1px;
}
.footer-logo .ai { color: rgba(95,205,228,0.3); }
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 1px;
}

/* ===== ANIMATIONS ===== */
@keyframes floatUp {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.1; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-300px); opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes arrowBlink {
  0%, 70% { opacity: 1; }
  71%, 100% { opacity: 0; }
}
@keyframes aiShift {
  0% { background: linear-gradient(135deg, var(--cyan), var(--pink)); }
  50% { background: linear-gradient(135deg, var(--pink), var(--yellow)); }
  100% { background: linear-gradient(135deg, var(--yellow), var(--cyan)); }
}
@keyframes segP {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 9px; }
  section { padding: 0 20px; }
  .services-section { padding: 40px 20px 60px; }
  .about-section { padding: 40px 20px 60px; }
  .contact-section { padding: 40px 20px 60px; }
  .contact-box { padding: 40px 24px; }
  footer { flex-direction: column; gap: 12px; padding: 24px 20px; }
}
