*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #CC1E1E;
  --red-dark: #a81717;
  --red-light: #f8e8e8;
  --dark: #1a1a1a;
  --dark2: #2c2c2c;
  --dark3: #3d3d3d;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --gray-mid: #e5e7eb;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
  background: #f9fafb;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { display: flex; align-items: center; }
.brand-text { display: flex; align-items: baseline; gap: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.brand-techno { color: var(--dark); }
.brand-mak { color: var(--red); }
.brand-ai {
  font-size: 11px; font-weight: 600; color: white;
  background: var(--red); padding: 2px 6px; border-radius: 4px;
  margin-left: 5px; letter-spacing: 0.5px;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  color: var(--gray); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 6px 14px; border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-link:hover { color: var(--dark); background: var(--gray-light); }
.nav-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--gray);
  background: var(--gray-light); padding: 5px 12px; border-radius: 20px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  padding-top: 64px;
}
.hero-bg-elements { position: absolute; inset: 0; pointer-events: none; }
.hero-diagonal {
  position: absolute; top: 0; left: 0;
  width: 45%; height: 100%;
  background: linear-gradient(160deg, var(--red) 0%, #8b0000 100%);
  clip-path: polygon(0 0, 85% 0, 60% 100%, 0 100%);
  opacity: 0.15;
}
.hero-diagonal-2 {
  position: absolute; bottom: 0; right: 0;
  width: 30%; height: 60%;
  background: var(--red);
  clip-path: polygon(30% 100%, 100% 0, 100% 100%);
  opacity: 0.08;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; padding: 80px 24px;
  position: relative; z-index: 1;
}
.hero-content { color: white; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: #f87171;
  background: rgba(204, 30, 30, 0.15); border: 1px solid rgba(204, 30, 30, 0.3);
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: #f87171; display: inline-block; }
.hero-title { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-highlight { color: var(--red); position: relative; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 40px; max-width: 480px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 28px; font-weight: 800; color: white; line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* Hero visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-card-stack { position: relative; width: 100%; max-width: 360px; height: 320px; }
.floating-card {
  position: absolute; background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 18px 22px;
  display: flex; align-items: center; gap: 12px;
  color: white; font-size: 14px; font-weight: 500;
  animation: float 4s ease-in-out infinite;
}
.floating-card .fc-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
}
.fc-1 { top: 20px; left: 0; right: 40px; animation-delay: 0s; }
.fc-2 { top: 110px; left: 40px; right: 0; animation-delay: 1.3s; }
.fc-3 { top: 200px; left: 10px; right: 50px; animation-delay: 2.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ===== APPS SECTION ===== */
.apps-section { padding: 100px 0; background: #f9fafb; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--red);
  background: var(--red-light); padding: 5px 14px; border-radius: 20px;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.5px; color: var(--dark); margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--gray); max-width: 460px; margin: 0 auto; }

/* APPS GRID */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .apps-grid { grid-template-columns: 1fr; } }

/* APP CARD */
.app-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.25s ease; position: relative;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204,30,30,0.2);
}
.app-coming { opacity: 0.75; }
.app-coming:hover { opacity: 1; }

