/* ===================================================
   MOCKUP GALLERY SECTION (SECTION 07 EXTRA)
   =================================================== */

.mockup-gallery-subtitle {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 30px auto;
  color: #94a3b8;
  line-height: 1.8;
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.mockup-gallery-subtitle strong {
  color: #f8fafc;
  font-weight: 600;
}

.mockup-gallery-subtitle .highlight-text,
.premium-quote .highlight-text {
  background: linear-gradient(90deg, #C59B2E, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 1px;
}

.premium-quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #cbd5e1;
  line-height: 1.6;
  font-weight: 300;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.premium-quote strong {
  color: #f8fafc;
  font-weight: 700;
}

.mockup-gallery-section {
    padding: 80px 0;
    background: #0D1117;
    position: relative;
    overflow: hidden;
}

.gallery-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.gallery-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--text-muted);
    margin-top: 10px;
    font-weight: 300;
}

/* Grid de Mockups */
.mockup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.mockup-category-group {
    display: none;
    width: 100%;
}

.mockup-category-group.active {
    display: block;
}

/* Card do Mockup */
.mockup-card {
    position: relative; /* CRITICAL: Referência para o phone-badge */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.mockup-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Layout Interno do Card */
.mockup-visual {
    display: flex;
    gap: 20px;
    align-items: flex-end; /* Alinha o texto com a base do iPhone */
}

/* Phone Inner Preview */
.phone-mini {
    width: 260px;
    height: 430px;
    background: #000;
    border-radius: 32px;
    padding: 12px;
    border: 4px solid #1e293b;
    flex-shrink: 0;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.phone-inner {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    padding: 12px;
    position: relative;
    text-align: center;
}

.phone-pro-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
    padding-top: 5px;
}

.mockup-pro-photo-mini {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.mockup-card:hover .mockup-pro-photo-mini {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-color);
}

.pro-real-name {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1px;
}

.pro-name-mini {
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Estilização Dinâmica por Variáveis */
.phone-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, var(--primary-color), transparent);
    opacity: 0.15;
    pointer-events: none;
}

.phone-header {
    margin-bottom: 12px;
    padding: 0 5px;
}

.app-name {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    display: block;
    line-height: 1.1;
    margin-bottom: 2px;
}

.app-subtitle {
    font-size: 10px;
    color: #64748b;
    margin-top: 0;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

.phone-badge {
    position: absolute;
    top: 0;
    right: 30px;
    transform: translateY(-50%);
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 50;
    text-transform: uppercase;
    pointer-events: none;
}

.phone-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.phone-question {
    font-size: 14px;
    color: #334155;
    font-weight: 600;
    line-height: 1.2;
}

.phone-data-box {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.data-label {
    font-size: 10px;
    color: #64748b;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-value {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 700;
}

.phone-btn {
    margin-top: auto;
    background: var(--primary-color);
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

/* Info do Mockup */
.mockup-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mockup-approach {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.approach-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.approach-explanation {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

.mockup-benefit p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
    padding-left: 15px;
    border-left: 3px solid var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .mockup-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
    gap: 40px;
  }

  .mockup-visual {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .phone-mini {
    /* Mantendo o tamanho premium do desktop no mobile */
    width: 260px;
    height: 430px;
    padding: 12px;
  }

  /* Removendo as reduções de fonte para manter o visual luxo */
  .mockup-info {
    width: 100%;
    padding: 0 10px;
    text-align: center;
  }

  .mockup-benefit p {
    font-size: 13px;
    padding-left: 0;
    border-left: none;
    border-top: 2px solid var(--primary-color);
    padding-top: 15px;
    display: inline-block;
  }

  .mockup-approach {
    margin-top: 20px;
  }

  .phone-badge {
    right: 50%;
    transform: translate(50%, -50%);
  }

  /* Limitar a 2 mockups por profissional no mobile */
  .mockup-grid .mockup-card:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 375px) {
  .phone-mini {
    /* Ajuste fino apenas para telas muito pequenas, mas mantendo a proporção */
    width: 240px;
    height: 400px;
  }

  .mockup-card {
    padding: 25px 15px;
  }
}
