/* ============================================
   PRODUCT PAGES - Themeson
   Comprehensive styling for all product landing pages
   ============================================ */

/* --- Variables (inherited from theme.css) --- */

/* --- Product Hero --- */
.product-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #e8f8f5 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.product-hero .hero-badge {
    display: inline-block;
    background: var(--ts-primary, #1ABC9C);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 16px;
}

.product-hero .hero-desc {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
}

.product-hero .hero-img {
    max-width: 100%;
    border-radius: 16px;
}

.product-hero .hero-img-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.product-hero .hero-img-card img {
    max-width: 320px;
    width: 100%;
}

/* --- CTA Buttons --- */
.btn-cta {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-cta-primary {
    background: #1ABC9C;
    color: white;
}

.btn-cta-primary:hover {
    background: #16a085;
    color: white;
}

.btn-cta-dark {
    background: #1a1a2e;
    color: white;
}

.btn-cta-dark:hover {
    background: #2d2d4e;
    color: white;
}

.btn-cta-outline {
    background: transparent;
    color: #1a1a2e;
    border: 2px solid #1a1a2e;
}

.btn-cta-outline:hover {
    background: #1a1a2e;
    color: white;
}

.btn-cta-white {
    background: white;
    color: #1a1a2e;
}

.btn-cta-white:hover {
    background: #f0f0f0;
    color: #1a1a2e;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.discount-note {
    font-size: 0.9rem;
    color: #777;
}

.discount-note strong {
    color: #e74c3c;
}

/* --- Social Proof Bar --- */
.social-proof-bar {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
}

.social-proof-item strong {
    color: #1a1a2e;
    font-weight: 700;
}

.social-proof-item i {
    color: #1ABC9C;
}

/* --- Section Shared --- */
.product-section {
    padding: 70px 0;
}

.product-section.bg-light {
    background: #f8f9fa;
}

.product-section.bg-teal-light {
    background: #e8f8f5;
}

.product-section.bg-dark {
    background: #1a1a2e;
    color: white;
}

.section-label {
    color: #1ABC9C;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-heading {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.bg-dark .section-heading {
    color: white;
}

.section-desc {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 650px;
}

.bg-dark .section-desc {
    color: rgba(255,255,255,0.7);
}

/* --- Pain Points --- */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.pain-card {
    background: white;
    border: 1px solid #fee2e2;
    border-radius: 12px;
    padding: 24px;
    position: relative;
}

.pain-card .pain-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.pain-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.pain-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- Solution Cards --- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.solution-card {
    background: white;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.solution-card:hover {
    box-shadow: 0 4px 16px rgba(26,188,156,0.12);
    border-color: #1ABC9C;
    transform: translateY(-3px);
}

.solution-card .solution-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.solution-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.solution-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- Feature Section with Image --- */
.feature-row {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
}

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

.feature-row .feature-text {
    flex: 1;
    min-width: 280px;
}

.feature-row .feature-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.feature-row .feature-image img {
    max-width: 100%;
    border-radius: 12px;
}

.feature-row h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.feature-row p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-row .feature-list {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.feature-row .feature-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-row .feature-list li i {
    color: #1ABC9C;
}

/* --- Feature Grid (icon cards) --- */
.feature-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.feature-icon-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.feature-icon-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: transparent;
}

.feature-icon-card .fi-icon {
    width: 48px;
    height: 48px;
    background: #e8f8f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.feature-icon-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.feature-icon-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- How It Works --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.step-card {
    text-align: center;
    padding: 24px 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #1ABC9C;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* --- Pricing Section --- */
.pricing-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 420px;
    background: white;
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
}

.pricing-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.pricing-card.featured {
    border-color: #1ABC9C;
}

.pricing-card .pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1ABC9C;
    color: white;
    padding: 4px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.pricing-card .pricing-desc {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1ABC9C;
}

.pricing-card .price-period {
    font-size: 1rem;
    color: #999;
    font-weight: 400;
}

.pricing-card .price-original {
    font-size: 1rem;
    color: #ccc;
    text-decoration: line-through;
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 24px 0;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i.included {
    color: #1ABC9C;
}

.pricing-features li i.excluded {
    color: #ddd;
}

.pricing-features li.excluded-text {
    color: #ccc;
}

/* --- Use Case Section --- */
.usecase-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.usecase-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.usecase-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.usecase-item .usecase-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.usecase-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.usecase-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #eee;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 16px 0;
    padding: 0;
    border: none;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8f8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1ABC9C;
    font-size: 0.85rem;
}

.testimonial-author .author-name {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.9rem;
}

.testimonial-author .author-role {
    font-size: 0.8rem;
    color: #999;
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 800px;
    margin: 32px auto 0;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.faq-item summary {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #1ABC9C;
    font-weight: 300;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item .faq-answer {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* --- Final CTA --- */
.final-cta {
    padding: 70px 0;
    background: #1a1a2e;
    text-align: center;
}

.final-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.final-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .discount-note {
    color: rgba(255,255,255,0.5);
    margin-top: 16px;
}

/* --- Config/Settings Preview --- */
.config-preview {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.config-header {
    background: #1a1a2e;
    color: white;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-header .dots {
    display: flex;
    gap: 6px;
}

.config-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.config-header .dot-red { background: #ff5f56; }
.config-header .dot-yellow { background: #ffbd2e; }
.config-header .dot-green { background: #27c93f; }

.config-body {
    padding: 24px;
}

.config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.config-item:last-child {
    border-bottom: none;
}

.config-item .config-label {
    font-size: 0.9rem;
    color: #1a1a2e;
    font-weight: 600;
}

.config-item .config-value {
    font-size: 0.85rem;
    color: #1ABC9C;
    font-weight: 600;
}

.toggle-switch {
    width: 40px;
    height: 22px;
    background: #1ABC9C;
    border-radius: 11px;
    position: relative;
}

.toggle-switch::after {
    content: '';
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
}

.toggle-switch.off {
    background: #ddd;
}

.toggle-switch.off::after {
    right: auto;
    left: 2px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 2rem;
    }
    
    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
    }
    
    .pricing-card {
        min-width: 100%;
    }
    
    .social-proof-bar {
        gap: 16px;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }
}
