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

:root {
  --bg:     #000;
  --bg2:    #0c0c0c;
  --lime:   #c8f500;
  --white:  #fff;
  --muted:  #666;
  --muted2: #999;
  --border: rgba(255,255,255,0.09);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
}
.nav-logo span { color: var(--lime); }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted2);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  color: var(--white) !important;
  border: 1px solid var(--border) !important;
  padding: 8px 18px;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s !important;
}
.nav-cta:hover {
  border-color: var(--lime) !important;
  color: var(--lime) !important;
  background: transparent !important;
}
.nav-cta .arrow { font-size: 0.8rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s;
}

/* ===== SHARED SECTION LAYOUT ===== */
.section-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: 120px;
  padding-bottom: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.section-label-group {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.section-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 1px;
  font-weight: 500;
}
.section-top h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
}
.section-desc {
  font-size: 0.9rem;
  color: var(--muted2);
  max-width: 280px;
  text-align: right;
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn-solid {
  display: inline-block;
  background: var(--lime);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-solid:hover { background: #deff00; }
.btn-solid:active { transform: scale(0.98); }
.btn-full { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--muted2);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 14px 0;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}
.btn-ghost:hover { color: var(--white); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60%;
  background: radial-gradient(ellipse 80% 60% at 30% 0%, rgba(200,245,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-end;
  width: 100%;
}
.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -2.5px;
  color: var(--white);
}
.hero h1 em {
  font-style: italic;
  color: var(--lime);
}
.hero-sub {
  font-size: 1rem;
  color: var(--muted2);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 380px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}
.stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* hero ticker */
.hero-ticker {
  border-top: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 32px;
  animation: ticker 24s linear infinite;
}
.ticker-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}
.ticker-track .dot { color: var(--lime); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== SERVICES ===== */
.services { background: var(--bg); }

.services-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.svc-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: background 0.2s;
}
.svc-row:hover { background: rgba(200,245,0,0.03); }
.svc-row:hover .svc-arrow { color: var(--lime); }
.svc-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 1px;
}
.svc-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.svc-body p { font-size: 0.88rem; color: var(--muted2); }
.svc-arrow {
  font-size: 1.1rem;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
}
.svc-row:hover .svc-arrow { transform: translate(3px,-3px); }

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--bg2); }

.work-item {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  border-bottom: 1px solid var(--border);
}
.work-meta {
  padding: 32px 0 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.work-index {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 1px;
}
.work-category {
  font-size: 0.75rem;
  color: var(--lime);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.work-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  padding-bottom: 64px;
  align-items: center;
}
.work-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.1;
}
.work-text p {
  font-size: 0.92rem;
  color: var(--muted2);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 380px;
}
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lime);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: gap 0.2s;
}
.work-link:hover { gap: 14px; }
.work-link span { font-size: 1rem; }

/* work soon */
.work-soon .work-content { grid-template-columns: 1fr; padding-bottom: 48px; }
.soon-title { color: var(--muted) !important; }
.work-soon p { color: var(--muted) !important; }

/* browser mockup */
.browser {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.browser-bar {
  background: #1a1a1a;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bd {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bd.r { background: #f87171; }
.bd.y { background: #fbbf24; }
.bd.g { background: #34d399; }
.browser-url {
  font-size: 0.7rem;
  color: #555;
  font-family: 'Courier New', monospace;
  background: #111;
  padding: 3px 12px;
  border-radius: 3px;
  margin-left: 8px;
  flex: 1;
}
.browser-screen {
  background: linear-gradient(160deg, #0d2137, #1a5276 70%, #1a6fa0);
  padding: 16px;
  height: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.bsc-nav { height: 8px; background: rgba(255,255,255,0.15); border-radius: 3px; width: 60%; }
.bsc-hero { display: flex; flex-direction: column; gap: 7px; padding: 4px 0; }
.bsc-line { height: 10px; background: rgba(255,255,255,0.55); border-radius: 2px; }
.w60 { width: 60%; }
.w40 { width: 35%; opacity: 0.35; }
.bsc-btn { height: 16px; width: 90px; background: #3498db; border-radius: 3px; margin-top: 4px; }
.bsc-cards { display: flex; gap: 8px; margin-top: 4px; }
.bsc-card { flex: 1; height: 44px; background: rgba(255,255,255,0.1); border-radius: 4px; }

/* ===== ABOUT ===== */
.about { background: var(--bg); }

.about-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px 120px;
  max-width: 720px;
  border-bottom: 1px solid var(--border);
}
blockquote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.5px;
  border-left: 3px solid var(--lime);
  padding-left: 28px;
}
.about-text p {
  font-size: 0.92rem;
  color: var(--muted2);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}
.li-mark {
  color: var(--lime);
  font-weight: 700;
  font-size: 1rem;
}

/* ===== CONTACT ===== */
.contact { background: var(--bg2); }

.contact-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px 120px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 32px;
}
.contact-headline em { font-style: italic; color: var(--lime); }
.contact-email {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lime);
  text-decoration: none;
  letter-spacing: 0.3px;
  margin-bottom: 40px;
  transition: opacity 0.2s;
}
.contact-email:hover { opacity: 0.75; }
.response-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ri-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ri-val { color: var(--white); font-weight: 500; }

/* ===== FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, background 0.2s;
}
.field select option { background: #111; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--lime);
  background: rgba(200,245,0,0.04);
}
.field textarea { resize: vertical; }
.err { font-size: 0.75rem; color: #f87171; display: none; }
.err.visible { display: block; }
.field input.invalid,
.field textarea.invalid { border-color: #f87171; }
.form-ok {
  text-align: center;
  color: var(--lime);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px;
  background: rgba(200,245,0,0.07);
  border: 1px solid rgba(200,245,0,0.2);
  border-radius: 4px;
}
.form-ok.hidden { display: none; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 24px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: 1px;
}
.footer-logo span { color: var(--lime); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .work-content { grid-template-columns: 1fr; gap: 40px; }
  .about-body { grid-template-columns: 1fr; gap: 48px; }
  .contact-body { grid-template-columns: 1fr; gap: 48px; }
  .section-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-desc { text-align: left; max-width: 100%; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.97);
    border-bottom: 1px solid var(--border);
    padding: 20px 32px 28px;
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .field-row { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 40px 1fr auto; gap: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}
