/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0d14;
  --bg2: #0f1420;
  --card-bg: #131828;
  --accent: #2563eb;
  --accent2: #3b82f6;
  --accent-glow: rgba(37,99,235,0.25);
  --text: #e2e8f0;
  --text-muted: #8b9ab5;
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ── Promo Bar ── */
.promo-bar {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 101;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
}
.promo-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

/* ── Nav ── */
.nav {
  position: fixed; top: 38px; left: 0; right: 0; z-index: 100;
  background: rgba(10,13,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.5px; }
.logo span { color: var(--accent2); }
.logo-svg { display: flex; align-items: center; gap: 10px; }

.nav-links { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem !important;
  transition: background 0.2s, transform 0.1s !important;
}
.btn-nav:hover { background: var(--accent2) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  background: none; border: none; color: var(--text);
  font-size: 1.4rem; cursor: pointer;
}

.nav-mobile {
  display: none;
  list-style: none;
  flex-direction: column;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--text-muted); font-size: 0.95rem; }
.nav-mobile a:hover { color: var(--text); }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--accent2); transform: translateY(-2px); }
.btn-full { width: 100%; text-align: center; padding: 14px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 118px 24px 60px;
  max-width: 1100px; margin: 0 auto;
  gap: 48px;
}

.hero-content { flex: 1; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--accent2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--accent2); }

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Scan graphic */
.hero-visual {
  flex: 0 0 340px;
  display: flex; align-items: center; justify-content: center;
}

.scan-graphic {
  position: relative;
  width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
}

.scan-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite;
}
.r1 { width: 260px; height: 260px; animation-delay: 0s; }
.r2 { width: 180px; height: 180px; animation-delay: 0.6s; opacity: 0.5; }
.r3 { width: 100px; height: 100px; animation-delay: 1.2s; opacity: 0.7; }

.scan-dot {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--accent), 0 0 60px rgba(37,99,235,0.4);
  animation: glow 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.05); opacity: 0.6; }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(37,99,235,0.3); }
  50% { box-shadow: 0 0 40px var(--accent), 0 0 80px rgba(37,99,235,0.6); }
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
  display: flex; justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  flex: 1 1 160px;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 24px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat-num {
  font-size: 2rem; font-weight: 800;
  color: var(--accent2);
  letter-spacing: -1px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: center;
}

/* ── Sections ── */
.section { padding: 96px 0; }
.section-dark { background: var(--bg2); }

.section-eyebrow {
  display: inline-block;
  color: var(--accent2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ── Why 3D Scan ── */
.why-section { padding-top: 56px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.why-card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}
.why-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.why-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }
.why-card strong { color: var(--accent2); }

.why-cta { text-align: center; margin-top: 40px; }

.why-headline { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.why-highlight {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; gap: 10px; }
  .why-card { padding: 16px 14px; }
  .why-section { padding-top: 36px; }
  .why-headline { font-size: 1.6rem; }
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── Portfolio ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 32px;
  margin-bottom: 20px;
}

.tour-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }

.tour-embed {
  position: relative;
  width: 100%;
  padding-top: 75%;
}
.tour-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius) var(--radius) 0 0;
}

.tour-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.tour-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a2340 0%, #0f1a30 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.tp2 { background: linear-gradient(135deg, #1a2535 0%, #0f1a28 100%); }
.tp3 { background: linear-gradient(135deg, #1e2040 0%, #121530 100%); }

.tour-icon { font-size: 2.5rem; margin-bottom: 4px; }
.tour-meta { font-size: 0.78rem; color: #5a6a85; }

.tour-overlay {
  position: absolute; inset: 0;
  background: rgba(37,99,235,0.85);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
  opacity: 0; transition: opacity 0.25s;
}
.tour-thumb:hover .tour-overlay { opacity: 1; }

.tour-info { padding: 16px 20px 20px; }
.tour-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.tour-info p { font-size: 0.85rem; color: var(--text-muted); }

.portfolio-note {
  font-size: 0.78rem;
  color: #4a5a75;
  text-align: center;
  margin-top: 12px;
  font-style: italic;
}

/* ── How It Works ── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 220px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 12px;
  line-height: 1;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.step-arrow {
  flex: 0 0 auto;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.4;
  align-self: center;
  padding-top: 0;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }

.pricing-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 40px rgba(37,99,235,0.2);
}

.pricing-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent2);
}
.pricing-featured .pricing-badge { color: #facc15; }

.pricing-price {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }

.pricing-size { font-size: 1rem; font-weight: 700; color: var(--text); }

.pricing-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.pricing-features li { font-size: 0.88rem; }
.pricing-features .muted { color: var(--text-muted); opacity: 0.5; }

.pricing-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.pricing-note a { color: var(--accent2); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.pricing-note a:hover { border-color: var(--accent2); }

/* ── Contact ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex; flex-direction: column; gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #3d4f6a; }
.form-group select option { background: var(--bg2); }
.form-group textarea { resize: vertical; }

.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; }

.contact-info { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.88rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }

/* Form success state */
.form-success {
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  display: none;
}
.form-success.show { display: block; }
.form-success h3 { font-size: 1.2rem; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Footer ── */
.footer {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }

  .hero {
    flex-direction: column;
    padding-top: 140px;
    text-align: center;
  }
  .hero-ctas { justify-content: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-visual { order: -1; }
  .scan-graphic { width: 180px; height: 180px; }
  .r1 { width: 180px; height: 180px; }
  .r2 { width: 120px; height: 120px; }
  .r3 { width: 70px; height: 70px; }

  .stats-bar { gap: 0; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }

  .step-arrow { display: none; }
  .steps { flex-direction: column; }

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

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
