/* ============================================
   CAM REVIEW TEMPLATE - MOBILE FIRST STYLES
   ============================================ */

:root {
    --primary: #e91e63;
    --primary-dark: #c2185b;
    --primary-light: #f8bbd9;
    --secondary: #1a1a2e;
    --accent: #ff6b6b;
    --success: #4caf50;
    --warning: #ff9800;
    --gold: #ffd700;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #f8f9fa;
    --bg-dark: #1a1a2e;
    --bg-card: #fff;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 14px;
}

.container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS - Mobile First
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.5);
}

.btn-lg {
    padding: 14px 24px;
    font-size: 15px;
}

.btn-xl {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 13px;
}

/* ============================================
   HERO SECTION - Mobile First
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    color: white;
    padding: 40px 0 50px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    margin-bottom: 20px;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* ============================================
   SECTION TITLE - Mobile First
   ============================================ */

.section-title {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
}

/* ============================================
   RANKING SECTION - Mobile First
   ============================================ */

.ranking-section {
    padding: 30px 0;
}

.ranking-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.ranking-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.ranking-card.rank-1 {
    border-color: var(--gold);
    background: linear-gradient(135deg, #fffef5 0%, #fff 100%);
}

.rank-badge {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.rank-1 .rank-badge {
    background: linear-gradient(135deg, var(--gold) 0%, #ffed4a 100%);
    color: #333;
}

.rank-logo img {
    max-width: 80px;
    max-height: 40px;
    object-fit: contain;
}

.rank-info {
    width: 100%;
}

.rank-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.rank-tagline {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.rank-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.rank-features span {
    font-size: 11px;
    color: var(--success);
    font-weight: 500;
}

.rank-offer {
    text-align: center;
}

.offer-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 5px;
}

.offer-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.rank-rating {
    text-align: center;
}

.rank-rating .stars {
    color: var(--gold);
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.rank-rating .score {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

.ranking-card .btn {
    width: 100%;
    margin-top: 5px;
}

/* ============================================
   REVIEWS SECTION - Mobile First
   ============================================ */

.reviews-section {
    padding: 30px 0;
    background: white;
}

.review-article {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px 15px;
    margin-bottom: 30px;
}

.review-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin-bottom: 25px;
}

.review-rank {
    background: var(--secondary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.review-header h2 {
    font-size: 22px;
    font-weight: 800;
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-tested {
    background: #e8f5e9;
    color: #2e7d32;
}

.review-rating .stars {
    color: var(--gold);
    margin-right: 8px;
}

.review-rating .score {
    font-weight: 800;
    color: var(--primary);
    font-size: 16px;
}

/* Summary Box - Mobile First */
.review-summary-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    border-radius: var(--radius);
    padding: 20px 15px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.summary-left h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.pros-cons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.pros h4, .cons h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.pros ul, .cons ul {
    list-style: none;
}

.pros li, .cons li {
    padding: 5px 0;
    font-size: 13px;
    color: var(--text-light);
}

.pros li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
}

.cons li::before {
    content: "✗ ";
    color: var(--accent);
    font-weight: bold;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stat {
    text-align: center;
    padding: 12px 8px;
    background: var(--bg);
    border-radius: 8px;
}

.stat-icon {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.summary-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-screenshot {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Review Sections - Mobile First */
.review-section {
    margin-bottom: 25px;
}

.review-section h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.review-section p {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 14px;
}

.review-section ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.review-section li {
    padding: 4px 0;
    color: var(--text-light);
    font-size: 14px;
}

.experience-box {
    background: linear-gradient(135deg, #f3e5f5 0%, #fce4ec 100%);
    padding: 18px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.experience-box p {
    color: var(--text);
    margin: 0;
}

/* Info Boxes - Mobile First */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.info-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
}

.info-success .info-icon {
    color: var(--success);
    font-size: 18px;
}

.info-warning {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
}

.info-warning .info-icon {
    color: var(--warning);
    font-size: 18px;
}

/* Tables - Mobile First */
.table-responsive {
    overflow-x: auto;
    margin: 15px -15px;
    padding: 0 15px;
}

.pricing-table, .comparison-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    margin: 15px 0;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 13px;
}

.pricing-table th, .comparison-table th {
    background: var(--secondary);
    color: white;
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
}

.pricing-table td, .comparison-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
}

.comparison-table .highlight {
    background: #fce4ec;
}

.comparison-table th.highlight {
    background: var(--primary);
}

/* Steps Box - Mobile First */
.steps-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: white;
    padding: 15px;
    border-radius: var(--radius);
}

.step-number {
    width: 35px;
    height: 35px;
    min-width: 35px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.step-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* Review CTA Box - Mobile First */
.review-cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    color: white;
    padding: 25px 20px;
    border-radius: var(--radius);
    margin-top: 25px;
}

.review-cta-box h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 18px;
}

.review-cta-box p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 14px;
}

.review-cta-box .btn {
    width: 100%;
}

/* ============================================
   FAQ SECTION - Mobile First
   ============================================ */

.faq-section {
    padding: 30px 0;
    background: var(--bg);
}

.faq-list {
    width: 100%;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    padding: 18px 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
}

/* ============================================
   FINAL CTA SECTION - Mobile First
   ============================================ */

.final-cta-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
}

.final-cta-box {
    text-align: center;
    color: white;
}

.final-cta-box h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.final-cta-box > p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
}

.final-winner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.winner-name {
    font-size: 20px;
    font-weight: 800;
}

.winner-score {
    font-size: 18px;
    color: var(--gold);
    font-weight: 800;
}

.cta-subtext {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 12px;
}

/* ============================================
   FOOTER - Mobile First
   ============================================ */

.footer {
    padding: 30px 0;
    background: #0d0d1a;
    color: rgba(255,255,255,0.6);
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    font-size: 12px;
}

.footer .disclaimer {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    max-width: 100%;
    padding: 0 15px;
}

/* ============================================
   TABLET BREAKPOINT (min-width: 640px)
   ============================================ */

@media (min-width: 640px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }

    .btn {
        width: auto;
        padding: 14px 28px;
        font-size: 15px;
    }

    .hero {
        padding: 50px 0 60px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .ranking-section {
        padding: 40px 0;
    }

    .ranking-card {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
        padding: 20px;
        gap: 15px;
    }

    .rank-info {
        flex: 1;
        min-width: 200px;
    }

    .rank-features {
        justify-content: flex-start;
    }

    .ranking-card .btn {
        width: auto;
    }

    .review-article {
        padding: 30px 25px;
    }

    .review-header {
        flex-direction: row;
        text-align: left;
    }

    .review-meta {
        flex-direction: row;
        margin-left: auto;
    }

    .summary-left h3 {
        text-align: left;
    }

    .pros-cons {
        flex-direction: row;
    }

    .summary-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .review-cta-box {
        flex-direction: row;
        text-align: left;
        padding: 25px;
    }

    .review-cta-box .btn {
        width: auto;
    }

    .final-winner {
        flex-direction: row;
        border-radius: 50px;
    }

    .final-cta-box h2 {
        font-size: 28px;
    }
}

/* ============================================
   DESKTOP BREAKPOINT (min-width: 900px)
   ============================================ */

@media (min-width: 900px) {
    body {
        font-size: 16px;
    }

    .container {
        max-width: 1100px;
        padding: 0 30px;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 17px;
    }

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

    .hero {
        padding: 60px 0 80px;
    }

    .hero-badge {
        padding: 8px 20px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
        max-width: 600px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .ranking-section {
        padding: 60px 0;
    }

    .ranking-card {
        display: grid;
        grid-template-columns: 60px 120px 1fr 200px 120px 140px;
        align-items: center;
        gap: 20px;
        padding: 25px;
        margin-bottom: 20px;
    }

    .rank-badge {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .rank-logo img {
        max-width: 100px;
        max-height: 50px;
    }

    .rank-info h3 {
        font-size: 20px;
    }

    .rank-tagline {
        font-size: 14px;
    }

    .rank-features span {
        font-size: 12px;
    }

    .offer-badge {
        font-size: 11px;
    }

    .offer-text {
        font-size: 13px;
    }

    .rank-rating .stars {
        font-size: 16px;
    }

    .rank-rating .score {
        font-size: 18px;
    }

    .reviews-section {
        padding: 60px 0;
    }

    .review-article {
        padding: 40px;
        margin-bottom: 60px;
    }

    .review-rank {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .review-header h2 {
        font-size: 28px;
    }

    .badge {
        padding: 6px 14px;
        font-size: 13px;
    }

    .review-rating .score {
        font-size: 18px;
    }

    .review-summary-box {
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: 30px;
        padding: 30px;
    }

    .summary-left h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .pros h4, .cons h4 {
        font-size: 16px;
    }

    .pros li, .cons li {
        font-size: 14px;
        padding: 6px 0;
    }

    .summary-stats {
        gap: 15px;
    }

    .stat {
        padding: 15px 10px;
    }

    .stat-icon {
        font-size: 24px;
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-label {
        font-size: 11px;
    }

    .review-section {
        margin-bottom: 35px;
    }

    .review-section h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .experience-box {
        padding: 25px;
    }

    .info-box {
        padding: 15px 20px;
        gap: 12px;
    }

    .step {
        padding: 20px;
        gap: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .step-content h4 {
        font-size: 16px;
    }

    .step-content p {
        font-size: 14px;
    }

    .review-cta-box {
        padding: 30px;
    }

    .review-cta-box h3 {
        font-size: 20px;
    }

    .faq-section {
        padding: 60px 0;
    }

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

    .faq-item {
        padding: 25px;
        margin-bottom: 15px;
    }

    .faq-item h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .final-cta-section {
        padding: 80px 0;
    }

    .final-cta-box h2 {
        font-size: 36px;
    }

    .final-cta-box > p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .final-winner {
        padding: 15px 30px;
        gap: 20px;
        margin-bottom: 30px;
    }

    .winner-name {
        font-size: 24px;
    }

    .winner-score {
        font-size: 20px;
    }

    .cta-subtext {
        font-size: 14px;
    }

    .footer {
        padding: 40px 0;
    }

    .footer p {
        font-size: 14px;
    }

    .footer .disclaimer {
        font-size: 12px;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* ============================================
   LARGE DESKTOP (min-width: 1200px)
   ============================================ */

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* ============================================
   SCROLL POPUP - Mobile First
   ============================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.scroll-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 90%;
    width: 350px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--gold);
}

.scroll-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.popup-close:hover {
    color: white;
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.popup-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 8px;
}

.popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #ff4757 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.scroll-popup h3 {
    color: white;
    font-size: 22px;
    font-weight: 800;
    margin: 0;
}

.popup-offer {
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 0 10px;
}

.popup-cta {
    width: 100%;
    margin-top: 8px;
    font-size: 15px;
    padding: 14px 24px;
    animation: blink-cta 1.5s infinite;
}

@keyframes blink-cta {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
        transform: scale(1);
        opacity: 1;
    }
    50% {
        box-shadow: 0 4px 35px rgba(233, 30, 99, 0.9);
        transform: scale(1.03);
        opacity: 0.85;
    }
}

/* Tablet */
@media (min-width: 640px) {
    .scroll-popup {
        width: 400px;
        padding: 35px 30px;
    }

    .popup-logo img {
        width: 80px;
        height: 80px;
    }

    .scroll-popup h3 {
        font-size: 26px;
    }

    .popup-offer {
        font-size: 16px;
    }

    .popup-cta {
        font-size: 16px;
        padding: 16px 28px;
    }
}

/* Desktop */
@media (min-width: 900px) {
    .scroll-popup {
        width: 450px;
        padding: 40px 35px;
    }

    .popup-badge {
        font-size: 13px;
        padding: 8px 20px;
    }

    .scroll-popup h3 {
        font-size: 28px;
    }

    .popup-offer {
        font-size: 17px;
    }
}
