@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap');

:root {
  --ink-900: #0b1220;
  --ink-800: #111a2e;
  --ink-700: #1f2a44;
  --slate-600: #4a5568;
  --slate-500: #64748b;
  --mist-100: #f4f7fb;
  --mist-200: #e8eef6;
  --mist-300: #d7e2f0;
  --accent-500: #12b3a8;
  --accent-600: #0f958c;
  --accent-300: #67ded4;
  --blue-500: #2563eb;
  --sky-200: #cfe7ff;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-crisp: 0 10px 26px rgba(15, 23, 42, 0.18);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background:
    radial-gradient(880px 420px at 8% -10%, rgba(18, 179, 168, 0.16), transparent 60%),
    radial-gradient(760px 360px at 92% 8%, rgba(37, 99, 235, 0.15), transparent 62%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f9 45%, #e8eef6 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(17, 26, 46, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 26, 46, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: 0 0, 0 0;
  animation: grid-shift 20s linear infinite;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -2;
  background:
    radial-gradient(560px 320px at 14% 22%, rgba(18, 179, 168, 0.28), transparent 70%),
    radial-gradient(520px 300px at 82% 26%, rgba(37, 99, 235, 0.26), transparent 70%);
  opacity: 0.92;
  animation: background-drift 12s ease-in-out infinite;
  pointer-events: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

p {
  line-height: 1.7;
  margin: 0 0 1rem;
  color: var(--slate-600);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  color: var(--ink-900);
}

h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
}

small {
  color: var(--slate-500);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink-900);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section.compact {
  padding: 56px 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--accent-600);
  font-weight: 600;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}

.section-lead {
  max-width: 680px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(18, 179, 168, 0.14);
  color: var(--accent-600);
  font-size: 0.8rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-crisp);
}

.btn.primary {
  background: var(--ink-900);
  color: var(--white);
}

.btn.ghost {
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--ink-900);
  background: transparent;
}

.btn.accent {
  background: var(--accent-500);
  color: var(--white);
}

.btn.light {
  background: var(--white);
  color: var(--ink-900);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  backdrop-filter: blur(16px);
  background: rgba(247, 249, 252, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem 0;
}

.logo {
  display: grid;
  gap: 0.2rem;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-500), var(--blue-500));
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 600;
  color: var(--ink-700);
}

.main-nav a {
  padding: 0.3rem 0.1rem;
}

.main-nav a[aria-current=\"page\"] {
  color: var(--ink-900);
  border-bottom: 2px solid var(--accent-500);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cta .btn {
  white-space: nowrap;
  min-height: 44px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: var(--white);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  display: block;
  margin: 5px auto;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 8;
}

body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: all;
}

.hero {
  padding: 120px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-visual {
  grid-column: span 6;
  position: relative;
  min-height: 380px;
}

.hero-panel {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(18, 179, 168, 0.18), rgba(37, 99, 235, 0.18));
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  display: grid;
  gap: 1rem;
  backdrop-filter: blur(10px);
}

.hero-panel .panel-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.3rem;
}

.hero-panel .panel-title {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.hero-panel .panel-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.card {
  background: var(--white);
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(18, 179, 168, 0.16);
  color: var(--accent-600);
  font-weight: 700;
}

.card .icon img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
}

.card.tech {
  background: linear-gradient(135deg, rgba(18, 179, 168, 0.08), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(18, 179, 168, 0.22);
}

.card.centered {
  align-items: stretch;
  text-align: center;
  min-height: 240px;
}

.card.centered .icon {
  margin: 0 auto;
}

.card.centered p {
  margin: 0;
}

.card.centered .link {
  align-self: center;
}

.card .link {
  margin-top: auto;
  color: var(--accent-600);
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.split .content {
  grid-column: span 6;
}

.split .visual {
  grid-column: span 6;
  min-height: 340px;
  position: relative;
}

.visual-card {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-crisp);
  padding: 2rem;
  display: grid;
  gap: 0.8rem;
}

.visual.form-layout {
  min-height: auto;
}

.visual-card.form-card {
  position: relative;
  inset: auto;
}

.visual-card .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue-500);
  font-size: 0.78rem;
  font-weight: 600;
}

.list-check {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.2rem 0 0;
}

