/* Design System Variables */
:root {
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(222.2, 84%, 4.9%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222.2, 84%, 4.9%);
    --primary: hsl(142, 70%, 28%);
    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(30, 95%, 85%);
    --secondary-foreground: hsl(142, 70%, 20%);
    --muted: hsl(210, 40%, 96.1%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --accent: hsl(142, 45%, 92%);
    --accent-foreground: hsl(142, 70%, 20%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --border: hsl(214.3, 31.8%, 91.4%);
    
    /* Hair Oil Brand Colors */
    --rosemary-green: hsl(142, 70%, 28%);
    --rosemary-light: hsl(142, 45%, 92%);
    --batana-brown: hsl(30, 80%, 40%);
    --batana-light: hsl(30, 95%, 85%);
    --gold-accent: hsl(45, 100%, 60%);
    --testimonial-bg: hsl(0, 0%, 97%);
    
    /* Typography */
    --font-size-hero: 1.8rem;
    --font-size-subhero: 1.3rem;
    --font-size-section: 1.5rem;
    --line-height-relaxed: 1.6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Header */
.header {
    width: 100%;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    text-align: center;
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.advertorial {
    font-size: 0.75rem;
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.logo-img, .badge-img {
    height: 70px;
    width: auto;
    max-width: 45%;
}

/* Main Layout */
.main-container {
    width: 100%;
    padding: 1.2rem 1rem;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Main Content */
.main-content {
    width: 100%;
}

.article {
    font-size: 1rem;
    line-height: var(--line-height-relaxed);
}

/* Author Section */
.author-section {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.author-info {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 0.75rem;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-btn {
    width: 2.2rem;
    height: 2.2rem;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

.facebook { background-color: #1877f2; }
.twitter { background-color: #1da1f2; }
.pinterest { 
    background-color: #bd081c; 
    position: relative;
}
.pinterest-icon {
    width: 1rem;
    height: 1rem;
    background-color: white;
    border-radius: 0.125rem;
}
.message { background-color: #0084ff; }
.email { background-color: #6b7280; }

/* Typography */
.hero-title {
    font-size: var(--font-size-hero);
    font-weight: bold;
    line-height: 1.2;
    color: var(--foreground);
    margin-bottom: 1.2rem;
    text-align: center;
}

.sub-hero {
    font-size: var(--font-size-subhero);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-title {
    font-size: var(--font-size-section);
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1.2rem;
    text-align: center;
}

/* Images */
.hero-image,
.product-image {
    margin-bottom: 1.5rem;
    width: 70%;
}

.hero-image img,
.product-image img {
    width: 70%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px hsla(142, 70%, 28%, 0.1);
}

/* Content Text */
.content-text {
    margin-bottom: 1.5rem;
}

.content-text p {
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    color: var(--muted-foreground);
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
    margin-bottom: 1.2rem !important;
}

.highlight {
    font-weight: 600;
}

.brand-highlight {
    font-weight: bold;
    color: var(--primary);
}

.brand-statement {
    font-weight: 600;
    color: var(--primary);
}

/* Lists */
.bullet-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 1.2rem;
}

.bullet-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

/* Highlight Boxes */
.highlight-box {
    background-color: var(--rosemary-light);
    padding: 1.2rem;
    border-radius: 0.5rem;
    margin: 1.2rem 0;
}

.highlight-text {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight-text:last-child {
    margin-bottom: 0;
}

.value-prop {
    background-color: var(--accent);
    padding: 1.2rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.value-prop-text {
    font-weight: 600;
    color: var(--accent-foreground);
    margin: 0;
}

.best-part-box {
    background-color: var(--secondary);
    padding: 1.2rem;
    border-radius: 0.5rem;
    margin: 1.2rem 0;
}

.best-part-title {
    font-weight: 600;
    color: var(--secondary-foreground);
    margin-bottom: 0.5rem;
}

.best-part-text {
    color: var(--secondary-foreground);
    margin: 0;
}

/* Comparison Grid */
.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.comparison-column {
    padding: 0;
}

.comparison-title {
    font-weight: bold;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.comparison-title.negative {
    color: var(--destructive);
}

.comparison-title.positive {
    color: var(--primary);
}

.comparison-list {
    list-style: none;
    padding-left: 0;
}

.comparison-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

/* Dividers */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

/* Money Back Guarantee Section */
.guarantee-section {
    background-color: var(--accent);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
    text-align: center;
    border: 2px solid var(--primary);
}

.guarantee-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    gap: 0.8rem;
}

.guarantee-badge {
    width: 150px; /* Doubled from original 50px */
    height: 150px; /* Doubled from original 50px */
    object-fit: contain;
}

.guarantee-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary);
    margin: 0;
}

.guarantee-content {
    text-align: center;
}

.guarantee-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.guarantee-highlight {
    font-weight: bold;
    color: var(--primary);
    font-size: 1rem;
    text-align: center;
    margin-top: 1.2rem !important;
}

/* Product Link */
.product-link-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--primary);
}

.product-link-button {
    display: block;
    background: linear-gradient(135deg, var(--rosemary-green), var(--batana-brown));
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px hsla(142, 70%, 28%, 0.2);
}

.product-link-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px hsla(142, 70%, 28%, 0.3);
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--rosemary-light), var(--batana-light));
    border-radius: 0.5rem;
}

.cta-section p {
    margin-bottom: 1.2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--rosemary-green), var(--batana-brown));
    color: var(--primary-foreground);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1.2rem 1.8rem;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px hsla(142, 70%, 28%, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px hsla(142, 70%, 28%, 0.3);
}

/* Sidebar */
.sidebar {
    width: 100%;
    margin-top: 2rem;
}

.sidebar-sticky {
    position: relative;
    top: 0;
}

/* Testimonial Cards */
.testimonial-card {
    background-color: var(--testimonial-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 12px hsla(30, 80%, 40%, 0.1);
}

.stars {
    margin-bottom: 0.5rem;
}

.star {
    color: var(--gold-accent);
    font-size: 1rem;
    margin-right: 0.125rem;
}

.testimonial-title {
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.testimonial-quote {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: var(--line-height-relaxed);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author .author-avatar {
    width: 2.2rem;
    height: 2.2rem;
    margin-right: 0.6rem;
    font-size: 0.875rem;
}

.author-details {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.875rem;
}

.author-location {
    color: var(--muted-foreground);
    font-size: 0.75rem;
}

/* Mobile CTA Bar */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 0.8rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.mobile-cta-button {
    display: block;
    background: linear-gradient(135deg, var(--rosemary-green), var(--batana-brown));
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.8rem 1.5rem;
    border-radius: 0.4rem;
    text-align: center;
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: var(--muted);
    padding: 2rem 1rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
    margin-bottom: 70px; /* Space for fixed mobile CTA */
}

.footer-links {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

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

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

.disclaimer {
    margin-bottom: 1.5rem;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    text-align: left;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Responsive adjustments for very small devices */
@media (max-width: 360px) {
    :root {
        --font-size-hero: 1.6rem;
        --font-size-subhero: 1.1rem;
        --font-size-section: 1.3rem;
    }
    
    .logo-img, .badge-img {
        height: 60px;
    }
    
    .header-center {
        gap: 0.5rem;
    }
    
    .cta-button, .mobile-cta-button, .product-link-button {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .guarantee-badge {
        width: 100px;
        height: 100px;
    }
}

/* Animation for scroll appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Desktop styles */
@media (min-width: 1024px) {
    .content-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        margin-top: 0;
    }
    
    .sidebar-sticky {
        position: sticky;
        top: 2rem;
    }
    
    .header-center {
        gap: 2rem;
    }
    
    .logo-img, .badge-img {
        height: 100px;
    }
    
    .mobile-cta-bar {
        display: none;
    }
    
    .footer {
        margin-bottom: 0;
    }
}

/* === Added: ensure comparison columns side-by-side on desktop === */
@media (min-width: 768px) {
  .comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .comparison-column {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 12px hsla(142, 70%, 28%, 0.06);
  }
}
/* === Added: shared section block styling === */
.section-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.2rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px hsla(30, 80%, 40%, 0.06);
}
.section-block .section-title {
  margin-bottom: 0.8rem;
}
/* Testimonials (inline list style) */
.quote-list {
  display: grid;
  gap: 0.9rem;
}
.quote-item {
  background: var(--testimonial-bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
  font-style: italic;
  color: var(--muted-foreground);
}
.quote-item .who {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-weight: 600;
  color: var(--foreground);
}
/* Two Options section */
.options-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .options-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.option-card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--rosemary-light);
  padding: 1rem;
}
.option-card h4 {
  margin: 0 0 0.4rem 0;
  color: var(--primary);
}
.option-card p {
  margin: 0;
}

/* Special styling for Option 1 card */
.option-card.option1 {
  background: hsl(0, 100%, 95%);   /* light red background */
  border-color: hsl(0, 80%, 80%);  /* soft red border */
}

.option-card.option1 h4,
.option-card.option1 p {
  color: hsl(0, 70%, 40%);  /* darker red text */
}

/* CTA buttons variants */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--rosemary-green), var(--batana-brown));
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px hsla(142, 70%, 28%, 0.2);
}
.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}
.btn-full {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 1rem auto 0;
}
/* Subtle header for paragraphs */
.h-muted {
  color: var(--muted-foreground);
  font-weight: 600;
  margin-bottom: 0.6rem;
}


/* === Override: Header not sticky on mobile === */
@media (max-width: 767px) {
  header {
    position: static !important;
  }
}


/* === Override: make header non-sticky sitewide === */
header, .site-header, .topbar, .header, .header-sticky {
  position: static !important;
  top: auto !important;
  inset-block-start: auto !important; /* in case logical properties were used */
}
