:root {
  --bg0: #07090d;
  --bg1: #0a0d13;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted2: rgba(255, 255, 255, 0.55);
  --accent: #cbb08a;
  --accent-soft: rgba(203, 176, 138, 0.16);
  --accent-mid: rgba(203, 176, 138, 0.35);
  --card: rgba(17, 18, 20, 0.62);
  --card2: rgba(17, 18, 20, 0.72);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke2: rgba(255, 255, 255, 0.18);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  --green: #2ac971;
  --green-soft: rgba(42, 201, 113, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.is-modal-open,
html.is-modal-open body {
  overflow: hidden;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* ============================================
   PAGE LAYOUT (LANDING)
   ============================================ */
.page {
  min-height: 100%;
  background:
    radial-gradient(1200px 700px at 50% 0%, rgba(35, 96, 255, 0.28), transparent 60%),
    radial-gradient(900px 600px at 15% 20%, rgba(53, 165, 255, 0.18), transparent 55%),
    radial-gradient(900px 600px at 85% 30%, rgba(120, 87, 255, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.78)),
    url("./assets/hero-bg.svg");
  background-size: cover;
  background-position: center;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeIn 600ms ease;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: color 200ms ease;
}

.nav-link:hover {
  color: var(--text);
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 26px;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.brand-word {
  font-weight: 800;
}

.brand-boost {
  font-weight: 800;
  opacity: 0.95;
}

.brand-plus {
  display: inline-block;
  margin-left: 2px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.9;
}

.login-btn {
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  background: rgba(10, 10, 12, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 200ms ease;
}

.login-btn:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(10, 10, 12, 0.34);
}

/* ============================================
   BUTTONS (GLOBAL)
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: rgba(18, 16, 12, 0.92);
  font-weight: 800;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 48px rgba(203, 176, 138, 0.22), 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 200ms ease;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 20px 56px rgba(203, 176, 138, 0.28), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 200ms ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-xl {
  padding: 18px 40px;
  font-size: 17px;
  border-radius: var(--radius-lg);
}

.btn-arrow {
  font-size: 18px;
  transition: transform 200ms ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 200ms ease;
}

.btn-ghost-sm:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 0;
  display: grid;
  gap: 32px;
}

.hero-inner {
  text-align: center;
  padding-top: 32px;
  animation: fadeInUp 700ms ease;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 13px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sparkle {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-mid);
}

.hero-title {
  margin: 26px auto 0;
  max-width: 820px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.8px;
  font-weight: 900;
}

.accent {
  color: var(--accent);
  font-weight: 900;
}

.hero-subtitle {
  margin: 20px auto 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-cta-row {
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stat {
  margin: 24px auto 0;
  max-width: 480px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(25, 25, 28, 0.45);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-mid);
  flex: 0 0 auto;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-text {
  text-align: left;
}

.stat-strong {
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.stat-num {
  color: var(--accent);
  font-weight: 800;
}

.stat-muted {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted2);
}

/* ============================================
   NEEDS / SERVICE CARDS
   ============================================ */
.needs {
  margin: 0 auto;
  width: min(980px, 100%);
  padding: 32px 28px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(17, 18, 20, 0.74), rgba(12, 12, 14, 0.64));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeInUp 800ms ease 200ms both;
}

.needs-title {
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.needs-subtitle {
  margin: 8px 0 0;
  text-align: center;
  color: var(--muted2);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transform: translateY(0);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: contrast(1.05) saturate(1.05);
  transition: transform 300ms ease;
}

.card:hover::before {
  transform: scale(1.03);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.82) 86%),
    radial-gradient(700px 220px at 50% 65%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
}

.card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px 18px;
}

.card-title {
  margin: 0;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.3px;
}

.card-desc {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.4;
}

.card-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: rgba(22, 20, 16, 0.92);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: filter 200ms ease;
}

.card:hover .card-cta {
  filter: brightness(1.06);
}

.chev {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.3);
  color: rgba(22, 20, 16, 0.9);
  font-size: 18px;
  line-height: 0;
}

.card-design::before {
  background-image: url("./assets/card-design.svg");
}

