/* Inspiraxis Design System v2 — White-first, outcome-bold, technically credible */

:root {
  --brand-primary: #1752e8;
  --brand-primary-dark: #1040c0;
  --brand-navy: #05102e;
  --brand-ink: #0c1a3a;
  --brand-accent: #00c9c1;
  --brand-accent-dark: #009e98;
  --bg-base: #ffffff;
  --bg-soft: #f1f6ff;
  --bg-subtle: #f8faff;
  --text-main: #0c1a3a;
  --text-muted: #4e6080;
  --border-soft: #dce6f8;
  --shadow-card: 0 2px 16px rgba(8, 20, 70, 0.07);
  --shadow-hover: 0 12px 40px rgba(8, 20, 70, 0.14);
  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.25rem;
  --space-section: clamp(3.5rem, 7vw, 5.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-base);
}

/* ── Accessibility ─────────────────────────────── */
a { color: var(--brand-primary); }
a:hover { color: var(--brand-primary-dark); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(23, 82, 232, 0.35);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 2000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--brand-navy);
  border-radius: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ── Navbar ────────────────────────────────────── */
.navbar {
  background: rgba(5, 16, 46, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.3);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-brand img { height: 38px; width: auto; }
.navbar .nav-link {
  color: rgba(230, 242, 255, 0.88) !important;
  font-weight: 600;
  font-size: 0.91rem;
  border-radius: 0.45rem;
  padding: 0.42rem 0.85rem !important;
  transition: background 0.2s, color 0.2s;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  color: #fff !important;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}
.navbar .nav-cta {
  background: var(--brand-primary) !important;
  color: #fff !important;
  padding: 0.42rem 1.1rem !important;
  border-radius: 0.45rem;
  font-weight: 700;
}
.navbar .nav-cta:hover {
  background: var(--brand-primary-dark) !important;
  color: #fff !important;
}

/* ── Hero ──────────────────────────────────────── */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 55%, rgba(0, 201, 193, 0.2) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 18%, rgba(23, 82, 232, 0.25) 0%, transparent 48%);
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}
.hero {
  background: linear-gradient(138deg, #05102e 0%, #0a1f5c 48%, #0f2d80 100%);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero {
  background: linear-gradient(138deg, #060f2a 0%, #0b2070 100%);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.2rem);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  max-width: 56ch;
  line-height: 1.65;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  filter: drop-shadow(0 24px 48px rgba(0, 201, 193, 0.18)) drop-shadow(0 12px 24px rgba(23, 82, 232, 0.22));
}

.text-gradient {
  background: linear-gradient(90deg, #7ec8ff, #00e5dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Tech pills (hero) ─────────────────────────── */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.6rem;
}
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}
.tech-pill::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-accent);
  flex-shrink: 0;
}

/* ── Value strip (below hero) ──────────────────── */
.value-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 1.35rem 0;
}
.value-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
}
.value-item-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 0.85rem;
}
.value-item-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-ink);
  line-height: 1.2;
}
.value-item-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Sections ──────────────────────────────────── */
.section { padding: var(--space-section) 0; }

.section-soft {
  background: var(--bg-soft);
  position: relative;
}
.section-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(23, 82, 232, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.section-title {
  color: var(--brand-ink);
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.06rem;
  max-width: 68ch;
  line-height: 1.72;
  margin-bottom: 0;
}

/* ── Eyebrow ───────────────────────────────────── */
.eyebrow {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(23, 82, 232, 0.1);
  color: var(--brand-primary);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow.text-bg-light {
  background: rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.96) !important;
}

/* ── Cards ─────────────────────────────────────── */
.card-surface,
.service-card,
.benefit-card,
.info-card,
.blog-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after,
.benefit-card::after,
.info-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  opacity: 0;
  transition: opacity 0.22s ease;
}
.service-card:hover,
.benefit-card:hover,
.info-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #c5d7f5;
}
.service-card:hover::after,
.benefit-card:hover::after,
.info-card:hover::after {
  opacity: 1;
}
.service-card img,
.benefit-card img,
.info-card img {
  width: 50px;
  height: 50px;
  border-radius: 0.7rem;
  object-fit: contain;
  padding: 0.65rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  flex-shrink: 0;
}
.service-card h3,
.benefit-card h3,
.info-card h3 {
  color: var(--brand-ink);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.32;
  margin: 0.85rem 0 0.5rem;
}
.service-card p,
.benefit-card p,
.info-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── Card tech tags ────────────────────────────── */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.9rem;
}
.card-tag {
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 700;
  background: rgba(23, 82, 232, 0.08);
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}

