/* =====================================================================
   MOVITA EMS & PILATES – Ucretsiz Deneme Dersi Modal
   Marka renkleri: #E8620A (turuncu), #2E1A0E (koyu kahve),
                   #F5EDE3 (krem), #C8490A (derin turuncu)
   ===================================================================== */

.mv-trial-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 8, 2, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  animation: mv-trial-fade 0.35s ease;
}

.mv-trial-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.mv-trial-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(232, 98, 10, 0.15);
  animation: mv-trial-scale 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mv-trial-header {
  position: relative;
  padding: 44px 32px 90px;
  background: linear-gradient(145deg, #E8620A 0%, #C8490A 35%, #2E1A0E 100%);
  text-align: center;
  overflow: hidden;
}

.mv-trial-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 1;
}

.mv-trial-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 72px;
  background: #fff;
  clip-path: ellipse(62% 100% at 50% 100%);
  z-index: 2;
}

.mv-trial-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}

.mv-trial-close:hover {
  background: rgba(232, 98, 10, 0.8);
  border-color: #E8620A;
  transform: scale(1.12) rotate(90deg);
}

.mv-trial-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  height: 60px;
  max-width: 240px;
  box-shadow: none;
  border: none;
  position: relative;
  z-index: 3;
  overflow: visible;
}

.mv-trial-logo img {
  height: 100%;
  width: auto;
  max-height: 60px;
  object-fit: contain;
}

.mv-trial-header-badge {
  position: relative;
  z-index: 3;
  display: inline-block;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mv-trial-header h2 {
  position: relative;
  z-index: 3;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin: 0 auto;
  line-height: 1.45;
  max-width: 370px;
  letter-spacing: -0.3px;
}

.mv-trial-body {
  padding: 12px 44px 44px;
}

.mv-trial-perks {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.mv-trial-perk {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #5C3520;
  background: #FDF4ED;
  border: 1px solid rgba(232, 98, 10, 0.2);
  border-radius: 50px;
  padding: 5px 12px;
}

.mv-trial-perk i {
  color: #E8620A;
  font-size: 13px;
}

.mv-trial-form-group {
  margin-bottom: 18px;
}

.mv-trial-form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #2E1A0E;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.mv-trial-input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  font-size: 15px;
  border: 2px solid #F0E8E0;
  border-radius: 14px;
  outline: none;
  transition: all 0.3s ease;
  background: #FFFAF6;
  color: #2E1A0E;
  box-sizing: border-box;
}

.mv-trial-input:focus {
  border-color: #E8620A;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 98, 10, 0.10);
}

.mv-trial-input::placeholder {
  color: #BBA898;
}

.mv-trial-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.mv-trial-btn {
  flex: 1;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mv-trial-btn-primary {
  background: linear-gradient(135deg, #E8620A 0%, #C8490A 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 98, 10, 0.35);
}

.mv-trial-btn-primary:hover {
  background: linear-gradient(135deg, #2E1A0E 0%, #3D2410 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(46, 26, 14, 0.45);
}

.mv-trial-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.mv-trial-btn-secondary {
  background: #F5EDE3;
  color: #7A5C46;
  font-weight: 700;
}

.mv-trial-btn-secondary:hover {
  background: #EDE0D4;
  color: #2E1A0E;
}

.mv-trial-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}

.mv-trial-success.active {
  display: block;
}

.mv-trial-success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #E8620A 0%, #C8490A 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(232, 98, 10, 0.4);
}

.mv-trial-success-icon i {
  font-size: 36px;
  color: #fff;
}

.mv-trial-success h3 {
  color: #2E1A0E;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.mv-trial-success p {
  color: #7A5C46;
  font-size: 15px;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

@keyframes mv-trial-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes mv-trial-scale {
  from { opacity: 0; transform: scale(0.85) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 600px) {
  .mv-trial-modal { border-radius: 20px; }
  .mv-trial-header { padding: 40px 20px 80px; }
  .mv-trial-header h2 { font-size: 16px; }
  .mv-trial-body { padding: 8px 24px 36px; }
  .mv-trial-actions { flex-direction: column-reverse; }
}