.card-build::before {
  background-image: url("./assets/card-build.svg");
}

.card-remodel::before {
  background-image: url("./assets/card-remodel.svg");
}

.needs-divider {
  margin: 24px 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.social-proof {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.avatars {
  display: inline-flex;
  align-items: center;
}

.av {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid rgba(12, 12, 14, 0.86);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}

.av1 { margin-left: 0; background-image: radial-gradient(circle at 30% 30%, #ffcf7f, #7b4bff); }
.av2 { background-image: radial-gradient(circle at 30% 30%, #88ffcc, #0a5aff); }
.av3 { background-image: radial-gradient(circle at 30% 30%, #ffd1d1, #ff6c47); }
.av4 { background-image: radial-gradient(circle at 30% 30%, #b7c5ff, #3a64ff); }
.av5 { background-image: radial-gradient(circle at 30% 30%, #ffd8a8, #0bd1ff); }

.avMore {
  width: 42px;
  height: 42px;
  margin-left: -10px;
  border-color: var(--accent-mid);
  background: var(--accent);
  color: rgba(20, 18, 14, 0.92);
  display: grid;
  place-items: center;
}

.avMore svg {
  width: 22px;
  height: 22px;
}

.social-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.35;
}

.social-text strong {
  color: var(--accent);
  font-weight: 800;
}

.trust-title {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted2);
  font-weight: 600;
  font-size: 13px;
}

.trust-logos {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.logo {
  height: 72px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo img {
  width: min(210px, 80%);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.logo-ghost {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  background-size: 200% 100%;
  animation: shimmer 2.2s ease-in-out infinite;
  opacity: 0.5;
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */
.section-badge {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.section-title {
  margin: 18px 0 0;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.section-subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
  padding: 80px 20px;
  background:
    radial-gradient(800px 500px at 50% 50%, rgba(35, 96, 255, 0.08), transparent),
    rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.how-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.how-inner .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.how-steps {
  margin-top: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.how-card {
  flex: 1;
  max-width: 300px;
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(17, 18, 20, 0.74), rgba(12, 12, 14, 0.52));
  border: 1px solid var(--stroke);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.how-number {
  font-weight: 900;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 1px;
}

.how-icon {
  margin: 14px auto 0;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
  color: var(--accent);
}

.how-icon svg {
  width: 28px;
  height: 28px;
}

.how-card-title {
  margin: 16px 0 0;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.how-card-desc {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.how-connector {
  display: flex;
  align-items: center;
  padding-top: 70px;
  color: rgba(255, 255, 255, 0.2);
  flex: 0 0 40px;
}

.how-connector svg {
  width: 40px;
  height: 24px;
}

.how-cta {
  margin-top: 40px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 80px 20px;
}

.testimonials-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-inner .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.testimonial-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.testimonial-card {
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(17, 18, 20, 0.74), rgba(12, 12, 14, 0.52));
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: left;
  transition: transform 200ms ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-featured {
  border-color: var(--accent-mid);
  background: linear-gradient(180deg, rgba(203, 176, 138, 0.08), rgba(12, 12, 14, 0.52));
}

.testimonial-stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 2px;
}

.testimonial-text {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

.testimonial-author {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.ta1 { background: radial-gradient(circle at 30% 30%, #ffcf7f, #7b4bff); }
.ta2 { background: radial-gradient(circle at 30% 30%, #ffd1d1, #ff6c47); }
.ta3 { background: radial-gradient(circle at 30% 30%, #88ffcc, #0a5aff); }

.testimonial-name {
  font-weight: 800;
  font-size: 14px;
}

.testimonial-role {
  margin-top: 2px;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 600;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta-section {
  padding: 80px 20px 100px;
  text-align: center;
  position: relative;
}

.final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(203, 176, 138, 0.12), transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.final-cta-title {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.5px;
}

.final-cta-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.final-cta-section .btn-xl {
  margin-top: 28px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  margin-top: 0;
  background: rgba(0, 0, 0, 0.84);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 20px 18px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.footer-brand {
  font-weight: 800;
  font-size: 24px;
}

.footer-desc {
  margin: 10px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.stores {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 10, 12, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  min-width: 170px;
  transition: all 200ms ease;
}

.store-btn:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(10, 10, 12, 0.28);
}

.store-ic {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.store-ic svg {
  width: 24px;
  height: 24px;
}

.store-txt {
  display: grid;
  line-height: 1.1;
}

.store-over {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.store-name {
  font-size: 14px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 10px;
  text-align: right;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 13px;
  transition: color 200ms ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.82);
}

.footer-sep {
  max-width: 1120px;
  margin: 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  text-align: center;
  padding: 16px 20px 18px;
  color: var(--muted2);
  font-size: 13px;
}

.embedded-wizard {
  animation: fadeInUp 500ms ease;
}
/* ============================================
   MODAL (builder)
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(1020px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  outline: none;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 10, 12, 0.22);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 26px;
  line-height: 0;
  transition: all 200ms ease;
}

.modal-close:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(10, 10, 12, 0.28);
}

/* ============================================
   COTIZA PAGE (FULL PAGE WIZARD)
   ============================================ */
.page-cotiza {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 500px at 30% 20%, rgba(35, 96, 255, 0.12), transparent),
    radial-gradient(700px 400px at 70% 60%, rgba(120, 87, 255, 0.08), transparent),
    var(--bg0);
}

.topbar-cotiza {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
}

.cotiza-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cotiza-progress-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cotiza-progress-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.cotiza-progress-bar {
  width: 120px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cotiza-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 300ms ease;
}

.cotiza-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 24px;
}

.cotiza-container {
  width: min(1060px, 100%);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.cotiza-sidebar {
  position: sticky;
  top: 32px;
}

/* Vertical stepper */
.stepper-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stepper-vertical .step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: background 200ms ease;
}

.stepper-vertical .step.is-current {
  background: rgba(203, 176, 138, 0.08);
}

.stepper-vertical .step-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.5);
  flex: 0 0 auto;
  transition: all 200ms ease;
}

.stepper-vertical .step.is-done .step-dot {
  background: var(--green-soft);
  border-color: rgba(42, 201, 113, 0.35);
  color: var(--green);
}

.stepper-vertical .step.is-current .step-dot {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(18, 16, 12, 0.92);
}

.stepper-vertical .step-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  transition: color 200ms ease;
}

.stepper-vertical .step.is-done .step-label {
  color: rgba(42, 201, 113, 0.8);
}

.stepper-vertical .step.is-current .step-label {
  color: var(--accent);
}

.stepper-vertical .step-line {
  display: none;
}

.cotiza-content {
  min-height: 0;
}

.cotiza-card {
  padding: 36px 32px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(17, 18, 20, 0.82), rgba(12, 12, 14, 0.64));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeInUp 500ms ease;
}

.cotiza-title {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.cotiza-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.cotiza-body {
  margin-top: 24px;
}

.cotiza-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.cotiza-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 24px;
}

.cotiza-footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cotiza-footer-brand {
  font-weight: 800;
  color: var(--muted2);
  font-size: 14px;
}

.cotiza-footer-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 600;
}

/* ============================================
   WIZARD SHARED (modal builder + cotiza)
   ============================================ */
.wizard-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(17, 18, 20, 0.74), rgba(12, 12, 14, 0.64));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.wizard-head {
  padding: 18px 18px 0;
}

/* Landing wizard: center the stepper */
.landing-page .wizard-head {
  display: flex;
  justify-content: center;
}

.landing-page .stepper {
  width: min(820px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(var(--steps, 5), 1fr);
}

.landing-page .step {
  text-align: center;
}

/* Horizontal stepper (builder modal) */
.stepper {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  align-items: start;
}

.step {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
}

.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.ic-check {
  width: 20px;
  height: 20px;
}

.step.is-done .step-dot {
  background: var(--green-soft);
  border-color: rgba(42, 201, 113, 0.4);
  color: rgba(255, 255, 255, 0.92);
}

.step.is-current .step-dot {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(18, 16, 12, 0.92);
}

.step-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
}

.step.is-done .step-label {
  color: rgba(42, 201, 113, 0.75);
}

.step.is-current .step-label {
  color: rgba(203, 176, 138, 0.9);
}

.step-line {
  position: absolute;
  top: 17px;
  right: -50%;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.step.is-done .step-line {
  background: rgba(42, 201, 113, 0.6);
}

.wizard-core {
  padding: 10px 22px 0;
}

.wizard-title {
  margin: 18px 0 0;
  text-align: center;
  font-size: 34px;
  letter-spacing: -0.3px;
  font-weight: 900;
}

.wizard-subtitle {
  margin: 8px 0 0;
  text-align: center;
  color: var(--muted2);
  font-size: 14px;
}

.wizard-content {
  padding: 18px 0 0;
}

.wizard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px 0 18px;
}

.wiz-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 14px 14px;
  font-weight: 800;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 200ms ease;
}

.wiz-btn:hover {
  border-color: rgba(255, 255, 255, 0.26);
}

.wiz-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.wiz-btn-primary {
  background: var(--accent);
  color: rgba(18, 16, 12, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(203, 176, 138, 0.18);
}

.wiz-btn-primary:hover:not(:disabled) {
  filter: brightness(1.06);
}

.wiz-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
}

.wiz-btn svg {
  flex: 0 0 auto;
}

/* ============================================
   WIZARD FORM ELEMENTS
   ============================================ */
.pick-grid {
  display: grid;
  gap: 16px;
}

.pick-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pick-card {
  position: relative;
  height: 168px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.78)),
    var(--card-bg);
  background-size: cover;
  background-position: center;
  text-align: left;
  padding: 16px;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.pick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
}

.pick-card.is-selected {
  border-color: rgba(203, 176, 138, 0.7);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(203, 176, 138, 0.22) inset;
}

.pick-card-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 50% 70%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75));
}

.pick-card-text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.pick-card-title {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.pick-card-sub {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
}

.wiz-block {
  margin-top: 16px;
}

.wiz-block-title {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.wiz-block-help {
  margin-top: 6px;
  color: var(--muted2);
  font-size: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 200ms ease;
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.chip.is-selected {
  background: var(--accent);
  color: rgba(18, 16, 12, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.tile {
  position: relative;
  height: 110px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.72)),
    var(--tile-bg);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  text-align: left;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: transform 200ms ease, border-color 200ms ease;
}

.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.tile.is-selected {
  border-color: rgba(203, 176, 138, 0.7);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.45),
    0 0 0 3px rgba(203, 176, 138, 0.22) inset;
}

.tile-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 160px at 50% 65%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.75));
}

.tile-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.2px;
}

.wiz-form {
  margin-top: 8px;
}

.wiz-label {
  display: block;
  margin: 10px 0 8px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.wiz-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
  transition: border-color 200ms ease;
}

.wiz-input-wrap:focus-within {
  border-color: var(--accent-mid);
}

.wiz-input-ic {
  width: 22px;
  height: 22px;
  color: var(--muted);
  flex: 0 0 auto;
}

.wiz-input-ic svg {
  width: 22px;
  height: 22px;
}

.wiz-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 14px;
}

.wiz-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.wiz-suggest {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wiz-note {
  margin-top: 12px;
  color: var(--muted2);
  font-size: 12px;
}

.range-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.range-label {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.range-value {
  font-weight: 900;
  color: var(--accent);
  font-size: 18px;
}

.wiz-range {
  width: 100%;
  margin-top: 12px;
}

.range-scale {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 700;
}

.summary {
  margin-top: 6px;
}

.summary-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
}

.summary-title {
  font-weight: 900;
  margin-bottom: 10px;
}

.summary-pre {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.5;
  overflow: auto;
  max-height: 260px;
}

.summary-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.summary-note {
  margin-top: 12px;
  color: var(--muted2);
  font-size: 12px;
}

/* AI analyzing + Result screens */
.ai {
  margin-top: 12px;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.ai-spinner {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 6px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

.ai-progress {
  width: min(640px, 100%);
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
}

.ai-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.ai-progress-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.ai-progress-pct {
  color: var(--accent);
  font-weight: 900;
  font-size: 14px;
}

.ai-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.ai-bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(203, 176, 138, 0.3);
  transition: width 160ms ease;
}

.ai-steps {
  width: min(640px, 100%);
  display: grid;
  gap: 10px;
}

.ai-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 200ms ease;
}

.ai-step.is-done {
  border-color: rgba(42, 201, 113, 0.28);
}

.ai-step.is-active {
  border-color: var(--accent-mid);
}

.ai-ic {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.ai-ic-todo {
  background: rgba(255, 255, 255, 0.10);
}

.ai-ic-done {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
  font-size: 11px;
}

.ai-ic-spin {
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent);
  background: rgba(0, 0, 0, 0.12);
  animation: spin 1s linear infinite;
}

.ai-step-txt {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  font-size: 14px;
}

.result {
  margin-top: 6px;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.result-check {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  border: 1px solid rgba(42, 201, 113, 0.35);
  color: var(--green);
  font-weight: 900;
  font-size: 22px;
}

.result-card {
  width: min(720px, 100%);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  padding: 18px;
}

.result-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.result-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffd8a8, #2d7cff);
  border: 2px solid rgba(255, 255, 255, 0.14);
  flex: 0 0 auto;
}

.result-name {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.2px;
}

.blur-gauss {
  display: inline-block;
  filter: blur(9px);
  -webkit-filter: blur(9px);
  user-select: none;
}

.blur-gauss-strong {
  filter: blur(14px);
  -webkit-filter: blur(14px);
}

.locked {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 260px at 50% 0%, rgba(22, 193, 114, 0.14), transparent 60%);
  pointer-events: none;
}

.locked-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 0;
}

.locked-title {
  font-weight: 900;
  letter-spacing: -0.2px;
}

.locked-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  font-size: 12px;
}

.locked-body {
  position: relative;
  z-index: 1;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.locked-note {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
}

.lock-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lock-btn {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  padding: 12px 14px;
  font-weight: 900;
  cursor: not-allowed;
  opacity: 0.55;
}

.lock-btn.is-primary {
  background: var(--accent);
  color: rgba(18, 16, 12, 0.92);
  opacity: 0.55;
}

.mockup {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.mockup-inner {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.mockup-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  padding: 12px;
}

.mockup-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 10px;
  align-items: center;
}

.mockup-h {
  font-weight: 900;
}

.mockup-sub {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
  font-size: 12px;
}

.mockup-btn {
  justify-self: end;
  border-radius: 999px;
  border: 1px solid var(--accent-mid);
  background: var(--accent-soft);
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 12px;
  font-weight: 900;
  font-size: 12px;
}

.blueprint {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.blueprint-pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.dash-unlocked {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dash-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  padding: 16px;
}

.dash-card-title {
  font-weight: 900;
  letter-spacing: -0.2px;
}

.dash-card-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.dash-pdf-btn {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--accent);
  color: rgba(18, 16, 12, 0.92);
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
}

.dash-pdf-btn:hover {
  filter: brightness(1.06);
}

.dash-chat-btn {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.86);
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
}

.dash-chat-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================
   ADMIN (DEMO)
   ============================================ */
.admin-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 32px;
}

.admin-inner {
  margin-top: 18px;
}

.admin-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.admin-title {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.6px;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  font-size: 13px;
}

.admin-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.admin-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.26);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  padding: 18px 18px 16px;
  overflow: hidden;
}

.admin-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, rgba(22, 193, 114, 1), rgba(190, 255, 0, 0.9));
}

.admin-card-wide {
  grid-column: span 2;
}

.admin-card-title {
  margin: 0;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.admin-card-desc {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.55;
}

.admin-kpis {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.admin-kpis-wide {
  grid-template-columns: repeat(4, 1fr);
}

.kpi {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 12px 10px;
}

.kpi-num {
  font-weight: 900;
  letter-spacing: -0.2px;
}

.kpi-lbl {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 800;
  font-size: 12px;
}

.result-rating {
  margin-top: 4px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.stars {
  color: var(--accent);
  letter-spacing: 1px;
}

.rating-num {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.rating-meta {
  opacity: 0.85;
}

.result-meta {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.meta-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.result-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  font-size: 12px;
}

.result-banner {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
}

.register {
  width: min(720px, 100%);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  padding: 24px;
}

.register-title {
  text-align: center;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.3px;
}

.register-sub {
  margin-top: 8px;
  text-align: center;
  color: var(--muted2);
  font-size: 14px;
  line-height: 1.5;
}

.register-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.reg-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
  outline: none;
  transition: border-color 200ms ease;
}

.reg-input:focus {
  border-color: var(--accent-mid);
}

.reg-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.reg-btn {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--accent);
  color: rgba(18, 16, 12, 0.92);
  padding: 16px 14px;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(203, 176, 138, 0.18);
  transition: all 200ms ease;
}

.reg-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* ============================================
   DASHBOARD
   ============================================ */
.dash-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 28px;
}

.dash-shell {
  position: relative;
  width: min(1120px, 100%);
  margin: 18px auto 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(17, 18, 20, 0.74), rgba(12, 12, 14, 0.64));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.dash {
  padding: 18px 18px 20px;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dash-brand {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.dash-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dash-icbtn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 200ms ease;
  display: grid;
  place-items: center;
}

.dash-icbtn:hover {
  border-color: var(--stroke2);
  background: rgba(255, 255, 255, 0.08);
}

.dash-icbtn svg {
  width: 22px;
  height: 22px;
}

.dash-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  max-width: 220px;
}

.dash-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-user-chev {
  opacity: 0.7;
}

.dash-hero {
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 12px;
  width: fit-content;
}

.pill-gold {
  background: var(--accent);
  color: rgba(18, 16, 12, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}

.pill-soft {
  background: var(--green-soft);
  border-color: rgba(42, 201, 113, 0.28);
  color: rgba(255, 255, 255, 0.84);
}

.dash-hero-title {
  margin-top: 12px;
  font-weight: 950;
  font-size: 34px;
  letter-spacing: -0.4px;
  line-height: 1.02;
}

.dash-hero-sub {
  margin-top: 10px;
  color: var(--muted2);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.55;
  max-width: 520px;
}

.dash-stores {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid var(--stroke2);
  background: rgba(10, 10, 12, 0.18);
  padding: 10px 12px;
  min-width: 170px;
}

.store-mini-ic {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
}

.store-mini-txt {
  display: grid;
  line-height: 1.1;
}

.store-mini-over {
  color: var(--muted2);
  font-weight: 700;
  font-size: 10px;
}

.store-mini-name {
  font-weight: 900;
  font-size: 14px;
}

.dash-bullets {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted2);
  font-weight: 700;
  font-size: 12px;
}

.phone {
  width: min(340px, 100%);
  margin-left: auto;
  border-radius: 26px;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(420px 260px at 50% 0%, rgba(45, 124, 255, 0.16), transparent 60%),
    rgba(10, 10, 12, 0.35);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  padding: 14px;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.phone-title {
  font-weight: 900;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.phone-pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  font-size: 11px;
}

.phone-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
}

.phone-av {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #ffd8a8, #2d7cff);
}

.phone-card-name {
  font-weight: 900;
  font-size: 12px;
}

.phone-card-meta {
  margin-top: 4px;
  color: var(--muted2);
  font-weight: 700;
  font-size: 11px;
}

.phone-btn {
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--accent);
  color: rgba(18, 16, 12, 0.92);
  font-weight: 900;
  font-size: 11px;
}

.phone-section {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 900;
  font-size: 11px;
}

.phone-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.phone-item {
  height: 68px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  background-size: 200% 100%;
  animation: shimmer 2.2s ease-in-out infinite;
  opacity: 0.7;
}

.dash-projects {
  margin-top: 14px;
}

.dash-projects-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.proj {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
  padding: 18px;
}

.proj-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.proj-title {
  font-weight: 900;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
}

.proj-price {
  color: var(--accent);
  font-weight: 950;
  font-size: 18px;
}

.proj-tags {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.proj-desc {
  margin-top: 10px;
  color: var(--muted2);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
}

.proj-foot {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: 12px;
}

.msg-popover {
  position: absolute;
  top: 74px;
  right: 18px;
  width: min(360px, calc(100% - 36px));
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: rgba(15, 15, 18, 0.95);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  z-index: 2;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.msg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.msg-title {
  font-weight: 900;
}

.msg-close {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 18px;
  line-height: 0;
  transition: all 200ms ease;
}

.msg-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.msg-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  padding: 12px 14px;
  align-items: center;
  cursor: pointer;
}

.msg-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.msg-av {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  font-weight: 900;
  font-size: 13px;
}

.msg-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.msg-name {
  font-weight: 900;
  font-size: 14px;
}

.msg-time {
  color: var(--muted2);
  font-weight: 800;
  font-size: 12px;
}

.msg-preview {
  margin-top: 4px;
  color: var(--muted2);
  font-weight: 600;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msg-body {
  display: block;
}

.msg-list {
  display: grid;
  gap: 0;
}

.msg-chat {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 420px;
}

.msg-chat-head {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.msg-back {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 20px;
  line-height: 0;
}

.msg-back:hover {
  background: rgba(255, 255, 255, 0.08);
}

.msg-chat-name {
  font-weight: 900;
}

.msg-chat-thread {
  padding: 12px;
  overflow: auto;
  display: grid;
  gap: 10px;
}

.bubble {
  max-width: 85%;
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
  font-size: 13px;
  line-height: 1.35;
}

.bubble.is-me {
  justify-self: end;
  background: var(--accent-soft);
  border-color: var(--accent-mid);
}

.msg-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}

.msg-chat-input {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 14px;
  font-weight: 700;
  font-size: 13px;
  outline: none;
}

.msg-chat-input:focus {
  border-color: var(--accent-mid);
}

.msg-chat-send {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--accent);
  color: rgba(18, 16, 12, 0.92);
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
  transition: filter 200ms ease;
}

.msg-chat-send:hover {
  filter: brightness(1.06);
}

.msg-all {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  text-align: center;
  color: var(--accent);
  font-weight: 900;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 200ms ease;
}

.msg-all:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 920px) {
  .topbar-nav {
    display: none;
  }

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

  .trust-logos {
    grid-template-columns: 1fr;
  }


  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-links {
    text-align: left;
  }

  .stores {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-btn {
    width: 100%;
  }

  .how-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .how-card {
    max-width: 100%;
    width: 100%;
  }

  .how-connector {
    transform: rotate(90deg);
    padding: 0;
    height: 40px;
  }

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

  .pick-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .wizard-actions,
  .cotiza-actions {
    grid-template-columns: 1fr;
  }

  .dash-unlocked {
    grid-template-columns: 1fr;
  }

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

  .admin-card-wide {
    grid-column: auto;
  }

  /* Cotiza page responsive */
  .cotiza-container {
    grid-template-columns: 1fr;
  }

  .cotiza-sidebar {
    display: none;
  }

  .cotiza-progress-mini {
    display: flex;
  }
}

@media (max-width: 980px) {
  .dash-hero {
    grid-template-columns: 1fr;
  }

  .phone {
    margin: 0;
  }

  .msg-popover {
    right: 10px;
    top: 68px;
  }

  .stepper {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 10px;
  }

  .step-line {
    display: none;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding: 16px;
  }

  .login-btn {
    padding: 10px 14px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .needs {
    padding: 22px 16px 20px;
  }

  .card {
    min-height: 220px;
  }

  .social-proof {
    flex-direction: column;
    gap: 12px;
  }

  .social-text {
    text-align: center;
  }

  .wizard-title,
  .cotiza-title {
    font-size: 26px;
  }

  .wizard-core {
    padding: 10px 16px 0;
  }

  .cotiza-card {
    padding: 24px 18px 20px;
  }

  .cotiza-main {
    padding: 20px 14px;
  }

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

  .cotiza-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .section-title {
    font-size: 26px;
  }
}