/* ── Process steps ─────────────────────────────── */
.process-step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  height: 100%;
}
.process-step-num {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
}
.process-step-body h3 {
  color: var(--brand-ink);
  font-size: 1.03rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.process-step-body p {
  color: var(--text-muted);
  font-size: 0.91rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ── Blog card image ───────────────────────────── */
.blog-card-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}
.blog-card-body { padding: 1.25rem; }

/* ── Post featured image ───────────────────────── */
.post-featured-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  display: block;
}

/* ── Blog cards ────────────────────────────────── */
.blog-card .post-meta {
  color: #7080a0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
}
.blog-card h3 {
  color: var(--brand-ink);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.blog-card p { color: var(--text-muted); font-size: 0.92rem; }
.blog-card a.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.blog-card a.read-more:hover { gap: 0.62rem; color: var(--brand-primary-dark); }

/* ── List check ────────────────────────────────── */
.list-check {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.list-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.78rem;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.list-check li::before {
  content: "";
  position: absolute;
  top: 0.56rem;
  left: 0;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
}

/* ── Buttons ───────────────────────────────────── */
.btn {
  border-radius: 0.6rem;
  font-weight: 700;
  padding: 0.65rem 1.3rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  --bs-btn-bg: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-bg: var(--brand-primary-dark);
  --bs-btn-hover-border-color: var(--brand-primary-dark);
  --bs-btn-active-bg: var(--brand-primary-dark);
  box-shadow: 0 4px 14px rgba(23, 82, 232, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(23, 82, 232, 0.38);
  transform: translateY(-1px);
}
.btn-outline-light:hover { color: var(--brand-ink) !important; }
.btn-lg { padding: 0.8rem 1.75rem; font-size: 1rem; }

/* ── CTA block ─────────────────────────────────── */
.cta {
  background: linear-gradient(132deg, #05102e 0%, #0e30a0 52%, var(--brand-accent-dark) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta p { color: rgba(255, 255, 255, 0.87); }

/* ── Contact highlights ────────────────────────── */
.contact-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-highlights li {
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ── Forms ─────────────────────────────────────── */
.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brand-ink);
  margin-bottom: 0.38rem;
}
.form-control {
  border: 1.5px solid #cfd9f2;
  border-radius: 0.6rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.94rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(23, 82, 232, 0.12);
}
.form-note { font-size: 0.84rem; color: #7080a0; }

/* ── Footer ────────────────────────────────────── */
footer {
  background: var(--brand-navy);
  color: #c0d2f0;
  padding: 3rem 0 2rem;
  margin-top: var(--space-section);
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}
footer h4 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
footer a {
  color: #a0b8e0;
  text-decoration: none;
  font-size: 0.91rem;
  transition: color 0.18s;
}
footer a:hover { color: #fff; }
footer p { font-size: 0.91rem; }
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.84rem;
  color: #6880a8;
}

/* ── Text helpers ──────────────────────────────── */
.text-block p,
.text-block li { color: var(--text-muted); }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(5, 16, 46, 0.98);
    border-radius: 0.7rem;
    padding: 0.9rem 1rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
  }
  .navbar .nav-link {
    display: block;
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 767.98px) {
  .section { padding: clamp(2.5rem, 7vw, 3.5rem) 0; }
  .hero .btn,
  .page-hero .btn,
  .cta .btn { width: 100%; }
  .hero p,
  .page-hero p,
  .section-lead { max-width: none; }
  .process-step { flex-direction: column; gap: 0.7rem; }
  .value-item { justify-content: flex-start; }
}
