:root {
  --bg: #030712;
  --bg-soft: #020617;
  --card: rgba(15, 23, 42, 0.82);
  --card-strong: rgba(15, 23, 42, 0.96);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --border: rgba(148, 163, 184, 0.25);
  --border-blue: rgba(59, 130, 246, 0.45);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 16px 35px rgba(15, 23, 42, 0.55);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.22), transparent 32rem),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.13), transparent 30rem),
    linear-gradient(180deg, #030712 0%, #020617 45%, #000 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  z-index: -1;
}

a {
  color: inherit;
}

.section-padding {
  padding: 5rem 0;
}

.section-alt {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 28rem),
    rgba(2, 6, 23, 0.58);
  border-top: 1px solid rgba(148, 163, 184, 0.10);
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(3, 7, 18, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.navbar {
  padding: 0.9rem 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #020617;
  background: radial-gradient(circle at 30% 20%, #e0f2fe, #3b82f6 65%, #1d4ed8);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18),
    0 0 22px rgba(59, 130, 246, 0.45);
}

.navbar .nav-link {
  color: rgba(229, 231, 235, 0.72);
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
  transform: translateY(-1px);
}

.navbar-toggler {
  border-color: rgba(148, 163, 184, 0.35);
}

.hero-section {
  padding: 6rem 0 5rem;
}

.eyebrow {
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-title {
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-title span,
.section-title {
  background: linear-gradient(135deg, #ffffff, #bfdbfe 45%, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-text,
.content-box p,
.section-subtitle,
.service-card p,
.portfolio-body p,
.step-card p {
  color: var(--muted);
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.72rem 1.35rem;
}

.btn-sm {
  padding: 0.45rem 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #22d3ee);
  border: 0;
  color: #eff6ff;
}

.btn-glow {
  box-shadow:
    0 12px 30px rgba(37, 99, 235, 0.28),
    0 0 22px rgba(34, 211, 238, 0.13);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 45px rgba(37, 99, 235, 0.38),
    0 0 32px rgba(34, 211, 238, 0.18);
}

.btn-soft {
  border-color: rgba(148, 163, 184, 0.45);
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.55);
}

.btn-soft:hover {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(59, 130, 246, 0.7);
}

.info-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.info-pill-blue {
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(59, 130, 246, 0.38);
}

.hero-preview-card,
.glass-card,
.content-box,
.service-card,
.portfolio-card,
.step-card,
.contact-form,
.contact-box {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.92));
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.hero-preview-card {
  width: 100%;
  max-width: 430px;
  padding: 1.1rem;
  position: relative;
}

.hero-preview-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.45), rgba(34, 211, 238, 0.10), transparent);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.preview-badge,
.portfolio-img span {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #bfdbfe;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.preview-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.preview-meta small {
  display: block;
  color: var(--muted);
}

.preview-meta strong {
  font-size: 0.88rem;
}

.content-box,
.glass-card,
.service-card,
.step-card,
.contact-box,
.contact-form {
  padding: 1.45rem;
}

.fact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.fact-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: #cbd5e1;
}

.fact-list i {
  color: #60a5fa;
  font-size: 1.2rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-subtitle {
  max-width: 28rem;
  text-align: right;
}

.service-card,
.portfolio-card,
.step-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover,
.portfolio-card:hover,
.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-blue);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(59, 130, 246, 0.12);
}

.icon-box {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1rem;
  color: #dbeafe;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(34, 211, 238, 0.14));
  border: 1px solid rgba(59, 130, 246, 0.32);
}

.icon-box i {
  font-size: 1.35rem;
}

.service-card h3,
.portfolio-body h3,
.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #cbd5e1;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-img {
  position: relative;
  overflow: hidden;
}

.portfolio-img span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.portfolio-img img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.055);
}

.portfolio-body {
  padding: 1.15rem 1.25rem 1.3rem;
}

.step-card span {
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #60a5fa;
  margin-bottom: 1rem;
}

.contact-box p {
  color: var(--muted);
}

.contact-box a {
  color: #93c5fd;
  text-decoration: none;
}

.contact-box a:hover {
  color: #dbeafe;
}

.form-label {
  color: #cbd5e1;
  font-size: 0.88rem;
}

.form-control,
.form-select {
  color: var(--text);
  background-color: rgba(2, 6, 23, 0.8);
  border-color: rgba(148, 163, 184, 0.28);
  border-radius: 0.8rem;
  padding: 0.72rem 0.9rem;
}

.form-control::placeholder {
  color: #64748b;
}

.form-control:focus,
.form-select:focus {
  color: var(--text);
  background-color: rgba(2, 6, 23, 0.95);
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 0.22rem rgba(59, 130, 246, 0.15);
}

.form-select option {
  background: #020617;
  color: var(--text);
}

.form-note {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer {
  padding: 1.4rem 0;
  background: rgba(2, 6, 23, 0.95);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: inline-flex;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #dbeafe;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 4.5rem;
  }

  .hero-preview-card {
    max-width: 100%;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-subtitle {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .hero-section {
    padding: 4rem 0 3.5rem;
  }

  .preview-meta,
  .footer-inner {
    flex-direction: column;
  }

  .hero-title {
    font-size: 2.45rem;
  }
}