/* ============================================================
   VECTORMIND LABS — STYLESHEET
   To change colours, edit the :root variables at the top.
   ============================================================ */

:root {
  --navy:       #0a1628;
  --navy-mid:   #0f1f38;
  --navy-card:  #111d33;
  --blue:       #0072ff;
  --cyan:       #00c6ff;
  --cyan-soft:  #5ac8fa;
  --white:      #ffffff;
  --white-80:   rgba(255,255,255,0.80);
  --white-55:   rgba(255,255,255,0.55);
  --white-20:   rgba(255,255,255,0.20);
  --white-08:   rgba(255,255,255,0.06);
  --border:     rgba(0,198,255,0.14);
  --border-h:   rgba(0,198,255,0.32);
  --grad:       linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);

  /* Typography scale */
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-pad: 7rem 4rem;
  --card-radius:  12px;
}

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Subtle noise overlay */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.5;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 0 4rem;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,22,40,0.82);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--white-55);
  font-size: 0.875rem; font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--grad) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.35rem;
  border-radius: 7px;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
  box-shadow: 0 2px 16px rgba(0,114,255,0.28);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,198,255,0.35) !important;
  color: var(--white) !important;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  padding: 9rem 2rem 5rem;
  position: relative; overflow: hidden;
  text-align: center;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,198,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,198,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-glow-center {
  position: absolute;
  width: 900px; height: 900px;
  top: 50%; left: 50%; transform: translate(-50%, -52%);
  background: radial-gradient(ellipse, rgba(0,114,255,0.16) 0%, rgba(0,198,255,0.07) 40%, transparent 70%);
  pointer-events: none;
}

.hero-glow-bl {
  position: absolute;
  width: 500px; height: 500px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(0,198,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  max-width: 780px; width: 100%;
  animation: heroUp 0.85s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo banner */
.hero-logo-wrap { width: min(600px, 86vw); margin-bottom: 2.75rem; }
.hero-logo-wrap img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 0 36px rgba(0,198,255,0.32)) drop-shadow(0 0 72px rgba(0,114,255,0.18));
  animation: glowPulse 4.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,100% { filter: drop-shadow(0 0 30px rgba(0,198,255,0.28)) drop-shadow(0 0 60px rgba(0,114,255,0.15)); }
  50%      { filter: drop-shadow(0 0 52px rgba(0,198,255,0.52)) drop-shadow(0 0 96px rgba(0,114,255,0.28)); }
}

/* Divider */
.hero-rule {
  width: 64%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,198,255,0.45) 50%, transparent 100%);
  margin-bottom: 2.5rem;
}

/* Eyebrow pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(0,198,255,0.08);
  border: 1px solid rgba(0,198,255,0.22);
  border-radius: 100px;
  padding: 0.32rem 1rem;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}

/* Hero headline */
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -0.028em; margin-bottom: 1.1rem;
}
.hero-h1 .accent {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-soft) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero subline */
.hero-sub {
  font-size: 1.05rem; color: var(--white-55);
  max-width: 520px; line-height: 1.82;
  margin-bottom: 2.25rem; font-weight: 300;
}

/* CTA buttons */
.hero-btns { display: flex; gap: 0.875rem; flex-wrap: wrap; justify-content: center; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--grad);
  color: var(--white); padding: 0.8rem 1.85rem;
  border-radius: 8px; font-weight: 500; font-size: 0.925rem;
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(0,114,255,0.32);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,198,255,0.38); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: transparent; border: 1px solid var(--border);
  color: var(--white-80); padding: 0.8rem 1.85rem;
  border-radius: 8px; font-weight: 400; font-size: 0.925rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); }

/* Stats strip */
.hero-stats {
  display: flex; gap: 3.5rem;
  margin-top: 3.75rem; padding-top: 2.25rem;
  border-top: 1px solid var(--border);
  justify-content: center; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.stat-label {
  font-size: 0.78rem; color: var(--white-55);
  margin-top: 0.4rem; letter-spacing: 0.05em; text-transform: uppercase;
}

/* ── SHARED ── */
section { padding: var(--section-pad); }

.label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.9rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.022em;
  line-height: 1.12; margin-bottom: 1.1rem;
}

.body-text {
  font-size: 1rem; color: var(--white-55);
  line-height: 1.8; font-weight: 300;
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SERVICES ── */
#services { background: var(--navy-mid); position: relative; overflow: hidden; }
#services::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,114,255,0.09) 0%, transparent 70%);
}

.services-intro { max-width: 520px; margin-bottom: 3.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}

.svc-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--card-radius); padding: 2rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.svc-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.svc-card:hover { border-color: var(--border-h); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.28); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-icon {
  width: 44px; height: 44px;
  background: rgba(0,198,255,0.08);
  border: 1px solid rgba(0,198,255,0.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 1.2rem;
}

.svc-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.6rem; letter-spacing: -0.01em;
}

