:root {
  --navy: #081633;
  --navy-alt: #0c2044;
  --blue: #2a66d4;
  --blue-light: #74a5ff;
  --red: #e03636;
  --white: #fefefe;
  --gray: #b7c4df;
  --gold: #f3cf7d;
  --card: rgba(16, 32, 64, 0.78);
  --bg: #06102a;
    font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, rgba(18, 40, 96, 0.4), rgba(6, 16, 40, 1) 55%);
  color: var(--white);
  line-height: 1.65;
}

a {
  color: var(--blue-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  background: linear-gradient(120deg, rgba(10, 27, 66, 0.92), rgba(6, 13, 30, 0.88)),
    url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80') center/cover;
  position: relative;
  padding: 2rem clamp(1.5rem, 4vw, 5rem) 4rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.brand-logo {
  width: 72px;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--white);
  padding: 0.35rem 0.5rem;
}

.nav-links .pill {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  transition: background 0.2s ease;
}

.nav-links .pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.hero-text h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.lead {
  color: #d7dff1;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--red), #ff6b6b);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(198, 40, 40, 0.35);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.trust-value {
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
}

.hero-card {
  background: rgba(28, 50, 104, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-card ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.card-note {
  font-size: 0.9rem;
  color: var(--gray);
}

.flag-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: linear-gradient(90deg, #102b65, #1f3f8c);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--white);
}

.flag-ribbon > div {
  padding: 0.85rem 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.flag-ribbon > div:last-child {
  border-right: none;
}

.section {
  padding: 4.5rem clamp(1.5rem, 4vw, 5rem);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

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

.highlights article {
  background: rgba(21, 42, 90, 0.8);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.75rem;
}

.card h3 {
  font-family: 'Oswald', sans-serif;
  margin-top: 0;
}

.card ul {
  padding-left: 1.2rem;
  color: var(--gray);
}

.process {
  background: #080f1f;
}

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

.timeline div {
  background: rgba(19, 39, 84, 0.82);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline span {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.testimonials {
  background: linear-gradient(140deg, rgba(9, 18, 36, 0.95), rgba(19, 43, 90, 0.85));
}

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

.testimonial-grid article {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.testimonial-grid span {
  display: block;
  margin-top: 0.75rem;
  color: var(--gray);
  font-size: 0.85rem;
}

.capabilities {
  background: #060b18;
}

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

.cap-grid div {
  background: rgba(20, 42, 90, 0.78);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cap-grid ul {
  padding-left: 1.2rem;
  color: var(--gray);
}

.estimate {
  background: linear-gradient(120deg, rgba(12, 30, 72, 0.95), rgba(6, 24, 58, 0.95));
}

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

.estimate-form,
.result-shell {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.input-hint {
  font-size: 0.85rem;
  color: var(--gray);
  margin: -0.2rem 0 1rem;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--blue-light);
  border-color: transparent;
}

.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--gray);
}

.result-shell h3 {
  font-size: 2.4rem;
  margin: 0 0 1rem;
}

 .per-endpoint {
  color: var(--gray);
  margin: 0.4rem 0 1rem;
}

#estimate-breakdown {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--gray);
}

#estimate-breakdown li {
  margin-bottom: 0.4rem;
}

.result-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.result-status.error {
  color: #ff6b6b;
}


.lead.hidden {
  display: none;
}

.btn.alert {
  background: linear-gradient(120deg, #b0122c, #ff4757);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 24px rgba(176, 18, 44, 0.35);
}

.lead {
  background: #050d1f;
}

.lead-form {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
}

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

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.form-status.success {
  color: #7fe29b;
}

.form-status.error {
  color: #ff6b6b;
}


.contact {
  background: radial-gradient(circle at center, rgba(13, 31, 66, 0.9), rgba(5, 9, 16, 0.98));
}

.contact-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem clamp(1.5rem, 4vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

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

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-card {
    padding: 2rem;
  }
}

/* Nova chatbot */
.nova-launcher {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
}

.nova-launcher button {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(120deg, #ff4d4d, #ff8c42);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}


.nova-chat-panel {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: min(360px, calc(100vw - 2rem));
  max-height: 80vh;
  background: rgba(5, 10, 24, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2100;
}

.nova-chat-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.nova-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 16, 36, 0.9);
}

.nova-chat-header strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nova-chat-close {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.2rem;
  cursor: pointer;
}

.nova-chat-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.nova-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.nova-chat-message {
  display: inline-flex;
  flex-direction: column;
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.nova-chat-message.user {
  align-self: flex-end;
  background: linear-gradient(120deg, #2a66d4, #5d8bff);
}

.nova-chat-message.nova {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nova-chat-input {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.nova-chat-input input {
  flex: 1;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 1rem;
}

.nova-chat-input button {
  border-radius: 999px;
  border: none;
  padding: 0.65rem 1.25rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}

.nova-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.nova-chat-quick button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
}

.nova-chat-status {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.4rem;
}

.nova-chat-summary {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray);
}

@media (max-width: 540px) {
  .nova-chat-panel {
    right: 0.5rem;
    left: 0.5rem;
    width: auto;
  }

  .nova-launcher {
    right: 0.5rem;
    bottom: 1rem;
  }
}

.hidden {
  display: none !important;
}

.consent-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 360px;
  width: calc(100% - 2rem);
  background: rgba(0, 6, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  z-index: 9999;
}

.consent-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.consent-content p {
  margin: 0 0 1rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.consent-actions .btn {
  flex: 1 1 140px;
  justify-content: center;
}

.consent-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gray);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .consent-banner {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }
}
