@import url('../base/global.css');

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

body {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  font-family: Arial, sans-serif;
}

/* Card Principal Modal - Expandido e Responsivo */
.card {
  position: relative;
  background-color: #f4f5f8;
  width: 100%;
  max-width: 1200px; /* Expandido de 820px para 1200px */
  border-radius: 28px;
  padding: clamp(32px, 5vw, 64px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Botão Fechar */
.btn-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
}

/* --- Coluna Esquerda (Instruções) --- */
.left-column {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-area {
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.logo-placeholder {
  width: clamp(160px, 15vw, 220px);
  height: clamp(100px, 10vw, 140px);
  border-radius: 20px;
}

.step-info {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.step-title {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 900;
  color: #000;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.step-description {
  font-size: clamp(16px, 1.4vw, 20px);
  color: #4a4a4a;
  line-height: 1.4;
  max-width: 380px;
  margin: 0 auto;
}

/* Botões Roxos de Navegação */
.nav-buttons {
  display: flex;
  gap: 16px;
}

.btn-nav {
  width: clamp(90px, 8vw, 110px);
  height: clamp(42px, 4vw, 50px);
  background-color: #6139cc;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: clamp(20px, 2vw, 26px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.btn-nav:hover {
  opacity: 0.9;
}

.btn-prev {
  transform: rotate(180deg);
}

/* --- Coluna Direita (Tela Celular Chamada Dark Mode) --- */
.right-column {
  flex: 1.3;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  background-color: #0d1117;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  width: 100%;
  height: clamp(400px, 40vw, 560px); /* Altura fluida proporcional */
  color: #ffffff;
}

/* Cabeçalho da Chamada */
.call-header {
  padding: clamp(12px, 1.5vw, 18px) clamp(14px, 2vw, 20px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
}

.icon-top {
  font-size: clamp(12px, 1vw, 16px);
  color: #a0a0a0;
  cursor: pointer;
}

.top-right-icons {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.8vw, 12px);
}

.call-contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-name {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 700;
  margin-bottom: 2px;
}

.encryption-text {
  font-size: clamp(9px, 0.8vw, 12px);
  color: #8b949e;
  line-height: 1.1;
}

/* Meio da Tela de Chamada */
.call-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #080a0d;
  background-image: radial-gradient(#1f242d 1px, transparent 1px);
  background-size: clamp(12px, 1.5vw, 16px) clamp(12px, 1.5vw, 16px);
}

.dark-pattern-indicator {
  position: absolute;
  top: 15px;
  font-size: clamp(9px, 0.8vw, 12px);
  color: #30363d;
  text-align: center;
  pointer-events: none;
}

/* Avatar do Contato (Círculo Roxo) */
.call-avatar-placeholder {
  width: clamp(100px, 12vw, 160px);
  height: clamp(100px, 12vw, 160px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.call-avatar-placeholder img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-icon {
  font-size: clamp(40px, 5vw, 70px);
  color: #a5a2d9;
}

/* Rodapé com as Funções da Chamada */
.call-footer {
  background-color: #000000;
  padding: clamp(12px, 1.5vw, 20px);
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.btn-call-action {
  width: clamp(36px, 3.8vw, 48px);
  height: clamp(36px, 3.8vw, 48px);
  border-radius: 50%;
  border: none;
  background-color: #21262d;
  color: #ffffff;
  font-size: clamp(14px, 1.2vw, 18px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Destaque Vermelho Retangular nas TRÊS Funções */
.three-functions-highlight {
  border: clamp(2px, 0.2vw, 3px) solid #e50914;
  border-radius: 12px;
  padding: clamp(3px, 0.4vw, 6px);
  display: flex;
  gap: clamp(6px, 0.8vw, 12px);
  background-color: rgba(229, 9, 20, 0.05);
}

.three-functions-highlight .btn-call-action {
  background-color: #2e353e;
}

.btn-end-call {
  background-color: #e50914;
  transform: rotate(135deg);
}

/* Estilo Geral dos Placeholders de Imagem */
.img-placeholder {
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6139cc;
  font-weight: bold;
  font-size: clamp(12px, 1vw, 15px);
  padding: 8px;
}