/* Mining Page Styles */

/* Hero Section */
.mining-hero {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e4e7ec;
    padding: 80px 0 64px;
    text-align: center;
}

.mining-hero .hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #101828 !important;
    letter-spacing: -0.02em;
}

.mining-hero .subtitle {
    font-size: 20px;
    color: #475467 !important;
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-stat .stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #101828 !important;
    display: block;
    line-height: 1.2;
    margin-bottom: 8px;
}

.hero-stat .stat-label {
    color: #475467 !important;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 32px 0;
    flex-wrap: wrap;
}

.cta-button {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 200px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #f79009, #d97706);
    color: white;
    box-shadow: 0 4px 12px rgba(247, 144, 9, 0.3);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 144, 9, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #f79009;
    border: 2px solid #f79009;
}

.cta-button.secondary:hover {
    background: #f79009;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
}

/* Platform Expertise Section */
.platform-expertise-section {
    padding: 80px 0;
    background: #ffffff;
}

.expertise-header {
    text-align: center;
    margin-bottom: 48px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.expertise-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #f79009;
}

.expertise-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.expertise-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.expertise-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.expertise-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.expertise-stats .stat {
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #475467;
    border-left: 3px solid #f79009;
}

.methodology-section {
    background: #f8fafc;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.methodology-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
}

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

.methodology-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.methodology-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .expertise-card {
        padding: 20px;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .methodology-section {
        padding: 24px;
    }
}

/* ASIC Manufacturer Intelligence Section */
.manufacturer-intelligence-section {
    padding: 80px 0;
    background: #f8fafc;
}

.intelligence-header {
    text-align: center;
    margin-bottom: 48px;
}

.intelligence-header .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.intelligence-header .section-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Market Overview */
.market-overview {
    margin-bottom: 48px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.overview-stat {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.overview-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #f79009;
}

.overview-stat .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #f79009;
    margin-bottom: 8px;
}

.overview-stat .stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.market-trends h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.trend-item {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.trend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trend-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.trend-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.trend-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Manufacturer Cards Section */
.manufacturer-cards-section {
    margin-bottom: 48px;
}

.manufacturer-cards-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 32px;
    text-align: center;
}

.manufacturer-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.manufacturer-card-detailed {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.manufacturer-card-detailed:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #f79009;
}

.card-header {
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.manufacturer-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.manufacturer-info {
    flex: 1;
}

.manufacturer-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.market-share {
    font-size: 14px;
    color: #f79009;
    font-weight: 600;
}

.founded {
    font-size: 12px;
    color: #64748b;
}

.manufacturer-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    z-index: 10;
}

.market-leader {
    background: #dcfce7;
    color: #166534;
}

.competitor {
    background: #dbeafe;
    color: #1e40af;
}

.specialist {
    background: #fef3c7;
    color: #92400e;
}

.innovator {
    background: #e0e7ff;
    color: #3730a3;
}

.card-content {
    padding: 24px;
}

.top-models h5 {
    font-size: 14px;
    font-weight: 600;
    color: #475467;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.models-list {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.model {
    background: #f1f5f9;
    color: #475467;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.key-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric {
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}

.metric-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.card-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.analysis-link {
    color: #f79009;
    font-weight: 600;
    font-size: 14px;
}

/* Manufacturer Comparison */
.manufacturer-comparison h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 32px;
    text-align: center;
}