.card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 22px 22px 0;
}
.card-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.card-icon-red { background: #fef2f2; color: var(--red); }
.card-icon-dark { background: #f1f5f9; color: var(--dark); }

.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
}
.status-live { background: #f0fdf4; color: #15803d; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.status-soon { background: #fef9c3; color: #854d0e; }

.card-body { padding: 16px 22px; flex: 1; }
.card-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 3px; line-height: 1.3; }
.card-short { font-size: 12px; font-weight: 600; color: var(--red); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.card-desc { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 14px; }

.card-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.feature-tag {
  font-size: 11px; font-weight: 500; padding: 3px 9px;
  background: var(--gray-light); color: var(--dark3);
  border-radius: 20px; border: 1px solid var(--gray-mid);
}

.card-rating-display {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; border-top: 1px solid var(--gray-mid);
}
.stars-display { display: flex; gap: 2px; }
.star-empty { font-size: 14px; color: #d1d5db; }
.star-filled { font-size: 14px; color: #f59e0b; }
.rating-text { font-size: 12px; color: var(--gray); }

.card-footer {
  display: flex; gap: 10px; padding: 14px 22px 18px;
  border-top: 1px solid var(--gray-mid);
}
.btn-launch {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; padding: 9px 18px;
  border-radius: var(--radius-sm); text-decoration: none;
  transition: all 0.2s; flex: 1; justify-content: center; border: none; cursor: pointer;
}
.btn-launch-red { background: var(--red); color: white; }
.btn-launch-red:hover { background: var(--red-dark); transform: none; }
.btn-launch-disabled { background: var(--gray-mid); color: var(--gray); cursor: not-allowed; }
.btn-feedback {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; padding: 9px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: transparent; color: var(--gray); cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.btn-feedback:hover { background: var(--gray-light); color: var(--dark); border-color: var(--dark3); }

/* ===== ABOUT ===== */
.about-section { padding: 100px 0; background: white; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about-text p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.about-text .section-title { margin-bottom: 20px; }
.about-metrics { display: flex; gap: 32px; margin-top: 32px; }
.metric { display: flex; flex-direction: column; gap: 3px; }
.metric-val { font-size: 32px; font-weight: 800; color: var(--red); line-height: 1; }
.metric-key { font-size: 12px; font-weight: 500; color: var(--gray); }
.about-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-mini-card {
  border-radius: var(--radius); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 14px; font-weight: 600;
}
.amc-red { background: #fef2f2; color: var(--red); }
.amc-dark { background: #f1f5f9; color: var(--dark); }

/* ===== CONTACT ===== */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}
.contact-inner { text-align: center; color: white; }
.contact-inner .section-tag { color: #f87171; background: rgba(204,30,30,0.2); border: 1px solid rgba(204,30,30,0.3); }
.contact-inner .section-title { color: white; margin-bottom: 16px; }
.contact-inner p { color: rgba(255,255,255,0.6); max-width: 460px; margin: 0 auto 32px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--red); color: white; text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 12px 28px;
  border-radius: var(--radius-sm); transition: all 0.2s;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: white; text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 12px 28px;
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* ===== FOOTER ===== */
.footer { background: #111; padding: 28px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand-name { font-size: 16px; font-weight: 700; color: white; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 1000;
  align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: white; border-radius: var(--radius-lg);
  width: 100%; max-width: 480px; max-height: 90vh;
  overflow-y: auto; box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.modal-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 24px 24px 0;
}
.modal-title { font-size: 18px; font-weight: 700; color: var(--dark); }
.modal-sub { font-size: 13px; color: var(--gray); margin-top: 3px; }
.modal-close {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--gray); transition: all 0.15s;
}
.modal-close:hover { background: var(--gray-light); color: var(--dark); }
.modal-body { padding: 20px 24px; }
.rating-input-section { margin-bottom: 20px; }
.input-label { display: block; font-size: 12px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.star-input { display: flex; gap: 6px; margin-bottom: 8px; }
.star-btn {
  font-size: 28px; color: #d1d5db; cursor: pointer;
  transition: all 0.15s; line-height: 1;
}
.star-btn:hover, .star-btn.active { color: #f59e0b; transform: scale(1.1); }
.rating-label-text { font-size: 13px; color: var(--gray); }
.form-group { margin-bottom: 16px; }
.form-input, .form-textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--dark);
  font-family: inherit; transition: border-color 0.15s; background: var(--white);
  resize: vertical;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(204,30,30,0.08); }
.modal-reviews { border-top: 1px solid var(--gray-mid); padding-top: 16px; margin-top: 4px; }
.review-item { margin-bottom: 14px; }
.review-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.review-name { font-size: 13px; font-weight: 600; color: var(--dark); }
.review-date { font-size: 11px; color: var(--gray); }
.review-stars { color: #f59e0b; font-size: 13px; margin-bottom: 4px; }
.review-text { font-size: 13px; color: var(--gray); line-height: 1.5; }
.modal-footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 16px 24px 20px; border-top: 1px solid var(--gray-mid);
}
.btn-cancel {
  padding: 9px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; font-size: 13px; font-weight: 600;
  color: var(--gray); cursor: pointer; transition: all 0.15s;
}
.btn-cancel:hover { background: var(--gray-light); }
.btn-submit {
  padding: 9px 24px; border: none; border-radius: var(--radius-sm);
  background: var(--red); color: white; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
}
.btn-submit:hover { background: var(--red-dark); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 2000;
  background: var(--dark); color: white; font-size: 14px; font-weight: 500;
  padding: 12px 20px; border-radius: var(--radius-sm);
  transform: translateY(80px); opacity: 0;
  transition: all 0.3s ease; pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; padding: 60px 24px; }
  .hero-visual { display: none; }
  .nav-links { display: none; }
  .about-metrics { flex-wrap: wrap; gap: 20px; }
}

/* ===== NAV AUTH ===== */
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-auth-group { display: flex; align-items: center; gap: 8px; }
.btn-nav-signin {
  padding: 7px 18px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; font-size: 13px; font-weight: 600; color: var(--dark);
  cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.btn-nav-signin:hover { border-color: var(--red); color: var(--red); }
.btn-nav-register {
  padding: 7px 18px; border: none; border-radius: var(--radius-sm);
  background: var(--red); color: white; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.btn-nav-register:hover { background: var(--red-dark); }
.nav-user-group { display: flex; align-items: center; gap: 10px; }
.nav-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--red-light);
  color: var(--red); display: flex; align-items: center; justify-content: center;
}
.nav-username { font-size: 13px; font-weight: 600; color: var(--dark); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-nav-signout {
  padding: 6px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; font-size: 12px; font-weight: 600; color: var(--gray);
  cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.btn-nav-signout:hover { background: var(--gray-light); color: var(--dark); }

/* ===== AUTH MODAL ===== */
.modal-auth { max-width: 420px; }
.auth-error { font-size: 13px; color: var(--red); min-height: 18px; margin-top: -8px; margin-bottom: 4px; font-weight: 500; }
.auth-switch { margin-top: 12px; font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.auth-switch-btn { background: none; border: none; color: var(--red); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; font-family: inherit; }
.auth-switch-btn:hover { text-decoration: underline; }
.input-password-wrap { position: relative; }

/* ===== FEEDBACK WIZARD ===== */

.modal-wizard { max-width: 680px; width: 95vw; max-height: 90vh; display: flex; flex-direction: column; }

/* Step Progress */
.wizard-progress {
  display: flex; align-items: center; gap: 0;
  padding: 14px 24px; border-bottom: 1px solid var(--gray-mid);
  background: var(--gray-light); flex-shrink: 0;
}
.wiz-step {
  display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; flex: 0 0 auto;
}
.wiz-step-num {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--gray-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--gray); background: var(--white);
  transition: all 0.25s;
}
.wiz-step-lbl { font-size: 11px; font-weight: 500; color: var(--gray); white-space: nowrap; transition: color 0.25s; }
.wiz-step.active .wiz-step-num { background: var(--red); border-color: var(--red); color: #fff; }
.wiz-step.active .wiz-step-lbl { color: var(--red); font-weight: 600; }
.wiz-step.done .wiz-step-num { background: #16a34a; border-color: #16a34a; color: #fff; }
.wiz-step.done .wiz-step-num::after { content: '✓'; }
.wiz-step.done .wiz-step-lbl { color: #16a34a; }
.wiz-connector { flex: 1; height: 2px; background: var(--gray-mid); margin: 0 8px; margin-bottom: 18px; transition: background 0.25s; }
.wiz-connector.done { background: #16a34a; }

/* Wizard body scroll */
.wizard-body { flex: 1; overflow-y: auto; padding: 0; }
.wstep { padding: 20px 24px; }

/* ── Step 1 · App Selection Grid ── */
.app-sel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.app-sel-card {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 12px; cursor: pointer; transition: all 0.2s; text-align: center;
  background: var(--white); position: relative;
}
.app-sel-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.app-sel-card.selected { border-color: var(--red); background: var(--red-light); }
.app-sel-card.selected::after {
  content: '✓'; position: absolute; top: 8px; right: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.asc-ico {
  width: 44px; height: 44px; border-radius: var(--radius-sm); margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
}
.asc-ico-red { background: var(--red-light); color: var(--red); }
.asc-ico-dark { background: var(--gray-light); color: var(--dark); }
.app-sel-card.selected .asc-ico-red { background: rgba(204,30,30,0.15); }
.asc-name { font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.3; }
.asc-sub { font-size: 11px; color: var(--gray); margin-top: 3px; }

/* ── Step 2 · App-Specific ── */
.app-qs { display: none; }

.radio-group { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.radio-group-inline { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.radio-group-wrap { flex-direction: row; flex-wrap: wrap; gap: 8px; }

.radio-opt {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 14px; color: var(--dark); padding: 9px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); transition: all 0.18s; user-select: none;
}
.radio-group-wrap .radio-opt { flex: 0 0 auto; }
.radio-opt:hover { border-color: var(--red); color: var(--red); }
.radio-opt input[type=radio] { accent-color: var(--red); width: 15px; height: 15px; }
.radio-opt:has(input:checked) { border-color: var(--red); background: var(--red-light); color: var(--red); font-weight: 600; }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.check-opt {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: 13px; color: var(--dark); padding: 8px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); transition: all 0.18s;
}
.check-opt:hover { border-color: var(--red); }
.check-opt input[type=checkbox] { accent-color: var(--red); }
.check-opt:has(input:checked) { border-color: var(--red); background: var(--red-light); color: var(--red); font-weight: 600; }

/* Mini stars (step 2) */
.mini-star-row { display: flex; gap: 4px; margin-top: 8px; }
.mini-star {
  font-size: 26px; cursor: pointer; color: var(--gray-mid); line-height: 1;
  transition: color 0.15s, transform 0.15s;
}
.mini-star:hover, .mini-star-active { color: #f59e0b; transform: scale(1.1); }
.mini-star-label { font-size: 12px; color: var(--gray); margin-top: 4px; display: block; }

/* ── Step 3 · Review ── */
.req { color: var(--red); margin-left: 2px; }
.input-optional { color: var(--gray); font-size: 12px; font-weight: 400; }

/* Priority chips */
.priority-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.priority-chip {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 7px 16px; border-radius: 999px; border: 2px solid var(--border);
  font-size: 13px; font-weight: 600; transition: all 0.18s; user-select: none;
}
.priority-chip input[type=radio] { display: none; }
.priority-low   { color: #16a34a; }
.priority-medium { color: #d97706; }
.priority-high  { color: #ea580c; }
.priority-critical { color: var(--red); }
.priority-low:has(input:checked)      { background: #dcfce7; border-color: #16a34a; }
.priority-medium:has(input:checked)   { background: #fef3c7; border-color: #d97706; }
.priority-high:has(input:checked)     { background: #ffedd5; border-color: #ea580c; }
.priority-critical:has(input:checked) { background: var(--red-light); border-color: var(--red); }

/* File drop zone */
.file-drop-zone {
  border: 2px dashed var(--gray-mid); border-radius: var(--radius-sm);
  padding: 20px 16px; text-align: center; cursor: pointer;
  transition: all 0.2s; background: var(--gray-light);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--gray);
}
.file-drop-zone:hover, .file-drop-zone.drag-over { border-color: var(--red); background: var(--red-light); color: var(--red); }
.fdz-text { font-size: 13px; font-weight: 500; }
.fdz-hint { font-size: 11px; }
.file-preview {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 8px 12px; background: var(--gray-light); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--dark);
}
.file-preview-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-remove { background: none; border: none; cursor: pointer; color: var(--gray); font-size: 14px; padding: 0 2px; }
.file-remove:hover { color: var(--red); }

/* Wizard Footer */
.wizard-footer {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--gray-mid); padding: 16px 24px;
  background: var(--white); flex-shrink: 0;
}
.wizard-footer .btn-cancel { margin-right: auto; }

/* ── Responsive ── */
@media (max-width: 520px) {
  .app-sel-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-wizard { max-width: 100vw; width: 100vw; border-radius: var(--radius) var(--radius) 0 0; max-height: 95vh; }
  .wstep { padding: 16px; }
}
