/* Removed global body styling to avoid affecting entire site */

/* Minimal overlay/wrapper (non-intrusive) */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.8); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 2147483647; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-popup { position: relative; max-width: 1100px; width: 95%; border-radius: 30px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); color: #fff; cursor: pointer; z-index: 200; display: grid; place-items: center; font-size: 20px; font-weight: 300; transition: all 0.3s; }
.modal-close:hover { background: rgba(255, 59, 48, 0.9); transform: scale(1.1); }
body.modal-open { overflow: hidden; }

/* Banner Container */
.banner-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: linear-gradient(to right, #1a1a1a 0%, #0a0a0a 50%, #000 100%);
  color: #fff;
  border-radius: 30px;
  padding: 32px 60px 50px 60px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Left and Right Content Sections */
.content-left { width: 52%; z-index: 10; padding-right: 50px; }
.content-right { width: 48%; display: flex; align-items: center; justify-content: center; z-index: 10; }

/* Header & Logo */
.banner-container .header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  position: relative;
  z-index: 10;
}
.banner-container .logo {
  font-size: 26px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.banner-container .logo-w {
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: #000;
  width: 32px;
  height: 32px;
  font-weight: 700;
  font-size: 18px;
  border-radius: 6px;
}
.banner-container .agency-tag {
  font-size: 15px;
  color: #fff;
  opacity: 0.9;
}

/* Main Content & Headlines */
.banner-container h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px 0;
  color: #fff;
}
.banner-container .sale-offer {
  font-size: 18px;
  color: #fff;
  opacity: 0.9;
  margin: 0 0 32px 0;
}

/* Pricing Package Card (Glassmorphism) */
.banner-container .package-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 28px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 24px;
}
.banner-container .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.banner-container .package-title {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 17px;
  gap: 10px;
  color: #fff;
}
.banner-container .package-title .icon {
  width: 20px;
  height: 20px;
}
.banner-container .price {
  text-align: right;
  line-height: 1.2;
  color: #fff;
}
.banner-container .price-symbol {
  font-size: 20px;
  font-weight: 600;
  vertical-align: top;
}
.banner-container .current-price {
  font-size: 40px;
  font-weight: 700;
}
.banner-container .old-price {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
  font-size: 20px;
  font-weight: 500;
}
.banner-container .per-month {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: -2px;
}

/* Features List */
.banner-container .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  font-size: 15px;
  color: #fff;
}
.banner-container .features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.banner-container .icon.check {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

/* Card Footer & CTA */
.banner-container .card-footer {
  display: flex;
  align-items: center;
  gap: 20px;
}
.banner-container .cta-button {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 15px 32px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.banner-container .cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}
.banner-container .more-info {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}
.banner-container .more-info-label {
  opacity: 0.7;
}
.banner-container .more-info-link {
  font-weight: 500;
}

/* Right Side Image */
.banner-container .image-wrapper {
  width: 100%;
  max-width: 420px; /* Slightly larger */
  height: auto;
  border-radius: 24px; /* Match card radius */
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.banner-container .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Background Decorative Shapes (scoped) */
.banner-container .shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

/* Large orange/red gradient on the left side */
.banner-container .shape-1 { 
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at center, #FF6B35 0%, #FF8C42 20%, rgba(255, 107, 53, 0) 60%);
  bottom: -150px;
  left: -100px;
  filter: blur(60px);
  opacity: 1;
  z-index: 1;
}

/* Teal/cyan gradient top-left */
.banner-container .shape-2 { 
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(64, 224, 208, 0.3) 0%, rgba(0, 150, 136, 0.2) 30%, rgba(0, 128, 128, 0) 60%);
  top: -120px;
  left: -80px;
  filter: blur(70px);
  z-index: 1;
}

/* Large diagonal gray panel - left side */
.banner-container .shape-3 { 
  width: 350px;
  height: 800px;
  background: linear-gradient(135deg, rgba(180, 180, 180, 0.12) 0%, rgba(140, 140, 140, 0.06) 50%, rgba(100, 100, 100, 0.02) 100%);
  top: -150px;
  left: -80px;
  transform: rotate(20deg);
  z-index: 2;
}

/* Blue/purple gradient top-right */
.banner-container .shape-4 { 
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(100, 149, 237, 0.25) 0%, rgba(65, 105, 225, 0.15) 30%, rgba(30, 80, 150, 0) 60%);
  top: -150px;
  right: -150px;
  filter: blur(80px);
  z-index: 1;
}

