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

:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --muted: #5c6370;
  --text: #0f172a;
  --accent: #2656ff;
  --accent-soft: #e8eeff;
  --border: #e4e7f1;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #f0f4ff, transparent 35%),
    radial-gradient(circle at 80% 10%, #e8f4ff, transparent 30%),
    var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

body::before {
  content: 'GR';
  position: fixed;
  top: 5%;
  right: -5%;
  font-size: 200px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 700;
  color: rgba(38, 86, 255, 0.05);
  letter-spacing: -8px;
  z-index: -1;
  animation: floatText 25s ease-in-out infinite alternate;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  margin: 0 0 12px;
  letter-spacing: -0.8px;
}

h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.container {
  width: min(1080px, calc(100% - 56px));
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(247, 248, 252, 0.96) 0%, rgba(247, 248, 252, 0.76) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.logo__mark {
  background: var(--accent);
  color: #fff;
  padding: 8px 10px;
  border-radius: 12px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
}

.logo__text {
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.header-link {
  font-weight: 700;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}

.header-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.primary, .secondary, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(38, 86, 255, 0.25);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(38, 86, 255, 0.35);
  color: #fff;
}

.secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.secondary:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

.ghost {
  padding: 10px 12px;
  color: var(--muted);
}

.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(38, 86, 255, 0.12), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(113, 142, 255, 0.15), transparent 32%);
  z-index: -1;
}

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

.hero__text {
  animation: fadeInUp 0.6s ease both;
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--accent);
}

.hero__highlight {
  color: var(--accent);
  text-shadow: 0 18px 45px rgba(38, 86, 255, 0.16);
}

.lede, .section__lede {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 12px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero__chips span {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  animation: floatSlow 8s ease-in-out infinite;
}

.window {
  background: linear-gradient(145deg, #ffffff 0%, #f1f4ff 100%);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-1.5deg);
  max-width: 520px;
  width: 100%;
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(38, 86, 255, 0.08);
  border-bottom: 1px solid var(--border);
}

.window__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #d4d9ee;
}

.window__bar p {
  margin: 0 0 0 4px;
  font-weight: 700;
  color: var(--text);
}

.window__body {
  position: relative;
  padding: 10px;
  background: #f7f8ff;
}

.window__body img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(10, 28, 74, 0.18);
}

.window__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(38, 86, 255, 0.35);
}

.floating-card {
  position: absolute;
  left: -32px;
  bottom: 10px;
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  width: 260px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transform: rotate(1.8deg);
  animation: floatSlow 9s ease-in-out infinite reverse;
}

.floating-card__title {
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--text);
}

.floating-card ul li {
  margin-bottom: 6px;
}

