:root {
  --bg: #06091a;
  --bg-soft: #10152d;
  --card: #151c35;
  --text: #e4e8ff;
  --text-muted: #b0bad8;
  --border: #263060;
  --primary: #ff3b4e;
  --secondary: #4d8cff;
  --success: #00d97e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top, rgba(77, 140, 255, 0.12), transparent 34%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(16, 21, 45, 0.35), rgba(16, 21, 45, 0.65));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 9, 26, 0.9);
  border-bottom: 1px solid rgba(38, 48, 96, 0.8);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  display: block;
  height: 30px;
  width: auto;
}

.brand-text {
  line-height: 1;
}

.eyebrow {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 0.9rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  max-width: 17ch;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-note {
  margin: 0.95rem 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.hero-highlights {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-highlights span {
  border: 1px solid var(--border);
  background: rgba(77, 140, 255, 0.08);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem 1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(77, 140, 255, 0.16);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.btn-nav {
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
}

.btn-secondary {
  background: rgba(77, 140, 255, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.services-grid,
.deploy-grid,
.steps-grid {
  display: grid;
  gap: 1rem;
}

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

.deploy-grid {
  grid-template-columns: 1fr;
  margin-top: 1.4rem;
  max-width: 760px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.card,
.step-card,
.trust-box {
  background: linear-gradient(180deg, rgba(21, 28, 53, 0.92), rgba(16, 21, 45, 0.92));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
}

.card p,
.step-card p {
  margin: 0;
  color: var(--text-muted);
}

.card ul {
  margin: 1rem 0 1.2rem;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.card ul li {
  margin-bottom: 0.45rem;
}

.card-featured {
  border-color: rgba(255, 59, 78, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 59, 78, 0.2) inset;
}

.step-label {
  display: inline-block;
  margin-bottom: 0.5rem !important;
  color: var(--secondary) !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.trust-box {
  font-size: 1.04rem;
  color: var(--text-muted);
  border-color: rgba(0, 217, 126, 0.5);
}

.site-footer {
  border-top: 1px solid rgba(38, 48, 96, 0.75);
  padding: 1.25rem 0 2rem;
}

.footer-wrap {
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: var(--text-muted);
  text-decoration: none;
}

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

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section {
    padding: 3.2rem 0;
  }

  .services-grid,
  .deploy-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    min-height: 62px;
  }

  .brand-logo {
    height: 26px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Multi-page trust site additions */
.nav {
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.page-main {
  min-height: calc(100vh - 140px);
}

.page-shell {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.section-mini {
  margin-top: 1.2rem;
}

.rounded-block {
  border-radius: 14px;
  padding: 1.2rem;
}

.section-cta-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.page-grid,
.contact-grid,
.policy-list {
  display: grid;
  gap: 1rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.case-card h3 {
  margin-bottom: 0.55rem;
}

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

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

.footer-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}

.meta-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(960px, 92vw);
  background: rgba(16, 21, 45, 0.96);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cookie-saved {
  margin: 0;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .page-grid,
  .policy-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .page-grid,
  .contact-grid,
  .policy-list,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    padding-top: 0.35rem;
  }

  .btn-nav {
    order: 2;
  }
}
