:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --secondary-color: #10b981;
  --background: #f8fafc;
  --card-background: #ffffff;
  --border-color: #e2e8f0;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--background);
  line-height: 1.6;
  font-size: 14px;
  overflow-x: hidden;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 0;
  color: var(--text-primary);
}

h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 2px;
}

.step {
  background: var(--card-background);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step h3 {
  color: var(--text-primary);
  transition: none;
}

.step:hover h3 {
  color: var(--primary-color);
}

/* Responsividade mobile */
@media (max-width: 720px) {
  #app {
    padding: 12px;
  }
  
  .step {
    padding: 16px;
  }
  
  .step-1 h3 {
    padding-top: 0;
    text-align: left;
  }
  
  .lang-select {
    top: 12px;
    right: 12px;
  }
  
  .el-form-item__label {
    line-height: 1.4;
  }
}

/* Otimizações para iframe */
body.iframe-mode {
  padding: 0;
  overflow: auto;
  height: 100vh;
}

body.iframe-mode #app {
  padding: 12px;
  min-height: 100vh;
}

body.iframe-mode footer {
  display: none;
}

body.iframe-mode .lang-select {
  position: absolute;
  float: right;
  margin: 0 0 16px 0;
}

/* Ajuste para tela cheia em iframe */
@media (min-width: 720px) {
  body.iframe-mode .leftCol {
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding-right: 8px;
  }
  
  body.iframe-mode .leftCol::-webkit-scrollbar {
    width: 6px;
  }
}