.comparison-table-detailed {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr 1fr;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.header-cell {
    padding: 16px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475467;
    text-align: center;
    border-right: 1px solid #e2e8f0;
}

.header-cell:last-child {
    border-right: none;
}

.table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.table-row:hover {
    background: #f8fafc;
}

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

.cell {
    padding: 16px 12px;
    font-size: 14px;
    color: #475467;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cell:last-child {
    border-right: none;
}

.manufacturer-cell {
    justify-content: flex-start;
    gap: 8px;
}

.manufacturer-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.efficiency-cell {
    font-weight: 600;
    color: #f79009;
}

.analysis-btn {
    background: #f79009;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.analysis-btn:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .manufacturer-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .header-cell,
    .cell {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        justify-content: flex-start;
        text-align: left;
    }
    
    .cell:last-child {
        border-bottom: none;
    }
    
    .manufacturer-cell {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .intelligence-header .section-title {
        font-size: 28px;
    }
    
    .intelligence-header .section-subtitle {
        font-size: 16px;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .overview-stat {
        padding: 24px 16px;
    }
    
    .overview-stat .stat-value {
        font-size: 24px;
    }
    
    .trends-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .manufacturer-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .card-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .manufacturer-badge {
        position: static;
        align-self: center;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .key-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .manufacturer-comparison h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .card-header {
        padding: 16px;
    }
    
    .card-content {
        padding: 16px;
    }
    
    .card-footer {
        padding: 12px 16px;
    }
}

@media (min-width: 1200px) {
    .manufacturer-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trends-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .manufacturer-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ASIC Comparison Table */
.asic-comparison-section {
    padding: 80px 0;
    background: #f8fafc;
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
    background: #f79009;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.header-cell {
    padding: 16px 12px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.header-cell:last-child {
    border-right: none;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.table-row:hover {
    background: #f8fafc;
}

.table-row.featured {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 4px solid #f79009;
}

.cell {
    padding: 16px 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-right: 1px solid #e2e8f0;
}

.cell:last-child {
    border-right: none;
}

.model-cell {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.model-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.model-manufacturer {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.profit-cell {
    color: #059669;
    font-weight: 600;
}

.roi-cell {
    color: #059669;
    font-weight: 600;
}

.comparison-note {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comparison-note p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
}

.comparison-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.comparison-actions .cta-button {
    min-width: 180px;
}

/* Profitability Context */
.profitability-context {
    margin-top: 48px;
}

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

.context-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.context-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.context-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.context-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.context-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.context-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.context-stats .stat {
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #475467;
    border-left: 3px solid #f79009;
}

@media (max-width: 768px) {
    .context-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .context-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .header-cell,
    .cell {
        padding: 12px 8px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .header-cell:last-child,
    .cell:last-child {
        border-bottom: none;
    }
    
    .model-cell {
        align-items: center;
        text-align: center;
    }
}

/* Additional Calculators Section */
.additional-calculators-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.calculator-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.calculator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.calculator-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.calculator-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.calculator-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.calculator-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
}

.calculator-features .feature {
    background: #f1f5f9;
    color: #475467;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.calculator-btn {
    background: linear-gradient(135deg, #f79009, #d97706);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.calculator-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .calculators-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .calculator-card {
        padding: 24px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.faq-item {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #f79009;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
}

/* Clickable Manufacturer Cards */
.clickable-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.clickable-card:hover .manufacturer-badge {
    background: #f79009;
    color: white;
}

.clickable-card:hover h3 {
    color: #f79009;
}

.click-indicator {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 12px;
    color: #6b7280;
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.clickable-card:hover .click-indicator {
    opacity: 1;
    color: #f79009;
    transform: translateX(4px);
}

/* Manufacturer Links */
.manufacturer-link {
    color: #101828;
    text-decoration: none;
    transition: color 0.2s;
}

.manufacturer-link:hover {
    color: #f79009;
}

/* Ecosystem Overview */
.ecosystem-overview {
    padding: 80px 0;
    background: #f8fafc;
}

.ecosystem-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.flow-step {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #e4e7ec;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
    min-width: 180px;
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.1);
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.flow-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 8px;
}

.flow-step p {
    font-size: 14px;
    color: #475467;
}

.flow-arrow {
    font-size: 24px;
    color: #f79009;
    font-weight: 700;
}

/* Mining Pools Section */
.mining-pools-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 24px;
}

.view-controls {
    display: flex;
    gap: 8px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 8px;
}

.view-toggle {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #475467;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle.active {
    background: #f79009;
    color: #ffffff;
}

.view-toggle:hover:not(.active) {
    background: #e4e7ec;
    color: #344054;
}

.pools-table {
    overflow-x: auto;
    margin-bottom: 32px;
}

.pools-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
}

.pools-table th,
.pools-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e4e7ec;
}

.pools-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #344054;
    font-size: 14px;
}

.pools-table td {
    font-size: 14px;
    color: #475467;
}

.pools-table tr:hover {
    background: #f8fafc;
}

.pools-cards {
    display: none;
}

.pools-cards:not(.hidden) {
    display: block;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.pool-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e4e7ec;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
    transition: all 0.3s ease;
}

.pool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.1);
}

.pool-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.pool-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pool-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 4px;
}

.pool-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.pool-stat {
    text-align: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.pool-stat-label {
    display: block;
    font-size: 12px;
    color: #475467;
    margin-bottom: 4px;
}

.pool-stat-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #101828;
}

.pool-actions {
    display: flex;
    gap: 12px;
}

.btn-primary, .btn-secondary {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: #f79009;
    color: #ffffff;
}

.btn-primary:hover {
    background: #d97706;
}

.btn-secondary {
    background: #f8fafc;
    color: #475467;
    border: 1px solid #e4e7ec;
}

.btn-secondary:hover {
    background: #e4e7ec;
    color: #344054;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid #e4e7ec;
    background: #ffffff;
    color: #475467;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    background: #f8fafc;
    color: #344054;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 14px;
    color: #475467;
}

/* Cloud Mining Section */
.cloud-mining-section {
    padding: 80px 0;
    background: #f8fafc;
}

/* Performance Metrics */
.performance-metrics {
    margin-top: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.performance-metrics .metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.performance-metrics .metric:last-child {
    border-bottom: none;
}

.performance-metrics .metric-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.performance-metrics .metric-value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
}

/* Comparison Section */
.comparison-section {
    margin-top: 40px;
    padding: 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.comparison-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background: linear-gradient(135deg, #f79009 0%, #f97316 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 16px 12px;
    text-align: left;
    border: none;
}

.comparison-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #475569;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: #f8fafc;
}

.service-comparison {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-logo-small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.best-value {
    color: #059669 !important;
    font-weight: 700 !important;
    background: #ecfdf5;
    padding: 4px 8px;
    border-radius: 6px;
}

.btn-compare {
    background: linear-gradient(135deg, #f79009 0%, #f97316 100%);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-compare:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 144, 9, 0.3);
}

.cloud-mining-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.cloud-mining-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e4e7ec;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.cloud-mining-card.featured {
    border: 2px solid #f79009;
    box-shadow: 0 8px 32px rgba(247, 144, 9, 0.15);
}

.cloud-mining-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.1);
}

.service-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f79009;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 600;
    z-index: 10;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.service-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 8px;
}

.service-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-stats .stat {
    font-size: 12px;
    color: #475467;
    font-weight: 500;
}

.card-content {
    margin-bottom: 24px;
}

.service-features h4,
.service-pricing h4,
.service-rating h4 {
    font-size: 16px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 12px;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.service-features li {
    font-size: 14px;
    color: #475467;
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}

.service-features li::before {
    content: '•';
    color: #f79009;
    position: absolute;
    left: 0;
}

.pricing-tiers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
}

.tier-name {
    font-size: 14px;
    font-weight: 500;
    color: #344054;
}

.tier-price {
    font-size: 14px;
    font-weight: 600;
    color: #f79009;
}

.tier-hashrate {
    font-size: 12px;
    color: #475467;
}

.rating-score {
    font-size: 24px;
    font-weight: 700;
    color: #f79009;
    margin-bottom: 12px;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.rating-item span:first-child {
    color: #475467;
}

.rating-item span:last-child {
    font-weight: 600;
    color: #101828;
}

.card-actions {
    display: flex;
    gap: 12px;
}

/* Manufacturers Section */
.manufacturers-section {
    padding: 80px 0;
    background: #ffffff;
}

.manufacturers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.manufacturer-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e4e7ec;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.manufacturer-card.featured {
    border: 2px solid #f79009;
    box-shadow: 0 8px 32px rgba(247, 144, 9, 0.15);
}

/* Remove hover styles from manufacturer-card since clickable-card handles them */
.clickable-card .manufacturer-card:hover {
    transform: none;
    box-shadow: inherit;
}

.manufacturer-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f79009;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 600;
    z-index: 10;
}

.manufacturer-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e4e7ec;
}

.manufacturer-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.manufacturer-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 8px 0;
}

.manufacturer-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.manufacturer-stats .stat {
    font-size: 12px;
    color: #475467;
    font-weight: 500;
}

.manufacturer-asics {
    margin-bottom: 24px;
}

.manufacturer-asics h4 {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 16px 0;
}

.asics-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.asic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.asic-item:hover {
    background: #f1f5f9;
}

.asic-name {
    font-size: 14px;
    font-weight: 600;
    color: #101828;
}

.asic-specs {
    font-size: 12px;
    color: #475467;
    font-weight: 500;
}

.manufacturer-analysis {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e4e7ec;
}

.manufacturer-analysis h4 {
    font-size: 16px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 16px 0;
}

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

.analysis-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
}

