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

:root {
  --bg: #161618;
  --surface: #1e1e22;
  --border: #2a2a30;
  --border-mid: #333339;
  --blue: #0066ff;
  --blue-dim: rgba(0,102,255,0.1);
  --text: #efefef;
  --muted: #666670;
  --dim: #28282e;
  --danger: #ff3b3b;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- UTILS ---- */
.label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

.accent { color: var(--blue); }

/* gradient-text repurposed — just blue, no gradient */
.gradient-text { color: var(--blue); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border-mid); }

.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-size: 20px; font-weight: 800; color: var(--text);
  text-decoration: none; letter-spacing: -0.5px;
}
.nav-logo .accent { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  font-family: 'Space Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.85 !important; color: #fff !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--text);
}

.nav-mobile {
  display: none; flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.nav-mobile a {
  padding: 16px 32px; color: var(--muted); text-decoration: none;
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace; font-weight: 400;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: opacity 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--border-mid);
}
.btn-ghost:hover { border-color: var(--text); }

.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION WRAPPER ---- */
.section {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.section-alt { background: var(--surface); }

.section-header { margin-bottom: 72px; }
.section-header .label { margin-bottom: 20px; }
.section-header h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 20px;
  max-width: 640px;
}
.section-header p {
  color: var(--muted); font-size: 17px;
  max-width: 520px; line-height: 1.7;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 80px; width: 100%;
}

.hero-content { flex: 1.1; }

.hero-title {
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 32px;
}

.hero-sub {
  font-size: 17px; color: var(--muted);
  max-width: 460px; line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex; align-items: flex-start; gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}

.stat {
  flex: 1; padding-right: 32px;
  border-right: 1px solid var(--border);
  margin-right: 32px;
}
.stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.stat-num {
  display: block;
  font-size: 40px; font-weight: 800; line-height: 1;
  color: var(--text); margin-bottom: 6px;
}
.stat-sym { color: var(--blue); }
.stat-label {
  font-family: 'Space Mono', monospace; font-size: 10px;
  color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase;
}

/* ---- HERO VISUAL ---- */
.hero-visual { flex: 1; max-width: 500px; }

.browser-mock {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  overflow: hidden;
}

