:root {
  --primary-color: #0ea5e9; /* Cool blue */
  --secondary-color: #0f172a; /* Dark navy */
  --accent-color: #f97316; /* Amazon-ish orange for CTA */
  --accent-hover: #ea580c;
  --bg-color: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Affiliate Bar */
.affiliate-bar {
  background-color: var(--secondary-color);
  color: #cbd5e1;
  text-align: center;
  padding: 8px 15px;
  font-size: 0.8rem;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color), #1e293b);
  color: var(--white);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-top: 20px;
}

.hero-ctas .cta-btn {
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

.hero-cta-or {
  margin: 0;
  font-weight: 600;
  color: #cbd5e1;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

/* CTA Buttons */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent-color);
  color: #000000;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
  text-align: center;
  border: 2px solid var(--accent-color);
}

.cta-btn:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
}

.cta-btn-outline {
  background-color: transparent;
  color: var(--white);
  box-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  box-shadow: none;
}

.trust-text {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: -5px !important;
  margin-bottom: 10px !important;
  font-weight: 500;
  text-align: center;
}

@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.primary-pulse {
  animation: pulse-shadow 2s infinite;
}

/* Variant 3 Styles */
.shiny-btn {
  position: relative;
  overflow: hidden;
}

.shiny-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.floating-badge {
  position: absolute;
  top: -12px;
  right: 5px;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
  z-index: 10;
  animation: bounce-slight 2s infinite;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes bounce-slight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.cta-secondary-v3 {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
}

.cta-secondary-v3:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: var(--white) !important;
}

/* Comparison Table */
.comparison-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.table-wrapper {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background-color: #f1f5f9;
  font-weight: 700;
  color: var(--secondary-color);
}

td.product-name {
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-pick-badge {
  background: #22c55e;
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 10px;
}

/* Reviews Section */
.reviews-section {
  padding: 80px 0;
  background-color: var(--white);
}

.review-card {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  background: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.review-image {
  flex: 0 0 300px;
}

.review-image img {
  width: 100%;
  border-radius: 8px;
}

.review-content {
  flex: 1;
}

.review-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.stars {
  color: #fbbf24;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.pros-cons {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.pros, .cons {
  flex: 1;
}

.pros h4, .cons h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.pros h4 { color: #22c55e; }
.cons h4 { color: #ef4444; }

.pros ul, .cons ul {
  list-style: none;
}

.pros ul li, .cons ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.pros ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

.cons ul li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: var(--white);
  text-align: center;
}

.benefits-section .section-title {
  color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 200px;
}

.faq-item.active .faq-question {
  color: var(--primary-color);
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Footer Recommendation */
.final-cta {
  padding: 80px 0;
  text-align: center;
  background-color: var(--white);
}

footer {
  background: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  padding: 40px 0 20px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Responsive */
.mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }
  .hero .container {
    flex-direction: column;
    text-align: center;
    padding: 0 15px;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .hero-ctas {
    align-items: center;
  }
  .hero, .comparison-section, .reviews-section, .benefits-section, .faq-section, .final-cta {
    padding: 40px 0;
  }
  .section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    margin-bottom: 20px;
    padding: 0 10px;
    line-height: 1.3;
  }
  .review-card {
    flex-direction: column;
  }
  .review-image {
    flex: auto;
    width: 100%;
  }
  .pros-cons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile Table Styles */
  .table-wrapper {
    box-shadow: none;
    background: transparent;
  }
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  tr {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
  }
  td {
    border: none;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding: 40px 15px 15px 15px;
    text-align: left !important;
    min-height: 50px;
  }
  td:last-child {
    border-bottom: 0;
  }
  td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 10px;
    width: auto;
    padding-right: 0;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
  }
  td.product-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 15px;
    background-color: #f1f5f9;
  }
  td.product-name::before {
    display: none;
  }
}