.analysis-label {
    font-size: 12px;
    color: #475467;
}

.analysis-value {
    font-size: 12px;
    font-weight: 600;
    color: #101828;
}

/* Mining Calculator Section */
.mining-calculator-section {
    padding: 80px 0;
    background: #f8fafc;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.calculator-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e4e7ec;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
}

.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e4e7ec;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #344054;
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #f79009;
    box-shadow: 0 0 0 3px rgba(247, 144, 9, 0.1);
}

.calculate-btn {
    width: 100%;
    padding: 16px 32px;
    background: #f79009;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.calculate-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.calculator-results {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e4e7ec;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
}

.calculator-results h3 {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 24px;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e4e7ec;
}

.result-label {
    font-size: 14px;
    color: #475467;
    font-weight: 500;
}

.result-value {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
}

.profitability-chart {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e4e7ec;
}

.profitability-chart h4 {
    font-size: 16px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 20px;
    text-align: center;
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bar-label {
    min-width: 80px;
    font-size: 14px;
    font-weight: 500;
    color: #344054;
}

.bar-fill {
    flex: 1;
    height: 20px;
    background: linear-gradient(90deg, #f79009 0%, #f59e0b 100%);
    border-radius: 10px;
    position: relative;
}

.bar-value {
    min-width: 80px;
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    text-align: right;
}

/* Mining Analytics Section */
.mining-analytics-section {
    padding: 80px 0;
    background: #ffffff;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.analytics-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e4e7ec;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
    transition: all 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.1);
}

.analytics-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 24px;
    text-align: center;
}

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

