/*
Theme Name: Custom Landing Page
Theme URI: https://github.com/
Author: Landing Page Studio
Author URI: https://www.facebook.com/profile.php?id=61586812933012
Description: A modern, conversion-optimized WordPress theme designed for single-product landing pages.
Version: 5.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-wc-landing
Tags: e-commerce, custom-background, custom-logo, one-column, accessibility-ready
*/

/* ------------------------------------------------------------------------- *
 * Reset & Base
 * ------------------------------------------------------------------------- */
:root {
    --primary-color: #d32f2f;
    --primary-gradient: linear-gradient(135deg, #f44336 0%, #e65100 100%);
    --secondary-color: #1b263b;
    --success-color: #059669;
    --success-hover: #047857;
    --background-color: #f3f4f6;
    --surface-color: #ffffff;
    --text-color: #374151;
    --heading-color: #111827;
    --border-color: #e5e7eb;
    --focus-color: rgba(16, 185, 129, 0.2);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-top: 0;
    font-weight: 700;
}

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

/* ------------------------------------------------------------------------- *
 * Layout Structure
 * ------------------------------------------------------------------------- */
.landing-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* ------------------------------------------------------------------------- *
 * Urgent Banner
 * ------------------------------------------------------------------------- */
.urgent-banner {
    width: 100%;
    box-sizing: border-box;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 15px;
}
.urgent-sub-banner {
    width: 100%;
    box-sizing: border-box;
    background: #fff3e0;
    color: #e65100;
    text-align: center;
    padding: 8px 15px;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid #ffe0b2;
}

/* ------------------------------------------------------------------------- *
 * Sections Base
 * ------------------------------------------------------------------------- */
.content-section {
    width: 100%;
    padding: 30px 25px;
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
}

/* ------------------------------------------------------------------------- *
 * Hero Section
 * ------------------------------------------------------------------------- */
.hero-section {
    text-align: center;
    padding-top: 40px;
}
.hero-heading {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1e3a8a; /* Dark blue */
}
.hero-subheading {
    font-size: 16px;
    margin-bottom: 30px;
    color: #4b5563;
    font-weight: 500;
}
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: var(--primary-gradient);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.4);
    width: 100%;
    max-width: 350px;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.5);
    color: #fff;
}
.btn-audio {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}
.btn-audio:hover {
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.5);
}

/* ------------------------------------------------------------------------- *
 * Doctor Section
 * ------------------------------------------------------------------------- */
.doctor-profile {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
}
.doctor-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.badge-experience {
    background: #1e3a8a;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}
.doctor-quote {
    font-style: italic;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 16px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin: 15px 0;
    text-align: left;
}

/* ------------------------------------------------------------------------- *
 * Check-list & Symptoms
 * ------------------------------------------------------------------------- */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
}
.custom-list.symptoms li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 16px;
}
.custom-list.benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--success-color);
    font-size: 18px;
    font-weight: bold;
}
.warning-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    color: #991b1b;
    font-weight: 600;
}
.guarantee-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #065f46;
}

/* ------------------------------------------------------------------------- *
 * Reviews Section
 * ------------------------------------------------------------------------- */
.reviews-section {
    background: #fff;
}
.review-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.review-item:last-child {
    border-bottom: none;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
.review-name {
    font-weight: 700;
    color: #1d4ed8;
}
.review-time {
    font-size: 12px;
    color: #9ca3af;
}
.review-text {
    font-size: 15px;
    color: #374151;
}
.review-reply {
    margin-top: 10px;
    margin-left: 20px;
    padding: 10px;
    background: #f3f4f6;
    border-radius: 8px;
    border-left: 3px solid #1d4ed8;
}

/* ------------------------------------------------------------------------- *
 * Checkout Form Container
 * ------------------------------------------------------------------------- */
.checkout-section {
    width: 100%;
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--success-color);
    margin: 40px 0;
    box-sizing: border-box;
}

.checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-section h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 22px;
    color: #111827;
}

.checkout-section p.subtitle {
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
    color: #6b7280;
}

.price-banner {
    background: #fff8f1;
    border: 1px dashed #fb923c;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 25px;
}
.price-old {
    text-decoration: line-through;
    color: #ef4444;
    font-size: 14px;
}
.price-new {
    font-size: 22px;
    font-weight: 800;
    color: #ea580c;
}

.clp-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
    text-align: center;
    border: 1px solid #fca5a5;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--heading-color);
    font-size: 14px;
}

.required-asterisk {
    color: #ef4444;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #111827;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #f9fafb;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--success-color);
    background-color: var(--surface-color);
    box-shadow: 0 0 0 4px var(--focus-color);
}

.product-summary {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px dashed var(--border-color);
}

