/* ==========================================================================
   Base Styles & Design System
   ========================================================================== */
:root {
    --primary: #2c7a7b;       /* Muted Teal */
    --primary-dark: #235f5f;
    --secondary: #1a365d;     /* Muted Navy */
    --secondary-dark: #10223b;
    --text-main: #2d3748;     /* Charcoal */
    --text-muted: #718096;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;      /* Soft Gray / Light Stone */
    --border-color: #e2e8f0;  /* Silver highlights */
    --success: #38a169;
    --danger: #e53e3e;
    
    --font-main: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.05), 0 4px 6px rgba(0,0,0,0.03);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

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

.container-md { max-width: 900px; }
.container-sm { max-width: 600px; }

.section-white { background-color: var(--bg-white); padding: 80px 0; }
.section-light { background-color: var(--bg-light); padding: 80px 0; }
.section-primary { background-color: var(--secondary); color: white; padding: 80px 0; }
.section-primary h2, .section-primary p { color: white; }

.text-center { text-align: center; }
.left-align { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 1rem; }
.max-w-800 { max-width: 800px; }
.lead { font-size: 1.25rem; }
.lead-text { font-size: 1.125rem; color: var(--text-muted); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.font-weight-bold { font-weight: 700; }
.d-block { display: block; }
.opacity-70 { opacity: 0.7; }
.opacity-50 { opacity: 0.5; }
.rounded { border-radius: var(--radius-md); }

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

/* ==========================================================================
   Buttons & Inputs
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}
.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.15rem;
}

.btn-cart {
    background-color: var(--success);
    color: white;
}
.btn-cart:hover {
    background-color: #2f855a;
    color: white;
}

.btn-buy-now {
    background-color: var(--bg-light);
    color: var(--secondary);
    border: 2px solid var(--secondary);
}
.btn-buy-now:hover {
    background-color: var(--secondary);
    color: white;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.2);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* ==========================================================================
   Sections Specific Styles
   ========================================================================== */

/* 1. Header & Navigation */
.site-header {
    background-color: var(--bg-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header .brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-header .brand span {
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}
.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}
.nav-links a:hover {
    color: var(--primary);
}

/* 1. Top Bar */
.top-promotional-bar {
    background-color: var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    padding: 8px 0;
}
.top-promotional-bar p { margin: 0; }

/* 2. Hero Section */
.hero-section {
    background-color: var(--bg-white);
    padding: 60px 0;
    overflow: hidden;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content {
    padding-right: 20px;
}
.hero-content h1 {
    font-size: 2.5rem;
    margin-top: 15px;
    margin-bottom: 20px;
}
.hero-subhead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.badge {
    background-color: #e6fffa;
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}
.hero-ctas {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.trust-icons {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.hero-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Sections General */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.section-title.text-center { margin-bottom: 2rem; }

/* Benefit List */
.benefit-list {
    list-style: none;
    margin-top: 20px;
}
.benefit-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}
.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.feature-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Audience section */
.audience-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 30px auto;
}
.audience-item {
    background: var(--bg-light);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: left;
    border-left: 4px solid var(--primary);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-white);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Reviews */
.review-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
}
.review-slider::-webkit-scrollbar { display: none; } /* Chrome */
.review-card {
    min-width: 300px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex: 0 0 auto;
}
.stars {
    color: #ecc94b;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.review-text {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 15px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}
.review-author .avatar {
    border-radius: 50%;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}
.comparison-table th, .comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.comparison-table th {
    background-color: var(--secondary);
    color: white;
    font-weight: 600;
}
.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
    background-color: #f0fdfa; /* Light teal tint */
}
.comparison-table td.highlight {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Trust Badges */
.badge-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    margin: 0 5px;
}

/* Order Section (Shopify Style) */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.main-image-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.thumbnail-row {
    display: flex;
    gap: 10px;
}
.thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}
.thumb.active {
    border-color: var(--primary);
}
.promo-badge {
    background: #fed7d7;
    color: #c53030;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.product-title {
    font-size: 2rem;
    margin-bottom: 10px;
}
.price-block {
    display: flex;
    align-items: center;
    gap: 15px;
}
.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
}
.new-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}
.save-badge {
    background: var(--success);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}
.qty-label { font-weight: 600; }
.quantity-selector {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 120px;
}
.qty-btn {
    background: var(--bg-light);
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.qty-btn:hover { background: #e2e8f0; }
.qty-input {
    width: 100%;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-weight: 600;
    font-family: var(--font-main);
}
.secure-icons img {
    max-height: 30px;
    opacity: 0.7;
}

/* Accordion */
.accordion-group {
    border-top: 1px solid var(--border-color);
}
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}
.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.accordion-content p {
    padding-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}
.accordion-item.active .accordion-content {
    max-height: 500px;
}
.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}
.accordion-header .icon {
    transition: transform 0.3s ease;
}

/* Checkout Form */
.checkout-form {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}
.flex-row-desktop {
    display: flex;
    gap: 15px;
}
.half-width {
    flex: 1;
}
.order-summary-box {
    background: #f0fdfa;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid #ccfbf1;
}
.summary-flex { display: flex; align-items: center; }
.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.summary-line.total {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 0;
}
.order-success-msg {
    background: #f0fdfa;
    border: 1px solid #38a169;
    padding: 30px;
    border-radius: var(--radius-lg);
}
.icon-success {
    width: 60px;
    height: 60px;
    background: #38a169;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* FAQ */
.faq-accordion .faq-item {
    background: var(--bg-white);
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-main);
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-white);
}
.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    color: var(--text-muted);
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

/* Footer */
.site-footer {
    background-color: var(--secondary-dark);
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-bottom: 20px;
}
.footer-links a {
    color: #e2e8f0;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Image Placeholders styling */
.image-placeholder {
    background-color: #f1f5f9;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.btn-glow {
    position: relative;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.5), rgba(255,255,255,0.1));
    z-index: -1;
    animation: glow-pulse 2s infinite;
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-glow:hover::after { opacity: 1; }

@keyframes glow-pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.3; }
}

.pulse-anim {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.anim-float {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

.zoom-anim:hover img {
    transform: scale(1.05);
}

.pulsate {
    animation: pulsate 1.5s infinite alternate;
}
@keyframes pulsate {
    100% { opacity: 0.7; transform: scale(0.98); }
}

/* Scroll Reveals */
.anim-reveal-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.anim-reveal-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}
.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}
.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Compliance Disclaimer Box */
.compliance-box {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    padding: 30px;
    border-radius: var(--radius-md);
    margin: 40px auto;
    text-align: center;
    max-width: 900px;
}
.compliance-box h4 {
    color: #c53030;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
}
.compliance-box p {
    font-size: 0.95rem;
    color: #742a2a;
    margin-bottom: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .grid-2-col, .hero-container, .product-layout {
        grid-template-columns: 1fr;
    }
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
    .hero-section {
        text-align: center;
        padding: 40px 0;
    }
    .hero-content {
        padding-right: 0;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-ctas {
        justify-content: center;
        flex-direction: column;
    }
    .trust-icons {
        justify-content: center;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .flex-row-desktop {
        flex-direction: column;
        gap: 0;
    }
    .half-width {
        margin: 0 !important;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .comparison-table-wrapper {
        margin: 0 -20px;
        border-radius: 0;
    }
    .btn-buy-now { margin-top: 10px; }
}
