@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --violet-500: #7c3aed;
  --cyan-400: #22d3ee;
  --amber-400: #facc15;
  --orange-500: #f97316;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-100);
  background-color: var(--slate-900);
  line-height: 1.6;
}

body > a[href="#main"] {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1.5rem;
  background: #0f172a;
  color: var(--slate-50);
  z-index: 2000;
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

body > a[href="#main"]:focus {
  left: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

ul {
  padding-left: 1.2rem;
  color: var(--slate-200);
}

li {
  margin-bottom: 0.5rem;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  color: var(--slate-200);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet-500), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

.hc-logo {
  display: inline-flex;
  align-items: center;
  gap: 1.125rem;
  color: var(--slate-50);
  text-decoration: none;
}

.hc-logo__icon {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.hc-logo__circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.45);
  animation: logo-pulse 3s ease-in-out infinite;
}

.hc-logo__circle svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.hc-logo__orbits {
  position: absolute;
  inset: 0;
}

.hc-logo__dot {
  position: absolute;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin: -2.25px;
  background: #667eea;
  animation: logo-orbit 4s linear infinite;
}

.hc-logo__dot:nth-child(2) {
  animation-delay: -1s;
  background: #764ba2;
}

.hc-logo__dot:nth-child(3) {
  animation-delay: -2s;
  background: #8b9cff;
}

.hc-logo__dot:nth-child(4) {
  animation-delay: -3s;
  background: #9d50bb;
}

.hc-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hc-logo__wordmark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.25vw, 2.625rem);
  letter-spacing: -0.05em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.1em;
}

.hc-logo__human {
  background: linear-gradient(135deg, #667eea 0%, #8b9cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hc-logo__human::before {
  content: '👤';
  position: absolute;
  left: -1.425rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
  opacity: 0.7;
}

.hc-logo__cert,
.hc-logo__tail {
  color: #e2e8f0;
}

.hc-logo__ai {
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  animation: logo-glow 2s ease-in-out infinite;
  padding: 0 0.05em;
}

.hc-logo__ai::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.2em;
  transform: translateX(-50%);
  width: 115%;
  height: 0.25em;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #667eea 15%, #764ba2 50%, #667eea 85%, transparent 100%);
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.55);
  animation: underline-flow 3s ease-in-out infinite;
}

.hc-logo__ai::after {
  content: '⚡';
  position: absolute;
  right: -0.6em;
  top: -0.525em;
  font-size: 0.6em;
  animation: logo-spark 1.5s ease-in-out infinite;
}

.hc-logo__tagline {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.75);
  position: relative;
  padding: 0.3rem 1.2rem;
  align-self: flex-start;
}

.hc-logo__tagline::before,
.hc-logo__tagline::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.3125rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.hc-logo__tagline::before {
  left: 0;
  transform: translate(-120%, -50%);
}

.hc-logo__tagline::after {
  right: 0;
  transform: translate(120%, -50%);
}

.hc-logo--header {
  gap: 0.75rem;
}

.hc-logo--header .hc-logo__icon {
  width: 42px;
  height: 42px;
}

.hc-logo--header .hc-logo__circle {
  box-shadow: 0 10px 24px rgba(102, 126, 234, 0.4);
}

.hc-logo--header .hc-logo__circle svg {
  width: 22.5px;
  height: 22.5px;
}

.hc-logo--header .hc-logo__wordmark {
  font-size: clamp(1.0125rem, 1.5vw, 1.65rem);
}

.hc-logo--header .hc-logo__human::before {
  font-size: 0.75rem;
  left: -1.05rem;
}

.hc-logo--header .hc-logo__ai::after {
  font-size: 0.525em;
  right: -0.45em;
  top: -0.45em;
}

.hc-logo--header .hc-logo__cert,
.hc-logo--header .hc-logo__tail {
  color: var(--slate-50);
}

.hc-logo--header .hc-logo__tagline {
  display: none;
}

.hc-logo-card {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.4);
}