.list-check li {
  list-style: none;
  position: relative;
  padding-left: 2rem;
  color: var(--slate-600);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(18, 179, 168, 0.18);
  display: grid;
  place-items: center;
  color: var(--accent-600);
  font-weight: 700;
  font-size: 0.8rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.trust-badge {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 179, 168, 0.35);
  background: rgba(18, 179, 168, 0.12);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.logo-tile {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(103, 222, 212, 0.35);
  background: rgba(11, 18, 32, 0.65);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
}

.logo-tile img {
  height: 26px;
  width: auto;
}

.logo-strip.light .logo-tile {
  background: var(--white);
  color: var(--ink-900);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-grid .full {
  grid-column: span 2;
}

.callout {
  background: linear-gradient(135deg, #0b1220 0%, #111a2e 50%, #0f958c 100%);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-crisp);
}

.callout:not(.light) h2,
.callout:not(.light) h3 {
  color: #f8fafc;
}

.callout p {
  color: rgba(255, 255, 255, 0.75);
}

.callout.light {
  background: linear-gradient(135deg, #ffffff 0%, #eef3f9 100%);
  color: var(--ink-900);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.callout.light p {
  color: var(--slate-600);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat {
  background: var(--white);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 0.2rem;
}

.stat .value {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.page-hero {
  padding: 110px 0 60px;
}

.section.dark {
  background: linear-gradient(135deg, #0b1220 0%, #0f1b33 55%, #0a2f46 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.15;
  pointer-events: none;
}

.section.dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(380px 240px at 18% 20%, rgba(18, 179, 168, 0.3), transparent 70%),
    radial-gradient(320px 220px at 85% 15%, rgba(37, 99, 235, 0.25), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
  animation: dark-glow 16s ease-in-out infinite;
}

.section.dark .container {
  position: relative;
  z-index: 1;
}

.section.dark h2,
.section.dark h3,
.section.dark .badge {
  color: #f8fafc;
}

.section.dark p,
.section.dark .list-check li {
  color: #cbd5f5;
}

.section.dark .badge {
  background: rgba(18, 179, 168, 0.2);
  border: 1px solid rgba(18, 179, 168, 0.35);
}

.section.dark .list-check li::before {
  background: rgba(18, 179, 168, 0.25);
  color: #67ded4;
}

.section.dark .visual-card {
  background: rgba(11, 18, 32, 0.7);
  border: 1px solid rgba(103, 222, 212, 0.28);
  color: #e2e8f0;
  backdrop-filter: blur(12px);
}

.section.dark .visual-card p {
  color: #d7e2f0;
}

.section.dark .security-item {
  background: rgba(18, 179, 168, 0.38);
  border: 1px solid rgba(103, 222, 212, 0.75);
  color: #f8fafc;
  box-shadow: 0 10px 18px rgba(11, 18, 32, 0.35);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.security-item {
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(18, 179, 168, 0.35);
  background: rgba(18, 179, 168, 0.18);
  color: var(--ink-900);
  font-size: 0.9rem;
  font-weight: 600;
}

.security-diagram {
  position: relative;
  height: 140px;
  border-radius: 16px;
  border: 1px dashed rgba(103, 222, 212, 0.4);
  background: rgba(11, 18, 32, 0.6);
  overflow: hidden;
}

.security-diagram .node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #67ded4;
  box-shadow: 0 0 16px rgba(103, 222, 212, 0.75);
  animation: pulse 2.6s ease-in-out infinite;
}

.security-diagram .node.core {
  width: 18px;
  height: 18px;
  background: #12b3a8;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  animation-delay: 0.1s;
}

.security-diagram .node.n1 { left: 18%; top: 30%; animation-delay: 0.4s; }
.security-diagram .node.n2 { left: 78%; top: 26%; animation-delay: 0.8s; }
.security-diagram .node.n3 { left: 20%; top: 72%; animation-delay: 1.1s; }
.security-diagram .node.n4 { left: 76%; top: 72%; animation-delay: 1.4s; }

.security-diagram .link {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(103, 222, 212, 0.9), rgba(18, 179, 168, 0));
  animation: flow 2.6s linear infinite;
}

.security-diagram .link.l1 { left: 24%; top: 36%; width: 40%; transform: rotate(8deg); }
.security-diagram .link.l2 { left: 50%; top: 34%; width: 28%; transform: rotate(-12deg); }
.security-diagram .link.l3 { left: 24%; top: 68%; width: 40%; transform: rotate(-10deg); }
.security-diagram .link.l4 { left: 48%; top: 64%; width: 30%; transform: rotate(12deg); }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

@keyframes flow {
  0% { opacity: 0.2; }
  50% { opacity: 0.9; }
  100% { opacity: 0.2; }
}

@keyframes background-drift {
  0%, 100% { transform: translate3d(-3%, 2%, 0) scale(1.03); }
  50% { transform: translate3d(3%, -3%, 0) scale(1.06); }
}

@keyframes dark-glow {
  0%, 100% { transform: translate3d(-2%, 2%, 0); opacity: 0.78; }
  50% { transform: translate3d(2%, -3%, 0); opacity: 0.95; }
}

@keyframes grid-shift {
  0%, 100% { background-position: 0 0, 0 0; }
  50% { background-position: 40px 30px, -40px -30px; }
}

.kicker {
  font-size: 0.95rem;
  color: var(--slate-500);
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: var(--mist-100);
  color: var(--ink-900);
}

.footer {
  padding: 50px 0 30px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--mist-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .main-nav {
    gap: 0.9rem;
    font-size: 0.95rem;
  }

  .nav-cta {
    gap: 0.6rem;
  }

  .nav-cta .btn {
    padding: 0.75rem 1.2rem;
  }
}

@media (max-width: 1320px) {
  .nav-wrap {
    flex-wrap: wrap;
    row-gap: 0.6rem;
  }

  .main-nav {
    flex: 1 1 100%;
    justify-content: center;
    order: 3;
  }

  .nav-cta {
    order: 2;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split {
    grid-template-columns: repeat(1, 1fr);
  }

  .hero-content,
  .hero-visual,
  .split .content,
  .split .visual {
    grid-column: span 1;
  }

  .hero-visual {
    min-height: 320px;
  }

  .split .visual {
    min-height: auto;
  }

  .visual-card {
    position: relative;
    inset: auto;
  }

  .grid.cols-3,
  .grid.cols-2,
  .stats,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 86vw);
    background: var(--mist-100);
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 12;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 90px 0 60px;
  }

  .grid.cols-3,
  .grid.cols-2,
  .stats,
  .security-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.workcube-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }

  .card.centered {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .reveal,
  .security-diagram .node,
  .security-diagram .link {
    transition: none;
    animation: none;
  }

  body::after,
  body::before,
  .section.dark::after {
    animation: none;
  }
}
