:root {
  --bg: #07101d;
  --bg-soft: #0f1d31;
  --surface: #152844;
  --surface-2: #1a3254;
  --text: #eaf2ff;
  --muted: #9cb0d0;
  --primary: #28d17c;
  --primary-strong: #1fb66b;
  --accent: #3f8cff;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(2, 9, 20, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at 20% 10%, #132744 0%, var(--bg) 45%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.page-pad {
  width: 100%;
  padding-left: clamp(20px, 5vw, 80px);
  padding-right: clamp(20px, 5vw, 80px);
}

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.section-muted-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 430px;
  height: 430px;
  top: -120px;
  left: -80px;
  background: #1a8f59;
}

.orb-2 {
  width: 500px;
  height: 500px;
  right: -140px;
  top: 28vh;
  background: #2266cc;
}

.section-parallax {
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 75% 20%, rgba(63, 140, 255, 0.17), transparent 45%);
  z-index: 0;
}

.shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.shape-hero-a {
  width: 180px;
  right: 8%;
  top: 12%;
}

.shape-hero-b {
  width: 220px;
  left: -40px;
  bottom: 0;
}

.shape-mid {
  width: 210px;
  right: 6%;
  top: 16%;
}

.shape-cta {
  width: 190px;
  left: 6%;
  top: 18%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(7, 16, 29, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #04210f;
  font-size: 13px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

h2 {
  font-size: clamp(1.6rem, 2vw, 2.35rem);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 18px 0 0;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #05311b;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--white);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.btn-light {
  background: var(--white);
  color: #10325a;
}

.block {
  width: 100%;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-height: 430px;
  object-fit: cover;
}

.app-mockup-card {
  position: absolute;
  left: -16px;
  top: -20px;
  width: min(270px, 65%);
  margin: 0;
  padding: 8px;
  border-radius: 14px;
  background: rgba(8, 18, 31, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  z-index: 2;
}

.app-mockup-card img {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app-mockup-card figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.floating-card {
  position: absolute;
  right: -18px;
  bottom: -22px;
  background: rgba(15, 29, 49, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  max-width: 280px;
}

.floating-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.floating-card h3 {
  font-size: 1.24rem;
  margin-bottom: 6px;
}

.floating-card small {
  color: var(--primary);
}

.stats {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
}

.stats strong {
  color: var(--text);
  font-size: 0.95rem;
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.section-head h2,
.section-head .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.function-section {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.function-section.reverse .function-media {
  order: 2;
}

.function-section.reverse .function-copy {
  order: 1;
}

.function-media img {
  border-radius: 18px;
  height: 390px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
  transform: scale(1.08);
}

.function-copy {
  background: linear-gradient(180deg, rgba(21, 40, 68, 0.7), rgba(26, 50, 84, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.function-copy h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-bottom: 10px;
}

.function-copy p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.info-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.highlight-card {
  background: rgba(15, 29, 49, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(63, 140, 255, 0.5);
}

.highlight-card h3 {
  margin-bottom: 8px;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.vat-note {
  margin-top: -8px;
  margin-bottom: 16px;
  color: #ffd58a;
  font-size: 0.92rem;
}

.price-card {
  position: relative;
  background: rgba(18, 35, 58, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(63, 140, 255, 0.2);
}

.price-card.highlight {
  border-color: rgba(40, 209, 124, 0.7);
  box-shadow: 0 20px 50px rgba(40, 209, 124, 0.2);
  transform: translateY(-6px);
}

.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(40, 209, 124, 0.16);
  color: var(--primary);
  margin: 0 0 6px;
  font-size: 0.76rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin: 2px 0;
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card p {
  color: var(--muted);
}

.price-card .btn {
  margin-top: auto;
}

.billing {
  margin-top: -2px;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.billing strong {
  color: var(--text);
}

.cta {
  padding-top: 35px;
}

.cta-box {
  border-radius: 24px;
  background: linear-gradient(135deg, #1e4f87, #1a8f59);
  padding: 44px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: #dbeaf9;
  max-width: 70ch;
  margin: 10px auto 20px;
}

.site-footer {
  padding: 24px 0 40px;
  color: var(--muted);
  text-align: center;
}

.lead-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lead-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.75);
  backdrop-filter: blur(4px);
}

.lead-modal-panel {
  position: relative;
  width: min(560px, 92vw);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(180deg, #10213a, #0e1d33);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-subtitle {
  margin: 8px 0 14px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form label {
  font-size: 0.9rem;
  color: #c4d3ea;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 12px;
  font-family: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(63, 140, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(63, 140, 255, 0.22);
}

.lead-form-status {
  margin: 2px 0;
  min-height: 20px;
  font-size: 0.88rem;
  color: var(--muted);
}

.lead-form-status.success {
  color: #7ff3bb;
}

.lead-form-status.error {
  color: #ffb3b3;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .function-section {
    grid-template-columns: 1fr;
  }

  .function-section.reverse .function-media,
  .function-section.reverse .function-copy {
    order: initial;
  }

  .highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-card {
    right: 12px;
  }

  .app-mockup-card {
    left: 12px;
    top: 12px;
  }

  .shape-hero-b,
  .shape-mid,
  .shape-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .highlights,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .function-media img {
    height: 290px;
  }

  .hero-media img {
    min-height: 310px;
  }

  .floating-card {
    position: static;
    margin-top: 12px;
    max-width: 100%;
  }

  .app-mockup-card {
    position: static;
    width: 100%;
    max-width: 320px;
    margin: 12px auto 0;
  }
}