/* Loading states */
.el-loading-mask {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.el-loading-spinner .circular {
  stroke: var(--primary-color);
}

/* Dialog modernization */
.el-dialog {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
}

.el-dialog__header {
  padding: 20px 24px !important;
  border-bottom: 1px solid var(--border-color);
}

.el-dialog__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.el-dialog__body {
  padding: 24px !important;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Popover modernization */
.el-popover {
  border-radius: var(--radius-sm) !important;
  border-color: var(--border-color) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Radio buttons modernization */
.el-radio-button__inner {
  border-radius: var(--radius-sm) !important;
  border-color: var(--border-color) !important;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.el-radio-button__orig-radio:checked + .el-radio-button__inner {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  box-shadow: none !important;
}

.el-radio-button__inner:hover {
  color: var(--primary-color);
}

/* Select dropdown modernization */
.el-select-dropdown {
  border-radius: var(--radius-sm) !important;
  border-color: var(--border-color) !important;
  box-shadow: var(--shadow-lg) !important;
}

.el-select-dropdown__item {
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
  background-color: var(--background) !important;
  color: var(--primary-color);
}

.el-select-dropdown__item.selected {
  color: var(--primary-color);
  font-weight: 600;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

.statusText {
  margin-left: 12px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.errorText {
  margin-left: 12px;
  color: #ef4444;
  font-size: 13px;
  font-weight: 500;
}

footer {
  position: fixed;
  bottom: 12px;
  right: 12px;
  background: var(--card-background);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  z-index: 100;
}

.kits {
  margin: 16px 0;
  padding: 16px;
  background: var(--background);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.save-preset {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.lang-select {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 1000;
  background: var(--card-background);
  padding: 4px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.lang-select:hover {
  box-shadow: var(--shadow-lg);
}

.option-image {
  float: right;
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.select-option-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}

.select-option-content .option-image {
  float: none;
  flex-shrink: 0;
}

.option-item {
  display: inline-block;
  line-height: 1.4;
  padding: 0;
  font-weight: 500;
  flex: 1;
  white-space: normal;
  word-break: break-word;
}

/* Melhorias no form */
.form-model-item,
.form-preset-item {
  margin-bottom: 16px !important;
}

.form-model-item .el-form-item__label,
.form-preset-item .el-form-item__label {
  font-weight: 600;
  color: var(--text-primary);
  padding-right: 12px;
  min-width: 120px;
}

.el-select {
  width: 100%;
}

/* Se\u00e7\u00e3o de downloads melhorada */
.download-section {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--background);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.download-meta i {
  color: var(--primary-color);
  font-size: 16px;
}

.primary-download {
  background: linear-gradient(135deg, var(--secondary-color), #059669) !important;
  color: white !important;
  border-color: var(--secondary-color) !important;
  font-weight: 600;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.primary-download:hover {
  background: linear-gradient(135deg, #059669, #047857) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  color: white !important;
}

.outputs-section {
  padding: 16px;
  background: var(--background);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.outputs-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.outputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

.output-link {
  margin: 0 !important;
  padding: 10px 12px !important;
  font-size: 12px;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--card-background);
}

.output-link i {
  font-size: 18px;
  display: block;
  margin-bottom: 2px;
}

.output-name {
  font-size: 10px;
  color: var(--text-secondary);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.output-link:hover {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

.output-link:hover .output-name {
  color: rgba(255, 255, 255, 0.8);
}

.additional-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.additional-links .download-link {
  margin: 0 !important;
  font-size: 13px;
}

#app {
  min-height: 100vh;
  padding: 16px;
}

.el-form {
  margin: 0 auto;
  max-width: 100%;
}

.el-form-item {
  margin-bottom: 16px;
}

.el-form-item__label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
}

.el-button {
  margin-top: 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.2s ease;
}

.el-button--primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.el-button--primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), #3730a3);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.el-button--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.el-button--success {
  background: linear-gradient(135deg, var(--secondary-color), #059669);
  border-color: var(--secondary-color);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.el-button--success:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.el-input__inner,
.el-input-number__increase,
.el-input-number__decrease {
  border-radius: var(--radius-sm);
  border-color: var(--border-color);
  transition: all 0.2s ease;
}

.el-input__inner:focus,
.el-input-number:hover .el-input__inner {
  border-color: var(--primary-color);
}

.el-select .el-input .el-input__inner {
  border-radius: var(--radius-sm);
}

.form-model-item {
  display: inline-block;
  margin: 0;
  width: 100%;
}

@media (max-width: 720px) {
  .form-model-item {
    /*margin-top: -11px;*/
  }
}

/*.form-params {
  columns: 1;
}
@media (min-width: 720px) {
  .form-params {
    columns: 2;
  }
}
@media (min-width: 1080px) {
  .form-params {
    columns: 3;
  }
}
@media (min-width: 1440px) {
  .form-params {
    columns: 4;
  }
}*/

.presets {
  display: inline-block;
  margin: 0;
}

.presets__list {
  list-style: none;
  padding: 0;
  line-height: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-preview {
  margin: 12px 0;
  text-align: center;
}

.model-preview-container {
  margin-top: 20px;
  padding: 16px;
  background: var(--background);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.model-preview-container img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.model-preview-container img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

@media (max-width: 720px) {
  .presets {
    display: block;
  }

  .presets__list {
    list-style: disc;
    margin-left: 21px;
  }
}

.stl-preview {
  margin-top: 0;
  text-align: center;
  background: var(--card-background);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stl-preview-mobile {
  display: none;
}

@media (max-width: 640px) {
  .stl-preview-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 140px;
    height: 140px;
    background: var(--card-background);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    margin-right: 12px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
  }

  .stl-preview-mobile img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
  }
}

.download-link {
  line-height: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  margin: 4px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.download-link:hover {
  background: var(--background);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.download-link i {
  font-size: 16px;
}

.link__changed {
  opacity: 0.5;
  pointer-events: none;
}

.preset-link {
  text-decoration: none !important;
  border-bottom: 1px dashed var(--border-color);
  margin-right: 12px;
  margin-left: 4px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-block;
}

.preset-link:hover {
  background: var(--background);
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.preset-link__active {
  background: var(--primary-color);
  color: white;
  border-bottom-color: var(--primary-color);
}

@media (max-width: 720px) {
  .preset-link {
    display: list-item;
    list-style: none;
    line-height: 2.5rem;
    border-bottom: none;
  }
}

.model-stl {
  margin-top: 0;
}

@media (min-width: 720px) {
  .leftCol {
    width: 440px !important;
    padding-right: 16px;
  }
  .model-stl {
    position: fixed;
    right: 16px;
    top: 16px;
    width: calc(100% - 472px);
    height: calc(100vh - 32px);
    overflow: hidden;
  }
  
  .stl-preview {
    height: 100%;
  }
}

@media (max-width: 719px) {
  .model-stl {
    margin-top: 20px;
  }
}

.actions {
  margin-top: 16px;
  padding: 16px;
  background: var(--background);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.actions.processing {
  opacity: 0.6;
  pointer-events: none;
}

/*
.el-input {
  margin-bottom: 1rem;
}*/

.presets-list {
}

.model-list {
  margin: 24px auto 0;
  max-width: 800px;
  padding: 0 8px;
}

.model-item {
  padding: 8px;
}

.model-card {
  margin: 0;
  padding: 20px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.model-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.model-item .el-link {
  display: block;
  margin-bottom: 0;
  min-height: auto;
  border: none !important;
  text-decoration: none !important;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.model-card:hover .el-link {
  color: var(--primary-color);
}

.el-link.active {
  font-weight: 700;
  color: var(--primary-color);
}

.model-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  border-radius: var(--radius-sm);
  padding: 12px;
  overflow: hidden;
}

.model-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.model-card:hover .model-image img {
  transform: scale(1.05);
}

/* Melhorias gerais de UX */
.el-input-number {
  width: 100%;
}

.el-input-number .el-input__inner {
  text-align: left;
  padding-left: 40px;
}

/* Smooth transitions */
* {
  transition-property: background-color, border-color, color, box-shadow, transform;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

*:hover {
  transition-duration: 0.15s;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Melhorias de acessibilidade */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Animações suaves */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step {
  animation: fadeIn 0.4s ease;
}

/* Indicadores visuais de processamento */
.actions.processing::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  animation: progress 1.5s infinite;
}

@keyframes progress {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Badges e tags */
.el-tag {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--background);
}

/* Melhoria de contraste para texto secundário */
.el-form-item__label {
  letter-spacing: 0.02em;
}

/* Grid responsivo melhorado */
.main-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 719px) {
  .main-row {
    flex-direction: column;
  }
}
/* ============================================
   LANDING PAGE STYLES
   ============================================ */

.landing-page {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: 72px;
  font-weight: 900;
  color: white;
  margin: 0 0 20px 0;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 40px 0;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta {
  padding: 16px 40px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  height: auto !important;
  border-radius: 12px !important;
  background: white !important;
  color: #667eea !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

.hero-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

.hero-secondary {
  padding: 16px 40px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  height: auto !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease !important;
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.hero-visual {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  z-index: 1;
}

.floating-card {
  position: absolute;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
}

.floating-card i {
  font-size: 24px;
}

.card-1 {
  top: -80px;
  right: 0;
  animation-delay: 0s;
}

.card-2 {
  top: 20px;
  right: -100px;
  animation-delay: 0.5s;
}

.card-3 {
  top: 120px;
  right: -50px;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* How It Works Section */
.how-it-works {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 60px 0;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  position: relative;
  padding: 40px 30px;
  background: white;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.step-icon {
  font-size: 48px;
  color: #667eea;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.step-card h3::before {
  display: none;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Models Gallery */
.models-gallery {
  padding: 80px 20px;
  background: var(--background);
  text-align: center;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.gallery-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-image img {
  transform: scale(1.1);
}

.placeholder-image {
  font-size: 64px;
  color: rgba(102, 126, 234, 0.3);
}

.gallery-card-content {
  padding: 24px;
  text-align: left;
}

.gallery-card-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.gallery-card-content h3::before {
  display: none;
}

.gallery-card-content .el-button {
  width: 100%;
}

/* Features Section */
.features {
  padding: 80px 20px;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
}

.feature-item i {
  font-size: 48px;
  color: #667eea;
  margin-bottom: 16px;
  display: block;
}

.feature-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-visual {
    display: none;
  }

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

  .steps-grid,
  .models-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-section {
    min-height: 70vh;
    padding: 40px 20px;
  }

  .how-it-works,
  .models-gallery,
  .features {
    padding: 60px 20px;
  }
}

/* =====================================================
   LOGIN PAGE STYLES
   ===================================================== */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow-y: auto;
}

.login-card {
  width: 100%;
  max-width: 450px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header {
  text-align: center;
  padding: 40px 30px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.login-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.login-icon svg {
  width: 60px;
  height: 60px;
  animation: rotateIn 0.6s ease;
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.login-description {
  font-size: 14px;
  opacity: 0.95;
  margin: 0;
  line-height: 1.5;
}

.login-content {
  padding: 30px;
}

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

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

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.form-input {
  padding: 12px 16px;
  font-size: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-button {
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.login-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.login-button:active:not(:disabled) {
  transform: translateY(0);
}

.login-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-error {
  background: #fee2e2;
  color: #dc2626;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
  border: 1px solid #fecaca;
}

.login-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.login-footer p {
  font-size: 13px;
  color: #666;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.login-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.login-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.back-button {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #667eea;
  background: transparent;
  border: 2px solid #667eea;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-button:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.back-button i {
  font-size: 16px;
}

@media (max-width: 480px) {
  .login-card {
    max-width: 100%;
  }

  .login-header {
    padding: 30px 20px 20px;
  }

  .login-title {
    font-size: 24px;
  }

  .login-content {
    padding: 24px;
  }
}
