:root {
  --brand-navy: #050a1f;
  --brand-cyan: #00e0ff;
  --brand-cold: #0c142e;
  --text-light: #f0f4ff;
  --text-dark: #0a0d18;
  --muted: #8c9bae;
  --radius: 1rem;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #050a1f 0%, #0c142e 60%, #050a1f 100%);
  color: var(--text-light);
  font-family: inherit;
}

.site-shell {
  min-height: 100vh;
  background: radial-gradient(circle at 10% 20%, rgba(0, 224, 255, 0.2), transparent 45%),
    radial-gradient(circle at 90% 40%, rgba(0, 224, 255, 0.12), transparent 35%), var(--brand-navy);
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.site-header {
  padding: 0.5rem 0;
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 120px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0 1rem;
}

.primary-nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.primary-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.primary-nav a:hover {
  color: var(--brand-cyan);
}

.primary-nav a.active {
  color: var(--brand-cyan);
  font-weight: 600;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  align-items: center;
}

.page {
  padding: 1rem 0 4rem;
}

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

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero-copy .subhead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  line-height: 1.6;
}

.cta-group {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
  flex-shrink: 0;
  flex-grow: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 30%, rgba(0, 224, 255, 0.35), transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.hero-logo-wrapper {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  gap: 1rem !important;
}

.hero-logo {
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 30px rgba(0, 224, 255, 0.6));
  animation: heroPulse 6s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  flex-shrink: 0;
}

@keyframes heroPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.02);
  }
}

.section {
  margin-top: 3rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card h3 {
  margin-top: 0.25rem;
}

.steps {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  padding: 2rem;
}

.step-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-value {
  font-size: 2rem;
  font-weight: 600;
}

.cta-panel {
  margin-top: 3rem;
  background: linear-gradient(120deg, rgba(0, 224, 255, 0.1), rgba(59, 141, 255, 0.12));
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.btn-primary:hover {
  color: var(--brand-cyan);
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 6px 12px rgba(0, 224, 255, 0.35));
}

.locale-switcher label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: block;
}

.locale-switcher select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.locale-switcher option {
  padding-left: 1.5rem;
  font-family: inherit;
}

.locale-switcher .flag {
  margin-right: 0.5rem;
  font-size: 1.2em;
}

.locale-switcher .language-name {
  font-size: 0.9em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(120deg, #00e0ff, #3b8dff);
  color: #050a1f;
}

.site-footer {
  padding: 3rem 0 2rem;
  background: #050a1f;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-parent-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.footer-parent-text {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.nav-toggle {
  background: transparent;
  border: none;
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-light);
}

.nav-backdrop {
  display: none;
}

@media (max-width: 900px) {
  .header-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .primary-nav {
    position: absolute;
    inset: 5rem 1.5rem auto;
    flex-direction: column;
    background: rgba(5, 10, 31, 0.95);
    padding: 1rem;
    border-radius: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    width: calc(100% - 3rem);
    backdrop-filter: blur(16px);
    z-index: 3;
  }
  .nav-open .primary-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-backdrop.nav-visible {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
  }
  .header-actions {
    display: none;
  }
  .nav-open .header-actions {
    position: absolute;
    inset: auto 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: rgba(5, 10, 31, 0.95);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 4;
  }
}

@keyframes heroPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.02);
  }
}

.calculator-section {
  padding: 3rem 0;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
}

.calculator-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calculator-column h2 {
  margin: 0;
  font-size: 1.75rem;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-field span {
  font-weight: 500;
}

.form-field input,
.form-field select,
.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--text-light);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.15);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.calculator-result {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.result-grid .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.result-grid .value {
  font-size: 1.25rem;
  font-weight: 600;
}

.calculator-result h3 {
  margin-bottom: 0.5rem;
}

.calculator-result .payback {
  font-weight: 600;
}

.calculator-result .three-year,
.calculator-result .margin {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.contact-section {
  padding: 3rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
}

.contact-card,
.contact-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-card h2,
.contact-card h3 {
  margin-top: 0.25rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form textarea {
  grid-column: 1 / -1;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-info a {
  color: var(--brand-cyan);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}