/* Wallet Detail Pages Styles */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #f79009;    /* Bitcoin оранжевый */
    --light-bg: #ffffff;         /* Белый фон */
    --secondary-bg: #f8fafc;     /* Светло-серый фон */
    --text-primary: #1c2025;     /* Темный текст */
    --text-secondary: #64748b;   /* Серый текст */
    --accent-color: #ff6b35;     /* Акцентный цвет */
    --border-color: #e4e7ec;     /* Границы */
    --shadow-color: rgba(16, 24, 40, 0.1);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

/* Hero Section */
.wallet-hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--secondary-bg) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.wallet-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23f79009" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.wallet-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    transition: all 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(247, 144, 9, 0.15);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 144, 9, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Quick Overview */
.quick-overview {
    padding: 60px 0;
    background: var(--light-bg);
}

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

.overview-card {
    background: var(--secondary-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.overview-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rating-stars {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rating-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.best-for-list, .features-list {
    list-style: none;
    padding: 0;
}

.best-for-list li, .features-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.best-for-list li:last-child, .features-list li:last-child {
    border-bottom: none;
}

.price-info {
    text-align: center;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.availability {
    color: var(--success-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.shipping {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Detailed Analysis */
.detailed-analysis {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.analysis-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    transition: all 0.3s ease;
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.analysis-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0;
}

.score {
    background: var(--primary-color);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.analysis-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.analysis-content ul {
    list-style: none;
    padding: 0;
}

.analysis-content ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.analysis-content ul li:last-child {
    border-bottom: none;
}

/* Pros and Cons */
.pros-cons {
    padding: 80px 0;
    background: var(--light-bg);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.pros-section, .cons-section {
    background: var(--secondary-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
}

.pros-section h3 {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.cons-section h3 {
    color: var(--error-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.pros-list li, .cons-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.pros-list li:last-child, .cons-list li:last-child {
    border-bottom: none;
}

.pros-list li strong, .cons-list li strong {
    color: var(--text-primary);
}

/* Competitor Comparison */
.competitor-comparison {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.comparison-table {
    background: var(--light-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
}

.comparison-header {
    background: var(--primary-color);
    color: #ffffff;
    padding: 1rem;
    font-weight: 600;
    display: grid;
    grid-template-columns: 1fr repeat(3, 1fr);
    gap: 1rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.comparison-value {
    color: var(--text-primary);
    text-align: center;
}

.comparison-value.best {
    color: var(--success-color);
    font-weight: 600;
}

/* Setup Guide */
.setup-guide {
    padding: 80px 0;
    background: var(--light-bg);
}

.setup-steps {
    display: grid;
    gap: 2rem;
}

.setup-step {
    display: flex;
    gap: 2rem;
    background: var(--secondary-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
}

.step-number {
    background: var(--primary-color);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.step-content ul li:last-child {
    border-bottom: none;
}

/* Where to Buy */
.where-to-buy {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.retailers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.retailer-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    transition: all 0.3s ease;
}

.retailer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.retailer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.retailer-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0;
}

.retailer-badge {
    background: var(--primary-color);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.retailer-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.retailer-features {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(247, 144, 9, 0.1);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.buying-tips {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
}

.buying-tips h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.buying-tips ul {
    list-style: none;
    padding: 0;
}

.buying-tips ul li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.buying-tips ul li:last-child {
    border-bottom: none;
}

.buying-tips ul li strong {
    color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--secondary-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Related Wallets */
.related-wallets {
    padding: 80px 0;
    background: var(--secondary-bg);
}

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

.related-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.related-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.related-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.related-score {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .setup-step {
        flex-direction: column;
        text-align: center;
    }
    
    .retailers-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comparison-header div:not(:first-child),
    .comparison-row div:not(:first-child) {
        margin-top: 0.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.overview-card,
.analysis-card,
.retailer-card,
.faq-item,
.related-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 2rem;
}
