/* ═══════════════════════════════════════════════════════════
   ABC Crypto - Pricing Page Styles (Enhanced)
   ═══════════════════════════════════════════════════════════ */

.pricing-page {
    min-height: 100vh;
    padding: 0 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: 48px;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--accent-primary);
}

.pricing-header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-plan {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 4px;
    color: #c4b5fd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.login-link:hover {
    text-decoration: underline;
}

/* Hero Section */
.pricing-hero {
    text-align: center;
    margin-bottom: 48px;
}

.hero-eyebrow {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-title .accent {
    color: var(--accent-primary);
    background: linear-gradient(135deg, var(--accent-primary), #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

/* Stats Section */
.stats-section {
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.stat-card.highlight {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, var(--bg-card) 100%);
    border-color: var(--accent-primary);
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.stat-value.positive {
    color: #00d4aa;
}

.stat-value.negative {
    color: #ff4757;
}

.stat-value.accent {
    color: var(--accent-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stats-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Timing Section */
.timing-section {
    margin-bottom: 60px;
}

.timing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.timing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.timing-card.delayed {
    border-color: rgba(255, 71, 87, 0.3);
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.05) 0%, var(--bg-card) 100%);
}

.timing-card.realtime {
    border-color: rgba(0, 212, 170, 0.5);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08) 0%, var(--bg-card) 100%);
}

.timing-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.timing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.timing-card.delayed h3 {
    color: #ff6b7a;
}

.timing-card.realtime h3 {
    color: var(--accent-primary);
}

.timing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timing-card li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.timing-card.delayed li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ff4757;
}

.timing-card.realtime li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

/* Two-plan layout */
.pricing-cards.two-plans {
    grid-template-columns: repeat(2, 1fr);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: var(--text-muted);
}

.plan-card.pro {
    border: 2px solid var(--accent-primary);
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.08) 0%, var(--bg-card) 100%);
}

.plan-card.pro:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.2);
}

.plan-card.current {
    border-color: var(--accent-primary);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary), #10b981);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.plan-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: 24px;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.plan-card.pro .price-amount {
    color: var(--accent-primary);
}

.price-period {
    font-size: 16px;
    color: var(--text-muted);
}

.plan-tagline {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.feature.included {
    color: var(--text-primary);
}

.feature.included .feature-icon {
    color: var(--accent-primary);
}

.feature.highlight {
    color: var(--text-primary);
    font-weight: 600;
}

.feature.delayed {
    color: var(--text-muted);
}

.feature.locked {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Delay/Realtime Tags */
.delay-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    background: rgba(255, 165, 2, 0.15);
    border: 1px solid rgba(255, 165, 2, 0.3);
    border-radius: 4px;
    color: #ffa502;
    margin-left: auto;
    text-transform: uppercase;
}

.realtime-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    background: rgba(0, 212, 170, 0.15);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 4px;
    color: var(--accent-primary);
    margin-left: auto;
    text-transform: uppercase;
}

/* Plan CTA */
.plan-cta {
    text-align: center;
}

.upgrade-button {
    display: inline-block;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-primary), #10b981);
    border: none;
    border-radius: var(--radius-md);
    color: var(--bg-primary);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.upgrade-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 170, 0.4);
}

.upgrade-button.large {
    font-size: 18px;
    padding: 20px 48px;
    width: auto;
}

.guarantee {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.current-badge {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 600;
}

.free-label {
    color: var(--text-muted);
    font-size: 14px;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 80px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.2s ease;
}

.benefit-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Research Section */
.research-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    margin-bottom: 80px;
}

.research-section.top {
    margin-bottom: 48px;
    padding: 32px 40px;
}

.research-content {
    max-width: 650px;
    margin: 0 auto;
}

.research-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #c4b5fd;
    margin-bottom: 20px;
}

.research-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.research-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.research-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.research-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-xl);
    margin-bottom: 60px;
}

.final-cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.final-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.final-guarantee {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Footer */
.pricing-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-primary);
}

.pricing-footer p {
    color: var(--text-muted);
    font-size: 14px;
}

.pricing-footer a {
    color: var(--accent-primary);
    text-decoration: none;
}

.pricing-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-cards.two-plans {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    
    .plan-card.pro {
        order: -1;
    }
    
    .timing-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-page {
        padding: 0 16px 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .pricing-header .logo {
        position: static;
        transform: none;
    }
    
    .pricing-header {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .research-section {
        padding: 28px 20px;
    }
    
    .research-content h3 {
        font-size: 20px;
    }
    
    .final-cta {
        padding: 40px 20px;
    }
    
    .final-cta h2 {
        font-size: 24px;
    }
    
    .final-cta p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .pricing-page {
        padding: 0 12px 32px;
    }
    
    .hero-title {
        font-size: 26px;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-eyebrow {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .pricing-hero {
        margin-bottom: 32px;
    }
    
    .stats-section {
        margin-bottom: 40px;
    }
    
    .stat-card {
        padding: 14px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .timing-card {
        padding: 20px;
    }
    
    .timing-icon {
        font-size: 28px;
    }
    
    .timing-card h3 {
        font-size: 16px;
    }
    
    .timing-card li {
        font-size: 13px;
    }
    
    .plan-card {
        padding: 24px 20px;
    }
    
    .plan-name {
        font-size: 20px;
    }
    
    .price-amount {
        font-size: 38px;
    }
    
    .feature {
        font-size: 13px;
    }
    
    .upgrade-button {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .benefits-section {
        margin-bottom: 48px;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-icon {
        font-size: 26px;
    }
    
    .benefit-card h3 {
        font-size: 14px;
    }
    
    .benefit-card p {
        font-size: 12px;
    }
    
    .research-section {
        padding: 20px 16px;
        margin-bottom: 48px;
    }
    
    .research-badge {
        font-size: 10px;
        padding: 4px 12px;
    }
    
    .research-content h3 {
        font-size: 18px;
    }
    
    .research-content p {
        font-size: 14px;
    }
    
    .faq-item {
        padding: 18px;
    }
    
    .faq-question {
        font-size: 14px;
    }
    
    .faq-answer {
        font-size: 13px;
    }
    
    .final-cta {
        padding: 32px 16px;
        margin-bottom: 40px;
    }
    
    .final-cta h2 {
        font-size: 20px;
    }
    
    .final-cta p {
        font-size: 14px;
    }
    
    .upgrade-button.large {
        font-size: 15px;
        padding: 16px 32px;
        width: 100%;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .pricing-footer {
        padding-top: 24px;
    }
    
    .pricing-footer p {
        font-size: 12px;
    }
}
