/* css/style_pt.css */

/* Define CSS Variables for theming and easy updates */
:root {
    --primary-color: #cd2653;
    /* Hume Health accent color from the original */
    --primary-dark: #a81c42;
    --text-main: #222222;
    --text-muted: #666666;
    --bg-light: #f9f9fa;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

    --transition-fast: 0.2s ease-in-out;
    --transition-base: 0.3s ease-in-out;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-banner {
    background-color: #f1f1f1;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    padding: 8px 15px;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #111;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, var(--bg-light));
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-meta {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Showcase (Cards) */
.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: -20px;
    margin-bottom: 60px;
    padding-top: 20px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(205, 38, 83, 0.3);
}

.product-badge.secondary {
    background-color: #111;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-image-wrapper {
    position: relative;
    background-color: #f7f7f7;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
}

.product-image {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-logo {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    background: white;
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    background: #111;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
}

.rating-label {
    font-weight: 600;
    font-size: 1rem;
}

.stars {
    color: #f5b300;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.product-offer {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.product-benefits {
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.check-icon {
    color: #1D6D5E;
    /* Original site green */
    font-weight: bold;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(205, 38, 83, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205, 38, 83, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    font-size: 1.15rem;
    padding: 16px 32px;
}


/* Review Content Area */
.review-content {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 80px;
}

.content-section {
    margin-bottom: 60px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.content-section p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #444;
}

.img-fluid {
    width: 100%;
    border-radius: var(--radius-md);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.image-showcase {
    margin: 30px 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.circle-frame {
    width: 300px;
    height: 300px;
    margin: 40px auto;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border: 8px solid white;
}

.circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Highlight Box (5 Things) */
.highlight-box {
    background-color: #fef5f7;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(205, 38, 83, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    background: white;
    padding: 25px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(205, 38, 83, 0.3);
}

.feature-item h3 {
    font-size: 1.15rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
    margin: 0;
}


/* Detailed Points */
.detailed-points {
    margin: 30px 0;
}

.point-item {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.point-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #111;
}


/* CTA Container */
.cta-container {
    text-align: center;
    margin: 40px 0;
}


/* Review Summary & Testimonials */
.review-summary {
    background-color: #111;
    color: white;
    padding: 40px;
    border-radius: var(--radius-md);
}

.review-summary h2,
.review-summary h2::after {
    color: white;
}

.review-summary h2::after {
    background-color: var(--primary-color);
}

.trainer-testimonial {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trainer-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.trainer-quote p {
    color: #ddd;
    margin-bottom: 10px;
}

.quote-block {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.4;
    margin: 20px 0;
    color: white;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
}

.trainer-name {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.user-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.user-testimonial {
    background: white;
    color: var(--text-main);
    padding: 25px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.user-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--border-color);
}

.user-testimonial h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.user-testimonial .stars {
    font-size: 1rem;
    margin-bottom: 10px;
}

.user-testimonial p {
    font-size: 0.95rem;
    color: var(--text-muted);
}


/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.5s forwards 1.5s;
    pointer-events: none;
    /* Initially */
}

.floating-btn {
    pointer-events: auto;
    background-color: #111;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid #333;
    transition: transform 0.3s, background-color 0.3s;
}

.floating-btn:hover {
    transform: scale(1.05);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* Footer */
.site-footer {
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-disclaimer,
.footer-copyright {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    .review-content {
        padding: 40px 20px;
    }

    .circle-frame {
        width: 250px;
        height: 250px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .product-image-wrapper {
        height: 280px;
    }

    .highlight-box {
        padding: 30px 20px;
    }

    .trainer-testimonial {
        flex-direction: column;
        text-align: center;
    }

    .quote-block {
        border-left: none;
        border-top: 4px solid var(--primary-color);
        padding-left: 0;
        padding-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .product-actions {
        flex-direction: column;
    }

    .circle-frame {
        width: 200px;
        height: 200px;
    }

    .quote-block {
        font-size: 1.2rem;
    }
}