.svc-card p { font-size: 0.875rem; color: var(--white-55); line-height: 1.72; font-weight: 300; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.35rem; }
.tag {
  font-size: 0.67rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 100px;
  background: rgba(0,198,255,0.07);
  border: 1px solid rgba(0,198,255,0.14);
  color: var(--cyan-soft);
}

/* ── WHY US ── */
#why { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }

.why-left { max-width: 480px; }
.why-items { margin-top: 2.25rem; }
.why-item {
  display: flex; gap: 1.1rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--white-08);
}
.why-item:last-child { border-bottom: none; padding-bottom: 0; }
.why-n {
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 700;
  color: var(--cyan); letter-spacing: 0.1em;
  padding-top: 0.18rem; flex-shrink: 0; width: 24px;
}
.why-item h4 {
  font-family: var(--font-display);
  font-size: 0.98rem; font-weight: 700;
  margin-bottom: 0.35rem; letter-spacing: -0.01em;
}
.why-item p { font-size: 0.875rem; color: var(--white-55); line-height: 1.72; font-weight: 300; }

.why-panel {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.25rem;
  position: relative; overflow: hidden;
}
.why-panel::before {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,198,255,0.1) 0%, transparent 70%);
}

.panel-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white-20); margin-bottom: 1.25rem;
}

.tech-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.tech-pill {
  background: var(--white-08); border: 1px solid var(--border);
  border-radius: 7px; padding: 0.4rem 0.875rem;
  font-size: 0.82rem; font-weight: 400; color: var(--white-80);
  transition: border-color 0.2s, color 0.2s; cursor: default;
}
.tech-pill:hover { border-color: var(--cyan); color: var(--white); }

.models-section { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.model-item {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.875rem; color: var(--white-55); padding: 0.45rem 0;
}
.model-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); margin-top: 0.38rem;
}

/* ── PROCESS ── */
#process { background: var(--navy-mid); }

.process-header { text-align: center; max-width: 520px; margin: 0 auto 4.5rem; }

.process-track {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}

.p-step {
  background: var(--navy-card); padding: 2.25rem 1.75rem;
  transition: background 0.3s;
}
.p-step:hover { background: var(--navy-mid); }

.p-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; margin-bottom: 1.25rem;
}
.p-step h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.01em;
}
.p-step p { font-size: 0.875rem; color: var(--white-55); line-height: 1.72; font-weight: 300; }

/* ── TESTIMONIALS ── */
.t-header { max-width: 480px; margin-bottom: 3rem; }

.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.25rem; }

.t-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--card-radius); padding: 1.85rem;
  transition: border-color 0.3s;
  display: flex; flex-direction: column;
}
.t-card:hover { border-color: var(--border-h); }

.t-stars { color: var(--cyan); font-size: 0.7rem; letter-spacing: 0.25em; margin-bottom: 1rem; }

.t-quote {
  font-size: 0.925rem; color: var(--white-80);
  line-height: 1.82; font-weight: 300; font-style: italic;
  flex: 1; margin-bottom: 1.5rem;
}
.t-quote::before {
  content: '"'; color: var(--cyan); font-size: 1.4rem; font-style: normal;
  line-height: 0; vertical-align: -0.3em; margin-right: 0.15em;
}

.t-author { display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid var(--white-08); padding-top: 1.25rem; }
.t-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
}
.t-name { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; }
.t-role { font-size: 0.75rem; color: var(--white-20); margin-top: 0.1rem; }

/* ── CONTACT ── */
#contact { background: var(--navy-mid); text-align: center; position: relative; overflow: hidden; }
#contact::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(0,114,255,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.contact-inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }

#contact h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); margin-bottom: 0.9rem; }
#contact .body-text { max-width: 460px; margin: 0 auto 2.75rem; }

.contact-form {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 2.25rem;
  text-align: left; margin-top: 2.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white-55); margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--white-08);
  border: 1px solid var(--border); border-radius: 7px;
  padding: 0.7rem 0.95rem; color: var(--white);
  font-family: var(--font-body); font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--white-20); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(0,198,255,0.5);
  box-shadow: 0 0 0 3px rgba(0,198,255,0.08);
}
.form-group select option { background: var(--navy-mid); }
.form-group textarea { height: 108px; resize: vertical; line-height: 1.6; }

.form-btn {
  width: 100%; background: var(--grad);
  border: none; border-radius: 8px; padding: 0.88rem;
  color: var(--white); font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 500; cursor: pointer;
  margin-top: 0.5rem;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,114,255,0.3); letter-spacing: 0.01em;
}
.form-btn:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,198,255,0.32); }

/* ── FOOTER ── */
footer {
  padding: 2.5rem 4rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.25rem;
}
footer img { height: 28px; width: auto; }
.footer-copy { font-size: 0.8rem; color: var(--white-20); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.8rem; color: var(--white-20); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  #why { grid-template-columns: 1fr; gap: 3rem; }
  .why-left { max-width: 100%; }
  .process-track { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  section { padding: 5rem 1.5rem; }
  .hero { padding: 8rem 1.5rem 4rem; }
  footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; }
}
