/* ============================================
   HYBRID SKILLS AWARDS - CUSTOM STYLES
   ============================================ */

/* Importar estilos base do diagnostic.css */
@import url('diagnostic.css');

/* Esconder scroll nas telas de apresentação */
html, body {
  overflow: hidden;
  height: 100vh;
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 0;
  transition: opacity 0.3s ease;
}

.progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary-color);
  transition: width 0.5s ease;
  width: 0%;
}

/* ============================================
   BACK BUTTON
   ============================================ */

.back-button {
  position: fixed;
  top: 25px;
  left: 30px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   SCREENS
   ============================================ */

.screen {
  display: none;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  padding: 15px;
  box-sizing: border-box;
  animation: fadeInScreen 0.5s ease;
  position: relative;
  z-index: 1;
}

.screen.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.center-content {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HERO VARIATIONS - FÓRMULA IH + IA = IE
   ============================================ */

/* Startse Logo */
.startse-logo {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 0.8s ease-out;
}

.startse-logo img {
  width: 200px;
  height: auto;
  opacity: 0.95;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.startse-logo img:hover {
  opacity: 1;
  filter: brightness(1.2);
}

/* Base Hero Variation */
.hero-variation {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.hero-variation.active {
  display: flex;
}

/* Common Hero Elements */
.hero-cta {
  text-align: center;
  margin-top: 60px;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-tagline {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  font-weight: 400;
  letter-spacing: 3px;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  max-width: 500px;
}

/* ============================================
   VARIAÇÃO 3: Tipografia Gigante Minimalista
   ============================================ */

.hero-v3 {
  background: transparent;
}

.typo-formula {
  text-align: center;
}

.typo-line {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
}

.typo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.typo-label {
  font-size: clamp(0.5rem, 1vw, 0.75rem);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.typo-line > span {
  font-weight: 700;
  line-height: 1;
  margin-top: 15px;
}

.typo-ih {
  font-size: clamp(5rem, 10vw, 10rem);
  color: var(--primary-color);
  animation: typeIn 0.8s ease-out both;
  font-weight: 700;
  line-height: 1;
}

.typo-plus,
.typo-equals {
  font-size: clamp(3rem, 5vw, 5rem);
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.typo-plus {
  animation: typeIn 0.8s ease-out 0.2s both;
}

.typo-ia {
  font-size: clamp(5rem, 10vw, 10rem);
  color: var(--secondary-color);
  animation: typeIn 0.8s ease-out 0.4s both;
  font-weight: 700;
  line-height: 1;
}

.typo-equals {
  animation: typeIn 0.8s ease-out 0.6s both;
}

.typo-ie {
  font-size: clamp(5rem, 10vw, 10rem);
  background: linear-gradient(135deg, var(--primary-color), #ff8c42, var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: typeIn 0.8s ease-out 0.8s both;
  font-weight: 700;
  line-height: 1;
}

@keyframes typeIn {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  60% {
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Manter compatibilidade com estrutura antiga se necessário */
.typo-subtitle {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  animation: fadeIn 1s ease-out 1s both;
}

.typo-subtitle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(80px, 12vw, 130px);
}

.typo-subtitle-item span {
  font-size: clamp(0.5rem, 0.9vw, 0.7rem);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  line-height: 1.4;
}

.typo-subtitle-item span:first-child {
  color: rgba(255, 255, 255, 0.25);
}

.typo-subtitle-spacer {
  min-width: clamp(30px, 6vw, 60px);
}

.hero-cta.minimal {
  margin-top: clamp(30px, 5vh, 60px);
}

.hero-desc-minimal {
  font-size: clamp(0.65rem, 1vw, 0.85rem);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: clamp(20px, 3vh, 35px);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-outline:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* ============================================
   PROFESSIONAL STYLES - Screens 1 & 2
   ============================================ */

.professional {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.65rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title-pro {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.about-content-pro {
  max-width: 680px;
  margin: 0 auto 30px;
}

.about-content-pro p {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.about-content-pro strong {
  color: #ffffff;
  font-weight: 600;
}

.steps-grid-pro {
  display: flex;
  gap: 50px;
  max-width: 700px;
  margin: 0 auto 40px;
  justify-content: center;
}

.step-card-pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 280px;
}

.step-number-pro {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.step-content-pro h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-content-pro p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

/* Intro Screen Professional */
.intro-description-pro {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 550px;
  margin: 0 auto 35px;
  line-height: 1.6;
}

.intro-description-pro em {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

.blocks-preview-pro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 850px;
  margin: 0 auto 35px;
}

.block-item-pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  background: transparent;
}

.block-number-pro {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.block-info-pro {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 5px;
}

.block-title-pro {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

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

/* ============================================
   PARTICLES CANVAS
   ============================================ */

#particlesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   HERO SCREEN
   ============================================ */

.hero-screen {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-top: 20px;
}

.hero-banner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 40px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: fadeInScale 0.8s ease-out;
}

.hero-banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-icon {
  margin-bottom: 40px;
}

.hero-title {
  font-size: 3rem;
  margin: 20px 0;
  color: #ffffff;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title .text-primary {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.8;
}

.hero-subtitle strong {
  color: var(--primary-color);
}

/* Text color utilities */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

/* ============================================
   ABOUT SCREEN
   ============================================ */

.about-screen {
  text-align: center;
}

.about-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  animation: bounceIn 0.8s ease-out;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.about-content {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: left;
}

.highlight-text {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ============================================
   INTRO SCREEN
   ============================================ */

.intro-screen {
  text-align: center;
}

.intro-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.intro-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 850px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ============================================
   FORM SCREENS
   ============================================ */

.form-screen {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 20px 30px;
  box-sizing: border-box;
}

/* Scrollbar estilizada */
.form-screen::-webkit-scrollbar {
  width: 4px;
}

.form-screen::-webkit-scrollbar-track {
  background: transparent;
}

.form-screen::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 0, 0.3);
  border-radius: 4px;
}

.form-screen::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 0, 0.5);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.block-badge {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  padding: 0;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 15px;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.form-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 550px;
  margin: 0 auto;
}

.form-fields {
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group:last-child {
  margin-bottom: 0;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.required {
  color: var(--primary-color);
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

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

.error-message {
  display: none;
  color: #ff6666;
  font-size: 0.75rem;
  margin-top: 6px;
}

.error-message.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.form-input.input-error,
.form-textarea.input-error {
  border-color: rgba(255, 68, 68, 0.5);
  background: rgba(255, 68, 68, 0.03);
}

/* Botão do formulário - sempre full width */
.form-screen .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-large {
  padding: 16px 35px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: #ff7b1a;
  transform: translateY(-1px);
}

/* Botão outline para telas informativas */
.btn-primary-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary-outline:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ============================================
   CONFIRMATION SCREEN
   ============================================ */

.confirmation-screen {
  text-align: center;
}

.confirmation-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.confirmation-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.confirmation-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 25px;
  max-width: 500px;
  font-size: 0.95rem;
}

/* ============================================
   REVIEW SCREEN - Tela de Revisão
   ============================================ */

.review-screen-container {
  overflow-y: auto !important;
  overflow-x: hidden;
  height: 100vh;
  max-height: 100vh;
}

.review-screen-container.active {
  display: block !important;
}

/* Scrollbar estilizada para a tela de revisão */
.review-screen-container::-webkit-scrollbar {
  width: 6px;
}

.review-screen-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.review-screen-container::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 0, 0.4);
  border-radius: 4px;
}

.review-screen-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 0, 0.6);
}

.review-screen {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.review-content {
  margin-bottom: 35px;
}

.review-section {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.review-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.review-section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.review-section-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  flex-shrink: 0;
}

.review-section-title {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  margin: 0;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.review-fields-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.review-field,
.review-field-full {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-field-full {
  grid-column: span 2;
}

.review-field-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-field-value {
  font-size: 0.9rem;
  color: #ffffff;
  word-break: break-word;
  line-height: 1.5;
}

.review-actions {
  display: flex;
  gap: 15px;
}

.review-actions .btn {
  flex: 1;
  justify-content: center;
}

/* ============================================
   SUCCESS SCREEN
   ============================================ */

.success-screen {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

.success-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: successPop 0.6s ease-out;
}

.success-badge i {
  font-size: 2rem;
  color: var(--primary-color);
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.success-message {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  line-height: 1.6;
}

.success-message strong {
  color: var(--primary-color);
}

.success-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  text-align: left;
}

.success-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.success-card-header i {
  color: var(--primary-color);
  font-size: 1rem;
}

.success-card-header span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.success-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.success-step {
  display: flex;
  align-items: center;
  gap: 15px;
}

.success-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-color);
  flex-shrink: 0;
}

.success-step-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.success-footer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

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

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   INT-TEL-INPUT OVERRIDES
   ============================================ */

.iti {
  width: 100%;
}

.iti__country-list {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
}

.iti__country:hover {
  background: rgba(255, 255, 255, 0.1);
}

.iti__country.iti__highlight {
  background: rgba(255, 107, 0, 0.2);
}

.iti__selected-flag {
  background: transparent !important;
}

.iti__arrow {
  border-top-color: #fff;
}

.iti__arrow--up {
  border-bottom-color: #fff;
}

#empresa_cnpj {
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

/* ============================================
   RESPONSIVE - Tablet & Mobile (allow scroll)
   ============================================ */

@media (max-width: 1024px) {
  html, body {
    overflow: auto;
    height: auto;
  }
  
  .screen {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
    padding: 50px 20px 30px;
  }
  
  .screen.active {
    display: flex;
  }
  
  .center-content {
    min-height: auto;
    justify-content: flex-start;
    padding-top: 10px;
  }
  
  .hero-variation {
    height: auto;
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  .form-screen {
    max-height: none;
    overflow: visible;
    padding: 10px 15px 30px;
  }
  
  .review-screen-container {
    overflow: visible !important;
  }
  
  .review-screen {
    padding: 30px 15px 50px;
  }
  
  .review-grid {
    grid-template-columns: 1fr;
  }
  
  .review-field-full {
    grid-column: span 1;
  }
  
  .review-actions {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .screen {
    padding: 45px 15px 25px;
  }
  
  .review-section-header {
    gap: 12px;
  }
  
  .review-section-number {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  
  .review-section-title {
    font-size: 0.9rem;
  }
  
  /* Startse Logo mobile */
  .startse-logo {
    margin-bottom: 30px;
  }
  
  .startse-logo img {
    width: 150px;
  }
  
  /* Hero mobile - layout com labels embutidas */
  .typo-formula {
    text-align: center;
  }
  
  .typo-line {
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }
  
  .typo-item {
    gap: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .typo-ih,
  .typo-ia,
  .typo-ie {
    font-size: 3.8rem;
  }
  
  .typo-label {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    text-align: center;
  }
  
  .typo-plus,
  .typo-equals {
    font-size: 1.8rem;
    margin-top: 12px;
  }
  
  .typo-line > span {
    margin-top: 12px;
  }
  
  .hero-cta.minimal {
    margin-top: 30px;
    text-align: center;
  }
  
  .hero-desc-minimal {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .hero-cta.minimal {
    margin-top: 50px;
  }
  
  .hero-desc-minimal {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .section-title-pro {
    font-size: 1.5rem;
  }
  
  .steps-grid-pro {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  
  .step-card-pro {
    max-width: 100%;
  }
  
  .step-number-pro {
    width: 45px;
    height: 45px;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .blocks-preview-pro {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 20px;
    margin: 0 auto 25px;
  }
  
  .block-item-pro {
    padding: 0;
  }
  
  .block-number-pro {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  
  .block-title-pro {
    font-size: 0.8rem;
  }
  
  .block-desc-pro {
    font-size: 0.7rem;
  }
  
  .form-screen {
    padding: 10px 10px 25px;
  }
  
  .form-header {
    margin-bottom: 25px;
  }
  
  .form-title {
    font-size: 1.4rem;
  }
  
  .form-description {
    font-size: 0.85rem;
  }
  
  .btn-large {
    padding: 14px 25px;
    font-size: 0.85rem;
  }
  
  .confirmation-actions {
    flex-direction: column;
  }
  
  .confirmation-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .screen {
    padding: 40px 12px 20px;
  }
  
  .back-button {
    top: 12px;
    left: 10px;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  
  /* Hero 480px - letras grandes, layout vertical */
  /* Hero 480px - layout com labels */
  .typo-line {
    gap: 6px;
  }
  
  .typo-item {
    gap: 6px;
  }
  
  .typo-ih,
  .typo-ia,
  .typo-ie {
    font-size: 3rem;
  }
  
  .typo-label {
    font-size: 0.5rem;
    letter-spacing: 1px;
  }
  
  .typo-plus,
  .typo-equals {
    font-size: 1.5rem;
    margin-top: 10px;
  }
  
  .typo-line > span {
    margin-top: 10px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-cta.minimal {
    margin-top: 40px;
  }
  
  .hero-desc-minimal {
    font-size: 0.95rem;
  }
  
  .blocks-preview-pro {
    grid-template-columns: 1fr 1fr;
    gap: 20px 15px;
  }
  
  .block-item-pro {
    padding: 0;
  }
  
  .block-number-pro {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  
  .block-title-pro {
    font-size: 0.7rem;
  }
  
  .block-desc-pro {
    font-size: 0.6rem;
  }
}

/* Telas muito pequenas */
@media (max-width: 360px) {
  .typo-line {
    gap: 4px;
  }
  
  .typo-item {
    gap: 5px;
  }
  
  .typo-ih,
  .typo-ia,
  .typo-ie {
    font-size: 2.4rem;
  }
  
  .typo-label {
    font-size: 0.4rem;
    letter-spacing: 0.5px;
  }
  
  .typo-plus,
  .typo-equals {
    font-size: 1.2rem;
    margin-top: 8px;
  }
  
  .typo-line > span {
    margin-top: 8px;
  }
  
  .hero-desc-minimal {
    font-size: 0.85rem;
  }
  
  .btn-large {
    padding: 12px 20px;
    font-size: 0.8rem;
  }
}

em {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ============================================
   FILE UPLOAD
   ============================================ */

.file-upload-area {
  position: relative;
  margin-bottom: 15px;
}

.file-input {
  display: none;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 180px;
}

.file-upload-label:hover {
  border-color: var(--primary-color);
  background: rgba(255, 131, 26, 0.05);
}

.file-upload-label.drag-over {
  border-color: var(--primary-color);
  background: rgba(255, 131, 26, 0.1);
  transform: scale(1.02);
}

.file-upload-label i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.file-upload-label span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.file-upload-label small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 5px;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.file-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.file-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.file-item-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  min-width: 30px;
  text-align: center;
}

.file-item-icon.video { color: #ff831a; }
.file-item-icon.image { color: #4CAF50; }
.file-item-icon.pdf { color: #f44336; }

.file-item-details {
  flex: 1;
  min-width: 0;
}

.file-item-name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.file-item-size {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.file-item-remove {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  color: #ff6666;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.file-item-remove:hover {
  background: rgba(255, 68, 68, 0.2);
  border-color: rgba(255, 68, 68, 0.5);
}

.upload-progress {
  margin-top: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.progress-bar-upload {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill-upload {
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
  width: 0%;
}

#uploadProgressText {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-align: center;
}

/* Mobile adjustments for file upload */
@media (max-width: 768px) {
  .file-upload-label {
    padding: 30px 15px;
    min-height: 150px;
  }
  
  .file-upload-label i {
    font-size: 2.5rem;
  }
  
  .file-upload-label span {
    font-size: 0.9rem;
  }
  
  .file-upload-label small {
    font-size: 0.75rem;
  }
  
  .file-item {
    padding: 10px 12px;
  }
  
  .file-item-name {
    font-size: 0.85rem;
  }
  
  .file-item-size {
    font-size: 0.7rem;
  }
  
  .file-item-remove {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

/* ============================================
   SUBMIT LOADING OVERLAY
   ============================================ */

.submit-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.submit-loading-content {
  text-align: center;
  max-width: 500px;
  padding: 40px 30px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 30px;
}

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

.loading-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.loading-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.loading-progress-container {
  margin-top: 25px;
}

.loading-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.loading-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #ff9d4d);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

.loading-progress-text {
  display: block;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Mobile adjustments for loading */
@media (max-width: 768px) {
  .submit-loading-content {
    padding: 30px 20px;
    max-width: 90%;
  }
  
  .loading-spinner {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
  }
  
  .loading-title {
    font-size: 1.25rem;
  }
  
  .loading-description {
    font-size: 0.9rem;
  }
}