:root {
  --brand-blue: #1f4fd1;
  --brand-blue-2: #2f6ff4;
  --brand-navy: #0b1b2b;
  --brand-muted: #5d6e83;
  --brand-surface: #f6f9ff;
  --brand-surface-alt: #eef4ff;
  --brand-card: #ffffff;
  --brand-line: #d7e3f2;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--brand-navy);
  background: radial-gradient(circle at top, #dbe7ff 0%, var(--brand-surface) 45%) no-repeat,
    linear-gradient(180deg, #ffffff, var(--brand-surface-alt));
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(140deg, rgba(31, 79, 209, 0.08), transparent 45%),
    linear-gradient(320deg, rgba(47, 111, 244, 0.12), transparent 50%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

.logo {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 18px;
}

.navlinks a {
  text-decoration: none;
  color: var(--brand-muted);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.navlinks a:hover {
  color: var(--brand-blue);
}

.btn-primary {
  --bs-btn-bg: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-bg: var(--brand-blue-2);
  --bs-btn-hover-border-color: var(--brand-blue-2);
  --bs-btn-color: #ffffff;
  --bs-btn-font-weight: 600;
}

.btn-outline-primary {
  --bs-btn-color: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-bg: var(--brand-blue);
  --bs-btn-hover-border-color: var(--brand-blue);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-font-weight: 600;
}

.hero {
  padding: 48px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 72px;
  align-items: center;
}

.hero-content h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  margin: 16px 0;
  line-height: 1.08;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--brand-blue);
}

.subtitle {
  color: var(--brand-muted);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.hero-metrics h4 {
  font-family: "Sora", sans-serif;
  font-size: 16px;
  margin-bottom: 6px;
}

.hero-metrics p {
  color: var(--brand-muted);
  font-size: 14px;
  margin: 0;
}

.card {
  border-radius: 16px;
  border: 1px solid var(--brand-line);
  background: var(--brand-card);
  padding: 24px;
  box-shadow: 0 18px 40px rgba(15, 32, 61, 0.08);
}

.card h3 {
  font-family: "Sora", sans-serif;
  margin-bottom: 12px;
}

.card p {
  color: var(--brand-muted);
  line-height: 1.6;
}

.panel-card {
  display: grid;
  gap: 12px;
}

.panel-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--brand-muted);
  font-size: 14px;
}

.panel-card.accent {
  background: linear-gradient(140deg, rgba(31, 79, 209, 0.12), #ffffff);
}

.floating-card {
  position: relative;
  will-change: transform;
}

@keyframes float-card {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.floating-card#card-control-plane {
  margin-bottom: 28px;
  animation: float-card 11s ease-in-out infinite;
}

.floating-card#card-security-default {
  margin-top: 28px;
  animation: float-card-alt 9s ease-in-out infinite;
}

.contact-form .loading,
.contact-form .error-message,
.contact-form .sent-message {
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  margin-top: 14px;
  font-weight: 500;
}

.contact-form .loading {
  background: rgba(31, 79, 209, 0.08);
  color: var(--brand-blue);
}

.contact-form .error-message {
  background: #fdecea;
  color: #721c24;
}

.contact-form .sent-message {
  background: #e7f5e6;
  color: #1f6feb;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--brand-surface-alt);
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-family: "Sora", sans-serif;
  font-size: 32px;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--brand-muted);
  font-size: 16px;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 16px 0 0;
  color: var(--brand-muted);
  font-size: 14px;
  display: grid;
  gap: 8px;
}

.feature-list li::before {
  content: "•";
  color: var(--brand-blue);
  margin-right: 8px;
}

.contact-form .form-control {
  border-radius: 12px;
  border: 1px solid var(--brand-line);
  background: #fdfdff;
  padding: 10px 14px;
  font-size: 14px;
}

.contact-form .form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.2rem rgba(31, 79, 209, 0.15);
}

.contact-form .form-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-navy);
}

.form-note {
  color: var(--brand-muted);
  font-size: 12px;
}

.product .tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  margin-bottom: 10px;
  color: var(--brand-blue);
}

.product.muted {
  opacity: 0.85;
}

.footer {
  background: #0f2747;
  color: #f4f7ff;
  padding: 48px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.footer p {
  margin: 0;
  color: rgba(244, 247, 255, 0.78);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-meta {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

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

.footer-links a {
  color: rgba(244, 247, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(15, 32, 61, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 1000;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-text {
  display: grid;
  gap: 4px;
  color: var(--brand-muted);
  font-size: 14px;
}

.cookie-text strong {
  color: var(--brand-navy);
}

.cookie-text a {
  color: var(--brand-blue);
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(31, 79, 209, 0.3);
  color: var(--brand-blue);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-btn:hover {
  background: rgba(31, 79, 209, 0.12);
  border-color: rgba(31, 79, 209, 0.5);
  color: var(--brand-blue);
}

.cookie-reject {
  border-color: rgba(93, 110, 131, 0.4);
  color: var(--brand-muted);
}

.cookie-reject:hover {
  background: rgba(93, 110, 131, 0.12);
  border-color: rgba(93, 110, 131, 0.6);
  color: var(--brand-muted);
}

.policy {
  background: var(--brand-card);
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(15, 32, 61, 0.08);
}

.policy h1 {
  font-family: "Sora", sans-serif;
  margin-bottom: 16px;
}

.policy h2 {
  font-family: "Sora", sans-serif;
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.policy p {
  color: var(--brand-muted);
  line-height: 1.7;
}

.policy ul {
  padding-left: 18px;
  color: var(--brand-muted);
  line-height: 1.7;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    padding: 40px 0 72px;
  }

  .hero-grid {
    margin-top: 48px;
  }

  .navlinks {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
