:root {
  color-scheme: dark;
  --color-bg: #070b1a;
  --color-card: #0f1530;
  --color-line: #1e2a55;
  --color-cyan: #00e0ff;
  --color-blue: #2563eb;
  --color-green: #00f5a0;
  --color-text: #e8ecff;
  --color-muted: #9aa3c7;
  --gradient-brand: linear-gradient(90deg, var(--color-green), var(--color-cyan), #6e95ff);
  --gradient-button: linear-gradient(90deg, #72efb8, #62ddf2, #829aff);
  --color-button-text: #020617;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Sora, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.gradient-text {
  color: transparent;
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: 40px;
  background: var(--gradient-button);
  box-shadow: 0 0 30px #00e0ff44;
  color: var(--color-button-text);
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  transition: transform 0.3s, opacity 0.3s;
}

.button:hover {
  transform: translateY(-3px);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

.button--outline {
  border: 1px solid var(--color-cyan);
  background: transparent;
  box-shadow: none;
  color: var(--color-text);
}

.site-header {
  position: fixed;
  z-index: 9;
  top: 0;
  width: 100%;
  border-bottom: 1px solid var(--color-line);
  background: #070b1acc;
  backdrop-filter: blur(12px);
}

.site-nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Sora, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.brand__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-nav__links {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  list-style: none;
}

.site-nav__links a:hover {
  color: var(--color-cyan);
}

.hero {
  display: flex;
  min-height: 100vh;
  align-items: center;
  padding: 120px 0 72px;
  background:
    radial-gradient(circle at 80% 30%, #2563eb33, transparent 45%),
    radial-gradient(circle at 10% 80%, #00f5a022, transparent 40%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero__content h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.1;
}

.hero__description {
  max-width: 620px;
  margin: 22px 0 28px;
  color: var(--color-muted);
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__logo-card {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 60px #00e0ff33;
}

.hero__logo-card img {
  display: block;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--color-line);
  border-radius: 30px;
  color: var(--color-green);
  font-size: 0.85rem;
}

.statistics {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  margin-top: 48px;
}

.statistics__item {
  display: flex;
  flex-direction: column;
}

.statistics__item strong {
  font-family: Sora, sans-serif;
  font-size: 2rem;
  line-height: 1.3;
}

.statistics__item span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.section {
  padding: 100px 0;
  scroll-margin-top: 72px;
}

.section-heading {
  margin-bottom: 56px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: 2.4rem;
}

.section-heading p {
  margin: 0;
  color: var(--color-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: var(--color-card);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-cyan);
  box-shadow: 0 10px 40px #00e0ff22;
}

.service-card__icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 16px;
  background: #00e0ff15;
  color: var(--color-cyan);
}

.service-card__icon .icon {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p,
.service-card ul {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.service-card p {
  margin-bottom: 0;
}

.service-card ul {
  margin-top: 14px;
  padding-left: 18px;
}

.service-card--featured {
  background: linear-gradient(135deg, #00f5a018, #2563eb33);
}

.service-card__action {
  margin-top: 22px;
}

.section--why {
  background: linear-gradient(180deg, transparent, #0c1230);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}

.step-card {
  padding: 28px;
  border-left: 3px solid var(--color-cyan);
  border-radius: 0 16px 16px 0;
  background: var(--color-card);
}

.step-card strong {
  color: var(--color-cyan);
  font-family: Sora, sans-serif;
}

.step-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.about-grid__title {
  margin-bottom: 0;
  font-size: 2.3rem;
}

.about-grid__description {
  margin: 16px 0 0;
  color: var(--color-muted);
}

.section--contact {
  padding-top: 60px;
}

.contact-panel {
  padding: 70px 30px;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  background: linear-gradient(135deg, #00f5a018, #2563eb33);
  text-align: center;
}

.contact-panel h2 {
  margin-bottom: 8px;
  font-size: 2.2rem;
}

.contact-panel__intro {
  margin: 0;
  color: var(--color-muted);
}

.contact-panel__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 18px;
  color: var(--color-muted);
}

.contact-panel__details a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-form {
  display: grid;
  max-width: 720px;
  gap: 18px;
  margin: 30px auto 0;
  text-align: left;
}

.contact-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-bg);
  color: var(--color-text);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #ff8a8a;
  box-shadow: 0 0 0 1px #ff8a8a44;
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-muted);
  opacity: 0.8;
}

.form-field select:invalid {
  color: var(--color-muted);
}

.policy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.policy-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--color-cyan);
}

.contact-form__submit {
  justify-self: center;
  min-width: 180px;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--color-muted);
  text-align: center;
}

.form-status--success {
  color: var(--color-green);
}

.form-status--error {
  color: #ff8a8a;
}

.form-field__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-footer {
  padding: 50px 0 24px;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 24px;
}

.site-footer__tagline {
  margin-top: 12px;
}

.site-footer__heading {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 1rem;
}

.site-footer p .icon {
  margin-right: 7px;
  vertical-align: -0.15em;
}

.site-footer__legal {
  margin-top: 0;
}

.site-footer__legal-card {
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: #0f1736;
}
.site-footer__legal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    min-height: 180px;
}
.site-footer__legal-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.site-footer__legal-list li::before {
  content: "•";
  color: var(--color-cyan);
  line-height: 1.2;
}

.site-footer__legal-list a {
  color: var(--color-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__consent {
  margin-top: 0;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
}

.site-footer__consent-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-cyan);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.cookie-fab {
  position: fixed;
  z-index: 20;
  right: 14px;
  bottom: 14px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #09122bf0;
  box-shadow: 0 6px 20px #00000040;
  color: var(--color-cyan);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
}

.cookie-fab:hover {
  transform: translateY(-1px);
}

.cookie-modal {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 16px;
  background: #020617cc;
}

.cookie-modal[hidden] {
  display: none !important;
}

.cookie-modal__panel {
  width: min(100%, 760px);
  max-height: min(90vh, 780px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: #0a1330;
}

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-modal__header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.cookie-modal__close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-size: 1.1rem;
}

.cookie-modal__intro {
  margin: 12px 0 18px;
  color: var(--color-muted);
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--color-line);
}

.cookie-option h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.cookie-option p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 30px;
  flex: 0 0 auto;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch__slider {
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #1b274f;
  transition: background-color 0.2s;
}

.cookie-switch__slider::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.cookie-switch input:checked + .cookie-switch__slider {
  background: #1f8d71;
}

.cookie-switch input:checked + .cookie-switch__slider::after {
  transform: translateX(22px);
}

.cookie-modal__actions {
  margin-top: 16px;
  text-align: right;
}

body.has-cookie-modal {
  overflow: hidden;
}

@media (max-width: 800px) {
  .site-nav__links {
    display: none;
  }

  .hero__grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero__logo-card {
    max-width: 560px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__legal-card {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .site-nav {
    gap: 12px;
  }

  .brand {
    gap: 6px;
    font-size: 1rem;
  }

  .brand__icon {
    width: 34px;
    height: 34px;
  }

  .site-nav > .button {
    min-height: 42px;
    padding: 8px 15px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 100px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .statistics {
    gap: 20px;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: 1.9rem;
  }

  .contact-panel {
    padding: 42px 18px;
  }

  .contact-form__fields,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .cookie-fab {
    right: 10px;
    bottom: 10px;
    min-height: 34px;
    padding: 6px 12px;
  }

  .cookie-option {
    align-items: flex-start;
  }
}
