﻿:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --text: #0d1b2a;
  --muted: #5e6a7d;
  --primary: #0f766e;
  --primary-strong: #0a5a54;
  --stroke: #d9e3f0;
  --accent: #c084fc;
  --shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, sans-serif;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.02em;
  margin-top: 0;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(50px);
  opacity: .25;
}

.orb-a {
  background: #7dd3fc;
  top: -120px;
  left: -120px;
}

.orb-b {
  background: #86efac;
  bottom: -140px;
  right: -100px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.3rem;
  border-bottom: 1px solid rgba(217, 227, 240, .8);
  background: rgba(245, 247, 251, .84);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .78rem 1rem;
  border-radius: .8rem;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(130deg, var(--primary), #14b8a6);
  box-shadow: 0 12px 30px rgba(15, 118, 110, .35);
}

.btn:hover { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--primary-strong);
  border: 1px solid var(--primary);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--text);
  box-shadow: none;
}

.menu-btn {
  display: none;
  border: 1px solid var(--stroke);
  border-radius: .6rem;
  background: #fff;
  padding: .45rem .6rem;
  font-size: 1.2rem;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
  padding: 4.6rem 0 2.5rem;
}

.pill {
  display: inline-block;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
  font-weight: 700;
  font-size: .78rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  margin: .9rem 0;
}

.hero h1 span { color: var(--primary); }
.hero p { color: var(--muted); font-size: 1.05rem; }

.hero-cta {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 1.5rem;
}

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

.trust-grid div {
  border: 1px solid var(--stroke);
  border-radius: .9rem;
  background: var(--surface);
  padding: .75rem;
}

.trust-grid strong { font-size: 1.25rem; display: block; }
.trust-grid span { color: var(--muted); font-size: .84rem; }

.hero-media {
  position: relative;
  min-height: 450px;
}

.hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-media .floating {
  position: absolute;
  width: 68%;
  height: 230px;
  right: -5%;
  bottom: -28px;
  border: 6px solid #fff;
}

.section { padding: 4.4rem 0 0; }

.section-title {
  max-width: 720px;
  margin-bottom: 1.3rem;
}

.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: .5rem; }
.section-title p { color: var(--muted); }

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

.card, .panel, .kpi, .quote, .cta, .lead-form {
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: 1rem;
}

.card, .panel, .kpi, .quote { padding: 1rem; }

.card p, .panel p, .panel li { color: var(--muted); }

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

.panel ul {
  margin: .5rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: .4rem;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-bottom: .8rem;
}

.kpi span { color: var(--muted); font-size: .85rem; }
.kpi strong { display: block; margin-top: .5rem; font-size: 1.2rem; }

.gallery-hint {
  color: var(--muted);
  margin: .2rem 0 1rem;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: .8rem;
}

.mockup-card {
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 1rem;
  padding: .7rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.mockup-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: .8rem;
}

.mockup-button:focus-visible {
  outline: 2px solid #0891b2;
  outline-offset: 2px;
}

.mockup-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: .8rem;
  background: #f8fafc;
}

.mockup-card h3 {
  font-size: .9rem;
  margin: .55rem 0 .2rem;
}

.no-scroll { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 2rem 1rem;
  background: rgba(2, 6, 23, .84);
}

.lightbox.open { display: flex; }

.lightbox-figure {
  margin: 0;
  width: min(96vw, 980px);
  display: grid;
  gap: .7rem;
  justify-items: center;
}

.lightbox-figure img {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  border-radius: 1rem;
  background: #f8fafc;
}

.lightbox-caption {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e2e8f0;
  font-size: .95rem;
}

.lightbox-control,
.lightbox-close {
  border: 1px solid rgba(226, 232, 240, .42);
  background: rgba(15, 23, 42, .75);
  color: #f8fafc;
  border-radius: .8rem;
  cursor: pointer;
}

.lightbox-control {
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
}

.quote { position: relative; }
.quote p { font-size: 1.02rem; }
.quote span { color: var(--muted); font-size: .84rem; }

.cta {
  margin-top: 4rem;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: linear-gradient(160deg, #0f172a 0%, #11233e 100%);
  color: #e2e8f0;
  border-color: #1e293b;
}

.cta p { color: #a6b3c7; }

.lead-form {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  background: rgba(255, 255, 255, .03);
  border-color: rgba(148, 163, 184, .25);
}

.lead-form label {
  font-size: .82rem;
  color: #cbd5e1;
  display: grid;
  gap: .35rem;
}

.lead-form label:last-of-type { grid-column: span 2; }

.lead-form input,
.lead-form select {
  border: 1px solid rgba(148, 163, 184, .32);
  background: rgba(15, 23, 42, .38);
  color: #f8fafc;
  border-radius: .65rem;
  padding: .67rem .7rem;
}

.footer {
  padding: 3rem 1rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}

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

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

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

  .hero-media { min-height: auto; }

  .hero-media img,
  .hero-media .floating {
    position: static;
    width: 100%;
    height: 300px;
    margin-top: .8rem;
    border: 0;
  }

  .cards-3,
  .panel-grid,
  .analytics-grid,
  .mockup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav,
  .btn-outline { display: none; }

  .menu-btn { display: block; margin-left: auto; }

  .nav.open {
    display: grid;
    position: absolute;
    top: 62px;
    left: 1rem;
    right: 1rem;
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: .8rem;
    padding: .8rem;
    box-shadow: var(--shadow);
  }

  .cards-3,
  .panel-grid,
  .analytics-grid,
  .mockup-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-form label:last-of-type { grid-column: auto; }

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

  .lightbox {
    padding: 1rem .6rem;
    gap: .35rem;
  }

  .lightbox-control {
    width: 42px;
    height: 42px;
  }

  .lightbox-caption {
    font-size: .86rem;
  }
}

