/* Netbluez site — marketing agency */
@import url("poppins.css");

:root {
  --ink: #0b1220;
  --ink-2: #1a2744;
  --muted: #5b6b86;
  --line: #d8e0ec;
  --paper: #f4f7fb;
  --white: #ffffff;
  --blue: #046bd2;
  --blue-2: #0356a8;
  --teal: #0d9488;
  --amber: #d97706;
  --cyan: #0891b2;
  --footer: #071018;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.1);
  --max: 1180px;
  --font-display: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216,224,236,0.8);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.brand img { height: 48px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav > li { position: relative; }
.nav > li > a,
.nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav > li > a:hover,
.nav > li > a.is-active,
.nav-drop > button:hover,
.nav-drop.open > button {
  background: var(--paper);
  color: var(--blue);
}
.nav-drop .chev {
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.nav-drop.open .chev { transform: rotate(225deg) translateY(-1px); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.nav-drop.open .dropdown,
.nav-drop:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background .2s;
}
.dropdown a:hover { background: var(--paper); }
.dropdown strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.dropdown span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.nav-cta {
  margin-left: 8px !important;
  background: var(--blue) !important;
  color: #fff !important;
  padding: 11px 18px !important;
}
.nav-cta:hover { background: var(--blue-2) !important; color: #fff !important; }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  width: 18px; height: 2px;
  background: var(--ink);
  display: block;
}

/* Hero common */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  padding: 120px 0 72px;
  background:
    linear-gradient(120deg, rgba(7,16,24,0.82), rgba(4,107,210,0.45)),
    url("../images/home-header.jpg") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  animation: rise 0.8s ease both;
}
.hero h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  max-width: 18ch;
  font-weight: 700;
  margin-bottom: 16px;
  animation: rise 0.9s .08s ease both;
}
.hero p {
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
  animation: rise 1s .14s ease both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 1.05s .2s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: var(--ink); }
.btn-primary:hover { background: #e8f1ff; }
.btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-2); }
.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--paper); }
.section-head {
  max-width: 40rem;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .container { width: min(100% - 40px, var(--max)); }
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); margin: 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.card-link {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #b8d4f7;
}
.card-link .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blue);
  margin-bottom: 14px;
}
.card-link h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card-link p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Process compact */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: attr(data-n);
  position: absolute;
  right: 12px;
  top: 4px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(4,107,210,0.08);
}
.step h3 { font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Blog cards */
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.blog-card .body { padding: 22px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Page hero (inner) */
.page-hero {
  padding: 72px 0 48px;
  background:
    linear-gradient(180deg, #eaf2fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
}
.page-hero p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.about-visual {
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  background:
    linear-gradient(145deg, rgba(4,107,210,0.2), rgba(13,148,136,0.25)),
    url("../images/16683348_5779073.jpg") center/cover;
  box-shadow: var(--shadow);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.stat {
  background: var(--paper);
  border-radius: 14px;
  padding: 16px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--blue);
}
.stat span { color: var(--muted); font-size: 0.85rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.contact-aside {
  background: var(--ink);
  color: #dbe7f5;
  border-radius: 24px;
  padding: 32px;
  min-height: 100%;
}
.contact-aside h2 { color: #fff; font-size: 1.7rem; }
.contact-aside p { color: #9fb2c9; }
.contact-meta { margin: 28px 0; display: grid; gap: 16px; }
.contact-meta strong {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.contact-meta a { color: #cfe0f5; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid #2a3b55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background .2s, border-color .2s;
}
.socials a:hover { background: var(--blue); border-color: var(--blue); }

/* Service themes */
.svc-hero {
  padding: 90px 0 70px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.svc-hero .container { position: relative; z-index: 1; }
.svc-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 14ch;
}
.svc-hero p { max-width: 38rem; color: rgba(255,255,255,0.88); }
.svc-startup {
  background:
    linear-gradient(125deg, #064e3b 0%, #0d9488 45%, #046bd2 100%);
}
.svc-business {
  background:
    linear-gradient(125deg, #1e3a5f 0%, #046bd2 50%, #d97706 120%);
}
.svc-enterprise {
  background:
    linear-gradient(160deg, #020617 0%, #0f172a 50%, #1e293b 100%);
}
.svc-ai {
  background:
    linear-gradient(135deg, #083344 0%, #0891b2 40%, #046bd2 100%);
}
.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
}
.feature-list li::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  margin-top: 6px;
  flex-shrink: 0;
}

.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento .cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.bento .cell.wide { grid-column: span 2; }
.bento .cell.tall { grid-row: span 2; }
.bento h3 { font-size: 1.2rem; }
.bento p { color: var(--muted); margin: 0; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin: 36px 0;
}
.metric-strip div {
  background: var(--white);
  padding: 28px 20px;
  text-align: center;
}
.metric-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--blue);
}
.metric-strip span { color: var(--muted); font-size: 0.88rem; }

.band {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.band:last-child { border-bottom: 0; }
.band .label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
}
.band p { margin: 0; color: var(--muted); }

.ai-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}
.ai-panel {
  border-radius: 24px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(160deg, #0e7490, #0369a1);
  min-height: 280px;
}
.ai-panel h3 { color: #fff; }
.ai-stack { display: grid; gap: 14px; }
.ai-stack article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--white);
}
.ai-stack h3 { font-size: 1.1rem; margin-bottom: 6px; }
.ai-stack p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Blog detail */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 0 80px;
}
.article-hero-img {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16/9;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.article .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.article .content p { color: #334155; font-size: 1.05rem; }
.article .content h2 {
  font-size: 1.45rem;
  margin-top: 1.6em;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #9fb2c9;
  padding: 64px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
  gap: 36px;
}
.footer-brand img {
  height: 48px;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}
.footer-brand p {
  color: #7f93ab;
  max-width: 280px;
  font-size: 0.95rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.site-footer a { color: #9fb2c9; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-contact p { margin: 0 0 10px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #1a2a3d;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 78px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav > li > a, .nav-drop > button { width: 100%; justify-content: space-between; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 8px;
    min-width: 0;
  }
  .nav-drop.open .dropdown { display: block; }
  .nav-cta { margin-left: 0 !important; text-align: center; justify-content: center; }
  .grid-3, .steps, .metric-strip, .footer-grid, .bento { grid-template-columns: 1fr 1fr; }
  .bento .cell.wide, .bento .cell.tall { grid-column: span 2; grid-row: auto; }
  .about-split, .contact-grid, .ai-layout, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  .grid-3, .steps, .metric-strip, .footer-grid, .bento, .stat-row { grid-template-columns: 1fr; }
  .bento .cell.wide, .bento .cell.tall { grid-column: auto; }
  .hero { min-height: 70vh; padding-top: 100px; }
}
