/* === Requirements Page Styles === */

.hidden {
  display: none;
}

.homepage-data-banner {
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white);
  padding: 16px 0;
  animation: slideDown 0.4s ease;
}

.homepage-data-banner.hidden {
  display: none;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-content i {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.banner-text strong {
  font-size: 0.9rem;
  font-weight: 600;
}

.banner-text span {
  font-size: 0.8rem;
  opacity: 0.9;
}

.homepage-summary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(0, 150, 199, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.homepage-summary.hidden {
  display: none;
}

.homepage-summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.homepage-summary-header i {
  color: #10b981;
  font-size: 1.2rem;
}

.homepage-summary-header h3 {
  font-size: 1rem;
  color: var(--primary);
  margin: 0;
}

.homepage-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  gap: 12px;
}

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

.summary-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.summary-value {
  font-size: 0.9rem;
  color: var(--primary);
  text-align: right;
  word-break: break-word;
  font-weight: 500;
}

.req-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.req-hero .hero-tagline {
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.req-hero .hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.req-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.req-section {
  padding: 60px 0;
}

.req-section.hidden {
  display: none;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === Layout === */
.req-layout {
  display: flex;
  gap: 0;
  position: relative;
}

.progress-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 32px 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 100;
  border-right: 1px solid rgba(99, 102, 241, 0.2);
}

.sidebar-header {
  margin-bottom: 40px;
}

.sidebar-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.sidebar-header .logo-icon {
  font-size: 1.4rem;
  color: var(--accent-light);
}

.sidebar-header .logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.sidebar-header .logo-accent {
  color: var(--accent-light);
}

.sidebar-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}

.progress-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.progress-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
}

.progress-step.active {
  background: rgba(99, 102, 241, 0.2);
}

.progress-step.completed {
  opacity: 0.8;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
}

.progress-step.active .step-circle {
  border-color: var(--accent-light);
  background: linear-gradient(135deg, var(--accent), #0096c7);
  color: var(--white);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  transform: scale(1.1);
}

.progress-step.completed .step-circle {
  border-color: #10b981;
  background: #10b981;
  color: var(--white);
}

.step-check {
  display: none;
  font-size: 0.8rem;
}

.progress-step.completed .step-number {
  display: none;
}

.progress-step.completed .step-check {
  display: block;
}

.step-line {
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 8px;
  border-radius: 1px;
  transition: background 0.3s ease;
}

.progress-step.completed .step-line {
  background: #10b981;
}

.progress-step:last-child .step-line {
  display: none;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}

.step-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.progress-step.active .step-title {
  color: var(--white);
}

.progress-step.completed .step-title {
  color: rgba(255, 255, 255, 0.8);
}

.step-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.step-urgency {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 6px;
  width: fit-content;
}

.progress-step:first-child .step-urgency {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.progress-step:nth-child(2) .step-urgency,
.progress-step:nth-child(3) .step-urgency {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.progress-step:last-child .step-urgency {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sidebar-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.sidebar-footer a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
}

.sidebar-footer a:hover {
  text-decoration: underline;
}

.req-content {
  flex: 1;
  min-width: 0;
  background: var(--bg);
}

.req-content .container {
  max-width: 1000px;
}

.req-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.req-hero .hero-tagline {
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.req-hero .hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}

.req-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.req-section {
  padding: 48px 0;
}

.req-section.hidden {
  display: none;
}

@media (max-width: 899px) {
  .req-layout {
    flex-direction: column;
  }

  .progress-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 20px;
    border-right: none;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
  }

  .sidebar-header {
    margin-bottom: 16px;
    text-align: center;
  }

  .sidebar-header .logo {
    justify-content: center;
  }

  .progress-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .progress-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    gap: 8px;
  }

  .step-indicator {
    flex-direction: row;
    gap: 8px;
  }

  .step-line {
    width: 40px;
    height: 2px;
    margin-top: 0;
  }

  .step-urgency {
    display: none;
  }

  .sidebar-footer {
    display: none;
  }

  .req-hero {
    padding: 40px 0 24px;
  }

  .req-section {
    padding: 32px 0;
  }
}

@media (min-width: 900px) {
  .progress-sidebar {
    width: 300px;
  }

  .req-hero {
    padding: 80px 0 50px;
  }

  .req-section {
    padding: 60px 0;
  }
}

/* === Layout === */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.type-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.type-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.type-card.selected {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.04);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.type-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.02));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin: 0 auto 16px;
  transition: var(--transition);
}

