:root {
  --bg-primary: #050508;
  --bg-secondary: #0d0d14;
  --bg-card: rgba(255, 255, 255, 0.04);
  --text-primary: #ffffff;
  --text-secondary: #a8a8b8;
  --accent-cyan: #00e5ff;
  --accent-blue: #004aad;
  --gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  --border: rgba(0, 229, 255, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
}

main {
  overflow-x: clip;
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(0, 229, 255, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0, 74, 173, 0.1), transparent);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent-cyan);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 6px 28px rgba(0, 229, 255, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Hero */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--border);
  color: var(--accent-cyan);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Section */
.section {
  padding: 5rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin-inline: auto;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: var(--gradient);
  font-size: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.service-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* Features */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature__number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Quote Wizard */
.quote {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border);
}

.wizard {
  max-width: 720px;
  margin-inline: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.wizard__progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.wizard__step-indicator {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.wizard__step-indicator.active,
.wizard__step-indicator.completed {
  background: var(--gradient);
}

.wizard__steps-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.wizard__panel {
  display: none;
}

.wizard__panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard__panel h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.wizard__panel > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8a8b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: #0d0d14;
  color: #ffffff;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-error {
  font-size: 0.8rem;
  color: #ff6b6b;
  margin-top: 0.35rem;
}

/* Service selection cards */
.service-select {
  display: grid;
  gap: 0.75rem;
}

.service-option {
  position: relative;
}

.service-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-option label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.service-option input:checked + label {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.06);
}

.service-option__check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: all 0.2s;
}

.service-option input:checked + label .service-option__check {
  background: var(--gradient);
  border-color: transparent;
}

.service-option input:checked + label .service-option__check::after {
  content: "✓";
  font-size: 0.75rem;
  color: #fff;
}

.service-option__text strong {
  display: block;
  margin-bottom: 0.25rem;
}

.service-option__text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-group__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.form-group__label em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.7;
}

.form-group__hint {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.75;
  margin-bottom: 0.85rem;
}

/* Requirements grid */
.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.req-option {
  position: relative;
}

.req-option--wide {
  grid-column: 1 / -1;
}

.req-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.req-option label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.3;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.req-option label:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(255, 255, 255, 0.02);
}

.req-option input:checked + label {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.15);
}

.req-option__check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.req-option input:checked + label .req-option__check {
  background: var(--gradient);
  border-color: transparent;
}

.req-option input:checked + label .req-option__check::after {
  content: "✓";
  font-size: 0.65rem;
  color: #fff;
  font-weight: 700;
}

.req-option__icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.85;
}

.req-option__text {
  flex: 1;
  color: var(--text-primary);
}

/* Terms checkbox */
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.terms-check:hover {
  border-color: rgba(0, 229, 255, 0.25);
}

.terms-check:has(input:checked) {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.04);
}

.terms-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.terms-check__box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 2px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.terms-check:has(input:checked) .terms-check__box {
  background: var(--gradient);
  border-color: transparent;
}

.terms-check:has(input:checked) .terms-check__box::after {
  content: "✓";
  font-size: 0.7rem;
  color: #fff;
  font-weight: 700;
}

.terms-check__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Summary */
.summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.summary__row:last-child {
  border-bottom: none;
}

.summary__row span:first-child {
  color: var(--text-secondary);
}

.summary__estimate {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 74, 173, 0.12), rgba(0, 229, 255, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.summary__estimate-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.35rem;
}

.summary__validation {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: #fff8e6;
  border: 1px solid rgba(230, 168, 0, 0.45);
}

.summary__validation strong {
  display: block;
  font-size: 0.85rem;
  color: #8a6500;
  margin-bottom: 0.35rem;
}

.summary__validation p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.summary__estimate strong {
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.summary__estimate p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.wizard__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.wizard__success {
  text-align: center;
  padding: 2rem 0;
}

.wizard__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.wizard__success h3 {
  margin-bottom: 0.75rem;
}

.wizard__success > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.wizard__success-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 1rem 0 1.25rem;
}

.pdf-download-card {
  text-align: left;
  padding: 1.5rem;
  margin-bottom: 0.5rem;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.pdf-download-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--gradient);
  color: #fff;
}

.pdf-download-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.pdf-download-card__info strong {
  font-size: 0.95rem;
  word-break: break-all;
}

.pdf-download-card__info span {
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn--block {
  width: 100%;
}

.is-hidden {
  display: none !important;
}

.wizard--loading .wizard__panel,
.wizard--loading .wizard__nav {
  display: none !important;
}

.wizard--success .wizard__nav {
  display: none !important;
}

.summary__breakdown {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.summary__breakdown-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
}

.summary__breakdown .summary__row {
  font-size: 0.82rem;
}

.wizard__loading {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.wizard__loading.active {
  display: block;
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border: 3px solid var(--border);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-card h4 {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.contact-card a,
.contact-card p {
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--accent-cyan);
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer__logo img {
  height: 36px;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 1rem;
  }

  .header__inner {
    position: relative;
    gap: 0.5rem;
    min-width: 0;
  }

  .header__inner > .btn--primary {
    display: none;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 44px);
  }

  .logo img {
    height: 36px;
    max-width: 100%;
  }

  .nav__toggle {
    flex-shrink: 0;
  }

  .hero {
    padding: 7rem 0 4rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .req-grid {
    grid-template-columns: 1fr;
  }

  .req-option--wide {
    grid-column: auto;
  }

  .wizard {
    padding: 1.5rem;
  }

  .wizard__nav {
    flex-direction: column-reverse;
  }

  .wizard__nav .btn {
    width: 100%;
  }
}
