/* ============================================
   Get Started Popup Styles
   
   📝 EDIT THIS FILE to customize popup appearance
   📖 Guide: ../styles/POPUP_CUSTOMIZATION.md
   ============================================ */

/* -------- OVERLAY & BACKDROP -------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);  /* 🎨 EDIT: Overlay darkness (0-1) */
  backdrop-filter: blur(3px);       /* 🎨 EDIT: Blur strength (0-20px) */
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;  /* 🎨 EDIT: Fade duration */
}

.popup-overlay.show {
  display: flex;
}

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

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

/* -------- POPUP CONTAINER -------- */
.popup-content {
  background: white;
  border-radius: 24px;                                      /* 🎨 EDIT: Corner roundness (16-32px) */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);      /* 🎨 EDIT: Shadow strength */
  max-width: 480px;                                         /* 🎨 EDIT: Popup width (400-600px) */
  width: 100%;
  margin: 0 20px;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);   /* 🎨 EDIT: Slide duration */
  position: relative;
  overflow: hidden;
}

/* -------- HEADER -------- */
.popup-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);  /* 🎨 EDIT: Header colors */
  padding: 40px 32px 32px;                                         /* 🎨 EDIT: Header padding */
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.popup-icon {
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* -------- TEXT STYLES -------- */
.popup-title {
  color: white;
  font-size: 28px;       /* 🎨 EDIT: Title size (24-32px) */
  font-weight: 700;      /* 🎨 EDIT: Title weight (600-800) */
  margin: 0 0 8px;
}

.popup-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;       /* 🎨 EDIT: Subtitle size (14-18px) */
  margin: 0;
}

/* -------- BODY -------- */
.popup-body {
  padding: 32px;         /* 🎨 EDIT: Body padding */
}

/* -------- PLATFORM BUTTONS -------- */
.platform-btn {
  display: flex;
  align-items: center;
  padding: 20px 24px;                                     /* 🎨 EDIT: Button padding */
  border-radius: 16px;                                    /* 🎨 EDIT: Button roundness (12-20px) */
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);   /* 🎨 EDIT: Hover transition speed */
  border: 2px solid transparent;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.platform-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.platform-btn:hover::before {
  opacity: 1;
}

/* Shopify Button - Green Gradient */
.platform-btn.shopify {
  background: linear-gradient(135deg, #96bf48 0%, #5e8e3e 100%);  /* 🎨 EDIT: Shopify button colors */
  color: white;
  box-shadow: 0 10px 25px rgba(150, 191, 72, 0.3);              /* 🎨 EDIT: Shopify shadow */
}

.platform-btn.shopify:hover {
  transform: translateY(-4px);                                    /* 🎨 EDIT: Lift distance (-2px to -8px) */
  box-shadow: 0 15px 35px rgba(150, 191, 72, 0.4);
}

/* Other Platforms Button - Clean White */
.platform-btn.other {
  background: #f8f9fa;       /* 🎨 EDIT: Other button background */
  color: #1a202c;            /* 🎨 EDIT: Other button text color */
  border-color: #e2e8f0;     /* 🎨 EDIT: Other button border */
}

.platform-btn.other:hover {
  transform: translateY(-4px);                                    /* 🎨 EDIT: Lift distance */
  background: white;
  border-color: #cbd5e0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.platform-btn.shopify .platform-icon {
  background: rgba(255, 255, 255, 0.2);
}

.platform-btn.other .platform-icon {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.platform-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
}

.platform-text p {
  font-size: 14px;
  margin: 0;
  opacity: 0.8;
}

.popup-footer {
  padding: 0 32px 32px;
  text-align: center;
}

.popup-footer p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

.popup-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.popup-footer a:hover {
  text-decoration: underline;
}

/* -------- MOBILE RESPONSIVE -------- */
@media (max-width: 640px) {
  .popup-content {
    margin: 20px;
    border-radius: 20px;
  }
  
  .popup-header {
    padding: 32px 24px 24px;
  }
  
  .popup-title {
    font-size: 24px;
  }
  
  .popup-body {
    padding: 24px;
  }
  
  .platform-btn {
    padding: 16px 20px;
  }
  
  .platform-icon {
    width: 40px;
    height: 40px;
  }
  
  .platform-text h3 {
    font-size: 16px;
  }
}
