:root {
  --bg: #050b12;
  --bg-alt: #0b1724;
  --primary: #0a2a43;
  --accent: #1f7acb;
  --accent-soft: #1f7acb22;
  --text: #f5f7fb;
  --muted: #a9b3c4;
  --border: #1b2838;
  --card: #0f1d2c;
  --danger: #e35b5b;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #12263b 0, #050b12 55%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Layout */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 11, 18, 0.96), rgba(5, 11, 18, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: conic-gradient(from 210deg, #1f7acb, #00c6ff, #1f7acb);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(10, 42, 67, 0.9), 0 10px 25px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.logo-mark-inner {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid rgba(5, 11, 18, 0.9);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(35deg) translateX(1px);
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

/* underline on hover */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f7acb, #00c6ff);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

/* active page highlight */
.nav-links a.active {
  color: #e9f3ff;
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(31, 122, 203, 0.6);
  background: radial-gradient(circle at top left, rgba(31, 122, 203, 0.3), rgba(10, 42, 67, 0.1));
  color: #e9f3ff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.nav-cta span {
  font-size: 1.1rem;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: radial-gradient(circle at top left, rgba(31, 122, 203, 0.45), rgba(10, 42, 67, 0.2));
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

main {
  margin-top: 18px;
}

section {
  margin-top: 56px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  padding-top: 24px;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title span {
  background: linear-gradient(120deg, #7fd1ff, #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.badge {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(169, 179, 196, 0.3);
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(10, 42, 67, 0.35);
  backdrop-filter: blur(10px);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.btn-primary {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(135deg, #1f7acb, #00c6ff);
  color: #04101e;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
}

.btn-secondary {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(169, 179, 196, 0.4);
  background: rgba(10, 42, 67, 0.2);
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(10, 42, 67, 0.45);
  border-color: rgba(255, 255, 255, 0.4);
  color: #e9f3ff;
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-right {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(31, 122, 203, 0.35), rgba(10, 42, 67, 0.9));
  border-radius: 22px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.hero-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-role {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(169, 179, 196, 0.4);
  color: var(--muted);
  background: rgba(5, 11, 18, 0.4);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.hero-stat {
  background: rgba(5, 11, 18, 0.55);
  border-radius: 14px;
  padding: 10px 10px 9px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
}

.hero-stat-label {
  color: var(--muted);
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.hero-stat-value {
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-pill {
  font-size: 0.7rem;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(10, 42, 67, 0.7);
  border: 1px solid rgba(169, 179, 196, 0.3);
  color: var(--muted);
}

.hero-footer-note {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-orbit {
  position: absolute;
  inset: -40px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(127, 209, 255, 0.25);
}

.hero-orbit::before {
  width: 220px;
  height: 220px;
  top: -10px;
  right: -40px;
}

.hero-orbit::after {
  width: 260px;
  height: 260px;
  bottom: -40px;
  left: -30px;
}

.hero-orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7fd1ff;
  box-shadow: 0 0 12px rgba(127, 209, 255, 0.9);
  top: 18%;
  right: 12%;
}

/* Sections */

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: linear-gradient(145deg, rgba(15, 29, 44, 0.96), rgba(5, 11, 18, 0.98));
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.card-tag {
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(169, 179, 196, 0.4);
  color: var(--muted);
}

.card-body {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.card-list {
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
}

.card-list li {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.card-list-bullet {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.pill {
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(10, 42, 67, 0.7);
  border: 1px solid rgba(169, 179, 196, 0.3);
  color: var(--muted);
}

/* Case studies */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  background: linear-gradient(150deg, rgba(15, 29, 44, 0.98), rgba(5, 11, 18, 0.98));
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.case-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 4px;
}

.case-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.case-client {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.case-section-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 2px;
}

.case-text {
  font-size: 0.82rem;
  color: var(--muted);
}

.case-impact {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(169, 179, 196, 0.3);
  font-size: 0.8rem;
  color: #dbe9ff;
}

.case-orbit {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 1px dashed rgba(127, 209, 255, 0.18);
  right: -40px;
  bottom: -40px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.contact-card {
  background: linear-gradient(150deg, rgba(15, 29, 44, 0.98), rgba(5, 11, 18, 0.98));
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-item-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.contact-item-value {
  font-size: 0.9rem;
  color: #e9f3ff;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 0.78rem;
  color: var(--muted);
}

.field input,
.field textarea {
  background: rgba(5, 11, 18, 0.9);
  border-radius: 10px;
  border: 1px solid rgba(169, 179, 196, 0.35);
  padding: 8px 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(31, 122, 203, 0.9);
  box-shadow: 0 0 0 1px rgba(31, 122, 203, 0.6);
  background: rgba(5, 11, 18, 0.98);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Footer */

footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

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

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

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

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 54px;
    right: 20px;
    background: rgba(5, 11, 18, 0.98);
    border-radius: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 10px;
  }

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