:root {
  --bg: #06111a;
  --bg-soft: #0a1b29;
  --surface: #112435;
  --text: #e8f4ff;
  --muted: #a0b6c8;
  --line: rgba(154, 183, 204, 0.28);
  --brand: #16c47f;
  --brand-strong: #0ea56b;
  --accent: #5bd8ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(22, 196, 127, 0.16), transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(91, 216, 255, 0.18), transparent 35%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand-title {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

p {
  color: var(--muted);
}

.glass-nav {
  background: rgba(3, 11, 17, 0.66);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(116, 152, 179, 0.26);
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  transition: padding 380ms ease, background 380ms ease;
}

.glass-nav.nav-scrolled {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  background: rgba(3, 11, 17, 0.88);
}

.brand-title {
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1;
  color: #ebf6ff;
  transition: font-size 380ms ease, letter-spacing 380ms ease;
}

.brand-font-1 .brand-title {
  font-family: "Oxanium", "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-font-2 .brand-title {
  font-family: "Exo 2", "Space Grotesk", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.48rem;
}

.brand-font-3 .brand-title {
  font-family: "Teko", "Space Grotesk", sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 1.72rem;
  font-weight: 600;
}

.nav-scrolled .brand-title {
  font-size: 1.08rem;
}

.nav-link {
  color: #d5e7f5;
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand);
}

.logo-mark {
  border-radius: 10px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.08) contrast(1.06);
  width: 68px;
  height: 68px;
  transition: width 380ms ease, height 380ms ease;
}

.nav-scrolled .logo-mark {
  width: 42px;
  height: 42px;
}

.hero-section {
  min-height: 100vh;
  padding: 8.5rem 0 4.5rem;
  position: relative;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 196, 127, 0.48);
  color: #a5ffd8;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  background: rgba(22, 196, 127, 0.12);
}

.hero-card {
  position: relative;
}

.hero-card img {
  border: 1px solid var(--line);
}

.hero-card-overlay {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.45rem;
}

.hero-card-overlay div {
  background: rgba(6, 17, 26, 0.78);
  border: 1px solid rgba(91, 216, 255, 0.34);
  padding: 0.4rem 0.6rem;
  border-radius: 0.7rem;
  font-size: 0.84rem;
}

.btn-accent {
  background: linear-gradient(135deg, var(--brand), #29b2e4);
  border: 0;
  color: #061018;
  font-weight: 700;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #14b073, #22a0cd);
  color: #02090f;
}

.section-pad {
  padding: 5rem 0;
}

.section-head p {
  max-width: 700px;
}

.alt-surface {
  background: linear-gradient(180deg, rgba(9, 22, 33, 0.8), rgba(14, 31, 45, 0.88));
  border-top: 1px solid rgba(147, 176, 197, 0.16);
  border-bottom: 1px solid rgba(147, 176, 197, 0.16);
}

.feature-card {
  background: linear-gradient(160deg, rgba(17, 36, 53, 0.9), rgba(9, 26, 40, 0.9));
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  transition: transform 260ms ease, border-color 260ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 196, 127, 0.65);
}

.icon-wrap {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(22, 196, 127, 0.15);
  color: var(--brand);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.feature-card h3,
.case-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.stack-list {
  display: grid;
  gap: 0.7rem;
}

.stack-item {
  background: rgba(8, 22, 33, 0.88);
  border: 1px solid var(--line);
  color: #dbf0ff;
  border-radius: 0.9rem;
  padding: 0.78rem 0.95rem;
  font-weight: 600;
}

.stack-item i {
  margin-right: 0.42rem;
  color: var(--brand);
}

.case-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(9, 26, 40, 0.92);
}

.case-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.contact-panel {
  border: 1px solid rgba(91, 216, 255, 0.4);
  border-radius: 1rem;
  padding: 1.5rem;
  background: linear-gradient(120deg, rgba(22, 196, 127, 0.18), rgba(91, 216, 255, 0.16));
}

footer {
  border-top: 1px solid rgba(147, 176, 197, 0.18);
  color: #aec4d6;
}

.footer-sep {
  color: #5bd8ff;
  font-weight: 700;
  margin: 0 0.4rem;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.34;
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: #16c47f;
  top: -80px;
  right: -90px;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: #2cb9ff;
  bottom: -100px;
  left: -60px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-up.is-visible {
  animation: riseIn 700ms ease forwards;
}

.delay-1.is-visible {
  animation-delay: 130ms;
}

.delay-2.is-visible {
  animation-delay: 260ms;
}

.delay-3.is-visible {
  animation-delay: 390ms;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 7.2rem;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .brand-font-1 .brand-title {
    letter-spacing: 0.03em;
  }

  .brand-font-2 .brand-title {
    letter-spacing: 0.02em;
    font-size: 1.02rem;
  }

  .brand-font-3 .brand-title {
    letter-spacing: 0.05em;
    font-size: 1.22rem;
  }

  .nav-scrolled .brand-title {
    font-size: 0.95rem;
  }
}
