/* ============================================================
   NexLayer Consulting — Global Stylesheet
   ============================================================ */

/* ----- Reset & Variables ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #121821;
  --bg2:     #182430;
  --bg3:     #161d27;
  --accent:  #00c8ff;
  --accent2: #0076ff;
  --text:    #e6edf3;
  --muted:   #8b949e;
  --border:  rgba(0,200,255,0.12);
  --glow:    rgba(0,200,255,0.15);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
}

/* ----- Shared Section Utilities ----- */
section { padding: 90px 6%; }

.section-label {
  text-align: center;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 52px;
  font-size: 0.97rem;
}

/* ----- Buttons ----- */
.btn-primary {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 24px rgba(0,200,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0,200,255,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ----- Badge ----- */
.badge {
  display: inline-block;
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.25);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* ----- Tag Chip ----- */
.tag {
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.18);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}


/* ============================================================
   Nav
   ============================================================ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6%;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.5px; }
.logo span { color: var(--accent); }

nav ul { list-style: none; display: flex; gap: 32px; }
nav ul a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color .2s; }
nav ul a:hover { color: var(--accent); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff; border: none; padding: 9px 22px;
  border-radius: 6px; font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: opacity .2s;
}
.nav-cta:hover { opacity: 0.85; }


/* ============================================================
   Hero
   ============================================================ */
#hero {
  min-height: auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  text-align: center;
  padding: 120px 6% 32px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,118,255,0.12) 0%, transparent 70%);
  position: relative; overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: 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='%2300c8ff' 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");
  pointer-events: none;
}

#hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.15;
  max-width: 820px; margin-bottom: 22px;
}
#hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  color: var(--muted); font-size: 1.1rem;
  max-width: 560px; margin-bottom: 40px;
}

.btn-group {
  display: flex; gap: 14px;
  flex-wrap: wrap; justify-content: center;
}

.hero-stats {
  display: flex; gap: 48px; margin-top: 64px;
  flex-wrap: wrap; justify-content: center;
}

.stat-item { text-align: center; }
.stat-num  { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }


/* ============================================================
   Quick Blurb (between hero and services)
   ============================================================ */
#blurb {
  text-align: center;
  padding: 0 6% 72px;
}

#blurb .blurb-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 auto 14px;
}

#blurb .hero-sub {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}


/* ============================================================
   Services
   ============================================================ */
#services { background: var(--bg2); padding-bottom: 128px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px; max-width: 1100px; margin: 0 auto;
}

.service-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 36px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
}

.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  opacity: 0; transition: opacity .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,200,255,0.3);
  box-shadow: 0 12px 40px var(--glow);
}
.service-card:hover::before { opacity: 1; }

.svc-icon  { font-size: 2.2rem; }
.svc-title { font-size: 1.1rem; font-weight: 700; }
.svc-desc  { color: var(--muted); font-size: 0.88rem; line-height: 1.65; flex: 1; }
.svc-tags  { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }


/* ============================================================
   Why Us — Built Different feature cards
   ============================================================ */
#why {
  background: var(--bg);
  padding: 100px 6% 110px;
}

#why .section-title {
  margin-bottom: 14px;
}

#why .section-sub {
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.65;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.why-card {
  flex: 1 1 200px;
  max-width: 240px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 28px;
  background: #161b22;
  border-radius: 8px;
  border: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  background: #1a212c;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1c2b3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin: 0 0 20px;
  border: none;
  line-height: 1;
}

.why-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}

@media (max-width: 900px) {
  .why-card {
    flex: 1 1 calc(50% - 20px);
    max-width: none;
  }
}

@media (max-width: 520px) {
  .why-card {
    flex: 1 1 100%;
    max-width: 320px;
  }
}


/* ============================================================
   Process
   ============================================================ */
#process { background: var(--bg2); }

.process-steps {
  display: flex; gap: 0; max-width: 860px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center; position: relative;
}

.step {
  flex: 1; min-width: 200px; text-align: center;
  padding: 28px 24px; position: relative;
}

.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  margin: 0 auto 16px; color: #fff;
  box-shadow: 0 0 20px rgba(0,200,255,0.3);
}

.step-title { font-weight: 700; margin-bottom: 8px; }
.step-desc  { color: var(--muted); font-size: 0.86rem; }
.step-arrow { position: absolute; right: -14px; top: 36px; color: var(--accent); font-size: 1.3rem; z-index: 1; }


/* ============================================================
   CTA Banner
   ============================================================ */
#cta {
  background: #1a212c;
  /* background: linear-gradient(135deg, rgba(0,118,255,0.15), rgba(0,200,255,0.08)); */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center; padding: 80px 6%;
}

#cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
#cta p  { color: var(--muted); max-width: 480px; margin: 0 auto 36px; }


/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 6% 28px;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 16px;
}

.footer-logo { font-size: 1.1rem; font-weight: 700; }
.footer-logo span { color: var(--accent); }

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

.footer-copy {
  color: var(--muted); font-size: 0.8rem;
  width: 100%; text-align: center;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