/* Large orange sphere in center-bottom */
.banner-container .shape-1::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 40% 40%, #FFB84D 0%, #FF8C42 25%, #FF6B35 50%, rgba(255, 107, 53, 0) 70%);
  bottom: 100px;
  left: 250px;
  filter: blur(50px);
  opacity: 0.95;
  z-index: 3;
}

/* 3D Cursor Icon */
.banner-container .shape-cursor { 
  position: absolute;
  bottom: 40px;
  right: 60px;
  width: 120px;
  height: 120px;
  z-index: 25;
  transform: rotate(12deg);
  opacity: 1;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 140"><defs><linearGradient id="cursorGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%23FF6B6B"/><stop offset="50%" stop-color="%23FF8E53"/><stop offset="100%" stop-color="%23FFB84D"/></linearGradient><filter id="shadow"><feDropShadow dx="2" dy="4" stdDeviation="3" flood-opacity="0.3"/></filter></defs><path d="M20 20 L20 110 L50 80 L65 120 L75 117 L60 77 L95 85 Z" fill="url(%23cursorGrad)" stroke="%23fff" stroke-width="3" filter="url(%23shadow)"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

/* ======================================== */
/* NEW: Responsive adjustments for screens  */
/* smaller than 800px                     */
/* ======================================== */
@media (max-width: 900px) {
  .banner-container {
    flex-direction: column;
    padding: 32px 40px 40px 40px;
    align-items: flex-start;
  }

  .content-left,
  .content-right {
    width: 100%;
    padding-right: 0;
  }

  .content-right {
    margin-top: 32px;
  }

  .banner-container h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .banner-container .sale-offer {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .banner-container .package-card {
    padding: 20px 24px;
  }

  .banner-container .features-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .banner-container .card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .banner-container .cta-button {
    width: 100%;
    text-align: center;
  }

  .banner-container .image-wrapper {
    max-width: 100%;
  }

  /* Adjust decorative shapes for mobile */
  .banner-container .shape-1 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
  }

  .banner-container .shape-cursor {
    width: 80px;
    height: 80px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 8px;
    align-items: flex-start;
    padding-top: 20px;
  }

  .modal-popup {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .banner-container {
    padding: 20px 16px 24px 16px;
    border-radius: 16px;
    margin: 0;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
  }

  .banner-container .header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .banner-container .logo {
    font-size: 20px;
  }

  .banner-container .logo-w {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .banner-container .agency-tag {
    font-size: 13px;
  }

  .banner-container h1 {
    font-size: 28px;
  }

  .banner-container .sale-offer {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .banner-container .package-card {
    padding: 18px 20px;
    border-radius: 20px;
  }

  .banner-container .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .banner-container .package-title {
    font-size: 15px;
  }

  .banner-container .price {
    text-align: left;
  }

  .banner-container .current-price {
    font-size: 32px;
  }

  .banner-container .features-list {
    font-size: 14px;
  }

  .banner-container .cta-button {
    padding: 13px 28px;
    font-size: 15px;
  }

  .content-right {
    margin-top: 24px;
  }

  /* Hide some decorative elements on very small screens */
  .banner-container .shape-3,
  .banner-container .shape-4 {
    display: none;
  }
}

/* Extra small mobile screens - 480px and below */
@media (max-width: 480px) {
  .modal-overlay {
    padding: 4px;
    padding-top: 16px;
  }

  .banner-container {
    padding: 16px 12px 20px 12px;
    border-radius: 12px;
    max-height: 85vh;
  }

  .modal-close {
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.9);
  }

  .banner-container h1 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .banner-container .sale-offer {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .banner-container .package-card {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .banner-container .current-price {
    font-size: 28px;
  }

  .banner-container .cta-button {
    padding: 12px 24px;
    font-size: 14px;
  }

  .content-right {
    margin-top: 20px;
  }

  /* Hide all decorative shapes on extra small screens */
  .banner-container .shape,
  .banner-container .shape-cursor {
    display: none;
  }
}