.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--dim);
  border-bottom: 1px solid var(--border-mid);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.red { background: #3a3a3a; }
.dot.yellow { background: #3a3a3a; }
.dot.green { background: var(--blue); }

.browser-url {
  flex: 1; font-family: 'Space Mono', monospace; font-size: 10px;
  color: var(--muted); background: var(--border);
  padding: 4px 10px; margin-left: 6px;
}

.browser-body { padding: 18px; }
.mock-nav { height: 28px; background: var(--dim); margin-bottom: 16px; }
.mock-hero { padding: 14px; background: rgba(0,102,255,0.04); border: 1px solid rgba(0,102,255,0.1); margin-bottom: 14px; }
.mock-line { height: 8px; background: var(--border-mid); margin-bottom: 7px; }
.mock-line.w80 { width: 80%; }
.mock-line.w60 { width: 60%; }
.mock-line.w40 { width: 40%; }
.mock-btn-row { display: flex; gap: 8px; margin-top: 12px; }
.mock-btn { height: 24px; width: 80px; }
.mock-btn.purple { background: var(--blue); }
.mock-btn.outline { background: transparent; border: 1px solid var(--border-mid); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-card { height: 56px; background: var(--surface); border: 1px solid var(--border); }

@media (max-width: 960px) {
  .hero-inner { flex-direction: column; gap: 60px; }
  .hero-visual { max-width: 100%; width: 100%; }
  .hero-title { font-size: clamp(44px, 8vw, 72px); }
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.service-card {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.service-card:hover { background: var(--surface); }

.service-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--blue);
  letter-spacing: 2px; margin-bottom: 24px;
  display: block;
}

.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }

.service-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-list li {
  font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted);
  padding-left: 16px; position: relative; letter-spacing: 0.5px;
}
.service-list li::before { content: '/'; position: absolute; left: 0; color: var(--blue); }

/* remove individual service-icon styles — replaced by service-num */
.service-icon { display: none; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---- WORK ---- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.work-card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.work-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden; cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.work-overlay {
  position: absolute; inset: 0;
  background: rgba(0,102,255,0.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.work-img:hover .work-overlay { opacity: 1; }
.work-overlay .label { color: #fff; font-size: 11px; letter-spacing: 2px; }

.work-preview { padding: 14px; }
.wp-bar { height: 18px; background: var(--dim); margin-bottom: 10px; }
.wp-content { padding: 0 2px; }
.wp-line { height: 7px; background: var(--border-mid); margin-bottom: 5px; }
.wp-line.w80 { width: 80%; } .wp-line.w70 { width: 70%; } .wp-line.w65 { width: 65%; }
.wp-line.w60 { width: 60%; } .wp-line.w50 { width: 50%; } .wp-line.w45 { width: 45%; }
.wp-grid-sm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.wp-block { height: 24px; background: var(--border); }
.wp-block.purple { background: var(--blue-dim); border: 1px solid rgba(0,102,255,0.3); }
.wp-block.cyan { background: var(--dim); }
.wp-block.pink { background: var(--dim); }

.work-info { padding: 24px; }
.work-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }

.tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 8px;
  background: transparent; border: 1px solid var(--border-mid); color: var(--muted);
}
.tag.purple { border-color: var(--blue); color: var(--blue); }
.tag.cyan { border-color: var(--border-mid); color: var(--muted); }
.tag.pink { border-color: var(--border-mid); color: var(--muted); }

.work-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.work-info p { color: var(--muted); font-size: 13px; line-height: 1.6; }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; border-left: none; }
  .work-card { border-left: 1px solid var(--border); }
}

/* ---- PROCESS ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.process-connector { display: none; }

.process-step {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.process-step:hover { background: var(--surface); }

.step-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--blue);
  letter-spacing: 2px; margin-bottom: 24px; display: block;
}

.step-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.step-content p { color: var(--muted); font-size: 14px; line-height: 1.7; }

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.testimonial-card {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stars {
  font-family: 'Space Mono', monospace;
  font-size: 12px; letter-spacing: 4px;
  color: var(--blue); margin-bottom: 20px;
}

.testimonial-card > p {
  color: var(--muted); font-size: 15px; line-height: 1.75;
  margin-bottom: 28px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace; font-size: 10px; font-weight: 700;
  color: #fff; flex-shrink: 0;
  background: var(--blue);
}
.testimonial-author strong { display: block; font-size: 14px; margin-bottom: 3px; }
.testimonial-author .label { margin: 0; }

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ---- CONTACT ---- */
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}

.contact-info .label { margin-bottom: 16px; }
.contact-info h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; margin-bottom: 20px; line-height: 1.1;
}
.contact-info > p { color: var(--muted); margin-bottom: 40px; font-size: 16px; line-height: 1.75; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }
.contact-item a, .contact-item span { color: var(--muted); font-size: 14px; text-decoration: none; font-family: 'Space Mono', monospace; letter-spacing: 0.5px; }
.contact-item a:hover { color: var(--text); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group:last-of-type { margin-bottom: 28px; }

label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}

input, select, textarea {
  background: var(--bg); border: 1px solid var(--border-mid);
  color: var(--text); font-family: 'Syne', sans-serif; font-size: 15px;
  padding: 12px 14px; outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
input::placeholder, textarea::placeholder { color: var(--muted); }
select { appearance: none; cursor: pointer; }
select option { background: var(--surface); }
textarea { resize: vertical; min-height: 120px; }

.field-error {
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--danger); letter-spacing: 0.5px;
}

.form-success {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(0,102,255,0.3);
  padding: 14px 16px; color: var(--blue);
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  margin-top: 16px;
}
.form-success svg { width: 16px; height: 16px; flex-shrink: 0; }

.form-error-msg {
  border: 1px solid rgba(255,59,59,0.25);
  padding: 14px 16px; color: var(--danger);
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  margin-top: 16px;
}

.hidden { display: none !important; }

.spinner {
  width: 14px; height: 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .contact-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-inner {
  display: flex; gap: 80px; justify-content: space-between;
  margin-bottom: 48px;
}

.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { display: inline-block; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col .label { margin-bottom: 4px; }
.footer-col a {
  color: var(--muted); text-decoration: none;
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.footer-bottom span {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--muted); letter-spacing: 1px;
}

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}


