/**
 * Public Styles for Tipster Products
 */

:root {
    --tipster-primary: #1E40AF;
    --tipster-secondary: #10B981;
    --tipster-accent: #F59E0B;
    --tipster-text: #1F2937;
    --tipster-light: #F9FAFB;
    --tipster-border: #E5E7EB;
}

/* Reset & Base */
.tipster-summary-container,
.tipster-sales-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--tipster-text);
    line-height: 1.6;
}

.tipster-summary-container *,
.tipster-sales-page * {
    box-sizing: border-box;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--tipster-accent);
    color: #fff;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: var(--tipster-primary);
    color: #fff;
}

.btn-secondary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Summary Page Styles */
.tipster-summary-container {
    padding: 40px 0;
}

/* Filters */
.tipster-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid var(--tipster-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--tipster-primary);
    color: #fff;
    border-color: var(--tipster-primary);
}

/* Featured Product */
.tipster-featured-product {
    margin-bottom: 50px;
}

.featured-card {
    background: linear-gradient(135deg, var(--tipster-primary) 0%, var(--tipster-secondary) 100%);
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--tipster-accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.featured-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.featured-content h2 {
    margin: 0 0 10px;
    font-size: 36px;
}

.featured-content .tagline {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.featured-stats {
    margin: 30px 0;
}

.stat-large {
    margin-bottom: 20px;
}

.stat-large .stat-label {
    display: block;
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.stat-large .stat-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat {
    text-align: center;
}

.stat .stat-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.stat .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

/* Product Grid */
.tipster-products-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.tipster-products-grid[data-columns="2"] {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.tipster-products-grid[data-columns="3"] {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.tipster-products-grid[data-columns="4"] {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Product Card */
.tipster-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.tipster-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.card-image {
    position: relative;
    overflow: hidden;
    background: var(--tipster-light);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.tipster-product-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.card-content h3 a {
    color: var(--tipster-text);
    text-decoration: none;
}

.card-content h3 a:hover {
    color: var(--tipster-primary);
}

.card-content .tagline {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.card-stats {
    margin: 20px 0;
}

.stat-primary {
    text-align: center;
    padding: 15px;
    background: var(--tipster-light);
    border-radius: 8px;
    margin-bottom: 15px;
}

.stat-primary .stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.stat-primary .stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--tipster-secondary);
}

.stat-secondary {
    text-align: center;
}

.stat-secondary .stat-label {
    display: block;
    font-size: 11px;
    color: #888;
}

.stat-secondary .stat-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--tipster-text);
}

.card-content .btn {
    width: 100%;
    margin-top: 15px;
}

/* Sales Page Styles */
.tipster-sales-page {
    padding: 0;
}

.tipster-sales-page section {
    padding: 60px 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--tipster-primary) 0%, var(--tipster-secondary) 100%);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero-headline {
    font-size: 48px;
    margin: 0 0 20px;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 24px;
    margin: 0 0 30px;
    opacity: 0.95;
}

.hero-testimonial {
    font-size: 20px;
    font-style: italic;
    margin: 30px auto;
    max-width: 700px;
    opacity: 0.9;
}

.hero-image {
    margin: 40px auto;
    max-width: 800px;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.hero-cta {
    margin-top: 40px;
}

/* Stats Section */
.stats-section {
    background: var(--tipster-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-box .stat-value {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--tipster-primary);
    margin-bottom: 10px;
}

.stat-box .stat-label {
    display: block;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Content Sections */
.story-section,
.problem-section,
.solution-section {
    max-width: 900px;
    margin: 0 auto;
}

.story-section h2,
.problem-section h2,
.solution-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--tipster-primary);
}

.story-content,
.problem-content,
.solution-content {
    font-size: 18px;
    line-height: 1.8;
}

/* Proof Section */
.proof-section {
    background: var(--tipster-light);
}

.proof-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.proof-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.proof-item img {
    width: 100%;
    border-radius: 8px;
}

.proof-caption {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.results-link {
    text-align: center;
}

/* How It Works */
.how-it-works-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--tipster-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Trust Section */
.trust-section {
    background: var(--tipster-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
}

.trust-item .dashicons {
    font-size: 48px;
    color: var(--tipster-primary);
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
}

.trust-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials-section {
    background: var(--tipster-light);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.testimonial-image {
    margin-bottom: 20px;
}

.testimonial-image img {
    width: 100%;
    border-radius: 8px;
}

.testimonial-item blockquote {
    margin: 0;
    font-style: italic;
}

.testimonial-item cite {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-style: normal;
    color: var(--tipster-primary);
}

/* Pricing Section */
.pricing-section {
    background: var(--tipster-light);
    text-align: center;
}

.pricing-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.urgency-message {
    background: var(--tipster-accent);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 30px;
    font-weight: 600;
}

.countdown-timer {
    margin: 30px 0;
    font-size: 18px;
}

.countdown-display {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
    font-size: 32px;
    font-weight: 700;
    color: var(--tipster-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
}

.pricing-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid var(--tipster-accent);
}

.best-value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tipster-accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.price {
    margin: 20px 0;
}

.price-original {
    display: block;
    font-size: 24px;
    text-decoration: line-through;
    color: #999;
    margin-bottom: 5px;
}

.price-amount {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--tipster-primary);
}

.price-period {
    display: block;
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

.price-note {
    font-size: 14px;
    color: #666;
    margin: 15px 0;
}

.savings {
    background: var(--tipster-secondary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    margin: 15px 0;
    font-weight: 700;
}

.guarantee-box {
    max-width: 600px;
    margin: 40px auto 0;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--tipster-secondary);
}

.guarantee-box h4 {
    margin-top: 0;
    color: var(--tipster-secondary);
}

/* FAQ Section */
.faq-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--tipster-light);
}

.faq-icon::after {
    content: '+';
    font-size: 24px;
    color: var(--tipster-primary);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Final CTA */
.final-cta-section {
    background: linear-gradient(135deg, var(--tipster-primary) 0%, var(--tipster-secondary) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.final-cta-section h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.final-cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

.support-text {
    margin-top: 30px;
    opacity: 0.9;
}

.support-text a {
    color: #fff;
    text-decoration: underline;
}

/* Sticky CTA Bar (Mobile) */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    display: none;
}

.sticky-cta-bar .btn {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 32px;
    }
    
    .hero-subheadline {
        font-size: 18px;
    }
    
    .featured-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .stat-row {
        grid-template-columns: 1fr;
    }
    
    .tipster-products-grid[data-columns="2"],
    .tipster-products-grid[data-columns="3"],
    .tipster-products-grid[data-columns="4"] {
        grid-template-columns: 1fr;
    }
    
    .sticky-cta-bar {
        display: block;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .sticky-cta-bar {
        display: none !important;
    }
}


