/* ─────────────────────────────────────────────────
   VECTOR 42 LABS — LANDING PAGE STYLES
   ───────────────────────────────────────────────── */

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

:root {
  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --blue-glow:   rgba(37,99,235,0.35);
  --navy:        #0d1117;
  --navy-2:      #131924;
  --navy-3:      #1a2332;
  --surface:     #0f1923;
  --surface-2:   #162030;
  --border:      rgba(255,255,255,0.08);
  --border-blue: rgba(37,99,235,0.3);
  --text:        #f0f4ff;
  --text-muted:  rgba(240,244,255,0.6);
  --text-dim:    rgba(240,244,255,0.4);
  --gradient:    linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   24px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow-card: 0 4px 32px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.05) inset;
  --shadow-glow: 0 0 60px rgba(37,99,235,0.25);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; }

.section-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 3rem;
}

.section-header { text-align: center; }
.section-header .section-sub { margin: 0 auto 3.5rem; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 24px var(--blue-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(37,99,235,0.5);
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
}

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 10px; }

.btn-full { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,0.3);
  padding: 0.7rem 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; margin-right: auto; }
.nav-logo-img { height: 40px; width: auto; filter: drop-shadow(0 0 8px rgba(37,99,235,0.5)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-cta { margin-left: 0.5rem; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,17,23,0.55) 0%,
    rgba(13,17,23,0.72) 50%,
    rgba(13,17,23,0.95) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.15);
  border: 1px solid var(--border-blue);
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.6s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s 0.15s ease both;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.7s 0.3s ease both;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeInUp 0.7s 0.45s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 2.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  width: fit-content;
  margin: 0 auto;
  animation: fadeInUp 0.7s 0.6s ease both;
}
.stat-item {
  text-align: center;
  padding: 0 2rem;
}
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-suffix { font-size: 1.5rem; font-weight: 700; color: var(--blue-light); }
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: fadeInUp 1s 1s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
  animation: scrollPulse 1.8s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.4; }
}

/* ── ABOUT ── */
.about { background: var(--navy-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-body {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.pillar-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.12);
  border: 1px solid var(--border-blue);
  border-radius: 10px;
  flex-shrink: 0;
}
.pillar strong { display: block; font-weight: 600; margin-bottom: 0.2rem; }
.pillar p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

.glowing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.glow-orb-1 {
  width: 240px; height: 240px;
  background: rgba(37,99,235,0.25);
  top: -60px; left: -60px;
}
.glow-orb-2 {
  width: 200px; height: 200px;
  background: rgba(96,165,250,0.15);
  bottom: -40px; right: -40px;
}
.about-logo {
  width: 180px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(37,99,235,0.4));
}
.about-card-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* ── SERVICES ── */
.services { background: var(--navy); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 2px 2px 0 0;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  box-shadow: 0 12px 48px rgba(37,99,235,0.15);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card--highlight {
  background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(96,165,250,0.06) 100%);
  border-color: var(--border-blue);
}
.service-card--highlight::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37,99,235,0.12);
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--blue-light);
  transition: background var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: rgba(37,99,235,0.22);
}
.service-icon { width: 26px; height: 26px; }
.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.service-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue-light);
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

/* ── WORK ── */
.work { background: var(--navy-2); }
.work-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  padding: 5rem 2rem;
}
.work-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 40%, #1d4ed8 100%);
  z-index: 0;
}
.work-banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(96,165,250,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.3) 0%, transparent 60%);
}
.work-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.work-banner-content { position: relative; z-index: 1; }
.work-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.metric {
  text-align: center;
  padding: 0 3rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.metric:last-child { border-right: none; }
.metric-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.metric-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  display: block;
}

/* ── CONTACT ── */
.contact { background: var(--navy); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-body {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.02rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-item a { color: var(--blue-light); transition: color var(--transition); }
.contact-item a:hover { color: var(--text); }
.contact-icon { font-size: 1.1rem; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo { height: 32px; width: auto; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-nav a:hover { color: var(--text); }
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }

.contact-icon--linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a66c2;
}

.footer-linkedin {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-linkedin svg { color: #0a66c2; flex-shrink: 0; }
.footer-linkedin:hover { color: var(--text); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(13,17,23,0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    z-index: 999;
  }
  .nav-links.mobile-open .nav-link { padding: 0.85rem 1rem; font-size: 1rem; }

  .hero-title { font-size: clamp(2rem, 10vw, 3.5rem); }
  .hero-stats { flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
  .stat-divider { width: 60px; height: 1px; }
  .stat-item { padding: 0; }
  .br-desktop { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .glowing-card { padding: 3rem 2rem; }

  .services-grid { grid-template-columns: 1fr; }

  .work-metrics { flex-direction: column; gap: 2rem; }
  .metric { border-right: none; padding: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; gap: 0.5rem; }

  .hero-scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-lg { width: 100%; justify-content: center; }
  .contact-form { padding: 1.5rem; }
}
