/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
  margin-right: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.04);
}

.nav-link--cta {
  color: var(--accent);
  border: 1px solid rgba(0, 229, 160, 0.25);
  background: var(--accent-dim);
}

.nav-link--cta:hover {
  background: rgba(0, 229, 160, 0.18);
  color: var(--accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-link--has-sub {
  user-select: none;
}

.nav-sub {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  z-index: 200;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.nav-dropdown:hover .nav-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-sub a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  display: block;
}

.nav-sub a:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.04);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg-muted);
  border-radius: 2px;
  transition: 0.2s;
}

/* ── Page Hero ── */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.page-hero--sm {
  min-height: 44vh;
  padding: 120px 24px 60px;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.page-hero-content {
  text-align: center;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  margin-top: 16px;
}

.page-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent);
}

.service-icon-lg {
  font-size: 3rem;
  margin-bottom: 8px;
}

/* ── Inner Page Container ── */
.inner-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

/* ── Service Detail ── */
.service-body {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.service-desc {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 720px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.25s;
}

.feature-card:hover {
  border-color: rgba(0, 229, 160, 0.18);
}

.feature-label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--fg);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Results list */
.results-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.5;
}

.result-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 1px;
}

.service-cta-block {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  color: var(--fg-muted);
  font-size: 0.925rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  background: transparent;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
}

.btn-full {
  width: 100%;
  text-align: center;
  margin-top: 28px;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.25s;
}

.pricing-card--featured {
  border-color: rgba(0, 229, 160, 0.3);
  background: linear-gradient(180deg, rgba(0,229,160,0.06) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 60px rgba(0, 229, 160, 0.06);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #0a0a0f;
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}

.pricing-card--featured .price-amount {
  color: var(--accent);
}

.price-per {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.pricing-subtitle {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.pricing-note {
  margin-top: 64px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pricing-note p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.pricing-note a {
  color: var(--accent);
  text-decoration: none;
}

.pricing-note a:hover {
  text-decoration: underline;
}

.pricing-faq {
  margin-top: 72px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.faq-q {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--fg);
}

.faq-a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── Contact Form ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

.flash {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.5;
}

.flash--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.flash--success {
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.25);
  color: var(--accent);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row--half > .form-field {
  flex: 1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field:last-child {
  margin-bottom: 0;
}

.form-row .form-field {
  margin-bottom: 0;
}

label {
  font-size: 0.825rem;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.optional {
  color: var(--fg-muted);
  opacity: 0.6;
  font-weight: 400;
}

input[type="text"],
input[type="email"],
select,
textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238888a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

select option {
  background: var(--bg-card);
  color: var(--fg);
}

input::placeholder,
textarea::placeholder {
  color: var(--fg-muted);
  opacity: 0.5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 229, 160, 0.3);
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.07);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  margin-top: 28px;
  font-family: var(--font);
}

/* Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 4px;
}

.sidebar-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.sidebar-block p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.sidebar-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: step;
}

.sidebar-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--fg-muted);
  counter-increment: step;
}

.sidebar-steps li::before {
  content: counter(step);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,160,0.2);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-email {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.sidebar-email:hover {
  opacity: 0.75;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-sidebar {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .sidebar-block {
    min-width: 160px;
    flex: 1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
  }

  .site-nav.open .nav-links {
    display: flex;
  }

  .nav-dropdown:hover .nav-sub,
  .nav-sub {
    display: flex;
    flex-direction: column;
    position: static;
    box-shadow: none;
    border: none;
    border-left: 1px solid var(--border);
    border-radius: 0;
    padding: 4px 0 4px 16px;
    margin-top: 4px;
    gap: 0;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .service-cta-block {
    flex-direction: column;
  }

  .page-hero {
    padding: 100px 20px 60px;
  }

  .inner-page {
    padding: 60px 20px 80px;
  }
}