.hc-logo--feature {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.hc-logo--feature .hc-logo__icon {
  width: clamp(60px, 8vw, 78px);
  height: clamp(60px, 8vw, 78px);
}

.hc-logo--feature .hc-logo__circle svg {
  width: clamp(31px, 4vw, 42px);
  height: clamp(31px, 4vw, 42px);
}

.hc-logo--feature .hc-logo__wordmark {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.hc-logo--feature .hc-logo__human::before {
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  left: -1.55rem;
}

.hc-logo--feature .hc-logo__ai::after {
  font-size: clamp(0.45em, 0.8vw, 0.58em);
  right: -0.55em;
  top: -0.55em;
}

.hc-logo--feature .hc-logo__tagline {
  font-size: clamp(0.58rem, 0.95vw, 0.72rem);
  margin-top: 0.5rem;
}

.hc-logo--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--slate-200);
}

.hc-logo--footer .hc-logo__icon {
  width: clamp(46px, 6vw, 56px);
  height: clamp(46px, 6vw, 56px);
}

.hc-logo--footer .hc-logo__circle {
  box-shadow: 0 10px 24px rgba(102, 126, 234, 0.35);
}

.hc-logo--footer .hc-logo__circle svg {
  width: clamp(24px, 3vw, 28px);
  height: clamp(24px, 3vw, 28px);
}

.hc-logo--footer .hc-logo__wordmark {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}

.hc-logo--footer .hc-logo__cert,
.hc-logo--footer .hc-logo__tail {
  color: var(--slate-100);
}

.hc-logo--footer .hc-logo__tagline {
  color: rgba(226, 232, 240, 0.7);
  letter-spacing: 0.16em;
}

@keyframes logo-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.45);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 18px 40px rgba(102, 126, 234, 0.6);
  }
}

@keyframes logo-orbit {
  0% {
    transform: rotate(0deg) translateX(34.5px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(34.5px) rotate(-360deg);
  }
}

@keyframes logo-glow {
  0%,
  100% {
    filter: brightness(1) drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
  }
  50% {
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(102, 126, 234, 0.55));
  }
}

@keyframes underline-flow {
  0%,
  100% {
    width: 115%;
    opacity: 0.85;
    filter: blur(0px);
  }
  50% {
    width: 135%;
    opacity: 1;
    filter: blur(1px);
  }
}

@keyframes logo-spark {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.25) rotate(18deg);
    opacity: 1;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet-500), var(--cyan-400));
  color: var(--slate-50);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 15px 30px rgba(124, 58, 237, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(34, 211, 238, 0.25);
}

.hero {
  position: relative;
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.35), transparent 45%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.25), transparent 40%);
  opacity: 0.9;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../graphics/orbit.svg');
  background-size: cover;
  opacity: 0.18;
}

.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #f8fafc;
}

.hero p {
  font-size: 1.1rem;
  color: var(--slate-200);
  max-width: 32rem;
}

.hero-visual {
  position: relative;
  justify-self: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 250, 252, 0.08), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

.hero-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 24px;
  padding: 2rem;
  width: min(360px, 90vw);
  display: grid;
  gap: 1rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
}

.hero-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  margin: 0;
}

.hero-card p {
  margin: 0;
  color: var(--slate-200);
  font-size: 0.95rem;
}

.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.section:nth-of-type(even) {
  background: rgba(15, 23, 42, 0.7);
}

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

.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.section p.lead {
  font-size: 1.1rem;
  color: var(--slate-200);
  margin-bottom: 2.5rem;
  max-width: 46rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.75);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(34, 211, 238, 0.12));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin-top: 0;
}

.card p {
  color: var(--slate-200);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #e0f2fe;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--amber-400);
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px dashed rgba(148, 163, 184, 0.4);
}

.timeline-item {
  margin-bottom: 1.75rem;
}

.timeline-item:last-of-type {
  margin-bottom: 0;
}

.timeline-item h4 {
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 0.35rem;
}

.timeline-item span {
  color: var(--cyan-400);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.split {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}

.split img {
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.4);
}

footer {
  padding: 4rem 1.5rem 2rem;
  background: #020617;
  color: var(--slate-200);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid h4 {
  font-family: 'Montserrat', sans-serif;
  margin-top: 0;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 1.5rem;
}

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

  .hero {
    padding-top: 6rem;
  }

  .hero-card {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
