/* ====================================
   Root Variables and Base Styles
   ==================================== */
/* Root Variables */
:root {
  --primary-color: #81b71a;
  --secondary-color: #4ebbf7;
  --tertiary-color: #6d6d6d;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --neo-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1),
    -10px -10px 20px rgba(255, 255, 255, 0.5);
  --primary-gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

/* Base Typography */
body {
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: var(--tertiary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font);
}

p,
span,
a,
li,
button {
  font-family: var(--body-font);
}

/* ====================================
       Common Components
       ==================================== */
.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.3;
}

.feature-item {
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.tag {
  transition: background-color 0.2s ease;
}

.tag:hover {
  background-color: var(--secondary-color);
}

.cta-button {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Common Sticky CTA Styles */
.sticky-cta-1,
.sticky-cta-2 {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #81b71a; /* Green background */
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

/* Sticky CTA 2 Styles */
.sticky-cta-2 {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(145deg, #1a1a1a, #2d3748);
  padding: 15px;
  z-index: 1000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
}

.cta-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Countdown Section */
.countdown-section {
  text-align: center;
  color: white;
}

.flash-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: white;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.flash-icon {
  animation: flash 2s infinite;
}

.timer {
  font-family: monospace;
}

.time {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.label {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-left: 5px;
}

/* Offer Section */
.offer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
}

.save-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(129, 183, 26, 0.2);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.current {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.original {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 1rem;
}

/* Action Section */
.action-section {
  text-align: center;
}

.buy-now-button {
  text-decoration: none;
  display: block;
  position: relative;
  margin-bottom: 5px;
}

.button-content {
  background: var(--primary-gradient);
  padding: 12px 25px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transition: all 0.3s ease;
}

.button-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(129, 183, 26, 0.2);
}

.button-text {
  color: white;
  text-align: left;
}

.main-text {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sub-text {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
}

.button-price {
  color: white;
  font-size: 1rem;
  font-weight: 800;
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.secure-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background: white;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.guarantee {
  color: var(--primary-color);
  font-size: 12px;
  margin-top: 8px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 20px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes flash {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .cta-content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sticky-cta-2 {
    padding: 10px;
  }

  .cta-content {
    padding: 15px;
  }

  .button-content {
    flex-direction: column;
    gap: 10px;
  }

  .button-price {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
  }

  .secure-badge {
    position: relative;
    top: 5px;
    right: 0;
    justify-content: center;
    margin-top: 5px;
  }
}

@media (max-width: 480px) {
  .countdown-section,
  .offer-section {
    width: 100%;
  }

  .time {
    font-size: 1.2rem;
  }

  .current {
    font-size: 1.5rem;
  }
}
