:root { --welcome-bg: rgb(142,150,157); --blue:#0078d7; }
body { font-family: Arial, sans-serif; margin:0; background:#f9f9fb; color:#333; }

/* Welcome */
#welcome{ min-height:100vh; display:grid; place-items:center; padding:24px; text-align:center; background:var(--welcome-bg); }
#welcome h1, #welcome p{ color:#fff; }
.logo-anim{ width:clamp(360px,70vw,900px); height:auto; border-radius:16px; margin:0 0 16px; }
.start-btn{ margin-top:16px; padding:12px 30px; border:none; border-radius:50px; background:#fff; color:var(--welcome-bg); cursor:pointer; }

/* Contact Card */
#contactSection {
  display: none;
}
#contactSection.active {
  display: block;
}
#contactSection .step.active {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
#contactSection .contact-card {
  text-align: center;
  padding: 30px;
  background: #f5f9ff;
  border: 1px solid #cfe3ff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
#contactSection .contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
  align-items: center;
}
#contactSection .contact-links a {
  display: inline-block;
  background: linear-gradient(135deg, #0078d7, #005bb5);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s, background .3s;
}
#contactSection .contact-links a:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #005bb5, #004799);
}


/* Pre-Installation Warning Card */
#preinstallSection {
  display: none;
}
#preinstallSection.active {
  display: block;
}
#preinstallSection .warning-card {
  background: #fff4e5;
  border: 2px solid #ffb84d;
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
#preinstallSection .warning-card h2 {
  color: #b22222;
  text-align: center;
  margin-bottom: 16px;
}
#preinstallSection ul {
  margin: 16px 0;
  padding-left: 24px;
}
#preinstallSection li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}

/* Wizard card */
.wizard { max-width:900px; margin:40px auto; background:#fff; padding:30px; border-radius:16px; box-shadow:0 4px 20px rgba(0,0,0,.1); display:none; }
.wizard-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; position:relative; }
.logo-inline { height:auto; width:150px; }
.wizard-header h2 { margin-right:120px; }

/* Tabs */
.section-tabs { display:flex; gap:8px; margin:6px 0 14px; flex-wrap:wrap; }
.tab { padding:10px 16px; border-radius:999px; border:2px solid var(--blue); background:#fff; color:var(--blue); cursor:pointer; font-weight:600; transition:.2s; }
.tab.active { background:var(--blue); color:#fff; }

/* Progress */
.progress { height:8px; background:#eee; border-radius:4px; margin-bottom:20px; }
.progress-bar { height:8px; background:var(--blue); width:0; transition:width .3s; }

/* Sections & steps */
.section { display:none; align-items:initial; justify-content:initial; min-height:auto; }
.section.active { display:block; }
.step { display:none; animation:fadeIn .3s; }
.step.active { display:block; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.screenshot { margin:16px 0; display:flex; justify-content:center; }
.screenshot img { max-width:100%; border-radius:8px; }

/* Wizard section/step overrides */
.wizard .section { display:none; }
.wizard .section.active { display:block; }
.wizard .section .step { display:none; }
.wizard .section .step.active { display:block; }


/* Nav buttons */
.nav-buttons { flex:0 0 auto; display:flex; justify-content:space-between; margin-top:20px; }
button { padding:12px 28px; font-size:16px; border:none; border-radius:50px; cursor:pointer; transition:transform .2s, background .3s; }
button.next { background:linear-gradient(135deg, #0078d7, #005bb5); color:#fff; }
button.next:hover { transform:scale(1.05); }
button.prev { background:transparent; color:#0078d7; border:2px solid #0078d7; }
button.prev:hover { background:#0078d7; color:#fff; }
button.done { background:#28a745; color:#fff; }

.warning { color:#b22222; font-weight:700; }
.note { color:#555; font-style:italic; }

/* Step titles */
.step h2 { font-size:26px; line-height:1.25; margin:8px 0 6px; font-weight:700; }
.step p, .step li { font-size:15px; }
@media (min-width: 900px) {
  .step h2 { font-size:28px; }
}

#microphoneSection .demo-video {
  margin: 14px 0;
  display: flex;
  justify-content: center;
}
#microphoneSection .demo-video video {
  width: 100%;
  max-width: 900px;
  max-height: 48vh;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
