:root {
  --bg: #ffffff;
  --ink: #101320;
  --muted: #5f657b;
  --line: #e1e5f1;
  --blue: #1f4cff;
  --blue-soft: #e8eeff;
  --mint: #00c8a2;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(18, 43, 94, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(18, 43, 94, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: 0;
  pointer-events: none;
}

.bg-wave {
  position: fixed;
  width: 52vw;
  height: 52vw;
  border-radius: 40% 60% 65% 35% / 40% 45% 55% 60%;
  filter: blur(66px);
  pointer-events: none;
  z-index: 0;
  opacity: .28;
  animation: drift 8s ease-in-out infinite;
}

.wave-a {
  background: radial-gradient(circle, #d9e5ff 0%, transparent 70%);
  top: -12vw;
  right: -8vw;
}

.wave-b {
  background: radial-gradient(circle, #d7fff3 0%, transparent 70%);
  bottom: -14vw;
  left: -10vw;
  animation-delay: 1.2s;
}

.nav-wrap,
main,
footer { position: relative; z-index: 2; }

.nav-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(225, 229, 241, 0.7);
}

.nav-brand strong {
  font-family: 'Archivo Black', sans-serif;
  font-size: .95rem;
  letter-spacing: .05em;
}

.nav-brand span {
  display: block;
  font-size: .73rem;
  color: var(--muted);
  margin-top: 2px;
}

nav { display: flex; gap: 18px; }
nav a {
  text-decoration: none;
  color: #26345f;
  font-weight: 600;
  font-size: .9rem;
}

main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 16px;
}

.hero-left,
.hero-right,
.frame,
.proposal,
.specs,
.gallery img,
.benefit,
.stack-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.85);
}

.hero-left {
  padding: 28px;
}

.tag {
  display: inline-block;
  background: var(--blue-soft);
  color: #2042aa;
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 8px 10px;
  border-radius: 999px;
  margin: 0 0 14px;
}

.hero-left h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.9rem, 4.9vw, 3.8rem);
  line-height: 1.02;
  margin: 0 0 14px;
}

.hero-left p { color: var(--muted); margin: 0; line-height: 1.65; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-right {
  padding: 10px;
}

.hero-right img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 14px;
}

.stat-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stat-row div {
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.stat-row strong { display: block; color: #1e2c56; }
.stat-row span { font-size: .78rem; color: var(--muted); }

.section { margin-top: 74px; }

.frame { padding: 24px; }

.frame h2,
.specs h2,
.proposal h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.4rem, 3.8vw, 2.7rem);
  margin: 0;
}

.stack-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stack-card { padding: 10px; }
.stack-card h3 { margin: 8px 8px 6px; }
.stack-card p { margin: 0 8px 10px; color: var(--muted); }
.stack-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.benefit {
  padding: 22px;
}

.benefit span {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.6rem;
  color: #b9c4e7;
}

.benefit h3 { margin: 8px 0 6px; }
.benefit p { color: var(--muted); margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.specs { padding: 24px; }
.specs ul { margin: 16px 0 0; padding-left: 18px; color: #2c385e; }
.specs li { margin: 0 0 8px; }

.gallery {
  display: grid;
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.proposal {
  padding: 30px;
  background: linear-gradient(130deg, #f4f8ff, #f0fffa);
}

.proposal p {
  color: #435074;
  max-width: 72ch;
  margin-top: 10px;
}

.btn {
  border: 1px solid var(--line);
  background: #fff;
  color: #10204f;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  border: none;
  background: linear-gradient(90deg, var(--blue), #5883ff);
  color: #fff;
}

.btn.dark {
  border: none;
  background: #101a3a;
  color: #fff;
}

.btn.light {
  background: #f4f7ff;
}

footer {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px 34px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #475374;
}

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

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

@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.05); }
}

@media (max-width: 1080px) {
  nav { display: none; }
  .hero,
  .stack-grid,
  .benefit-grid,
  .split,
  .stat-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