.product-summary p {
    margin: 0 0 10px 0;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-size: 14px;
}

.product-summary p:last-child {
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    font-size: 16px;
    font-weight: 700;
    color: var(--success-color);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--success-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
}

.submit-btn:hover {
    background: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.5);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 12px;
    color: #4b5563;
    font-weight: 600;
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.trust-badge-item::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
}

/* ------------------------------------------------------------------------- *
 * Facebook Reviews Section
 * ------------------------------------------------------------------------- */
.fb-reviews-section {
    background: #fff;
    font-family: system-ui, -apple-system, sans-serif;
    padding: 20px 15px;
    border-radius: 8px;
}
.fb-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dadde1;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.fb-reviews-header h2 {
    font-size: 18px !important;
    margin: 0 !important;
    color: #1c1e21 !important;
}
.fb-comment-count {
    color: #606770;
    font-size: 14px;
    font-weight: 600;
}
.fb-comment {
    display: flex;
    margin-bottom: 12px;
}
.fb-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}
.author-avatar {
    background-color: #1c1e21;
}
.fb-comment-content {
    flex: 1;
}
.fb-comment-bubble {
    background-color: #f0f2f5;
    border-radius: 18px;
    padding: 8px 12px;
    display: inline-block;
    max-width: 100%;
}
.fb-name {
    font-weight: 600;
    color: #1c1e21;
    font-size: 13px;
    margin-bottom: 2px;
    display: block;
}
.author-badge {
    background: #1c1e21;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}
.fb-text {
    color: #1c1e21;
    font-size: 14px;
    line-height: 1.3;
}
.fb-actions {
    margin-left: 12px;
    margin-top: 2px;
    font-size: 12px;
    color: #65676b;
    font-weight: 600;
}
.fb-actions span {
    cursor: pointer;
}
.fb-actions span:hover {
    text-decoration: underline;
}
.fb-time {
    font-weight: normal;
}
.fb-reply {
    margin-top: 8px;
}
.fb-reply .fb-avatar {
    width: 24px;
    height: 24px;
    font-size: 12px;
}
.fb-load-more {
    margin-top: 15px;
    text-align: left;
}
.fb-load-more a {
    color: #385898;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.fb-load-more a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------------------- *
 * Footer
 * ------------------------------------------------------------------------- */
.site-footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding: 30px 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-disclaimer {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}
.footer-copyright {
    font-size: 14px;
    margin: 0;
}

/* ------------------------------------------------------------------------- *
 * Responsive
 * ------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .doctor-profile {
        flex-direction: row;
        text-align: left;
    }
    .checkout-layout {
        flex-direction: row;
    }
    .checkout-left, .checkout-right {
        flex: 1;
    }
    .hero-heading {
        font-size: 36px;
    }
}

/* ------------------------------------------------------------------------- *
 * Pricing Banner
 * ------------------------------------------------------------------------- */
.pricing-banner {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}
.pricing-banner-title {
    font-size: 18px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}
.pricing-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.pricing-banner-old {
    text-align: center;
    font-size: 14px;
}
.pricing-banner-old del {
    display: block;
    font-size: 20px;
    color: #ffb3b3;
    font-weight: 600;
    margin-top: 5px;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
}
.pricing-banner-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}
.pricing-banner-new {
    background: white;
    color: #047857;
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
}
.pricing-banner-new span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #059669;
}
.pricing-banner-new strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-top: 5px;
    color: #064e3b;
}

@media (max-width: 480px) {
    .pricing-banner-content {
        flex-direction: column;
        gap: 15px;
    }
    .pricing-banner-divider {
        width: 80%;
        height: 1px;
    }
    .pricing-banner-new {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ------------------------------------------------------------------------- *
 * Sales Popup
 * ------------------------------------------------------------------------- */
.sales-popup {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    padding: 10px 12px;
    width: 280px;
    box-sizing: border-box;
    z-index: 9999;
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.sales-popup.show {
    transform: translateY(0);
    opacity: 1;
}
.sales-popup-close {
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 16px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
}
.sales-popup-icon {
    width: 40px;
    height: 40px;
    background: #e1f5e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}
.sales-popup-icon svg {
    width: 20px;
    height: 20px;
}
.sales-popup-content {
    flex: 1;
    font-family: inherit;
}
.sales-popup-name {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
}
.sales-popup-location {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 2px;
}
.sales-popup-action {
    font-size: 13px;
    color: #059669;
    font-weight: 600;
    margin-bottom: 4px;
}
.sales-popup-time {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}
@media (max-width: 480px) {
    .sales-popup {
        width: 260px;
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 767px) {
    .mobile-hidden {
        display: none !important;
    }
}
