/* ====================================
   Root Variables and Base Styles
   ==================================== */
/* Root Variables */
:root {
  --primary-color: #81b71a;
  --secondary-color: #4ebbf7;
  --tertiary-color: #6d6d6d;
  --body-font: Arial, sans-serif;
  --title-font: Helvetica, Arial, sans-serif;
}

/* Base Typography */
body {
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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 {
  background: linear-gradient(to right, #81b71a, #6a9815);
}

.sticky-cta-2 .feature-text {
  color: white;
  font-size: 18px;
}

.sticky-cta-2 .highlight {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 10px;
}

.sticky-cta-2 .product-bundle img {
  max-height: 80px;
  width: auto;
}

.sticky-cta-2 .price-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.sticky-cta-2 .label {
  font-size: 14px;
  opacity: 0.9;
}

.sticky-cta-2 .amount {
  font-size: 24px;
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .cta-content {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .sticky-cta-1 .offer-text,
  .sticky-cta-2 .feature-text {
    font-size: 16px;
  }
}

/* Sticky CTA 2: Premium Banner */
.sticky-cta-2 {
  background: linear-gradient(135deg, #1a222f, #2d3748);
  padding: 15px 30px;
}

.sticky-cta-2 .cta-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.sticky-cta-2 .countdown-section {
  text-align: center;
}

.sticky-cta-2 .flash-tag {
  background: #ff6b6b;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 8px;
}

.sticky-cta-2 .timer {
  color: white;
}

.sticky-cta-2 .timer .time {
  font-size: 24px;
  font-weight: bold;
  font-family: monospace;
}

.sticky-cta-2 .timer .label {
  font-size: 12px;
  opacity: 0.8;
  margin-left: 4px;
}

.sticky-cta-2 .offer-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-cta-2 .save-badge {
  background: #81b71a;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
}

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

.sticky-cta-2 .current {
  color: white;
  font-size: 32px;
  font-weight: bold;
}

.sticky-cta-2 .original {
  color: #a0aec0;
  text-decoration: line-through;
  font-size: 18px;
}

.sticky-cta-2 .action-section {
  text-align: center;
}

.sticky-cta-2 .guarantee {
  color: #81b71a;
  font-size: 12px;
  margin-top: 4px;
}

.sticky-cta-2 .close-btn {
  color: #a0aec0;
  font-size: 20px;
  top: 15px;
  right: 15px;
}

/* Responsive styles for Sticky CTA 2 */
@media (max-width: 768px) {
  .sticky-cta-2 .cta-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sticky-cta-2 .offer-section {
    flex-direction: column;
    gap: 10px;
  }

  .sticky-cta-2 .current {
    font-size: 28px;
  }
}
