:root {
  --bg-main: #040714;
  --bg-elevated: rgba(15, 18, 40, 0.8);
  --accent: #ff7b53;
  --accent-soft: #ffb347;
  --accent-second: #4f7dff;
  --text-main: #f7f7ff;
  --text-muted: #a5a8c5;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #151a3a 0, #040714 55%, #02030a 100%);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  min-height: 100vh;
}

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

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

/* Layout */

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(24px);
  background: linear-gradient(to bottom, rgba(4, 7, 20, 0.95), rgba(4, 7, 20, 0.65));
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 40px;
  height: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Navigation */

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.main-nav a {
  padding: 0.35rem 0.2rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-second));
  transition: width var(--transition-med);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  margin: 3px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero */

.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-soft);
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-text h1 span {
  background: linear-gradient(120deg, #ffb347, #ff7b53, #ff4d7e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 1.6rem;
}

.subtitle.narrow {
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(120deg, #ffb347, #ff7b53, #ff4d7e);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  color: #0a0612;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.btn.ghost {
  border-color: var(--border-subtle);
  background: rgba(8, 11, 30, 0.8);
}

.btn.ghost:hover {
  background: rgba(18, 22, 50, 0.95);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.badge {
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.02), rgba(74, 128, 255, 0.08));
}

/* Ventura-style gradient blobs */

.gradient-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(35px);
  opacity: 0.9;
  pointer-events: none;
}

.orbit-1 {
  width: 420px;
  height: 420px;
  background: conic-gradient(from 200deg, #ffb347, #ff7b53, #ff4d7e, #ffb347);
  top: -140px;
  right: -80px;
  opacity: 0.5;
}

.orbit-2 {
  width: 360px;
  height: 360px;
  background: conic-gradient(from 120deg, #4f7dff, #3bc9ff, #8b5bff, #4f7dff);
  bottom: -160px;
  left: -80px;
  opacity: 0.4;
}

/* Glass panel */

.hero-panel {
  position: relative;
  z-index: 1;
}

.glass-card {
  background: linear-gradient(135deg, rgba(15, 18, 40, 0.9), rgba(15, 18, 40, 0.7));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.2rem;
  backdrop-filter: blur(24px);
}

.infra-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.infra-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dot-red { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }

.infra-body {
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.9rem 1rem 1rem;
  background: radial-gradient(circle at top, rgba(79, 125, 255, 0.28), transparent 60%);
}

.infra-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.infra-stats .label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.infra-stats .value {
  font-weight: 600;
  font-size: 0.95rem;
}

.infra-chart {
  position: relative;
  height: 90px;
  margin-bottom: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.18), transparent 65%), rgba(8, 12, 32, 0.9);
  overflow: hidden;
}

.chart-line {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(255, 180, 71, 0.1), rgba(79, 125, 255, 0.65), rgba(255, 77, 126, 0.1));
  mix-blend-mode: screen;
  opacity: 0.9;
}

.chart-glow {
  position: absolute;
  inset: auto 10% 10% 10%;
  height: 35px;
  filter: blur(18px);
  background: radial-gradient(circle, rgba(79, 125, 255, 0.8), transparent 70%);
}

.infra-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Sections */

.section {
  padding: 2.5rem 0 2.75rem;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(79, 125, 255, 0.14), rgba(4, 7, 20, 0.9));
}

.section-header {
  max-width: 32rem;
}

.section-header h2 {
  margin: 0 0 0.55rem;
  font-size: 1.5rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(255, 180, 71, 0.12), rgba(8, 11, 30, 0.98));
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

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

/* Two-column layout */

.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: start;
}

/* Pillars */

.pillars {
  display: grid;
  gap: 1rem;
}

.pillar {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 1rem;
  background: linear-gradient(140deg, rgba(11, 26, 62, 0.96), rgba(21, 9, 48, 0.95));
}

.pillar p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

.pillar-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-soft);
}

/* Lists */

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--accent-soft);
}

.bullet-list {
  list-style: disc;
  padding-left: 1.3rem;
  color: var(--text-muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--accent-soft);
  margin-top: 0.4rem;
}

.link-arrow::after {
  content: "→";
  font-size: 0.9rem;
}

/* Page hero */

.page-hero {
  padding: 3rem 0 2rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
}

/* Contact form */

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(15, 18, 40, 0.95), rgba(15, 18, 40, 0.8));
  padding: 1.3rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.form-field label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(9, 12, 30, 0.85);
  color: var(--text-main);
  padding: 0.55rem 0.7rem;
  font: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(79, 125, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(79, 125, 255, 0.5);
  background: rgba(9, 12, 30, 0.95);
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.6rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkbox input {
  margin-top: 0.2rem;
}

.form-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

/* Legal */

.legal-text h2 {
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.legal-text p {
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  margin-top: 1.5rem;
  padding-top: 1.7rem;
  padding-bottom: 1.2rem;
  background: radial-gradient(circle at top, rgba(255, 123, 83, 0.18), rgba(4, 7, 20, 0.96));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1.8rem;
  font-size: 0.85rem;
}

.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.footer-grid p {
  margin: 0.2rem 0;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1.1rem;
  padding-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Utilities */

.small {
  font-size: 0.82rem;
}

.small-muted {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .features-grid,
  .layout-two,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 2.2rem;
  }

  .hero-panel {
    order: -1;
  }

  .page-hero {
    padding-top: 2.4rem;
  }

  .footer-grid {
    gap: 1.3rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-block: 0.6rem;
  }

  .main-nav {
    position: absolute;
    inset: 56px 0 auto;
    width: 100%;
    padding: 0.7rem 1.5rem 0.9rem;
    background: rgba(4, 7, 20, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    transform-origin: top;
    transform: scaleY(0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .main-nav.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 2.3rem;
  }

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

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.9rem;
  }

  .container {
    width: min(100% - 2rem, 560px);
  }
}