.type-card:hover .type-icon,
.type-card.selected .type-icon {
  background: linear-gradient(135deg, var(--accent), #0096c7);
  color: var(--white);
  transform: scale(1.05);
}

.type-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.type-desc {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.type-example {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* === Form Section === */
.req-form-wrapper {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.selected-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.selected-type-badge i {
  font-size: 1.1rem;
}

.badge-change {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
  margin-left: 4px;
}

.badge-change:hover {
  background: rgba(99, 102, 241, 0.1);
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group label .required {
  color: #ef4444;
}

.field-example {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* === Features Section === */
.features-section {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 8px;
}

.features-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 12px;
}

.features-heading {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.features-heading i {
  color: var(--accent);
}

.features-subtext {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.features-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: 8px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.feature-item:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-item.selected {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.04);
}

.feature-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.feature-item.selected .feature-checkbox {
  background: var(--accent);
  border-color: var(--accent);
}

.feature-checkbox i {
  font-size: 0.7rem;
  color: var(--white);
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}

.feature-item.selected .feature-checkbox i {
  opacity: 1;
  transform: scale(1);
}

.feature-content {
  flex: 1;
}

.feature-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.feature-example {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.features-summary {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(99, 102, 241, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.features-summary i {
  font-size: 1rem;
}

/* === Manual Section === */
.manual-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 2px dashed rgba(0, 0, 0, 0.08);
  margin-top: 8px;
}

.manual-heading {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.manual-heading i {
  color: var(--gold);
}

.manual-subtext {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* === Form Actions === */
.form-actions {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.form-actions .btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.form-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent), #0096c7);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.form-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.form-actions .btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.form-actions .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* === Preview Modal === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  z-index: 1;
}

.modal-header h2 {
  font-size: 1.3rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h2 i {
  color: var(--accent);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--primary);
}

.preview-content {
  padding: 28px;
}

.preview-section {
  margin-bottom: 24px;
}

.preview-section:last-child {
  margin-bottom: 0;
}

.preview-section h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-section h3 i {
  color: var(--accent);
  font-size: 0.9rem;
}

.homepage-preview {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.homepage-preview h3 i {
  color: #10b981;
}

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

.preview-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  gap: 12px;
}

.preview-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.preview-value {
  font-size: 0.85rem;
  color: var(--primary);
  text-align: right;
  word-break: break-word;
}

.preview-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.preview-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(99, 102, 241, 0.04);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--primary);
}

.preview-list li i {
  color: var(--accent);
  font-size: 0.8rem;
}

.preview-empty {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
  padding: 8px 0;
}

.preview-manual {
  font-size: 0.85rem;
  color: var(--primary);
  background: var(--bg);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 20px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  bottom: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
}

.modal-actions .btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.modal-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent), #0096c7);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.modal-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.modal-actions .btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.modal-actions .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* === Toast === */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 99999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  background: #ef4444;
}

.toast.success {
  background: #10b981;
}

/* === Responsive === */
@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .preview-list {
    grid-template-columns: 1fr 1fr;
  }

  .homepage-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .types-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .req-form-wrapper {
    padding: 48px;
  }

  .preview-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .types-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 599px) {
  .req-form-wrapper {
    padding: 24px;
  }

  .features-section,
  .manual-section {
    padding: 20px;
  }

  .features-header {
    flex-direction: column;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    justify-content: center;
  }

  .modal {
    max-height: 95vh;
    margin: 10px;
  }

  .modal-header,
  .preview-content,
  .modal-actions {
    padding-left: 20px;
    padding-right: 20px;
  }

  .preview-item {
    flex-direction: column;
    gap: 4px;
  }

  .preview-value {
    text-align: left;
  }

  .summary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .summary-value {
    text-align: left;
  }
}