.stat-item {
    text-align: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #f79009;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #475467;
    font-weight: 500;
}

.trends-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.trend-label {
    font-size: 14px;
    color: #475467;
}

.trend-value {
    font-size: 14px;
    font-weight: 600;
}

.trend-value.positive {
    color: #059669;
}

.trend-value.negative {
    color: #dc2626;
}

.geography-chart,
.energy-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.geo-item,
.energy-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.geo-label,
.energy-label {
    min-width: 120px;
    font-size: 14px;
    color: #475467;
}

.geo-bar,
.energy-bar {
    flex: 1;
    height: 8px;
    background: #e4e7ec;
    border-radius: 4px;
    overflow: hidden;
}

.geo-fill,
.energy-fill {
    height: 100%;
    background: #f79009;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.energy-fill.renewable {
    background: #059669;
}

.energy-fill.coal {
    background: #374151;
}

.energy-fill.gas {
    background: #7c3aed;
}

.energy-fill.nuclear {
    background: #dc2626;
}

.geo-value,
.energy-value {
    min-width: 40px;
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    text-align: right;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-content p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 16px 24px;
    background: #f79009;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: #d97706;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mining-hero h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .ecosystem-flow {
        flex-direction: column;
        align-items: stretch;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .view-controls {
        align-self: center;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .cloud-mining-grid {
        grid-template-columns: 1fr;
    }
    
    .manufacturers-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .chart-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .bar-label {
        min-width: auto;
    }
    
    .bar-value {
        min-width: auto;
        text-align: left;
    }
    
    .geo-item,
    .energy-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .geo-label,
    .energy-label {
        min-width: auto;
    }
    
    .geo-value,
    .energy-value {
        min-width: auto;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .mining-hero {
        padding: 80px 0 60px;
    }
    
    .mining-hero h1 {
        font-size: 28px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .flow-step {
        min-width: auto;
    }
    
    .pools-table {
        font-size: 12px;
    }
    
    .pools-table th,
    .pools-table td {
        padding: 8px;
    }
    
    .cloud-mining-card,
    .manufacturer-card {
        padding: 24px;
    }
    
    .calculator-form,
    .calculator-results {
        padding: 24px;
    }
    
    .analytics-card {
        padding: 24px;
    }
}
