:root {
  --color-background: #040714;
  --color-surface: #070d1f;
  --color-panel: #111a33;
  --color-foreground: #f4f7ff;
  --color-muted: #9fb0e3;
  --color-accent: #5ee4ff;
  --color-accent-soft: #7af6ff;
  --color-border: rgba(255, 255, 255, 0.1);
  --font-heading: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1180px, 90vw);
  --transition-base: 220ms ease;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.2rem;
}

.header-container .site-nav ul {
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.header-container .site-nav li {
  margin: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-soft));
  color: #031021;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  font-weight: 500;
  color: var(--color-muted);
  padding-block: 0.25rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.btn-primary {
  background: var(--color-accent);
  color: #051626;
  box-shadow: 0 20px 30px rgba(94, 228, 255, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 26px 40px rgba(94, 228, 255, 0.4);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-foreground);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-foreground);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  margin-block: 6px;
}

main {
  display: block;
}

.hero {
  position: relative;
  padding-block: clamp(5.5rem, 12vw, 8rem);
  background:
    radial-gradient(circle at top left, rgba(94, 228, 255, 0.2), transparent 60%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
}

.lead {
  font-size: 1.1rem;
  color: rgba(247, 247, 247, 0.78);
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: rgba(22, 22, 22, 0.85);
  box-shadow: var(--shadow-lg);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-heading);
}

.stat-card span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 360px;
  background: url("../img/hero-main.jpg") center/cover no-repeat, var(--color-panel);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 30%, rgba(5, 5, 5, 0.8));
}

.trust-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-muted);
  display: grid;
  gap: 0.35rem;
}

section {
  padding-block: clamp(4rem, 10vw, 6rem);
}

.section-header {
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-header span {
  color: var(--color-muted);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.trust-grid,
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.trust-card {
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.solutions-grid .btn {
  margin-top: 1rem;
}

.surface-card {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
  display: grid;
  gap: 1rem;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.surface-card:hover {
  border-color: rgba(94, 228, 255, 0.45);
  transform: translateY(-4px);
}

.surface-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.surface-card p {
  color: var(--color-muted);
  margin: 0;
}

.icon-pill {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(94, 228, 255, 0.14);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.logo-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  opacity: 0.7;
}

.logo-row img {
  height: 32px;
  filter: grayscale(1);
  opacity: 0.6;
}

.metrics-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.metric {
  display: grid;
  gap: 0.25rem;
}

.metric span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.metric strong {
  font-size: 1.6rem;
  font-family: var(--font-heading);
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.portfolio-card {
  border-radius: 22px;
  border: 1px solid var(--color-border);
  background: var(--color-panel);
  overflow: hidden;
  display: grid;
  gap: 1rem;
  transition: transform var(--transition-base);
}

.portfolio-card:hover {
  transform: translateY(-6px);
}

.portfolio-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.portfolio-card h3 {
  margin: 0 1.5rem;
}

.portfolio-card p {
  margin: 0 1.5rem 1.5rem 1.5rem;
  color: var(--color-muted);
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card {
  border-radius: 25px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 2.5rem 2rem;
  display: grid;
  gap: 1.2rem;
}

.pricing-card.featured {
  border-color: rgba(94, 228, 255, 0.45);
  background: rgba(94, 228, 255, 0.08);
}

.pricing-price {
  font-size: 2.2rem;
  font-family: var(--font-heading);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.84);
}

.faq {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  padding: 0 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding-block: 1.25rem;
}

.cta-banner {
  border-radius: 28px;
  padding: clamp(2rem, 6vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, rgba(94, 228, 255, 0.25), transparent 55%), var(--color-panel);
  text-align: center;
  display: grid;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: #040404;
  margin-top: 4rem;
}

.footer-grid {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem 3rem;
}

.footer-grid h4 {
  margin: 0 0 0.8rem 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--color-muted);
}

.newsletter {
  display: grid;
  gap: 0.75rem;
}

.newsletter input {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-foreground);
}

.newsletter button {
  border: none;
  border-radius: 14px;
  padding: 0.8rem 1.3rem;
  background: var(--color-accent);
  color: #051626;
  font-weight: 600;
  cursor: pointer;
}

.guide-form {
  display: grid;
  gap: 0.75rem;
  max-width: 560px;
  margin-inline: auto;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: inline-flex;
  gap: 1rem;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-weight: 500;
  font-size: 0.9rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-foreground);
  font-family: inherit;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-status {
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: rgba(31, 226, 152, 0.15);
  border: 1px solid rgba(31, 226, 152, 0.35);
  color: #5ff5c9;
}

.form-status.error {
  background: rgba(255, 88, 61, 0.15);
  border: 1px solid rgba(255, 88, 61, 0.35);
  color: #ffb4a4;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card {
  border-radius: 20px;
  border: 1px solid var(--color-border);
  padding: clamp(2rem, 5vw, 3rem);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 1.25rem;
}

.contact-details {
  display: grid;
  gap: 0.75rem;
  color: var(--color-muted);
}

.map-frame {
  border-radius: 20px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  min-height: 260px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.post-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.post-card {
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 1rem;
}

.post-card time {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(540px, 90vw);
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 120;
}

.cookie-banner.is-visible {
  display: grid;
  gap: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-actions button {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-foreground);
  cursor: pointer;
}

.cookie-actions button.primary {
  background: var(--color-accent);
  border-color: transparent;
  color: #031021;
}

.floating-cta {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #051626;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 130;
}

.floating-cta.is-visible {
  display: inline-flex;
}

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(5, 5, 5, 0.95);
    transform: translateY(-100%);
    transition: transform 260ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.45rem 0.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
  }

  .header-inner {
    padding-block: 1rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(94vw, 600px);
  }

  .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .floating-cta.is-visible {
    left: 0.75rem;
    right: 0.75rem;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

