/* =============================================
   NextStep Inc. — Main Theme Stylesheet
   ============================================= */

:root {
  --navy: #0b1628;
  --navy-mid: #152240;
  --cyan: #00c8e0;
  --cyan-dim: #007d8c;
  --slate: #8fa3c0;
  --white: #f4f8ff;
  --card-bg: #101e36;
  --border: rgba(0,200,224,0.15);
  --radius: 12px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, .display { font-family: 'Syne', sans-serif; }

/* ---- NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 6vw;
  background: rgba(11,22,40,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--white); letter-spacing: -0.5px; text-decoration: none; }
.site-logo .logo-accent { color: var(--cyan); }
.site-logo .logo-inc { font-size: 0.75rem; font-weight: 400; color: var(--slate); letter-spacing: 1px; }

.main-nav ul { display: flex; gap: 2rem; list-style: none; }
.main-nav a { color: var(--slate); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: color 0.2s; }
.main-nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--cyan);
  color: var(--navy) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ---- HERO ---- */
.hero-section {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 6vw 5rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,200,224,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,200,224,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,200,224,0.1);
  border: 1px solid rgba(0,200,224,0.3);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  width: fit-content;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-section h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  max-width: 800px;
  margin-bottom: 1.6rem;
}
.hero-section h1 em { color: var(--cyan); font-style: normal; }
.hero-sub {
  max-width: 520px;
  color: var(--slate);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 99px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color: var(--navy); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--slate);
  padding: 0.85rem 2rem;
  border-radius: 99px;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
}
.stat-num span { color: var(--cyan); }
.stat-label { color: var(--slate); font-size: 0.85rem; margin-top: 0.1rem; }

/* ---- SHARED SECTION STYLES ---- */
.site-section { padding: 6rem 6vw; }
.section-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--slate);
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.75;
}

/* ---- WHY US ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.25s;
}
.why-card:hover { border-color: rgba(0,200,224,0.4); }
.why-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0,200,224,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.why-icon svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 1.8; }
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-card p { color: var(--slate); font-size: 0.9rem; font-weight: 300; }

/* ---- SERVICES ---- */
.bg-navy-mid { background: var(--navy-mid); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-3px); border-color: rgba(0,200,224,0.4); }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover::before { opacity: 1; }
.service-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0,200,224,0.08);
  line-height: 1;
  margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { color: var(--slate); font-size: 0.88rem; font-weight: 300; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  border: 1px solid rgba(0,200,224,0.2);
  color: var(--cyan-dim);
  background: rgba(0,200,224,0.05);
}

/* ---- PROCESS ---- */
.process-section { text-align: center; }
.process-steps { display: flex; gap: 0; margin-top: 3.5rem; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 28px; right: 28px;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}
.step-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cyan);
  transition: background 0.2s, border-color 0.2s;
}
.step:hover .step-dot { background: rgba(0,200,224,0.1); border-color: var(--cyan); }
.step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p { color: var(--slate); font-size: 0.82rem; font-weight: 300; }

/* ---- INDUSTRIES ---- */
.industry-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.5rem; }
.industry-pill {
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.88rem;
  color: var(--slate);
  background: var(--card-bg);
  transition: all 0.2s;
}
.industry-pill:hover { border-color: var(--cyan); color: var(--white); background: rgba(0,200,224,0.08); }

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.testimonial-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.testimonial-quote { font-size: 2.5rem; color: var(--cyan); line-height: 1; margin-bottom: 1rem; font-family: 'Syne', sans-serif; }
.testimonial-text { color: var(--slate); font-size: 0.9rem; font-weight: 300; line-height: 1.75; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,200,224,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--cyan);
  flex-shrink: 0;
}
.author-name { font-size: 0.88rem; font-weight: 500; }
.author-role { font-size: 0.78rem; color: var(--slate); }

/* ---- CTA ---- */
.cta-section {
  text-align: center;
  padding: 7rem 6vw;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,224,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 1.2rem; position: relative; }
.cta-section p { color: var(--slate); font-size: 1rem; max-width: 420px; margin: 0 auto 2.5rem; font-weight: 300; position: relative; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; }

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 6vw;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p { color: var(--slate); font-size: 0.88rem; margin-top: 0.8rem; max-width: 240px; font-weight: 300; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--slate); text-decoration: none; font-size: 0.88rem; font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--slate);
  font-size: 0.8rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 2rem; }
  .process-steps::before { display: none; }
  .site-footer { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .main-nav { display: none; }
  .services-header { flex-direction: column; }
}
