@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

@font-face {
  font-family: 'Agency FB';
  src: local('Agency FB'), local('Agency FB Bold'), local('AgencyFB-Bold'), local('AgencyFB');
  font-weight: 700;
  font-style: normal;
}

:root {
  --bg: #071120;
  --bg-soft: #0d1b31;
  --surface: rgba(14, 30, 56, 0.72);
  --surface-strong: rgba(26, 39, 68, 0.92);
  --surface-border: rgba(125, 211, 252, 0.18);
  --text: #e6f4ff;
  --muted: #9ab6d3;
  --primary: #7dd3fc;
  --secondary: #0ea5e9;
  --navy: #1a2744;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(2, 10, 24, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.15), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(125, 211, 252, 0.18), transparent 24%),
    linear-gradient(180deg, #040b14 0%, #071120 48%, #091625 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
  width: 22rem;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.4;
}

.site-shell::before {
  top: 8%;
  left: -8rem;
  background: rgba(14, 165, 233, 0.25);
}

.site-shell::after {
  bottom: 10%;
  right: -6rem;
  background: rgba(125, 211, 252, 0.18);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(16, 32, 58, 0.8), rgba(9, 19, 37, 0.72));
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 9, 18, 0.72);
  border-bottom: 1px solid rgba(125, 211, 252, 0.1);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand img {
  width: auto;
  height: 42px;
}

.brand--footer img {
  height: 48px;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-button {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 14px;
  background: rgba(15, 28, 49, 0.85);
  cursor: pointer;
}

.nav-toggle-button span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 16px;
  right: 16px;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(125, 211, 252, 0.12);
  background: rgba(7, 17, 32, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-toggle:checked ~ .nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__link {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link--active {
  color: var(--primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #c4eeff);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.34);
}

.button--ghost {
  color: var(--text);
  background: rgba(125, 211, 252, 0.08);
}

.button--small {
  min-height: 42px;
  padding: 0.78rem 1.1rem;
  font-size: 0.94rem;
}

.hero {
  position: relative;
  padding: 5rem 0 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.95), rgba(7, 17, 32, 0.72)),
    radial-gradient(circle at 20% 20%, rgba(125, 211, 252, 0.18), transparent 32%);
  z-index: -1;
}

.hero--home {
  min-height: min(860px, calc(100vh - 82px));
  display: flex;
  align-items: center;
}

.hero--home::before {
  background:
    linear-gradient(135deg, rgba(3, 10, 19, 0.88), rgba(3, 10, 19, 0.68)),
    radial-gradient(circle at 20% 20%, rgba(125, 211, 252, 0.16), transparent 32%);
}

.hero--subpage {
  padding-top: 4.5rem;
}

.hero__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.content-panel h2,
.cta-panel h2,
.timeline-panel h2,
.contact-banner h2 {
  margin: 0;
  font-family: 'Agency FB', 'Bebas Neue', sans-serif;
  font-style: italic;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.hero__lead,
.section-heading p,
.content-panel p,
.value-card p,
.timeline-grid p,
.contact-banner p,
.footer__text,
.footer__contact p {
  color: var(--muted);
}

.hero__lead {
  max-width: 62ch;
  margin: 1.2rem 0 0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero__meta {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.metric,
.hero-card,
.service-card,
.industry-card,
.content-panel,
.value-card,
.timeline-panel,
.contact-banner,
.cta-panel {
  border-radius: var(--radius-xl);
}

.metric {
  padding: 1rem 1.15rem;
}

.metric strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem;
}

.hero-card::after,
.service-card::after,
.content-panel::after,
.value-card::after,
.cta-panel::after,
.contact-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
}

.hero-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #62f2b4;
  box-shadow: 0 0 18px rgba(98, 242, 180, 0.85);
}

.signal-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.signal-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(125, 211, 252, 0.05);
  border: 1px solid rgba(125, 211, 252, 0.08);
}

.signal-card--accent {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.2), rgba(125, 211, 252, 0.08));
}

.signal-card__label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.signal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 1.25rem 0 4rem;
}

.section--muted {
  position: relative;
}

.section--muted::before {
  content: "";
  position: absolute;
  inset: 5% 0 0;
  background: linear-gradient(180deg, rgba(26, 39, 68, 0.28), rgba(7, 17, 32, 0));
  z-index: -1;
}

.section-heading {
  margin-bottom: 1.5rem;
  max-width: 48rem;
}

