/* ============================================
   VIGOURPRO CHECKOUT - COMPLETE REDESIGN
   Modern, Tech-Forward Design System
   ============================================ */

:root {
  /* New Color Palette - Deep Tech Blue */
  --primary: #1a1f3a;
  --primary-dark: #0f1325;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-glow: #06b6d4;
  --secondary: #8b5cf6;
  --success: #10b981;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Product Hero Section */
.product-hero {
  background: var(--bg-primary);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

/* Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thumbnails {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-secondary);
}

.thumbnails::-webkit-scrollbar {
  height: 6px;
}

.thumbnails::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 3px;
}

.thumbnails::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.thumbnail {
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  border: 3px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: all 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.thumbnail.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--bg-secondary);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Purchase Block */
.purchase-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rating-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #fbbf24;
  font-size: 18px;
}

.rating-text {
  font-weight: 700;
  color: var(--text-primary);
}

.reviews, .customers {
  color: var(--text-muted);
}

.separator {
  color: var(--text-muted);
}

.sold-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits-list li {
  font-size: 15px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefits-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.info-box {
  background: var(--bg-secondary);
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.choose-title {
  font-size: 20px;
  margin: 24px 0 16px;
  font-weight: 700;
}

/* Package Options */
.package-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.package-option {
  position: relative;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--bg-primary);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.package-option:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.package-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.package-radio {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-radius: 50%;
  margin-top: 2px;
  position: relative;
  transition: all 0.3s ease;
}

.package-option.checked .package-radio {
  border-color: var(--accent);
  background: var(--gradient-primary);
}

.package-option.checked .package-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
}

.package-option.checked {
  border-color: var(--accent);
  border-width: 3px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  box-shadow: var(--shadow-md);
}

.package-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--gradient-primary);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.package-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.package-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.package-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.package-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.3;
}

.package-subtitle {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

.package-save-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
  width: fit-content;
}

.package-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.package-price-old {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

/* Buy Button */
.buy-button {
  display: block;
  width: 100%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.buy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.guarantees {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.guarantee-item .icon {
  color: var(--success);
  font-weight: bold;
  font-size: 18px;
}

/* Sticky CTA Mobile */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 1000;
  display: none;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.sticky-button,
a.sticky-button {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-transform: none;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: all 0.3s ease;
}

a.sticky-button:hover {
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Landing Sections */
.landing-section {
  padding: 80px 0;
}

.landing-section:nth-child(even) {
  background: var(--bg-secondary);
}

.section-title {
  font-size: clamp(32px, 4vw, 42px);
  text-align: center;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-intro {
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.section-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-content h2 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-content p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Oval Image */
.oval-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-xl);
}

.oval-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Formula Collage */
.formula-collage {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.formula-collage img {
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.formula-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-bar {
  width: 100%;
  height: 12px;
  background-color: var(--bg-secondary);
  border-radius: 6px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 6px;
  transition: width 0.6s ease;
}

.stat-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
}

.stat-text strong {
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

/* CTA Button */
.cta-button,
a.cta-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  width: fit-content;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.cta-button:hover,
a.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
  color: white;
  text-decoration: none;
}

.cta-subtext {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

.cta-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

/* Science Stats */
.science-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Customer Grid */
.customer-grid {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-lg);
}

.customer-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Promise Grid */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.promise-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 32px;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.promise-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.promise-icon {
  font-size: 48px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 50%;
  border: 2px solid var(--border);
  overflow: hidden;
}

.promise-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promise-item p {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Testimonials */
.testimonials-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-secondary);
}

.testimonials-scroll::-webkit-scrollbar {
  height: 8px;
}

.testimonials-scroll::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.testimonials-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.testimonial-card {
  flex: 0 0 320px;
  background-color: var(--bg-primary);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

.testimonial-stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-secondary);
}

.testimonial-author {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.testimonial-date {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--accent);
  transform: scale(1.2);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 18px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: white;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* Tablet Breakpoint */
@media (min-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }

  .section-layout {
    grid-template-columns: 1fr 1fr;
  }

  .promise-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
  .product-hero {
    padding: 60px 0;
  }

  .landing-section {
    padding: 100px 0;
  }

  .section-layout {
    gap: 80px;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
