:root {
  --bg: #0f172a;
  --bg-alt: #111c33;
  --surface: #1e293b;
  --surface-2: #334155;
  --text-main: #f1f5f9;
  --text-soft: #94a3b8;
  --border-soft: rgba(148, 163, 184, 0.22);
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --accent-2: #10b981;
  --accent-2-soft: rgba(16, 185, 129, 0.14);
  --radius-card: 18px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.45);
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(59, 130, 246, 0.22), transparent 48%),
    radial-gradient(circle at 85% 25%, rgba(16, 185, 129, 0.18), transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(148, 163, 184, 0.16), transparent 60%),
    linear-gradient(180deg, #0b1022, #0f172a 55%, #0b1022);
  color: var(--text-main);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px 72px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

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

.logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 14px;
}

.logo-text-sub {
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 52px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid var(--border-soft);
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}

.pill span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.8);
}

.hero-title {
  font-size: clamp(30px, 4.3vw, 44px);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 18px;
}

.hero-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.kpi {
  font-size: 12px;
  color: var(--text-soft);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(30, 41, 59, 0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.btn-primary {
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.24);
}

.btn-secondary {
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid var(--border-soft);
  background: rgba(30, 41, 59, 0.5);
  color: var(--text-soft);
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  color: var(--text-main);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
nav a:focus-visible,
footer a:focus-visible,
.legal a:focus-visible,
.cookie-banner button:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.9);
  outline-offset: 3px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-soft);
}

.hero-card {
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0, rgba(255, 255, 255, 0.12) 0, rgba(59, 130, 246, 0.1) 42%, rgba(16, 185, 129, 0.09) 100%),
    rgba(30, 41, 59, 0.62);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.22);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.hero-tag {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 11px;
  color: var(--text-soft);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
}

.hero-photo {
  width: 100%;
  border-radius: 18px;
  margin: 10px 0 14px;
  object-fit: cover;
  height: 320px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  font-size: 11px;
  color: var(--text-soft);
}

.metric-pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  white-space: nowrap;
}

.section {
  border-radius: var(--radius-card);
  background: rgba(30, 41, 59, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 20px 18px;
  margin-bottom: 22px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.section h2 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
}

ul.clean {
  list-style: none;
  font-size: 13px;
  color: var(--text-soft);
  display: grid;
  gap: 6px;
}

ul.clean li::before {
  content: "•";
  color: var(--accent);
  margin-right: 6px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-size: 13px;
  color: var(--text-soft);
}

.card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 12px 11px;
  background: rgba(15, 23, 42, 0.35);
}

.card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--text-main);
}

.tag-small {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.section-photo {
  width: 100%;
  border-radius: 16px;
  margin: 12px 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  object-fit: cover;
  height: 320px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.section-photo-privacy {
  object-position: right center;
}

.privacy-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #bfdbfe;
  border: 1px solid rgba(59, 130, 246, 0.45);
  margin-bottom: 8px;
}

.privacy-tag span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.cta-final {
  text-align: center;
  padding: 22px 18px 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 15% 0, rgba(59, 130, 246, 0.18) 0, transparent 55%),
    radial-gradient(circle at 85% 120%, rgba(16, 185, 129, 0.16) 0, transparent 55%),
    rgba(30, 41, 59, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-soft);
  margin-top: 10px;
  backdrop-filter: blur(14px);
}

.cta-final p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 14px;
}

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

input[type="email"],
input[type="text"] {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
  font-size: 13px;
  min-width: 220px;
  color: var(--text-main);
  outline: none;
}

input::placeholder {
  color: rgba(148, 163, 184, 0.75);
}

.consent-row {
  width: 100%;
  max-width: 720px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  margin: 10px auto 0;
  color: var(--text-soft);
  font-size: 12px;
  text-align: left;
}

.consent-row input[type="checkbox"] {
  margin-top: 4px;
}

.consent-row a {
  color: #bfdbfe;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 11px;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

footer a {
  color: var(--text-soft);
}

footer a:hover {
  color: var(--text-main);
}

.legal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px 72px;
}

.legal .section {
  max-width: 840px;
  margin: 0 auto 18px;
}

.legal h1 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 6px 0 14px;
}

.legal h2 {
  font-size: 16px;
  margin-top: 18px;
}

.legal a {
  color: #bfdbfe;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 9999;
  display: none;
}

.cookie-banner-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  display: grid;
  gap: 10px;
}

.cookie-banner p {
  color: var(--text-soft);
  font-size: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-actions button {
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(30, 41, 59, 0.45);
  color: var(--text-main);
  font-size: 12px;
  cursor: pointer;
}

.cookie-actions button.primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border: none;
}

.cookie-actions button:hover {
  border-color: rgba(148, 163, 184, 0.38);
}

.cookie-actions button.primary:hover {
  filter: brightness(1.06);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
}

.cookie-modal-card {
  width: min(720px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
  padding: 16px;
}

.cookie-modal-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.cookie-prefs {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.cookie-pref {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 10px;
  background: rgba(30, 41, 59, 0.35);
}

.cookie-pref label {
  display: grid;
  gap: 2px;
}

.cookie-pref small {
  color: var(--text-soft);
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-modal-actions button {
  border-radius: 999px;
  padding: 9px 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(30, 41, 59, 0.45);
  color: var(--text-main);
  cursor: pointer;
}

.cookie-modal-actions button.primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border: none;
}

@media (max-width: 860px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .hero-photo,
  .section-photo {
    height: 220px;
  }

  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}
