/* Wallets Page Specific Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8rem 0 6rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Wallet Types Section */
.wallet-types {
    padding: 6rem 0;
    background: #f8f9fa;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.type-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e1e1e1;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.type-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.security-level {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.security-level.high {
    background: #d4edda;
    color: #155724;
}

.security-level.medium {
    background: #fff3cd;
    color: #856404;
}

.security-level.low {
    background: #f8d7da;
    color: #721c24;
}

.type-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.type-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.type-features .fa-check {
    color: #28a745;
}

.type-features .fa-times {
    color: #dc3545;
}

.type-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin: 1.5rem 0;
}

.type-desc {
    color: #666;
    line-height: 1.6;
    margin-top: 1rem;
}

/* Recommended Wallets */
.recommended-wallets {
    padding: 6rem 0;
    background: white;
}

.wallet-category {
    margin-bottom: 4rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.category-title i {
    color: #667eea;
}

.wallets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.wallet-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #e1e1e1;
    transition: all 0.3s ease;
    position: relative;
}

.wallet-card.featured {
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.wallet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.wallet-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.wallet-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wallet-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.wallet-info {
    flex: 1;
}

.wallet-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.wallet-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #ffd700;
    font-size: 1rem;
}

.wallet-rating span {
    color: #666;
    font-size: 0.9rem;
}

.wallet-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
}

.wallet-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #e1e1e1;
}

.wallet-specs {
    margin: 1.5rem 0;
}

.spec {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.spec i {
    color: #667eea;
    width: 16px;
}

.wallet-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.pros h5, .cons h5 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.pros h5 {
    color: #28a745;
}

.cons h5 {
    color: #dc3545;
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros li, .cons li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.2rem;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.cons li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.wallet-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.wallet-actions .btn {
    flex: 1;
    justify-content: center;
    gap: 0.5rem;
}

/* Security Tips */
.security-tips {
    padding: 6rem 0;
    background: #f8f9fa;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tip-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 4px solid;
}

.tip-card.critical {
    border-left-color: #dc3545;
}

.tip-card.high {
    border-left-color: #fd7e14;
}

.tip-card.medium {
    border-left-color: #ffc107;
}

.tip-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.tip-card.critical .tip-icon {
    background: #dc3545;
}

.tip-card.high .tip-icon {
    background: #fd7e14;
}

.tip-card.medium .tip-icon {
    background: #ffc107;
}

.tip-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.tip-importance {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.tip-importance .critical {
    color: #dc3545;
    font-weight: 700;
}

.tip-importance .high {
    color: #fd7e14;
    font-weight: 700;
}

.tip-importance .medium {
    color: #ffc107;
    font-weight: 700;
}

.tip-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.tip-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.tip-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.tip-warning, .tip-example {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.tip-warning {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.tip-warning i {
    margin-right: 0.5rem;
    color: #dc3545;
}

/* Security Checklist */
.security-checklist {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.security-checklist h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.5rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.checklist-section h4 {
    margin-bottom: 1rem;
    color: #667eea;
    font-size: 1.1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    padding-left: 0.5rem;
}

.checklist-item:hover {
    background: #f8f9fa;
}

.checklist-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checklist-item input[type="checkbox"]:checked + .checkmark {
    background: #28a745;
    border-color: #28a745;
}

.checklist-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.checklist-score {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e1e1e1;
}

.score-value {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.score-bar {
    width: 100%;
    height: 10px;
    background: #e1e1e1;
    border-radius: 5px;
    margin-top: 1rem;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc3545, #ffc107, #28a745);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 5px;
}

/* Wallet Comparison Table */
.wallet-comparison {
    padding: 6rem 0;
    background: white;
}

.comparison-table-container {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.comparison-table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 600;
    border: none;
}

.comparison-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #e1e1e1;
    vertical-align: middle;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.comparison-table tr.recommended {
    background: rgba(102, 126, 234, 0.05);
}

.comparison-table tr.popular {
    background: rgba(255, 193, 7, 0.05);
}

.wallet-name {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.wallet-name img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.wallet-name .badge {
    background: #667eea;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.wallet-name .badge.popular {
    background: #ffc107;
    color: #333;
}

.type {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.type.hardware {
    background: #d4edda;
    color: #155724;
}

.type.software {
    background: #cce5ff;
    color: #004085;
}

.type.exchange {
    background: #fff3cd;
    color: #856404;
}

.rating {
    display: flex;
    align-items: center;
}

.rating.excellent {
    color: #28a745;
}

.rating.good {
    color: #ffc107;
}

.rating.average {
    color: #fd7e14;
}

.text-green {
    color: #28a745;
}

.text-red {
    color: #dc3545;
}

/* Setup Guides */
.setup-guides {
    padding: 6rem 0;
    background: #f8f9fa;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.guide-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.guide-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guide-header i {
    font-size: 2rem;
}

.guide-header h3 {
    flex: 1;
    margin: 0;
    font-size: 1.5rem;
}

.difficulty {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty.hardware {
    background: rgba(255,255,255,0.2);
    color: white;
}

.difficulty.software {
    background: rgba(255,255,255,0.2);
    color: white;
}

.guide-steps {
    padding: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e1e1e1;
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 1.1rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    color: #856404;
    font-size: 0.9rem;
}

.warning i {
    margin-right: 0.5rem;
    color: #f39c12;
}

.guide-actions {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 1rem;
}

.guide-actions .btn {
    flex: 1;
    justify-content: center;
    gap: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wallets-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wallet-card {
        padding: 1.5rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .wallet-pros-cons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wallet-actions {
        flex-direction: column;
    }
    
    .guide-actions {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .type-card,
    .wallet-card,
    .tip-card {
        padding: 1.5rem;
    }
    
    .wallet-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .guide-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        align-self: flex-start;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wallet-card,
.tip-card,
.guide-card {
    animation: fadeInUp 0.6s ease forwards;
}

.wallet-card:nth-child(2) { animation-delay: 0.1s; }
.wallet-card:nth-child(3) { animation-delay: 0.2s; }
.tip-card:nth-child(2) { animation-delay: 0.1s; }
.tip-card:nth-child(3) { animation-delay: 0.2s; }
.tip-card:nth-child(4) { animation-delay: 0.3s; }

/* Custom Scrollbar */
.comparison-table-container::-webkit-scrollbar {
    height: 8px;
}

.comparison-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.comparison-table-container::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.comparison-table-container::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}
