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

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

html { scroll-behavior: smooth; }

body {
  background: #0a0c10;
  font-family: 'Syne', sans-serif;
  color: #f0f2f5;
  overflow-x: hidden;
}

/* ── Shared Utilities ────────────────────────────── */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(55,66,250,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55,66,250,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.label-line {
  width: 32px;
  height: 1px;
  background: #3742FA;
}
.label-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #3742FA;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #f0f2f5;
  letter-spacing: -0.02em;
  line-height: 1.1;
}


/* ── Navbar ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(55,66,250,0.08);
}
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #f0f2f5;
  letter-spacing: 0.06em;
}
.nav-logo span { color: #3742FA; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(240,242,245,0.45);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: #3742FA; }
.nav-cta {
  background: #3742FA;
  color: #0a0c10 !important;
  padding: 8px 18px;
  border-radius: 3px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: rgba(55,66,250,1); color: #0a0c10 !important; }


/* ── Hero ────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 140px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content { margin-left: 80px; }

.glow-line-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3742FA, transparent);
}
.hero-corner {
  position: absolute;
  top: 88px;
  right: 64px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(55,66,250,0.5);
  letter-spacing: 0.1em;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(55,66,250,0.08);
  border: 0.5px solid rgba(55,66,250,0.3);
  border-radius: 4px;
  padding: 6px 14px;
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3742FA;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.badge-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #3742FA;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #f0f2f5;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 24px;
}
.hero-headline span { color: #3742FA; }
.hero-subtext {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: rgba(240,242,245,0.55);
  line-height: 1.7;
  max-width: 880px;
  letter-spacing: 0.01em;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  max-width: 380px;
  justify-content: space-between;
  align-items: center;
}
.btn-primary {
  background: #3742FA;
  color: #0a0c10;
  border: none;
  padding: 14px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s;
  flex: 1;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: #2234e8; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: rgba(240,242,245,0.8);
  border: 0.5px solid rgba(240,242,245,0.2);
  padding: 14px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s;
  flex: 1;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover { border-color: rgba(55,66,250,0.5); color: #3742FA; }
.hero-code {
  opacity: .5;
  position: absolute;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(55,66,250,0.1);
  border-radius: 6px;
  padding: 40px 48px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: rgba(240,242,245,0.4);
  line-height: 2;
  max-width: 480px;
}
.hero-code .c1 { color: rgba(55,66,250,0.7); }
.hero-code .c2 { color: rgba(120,180,255,0.7); }
.hero-code .c3 { color: rgba(255,180,80,0.6); }


/* ── Core Services ───────────────────────────────── */
#services {
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  background: #0a0c10;
}
#services .section-header { margin-bottom: 56px; position: relative; z-index: 2; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(55,66,250,0.08);
  position: relative;
  z-index: 2;
}
.service-card {
  background: #0a0c10;
  padding: 32px 28px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card:hover { background: #0f1318; }
.service-card:hover .card-icon-wrap { border-color: rgba(55,66,250,0.4); }
.service-card:hover .card-title { color: #3742FA; }
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card-icon-wrap {
  width: 40px;
  height: 40px;
  border: 0.5px solid rgba(55,66,250,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: border-color 0.2s;
}
.card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(240,242,245,0.2);
  letter-spacing: 0.1em;
}
.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #f0f2f5;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: rgba(240,242,245,0.4);
  letter-spacing: 0.02em;
}
.card-list li::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #3742FA;
  opacity: 0.5;
  flex-shrink: 0;
}
.card-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 14px;
  color: rgba(55,66,250,0.2);
  transition: color 0.2s;
  font-family: 'JetBrains Mono', monospace;
}
.service-card:hover .card-arrow { color: rgba(55,66,250,0.7); }


/* ── Process ─────────────────────────────────────── */
#process {
  background: #0d0f14;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
