:root {
  --bg: #05070c;
  --surface: #0a0f17;
  --surface-2: #0f1521;
  --text: #ecf1ff;
  --muted: #9fadc9;
  --line: #1a2538;
  --brand: #68e6ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 8% 14%, rgba(104, 230, 255, 0.06) 0%, rgba(104, 230, 255, 0) 34%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 12, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.4px; }
.logo span { color: var(--brand); }

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #24405f;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 600;
  background: #111b2a;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn:hover { border-color: #2f547e; background: #162741; }
.btn-sm { padding: 8px 12px; font-size: 0.9rem; }
.btn-ghost { background: transparent; }

.hero { padding: 92px 0 54px; }
.hero-compact { padding-bottom: 34px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 { margin: 0; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.1; max-width: 860px; }
h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 2.2vw, 2rem); }
h3 { margin: 0 0 8px; font-size: 1.03rem; }

.lead { margin: 18px 0 0; color: var(--muted); max-width: 760px; font-size: 1.03rem; }

.cta-row { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.minimal-card { background: var(--surface-2); }
.hero-card ul,
.clean-list { margin: 0; padding-left: 18px; color: var(--muted); }

.section { padding: 54px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

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

.card-grid { align-items: stretch; }
.card-grid > .info-card p { margin: 8px 0 0; color: var(--muted); }

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

.section-intro { margin: 0 0 18px; color: var(--muted); max-width: 760px; }

.demo-link { display: inline-flex; margin-top: 14px; color: #95eaff; font-size: 0.92rem; }

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #24414a;
  color: #8defff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-banner { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.cta-panel { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #0a111b; }

.structure-stage {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 70% 20%, #16263e 0%, #0a0f17 52%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  align-items: center;
}

.structure-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 999px;
  right: -80px;
  top: -90px;
  background: radial-gradient(circle, rgba(104, 230, 255, 0.27) 0%, rgba(104, 230, 255, 0) 65%);
}

.structure-main { position: relative; z-index: 1; }

.protein-visual {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  border: 1px solid #274063;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, rgba(104, 230, 255, 0.2) 0%, #07111d 48%, #040a12 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  position: relative;
}

.hero-protein { margin-top: 18px; height: 220px; }
.product-protein { height: 420px; }

.protein-frame {
  position: absolute;
  width: 118%;
  max-width: none;
  left: 50%;
  top: 50%;
  opacity: 0.94;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 24px 40px rgba(8, 160, 214, 0.26));
}

.frame-a { animation: protein-drift-a 16s ease-in-out infinite; }
.frame-b { opacity: 0.5; mix-blend-mode: screen; animation: protein-drift-b 16s ease-in-out infinite; }

@keyframes protein-drift-a {
  0% { transform: translate3d(-50%, -50%, 0) rotate(-1deg) scale(1); }
  50% { transform: translate3d(calc(-50% + 12px), calc(-50% - 10px), 0) rotate(2deg) scale(1.03); }
  100% { transform: translate3d(-50%, -50%, 0) rotate(-1deg) scale(1); }
}

@keyframes protein-drift-b {
  0% { transform: translate3d(-50%, -50%, 0) rotate(2deg) scale(1.03); }
  50% { transform: translate3d(calc(-50% - 10px), calc(-50% + 8px), 0) rotate(-1deg) scale(0.99); }
  100% { transform: translate3d(-50%, -50%, 0) rotate(2deg) scale(1.03); }
}

.structure-meta { position: relative; z-index: 1; display: grid; gap: 10px; }
.structure-item { background: rgba(10, 17, 29, 0.86); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.structure-item strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); }
.structure-item p { margin: 7px 0 0; color: var(--muted); }

.site-footer { padding: 30px 0 42px; }
.footer-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.footer-wrap a { display: block; margin-bottom: 8px; }
.copyright { width: min(1100px, 92vw); margin: 14px auto 0; color: var(--muted); font-size: 0.84rem; }

@media (max-width: 1080px) {
  .footer-wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-grid,
  .card-grid,
  .columns,
  .structure-stage,
  .columns.two-col {
    grid-template-columns: 1fr;
  }

  .feature-banner,
  .footer-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links { display: none; }
  .protein-visual { height: 320px; }
  .hero-protein { height: 220px; }
  .protein-frame { width: 128%; }
}
