@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-misty: #eef2f6;
  --primary-accent: #38bdf8; /* Soft sky blue */
  --primary-dark: #0284c7;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --success: #10b981;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-float: 0 25px 50px -12px rgba(56, 189, 248, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-dark);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes continuous-glow {
  0% { filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4)); }
  50% { filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.7)); }
  100% { filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4)); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

.floating-element {
  animation: float 6s ease-in-out infinite;
}

.glow-filter {
  animation: continuous-glow 4s infinite alternate;
}

.bounce-continuous {
  animation: bounce-subtle 2s infinite ease-in-out;
}

/* Base Layout & Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--bg-misty);
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.text-primary { color: var(--primary-accent); }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: 700; }
.fw-medium { font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.5);
}

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

.btn-secondary {
  background-color: white;
  color: var(--text-dark);
  border: 2px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}

.btn-full {
  width: 100%;
}

/* Top Bar & Advertorial */
.advertorial-banner {
  background-color: #f1f5f9;
  color: #64748b;
  text-align: center;
  padding: 6px 15px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-light);
}

.top-bar {
  background-color: var(--primary-misty);
  background: linear-gradient(90deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--primary-dark);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
}

/* Header/Nav */
header {
  position: sticky;
  top: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 99;
  padding: 15px 0;
  transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
  padding: 60px 0 100px;
  background: radial-gradient(circle at top right, #f0f9ff 0%, #ffffff 70%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: center;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #bae6fd 0%, transparent 60%);
  z-index: -1;
  opacity: 0.5;
}

.hero-image {
  max-height: 500px;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.1));
}

.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  align-items: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-badge svg {
  color: var(--success);
  width: 20px;
  height: 20px;
}

.lifestyle-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 15px;
  opacity: 0.8;
  display: block;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-accent);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: #f0f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-accent);
}

/* Feature Deep Dive */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.review-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #fbbf24;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-misty);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary-dark);
}

.reviewer-info h5 {
  margin: 0;
  font-size: 0.95rem;
}

.verified {
  color: var(--success);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Comparison Section */
.comparison-table-wrapper {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 40px;
}

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

.comparison-table th, .comparison-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 600;
}

.comparison-table th.highlight {
  background: var(--primary-accent);
  color: white;
}

.comparison-table td.highlight {
  background: #f0f9ff;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Product Section (CTA) */
.product-cta-section {
  background: white;
  padding: 80px 0;
}

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

.product-gallery-main {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-bottom: 15px;
}

.product-gallery-main img {
  max-width: 80%;
  margin: 0 auto;
}

.product-info h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.price-block {
  display: flex;
  align-items: end;
  gap: 15px;
  margin: 20px 0;
}

.new-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-accent);
  line-height: 1;
}

.old-price {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 5px;
}

.product-benefits-list {
  margin: 25px 0;
}

.product-benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.product-benefits-list svg {
  color: var(--success);
  flex-shrink: 0;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: max-content;
  margin-bottom: 20px;
}

.qty-btn {
  background: none;
  border: none;
  padding: 10px 15px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-dark);
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  outline: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
}

.faq-answer p {
  padding-top: 15px;
}

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

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

/* Checkout Page Specific */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 100vh;
}

.checkout-main {
  padding: 50px 80px;
  background: white;
}

.checkout-sidebar {
  background: var(--bg-secondary);
  padding: 50px 40px;
  border-left: 1px solid var(--border-light);
}

.checkout-header {
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.checkout-section-title {
  font-size: 1.25rem;
  margin: 30px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.order-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.order-item-img {
  width: 64px;
  height: 64px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 5px;
  position: relative;
}

.order-item-qty {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--text-muted);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.order-summary-row.total {
  font-size: 1.25rem;
  font-weight: 600;
  border-top: 1px solid var(--border-light);
  padding-top: 15px;
  margin-top: 15px;
}

.payment-method {
  border: 1px solid var(--primary-accent);
  background: #f0f9ff;
  padding: 15px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-method-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer */
footer {
  background: #111827;
  color: #9ca3af;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .product-cta-grid, .feature-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature-row.reverse {
    direction: ltr;
  }
  .trust-badges, .product-benefits-list li {
    justify-content: center;
  }
  .qty-selector {
    margin: 0 auto 20px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-sidebar {
    order: -1;
    border-left: none;
    border-bottom: 1px solid var(--border-light);
    padding: 30px 20px;
  }
  .checkout-main {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .section {
    padding: 60px 0;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