#process .section-header { margin-bottom: 64px; position: relative; z-index: 2; }
.timeline { position: relative; z-index: 2; }
.step {
  display: grid;
  grid-template-columns: 48px 1px 1fr;
  gap: 0 24px;
  align-items: stretch;
}
.step-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num {
  width: 48px;
  height: 48px;
  border: 0.5px solid rgba(55,66,250,0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #3742FA;
  background: rgba(55,66,250,0.05);
  flex-shrink: 0;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}
.step:hover .step-num { background: rgba(55,66,250,0.12); border-color: rgba(55,66,250,0.6); }
.connector-col { display: flex; flex-direction: column; align-items: center; }
.connector-line { flex: 1; width: 1px; background: rgba(55,66,250,0.1); min-height: 24px; }
.step:last-child .connector-line { display: none; }
.step-content { padding-bottom: 40px; }
.step:last-child .step-content { padding-bottom: 0; }
.step-inner {
  padding: 24px 28px;
  border: 0.5px solid rgba(240,242,245,0.06);
  border-radius: 4px;
  background: rgba(255,255,255,0.01);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.step-inner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 0.2s;
}
.step:hover .step-inner { border-color: rgba(55,66,250,0.15); background: rgba(55,66,250,0.03); }
.step:hover .step-inner::before { background: #3742FA; }
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.step-title {
  font-size: 22px;
  font-weight: 700;
  color: #f0f2f5;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.step:hover .step-title { color: #3742FA; }
.step-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(55,66,250,0.4);
  background: rgba(55,66,250,0.06);
  border: 0.5px solid rgba(55,66,250,0.12);
  padding: 3px 8px;
  border-radius: 2px;
}
.step-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: rgba(240,242,245,0.4);
  line-height: 1.7;
  letter-spacing: 0.01em;
}


/* ── Tech Stack ──────────────────────────────────── */
#stack {
  background: #0a0c10;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
#stack .section-header { margin-bottom: 56px; position: relative; z-index: 2; }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(55,66,250,0.07);
  position: relative;
  z-index: 2;
}
.stack-col {
  background: #0a0c10;
  padding: 28px 24px;
  transition: background 0.2s;
}
.stack-col:hover { background: #0d1117; }
.col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 0.5px solid rgba(55,66,250,0.1);
}
.col-icon {
  width: 30px;
  height: 30px;
  border: 0.5px solid rgba(55,66,250,0.2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  color: #3742FA;
}
.col-title { font-size: 19px; font-weight: 700; color: #f0f2f5; letter-spacing: 0.02em; }
.tech-list { display: flex; flex-direction: column; gap: 10px; }
.tech-item { display: flex; align-items: center; gap: 8px; cursor: default; }
.tech-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3742FA;
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.tech-item:hover .tech-dot { opacity: 1; }
.tech-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: rgba(240,242,245,0.5);
  letter-spacing: 0.04em;
  transition: color 0.2s;
  white-space: nowrap;
}
.tech-item:hover .tech-name { color: rgba(240,242,245,0.9); }


/* ── Why Choose Us ───────────────────────────────── */
#why {
  background: #0d0f14;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.why-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(240,242,245,0.35);
  line-height: 1.8;
  max-width: 340px;
  margin-bottom: 40px;
  margin-top: 20px;
}
.big-stat-row { display: flex; gap: 32px; }
.big-stat { display: flex; flex-direction: column; gap: 4px; }
.big-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #3742FA;
  letter-spacing: -0.03em;
  line-height: 1;
}
.big-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(240,242,245,0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pillars { display: flex; flex-direction: column; gap: 2px; }
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  border: 0.5px solid rgba(240,242,245,0.05);
  border-radius: 4px;
  cursor: default;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 0.2s;
}
.pillar:hover { background: rgba(55,66,250,0.03); border-color: rgba(55,66,250,0.12); }
.pillar:hover::before { background: #3742FA; }
.pillar-check {
  width: 28px;
  height: 28px;
  border: 0.5px solid rgba(55,66,250,0.2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.2s;
}
.pillar:hover .pillar-check { border-color: rgba(55,66,250,0.5); background: rgba(55,66,250,0.08); }
.pillar-check svg { width: 12px; height: 12px; }
.pillar-title {
  font-size: 14px;
  font-weight: 700;
  color: #f0f2f5;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}
.pillar:hover .pillar-title { color: #3742FA; }
.pillar-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(55,66,250,0.5);
  opacity: 0;
  transition: opacity 0.2s;
}
.pillar:hover .pillar-arrow { opacity: 1; }


/* ── Contact ─────────────────────────────────────── */
#contact {
  background: #0a0c10;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.glow-line-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3742FA, transparent);
}
.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(240,242,245,0.35);
  line-height: 1.8;
  margin-bottom: 40px;
  margin-top: 20px;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; align-items: flex-start; gap: 12px; }
.info-icon {
  width: 32px;
  height: 32px;
  border: 0.5px solid rgba(55,66,250,0.2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  color: #3742FA;
}
.info-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(55,66,250,0.5);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.info-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(240,242,245,0.55);
}
.form-wrap {
  background: rgba(255,255,255,0.02);
  border: 0.5px solid rgba(240,242,245,0.07);
  border-radius: 6px;
  padding: 36px 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group:last-of-type { margin-bottom: 0; }
.form-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(55,66,250,0.6);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(240,242,245,0.1);
  border-radius: 3px;
  padding: 11px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #f0f2f5;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  letter-spacing: 0.02em;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(240,242,245,0.2); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(55,66,250,0.4);
  background: rgba(55,66,250,0.03);
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: rgba(240,242,245,0.5);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2300ff9d' stroke-opacity='0.4' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-select option { background: #0d1117; color: #f0f2f5; }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.7; }
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 0.5px solid rgba(240,242,245,0.06);
}
.form-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(240,242,245,0.2);
  line-height: 1.6;
}
.btn-submit {
  background: #3742FA;
  color: #0a0c10;
  border: none;
  padding: 14px 32px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-submit:hover { background: #2234e8; transform: translateY(-1px); }


/* ── Footer ──────────────────────────────────────── */
footer {
  background: #070810;
  padding: 32px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid rgba(55,66,250,0.07);
}
.footer-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: rgba(240,242,245,0.4);
}
.footer-logo span { color: #3742FA; }
.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(240,242,245,0.2);
  letter-spacing: 0.06em;
}


/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .card-title { font-size: 16px; }
  .card-list li { font-size: 11px; }
  .step-title { font-size: 15px; }
  .step-desc { font-size: 12px; }
  .step-tag { font-size: 9px; }
  .col-title { font-size: 13px; }
  .tech-name { font-size: 11px; }
}
@media (max-width: 860px) {
  .hero-code { display: none; }
  .hero-content { margin-left: 0; }
  .hero-headline { max-width: 100%; }
  .hero-subtext { max-width: 480px; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .navbar { padding: 16px 28px; }
  .nav-links { display: none; }
  #hero, #services, #process, #stack, #why, #contact { padding: 60px 28px; }
  #hero { padding-top: 100px; }
  .hero-code { display: none; }
  .hero-cta { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px 28px; }
}


/* ── reCAPTCHA & Form Feedback ───────────────────── */
.g-recaptcha {
  transform-origin: left top;
}
.form-message {
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: 3px;
  display: none;
}
.form-message--success {
  display: block;
  background: rgba(55,66,250,0.08);
  border: 0.5px solid rgba(55,66,250,0.3);
  color: #3742FA;
}
.form-message--error {
  display: block;
  background: rgba(220, 50, 50, 0.08);
  border: 0.5px solid rgba(220, 50, 50, 0.3);
  color: #e05555;
}