.section-heading h2,
.content-panel h2,
.cta-panel h2,
.timeline-panel h2,
.contact-banner h2 {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
}

.section-heading p,
.content-panel p,
.value-card p,
.timeline-grid p,
.contact-banner p,
.cta-panel p {
  line-height: 1.75;
}

.services-grid,
.vertical-grid,
.values-grid,
.footer__grid,
.page-grid,
.timeline-grid {
  display: grid;
  gap: 1rem;
}

.service-card,
.industry-card,
.value-card,
.content-panel,
.cta-panel,
.contact-banner {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
}

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

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(125, 211, 252, 0.28);
  box-shadow: 0 28px 70px rgba(4, 11, 27, 0.55);
}

.service-card--featured,
.hero-card--highlight {
  background: linear-gradient(180deg, rgba(20, 54, 93, 0.92), rgba(10, 26, 47, 0.84));
}

.service-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: start;
  margin-bottom: 0.8rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary), #c9f1ff);
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 18px;
  color: var(--primary);
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.12), rgba(14, 165, 233, 0.04));
  border: 1px solid rgba(125, 211, 252, 0.15);
}

.icon-badge svg {
  width: 28px;
  height: 28px;
}

.service-card h3,
.industry-card h3,
.value-card h3,
.timeline-grid h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.service-card p,
.industry-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.industry-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.04), rgba(12, 24, 43, 0.82)),
    rgba(10, 19, 35, 0.7);
}

.cta-panel,
.contact-banner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.cta-panel__actions,
.contact-banner__info {
  display: grid;
  gap: 0.75rem;
}

.stack-list {
  display: grid;
  gap: 0.95rem;
}

.stack-list__item {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(125, 211, 252, 0.06);
  border: 1px solid rgba(125, 211, 252, 0.1);
}

.stack-list__title {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--primary);
  font-weight: 700;
}

.feature-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.feature-point {
  padding: 1rem;
  border-left: 2px solid rgba(125, 211, 252, 0.32);
  background: rgba(125, 211, 252, 0.04);
}

.feature-point strong {
  display: block;
  margin-bottom: 0.45rem;
}

.check-list,
.tag-cloud {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.08);
}

.tag-cloud {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tag-cloud li {
  padding: 0.8rem 0.9rem;
  border-radius: 999px;
  color: var(--primary);
  text-align: center;
  font-weight: 700;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.16);
}

.timeline-panel {
  padding: 1.4rem;
}

.timeline-grid article {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(125, 211, 252, 0.12);
}

.timeline-grid span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.footer {
  margin-top: 2rem;
  padding-top: 2.5rem;
  background:
    linear-gradient(180deg, rgba(8, 16, 29, 0), rgba(5, 12, 22, 0.92) 18%),
    linear-gradient(135deg, rgba(26, 39, 68, 0.94), rgba(5, 12, 22, 1));
  border-top: 1px solid rgba(125, 211, 252, 0.08);
}

.footer__grid {
  padding-bottom: 1.5rem;
}

.footer__title {
  margin: 0 0 0.9rem;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__text,
.footer__contact,
.footer__links {
  display: grid;
  gap: 0.7rem;
  line-height: 1.7;
}

.footer__links a,
.footer__contact a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer__links a:hover,
.footer__contact a:hover,
.footer__links a:focus-visible,
.footer__contact a:focus-visible {
  color: var(--primary);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--primary);
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.14);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-3px);
  color: var(--white);
  background: rgba(14, 165, 233, 0.28);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(125, 211, 252, 0.08);
}

.footer__bottom p {
  margin: 0;
  color: #88a4c4;
  font-size: 0.92rem;
}

.reveal {
  animation: revealUp 0.8s ease both;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 700px) {
  .hero {
    padding: 6rem 0 4rem;
  }

  .hero__grid,
  .page-grid,
  .cta-panel,
  .contact-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__meta,
  .services-grid--featured,
  .vertical-grid,
  .timeline-grid,
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .nav-toggle-button {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.4rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .hero__grid {
    grid-template-columns: 1.2fr 0.88fr;
    gap: 2rem;
  }

  .hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 32rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid--featured {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .services-grid--featured .service-card:first-child {
    grid-column: span 2;
  }

  .vertical-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1.2fr 0.8fr 0.9fr 0.8fr;
  }

  .timeline-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .timeline-grid article {
    padding-top: 1.2rem;
  }
}

.hero-banner {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.hero-banner__img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}