.section {
  padding: 80px 0;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.section__lede {
  max-width: 620px;
}

.pill {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.section__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.section__note::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  border-color: rgba(38, 86, 255, 0.3);
}

.card__image {
  background: linear-gradient(160deg, #f2f5ff, #ffffff);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.card__image img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--insights {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 30px;
}

.grid--features {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 30px;
}

.feature {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border-color: rgba(38, 86, 255, 0.3);
}

.feature__eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 6px;
}

.section--accent {
  background: linear-gradient(180deg, #eef2ff 0%, #f7f8fc 100%);
}

.grid--cases {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 28px;
  gap: 22px;
}

.grid--pains {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 30px;
}

.quote {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: '“';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 90px;
  color: rgba(38, 86, 255, 0.1);
}

.quote__title {
  margin: 0 0 8px;
  font-weight: 800;
}

.quote__text {
  margin: 0;
  color: var(--muted);
}

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

.split__visual--list {
  display: grid;
  gap: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chips span {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--muted);
}

.split__visual {
  position: relative;
}

.stack {
  position: relative;
  height: 360px;
}

.stack__item {
  position: absolute;
  width: 78%;
  left: 10%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stack__item--offset {
  top: 50px;
  transform: rotate(2deg) translateY(8px);
}

.stack__item--offset-large {
  top: 110px;
  transform: rotate(-3deg) translateY(12px);
}

.stack__item:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

.list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.list-card__title {
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--text);
}

.card--plain {
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.insight-quote {
  margin-top: 26px;
  padding: 24px;
  background: linear-gradient(135deg, #e8eeff 0%, #f6f7ff 100%);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 16px 30px rgba(15, 23, 42, 0.08);
  color: var(--text);
  font-weight: 700;
  line-height: 1.6;
}

.cta {
  padding: 90px 0;
}

.cta__box {
  background: linear-gradient(135deg, #2656ff 0%, #5e7bff 100%);
  border-radius: 22px;
  padding: 36px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 28px 60px rgba(38, 86, 255, 0.4);
}

.cta__box--form {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 26px;
}

.cta__intro {
  display: grid;
  gap: 10px;
}

.cta__intro p {
  color: rgba(255, 255, 255, 0.86);
}

.cta__intro .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.cta__box h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta__box .section__lede {
  color: rgba(255, 255, 255, 0.86);
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta__actions .primary {
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.cta__actions .secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 320px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  display: grid;
  gap: 12px;
  z-index: 20;
  animation: fadeInUp 0.4s ease both;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner__button {
  justify-self: start;
  padding: 10px 16px;
}

.cookie-banner.is-hidden {
  display: none;
}

.pilot-form {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.form-success {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field--honeypot {
  display: none;
}

.form-field--full,
.form-actions {
  grid-column: 1 / -1;
}

.form-field label,
.form-field legend {
  font-weight: 700;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(38, 86, 255, 0.16);
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-field.is-error input,
.form-field.is-error textarea {
  border-color: #d64545;
  background: #fff5f5;
}

.form-field.is-error .form-error {
  display: block;
}

.form-hint {
  font-size: 13px;
  color: var(--muted);
  margin: -2px 0 0;
}

.form-error {
  display: none;
  font-size: 13px;
  color: #d64545;
  margin: 0;
}

.form-checks {
  display: grid;
  gap: 10px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

.form-check input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-status {
  font-size: 14px;
  color: var(--muted);
}

.form-status.is-error {
  color: #d64545;
}

.form-status.is-success {
  color: #1f7a3e;
}

.form-legal {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  justify-self: end;
}

.form-legal a {
  color: var(--accent);
  font-weight: 600;
}

.form-legal a:hover {
  color: #1f45d4;
}

fieldset.form-field {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

fieldset.form-field legend {
  padding: 0;
  margin-bottom: 8px;
}

.footer {
  padding: 42px 0 60px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__contacts {
  display: flex;
  gap: 16px;
  font-weight: 700;
}

.footer__note {
  margin: 0;
  color: var(--muted);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes floatText {
  0% {
    transform: translateY(0) rotate(-2deg);
  }
  100% {
    transform: translateY(10px) rotate(2deg);
  }
}

@media (max-width: 960px) {
  .site-header {
    position: sticky;
  }

  .header__content {
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 90px;
  }

  .window__badge {
    font-size: 13px;
  }

  .floating-card {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 16px;
    transform: rotate(0deg);
  }

  .stack {
    height: auto;
  }

  .stack__item,
  .stack__item--offset,
  .stack__item--offset-large {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
    margin-bottom: 16px;
    transform: rotate(0deg);
  }

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

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

@media (max-width: 640px) {
  body::before {
    display: none;
  }

  .hero__chips span,
  .chips span {
    font-size: 14px;
  }

  .cta__box {
    padding: 26px;
  }

  .pilot-form {
    padding: 18px;
  }

  .form-success {
    padding: 20px;
    font-size: 16px;
    min-height: 140px;
  }

  .cookie-banner {
    right: 16px;
    left: 16px;
    bottom: 16px;
    max-width: none;
  }
}
