/* BTC-tools specific CSS overrides */
/* This file contains style overrides for BTC-tools only, based on btc.77company.eu design */

/* Homepage specific styles for Bit Management */
.homepage-main {
    padding: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4c63d2 0%, #5b2c87 100%);
    padding: 80px 0;
    color: white;
}


.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-assets {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.asset-item {
    text-align: center;
    flex: 1;
}

.asset-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.asset-icon.symbol {
    font-family: 'Montserrat', sans-serif;
    display: block;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    position: relative;
    text-align: center;
    line-height: 48px;
    font-size: 28px;
    margin: 0 auto 10px auto;
}

.asset-icon.symbol::before {
    content: "₿";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.asset-item h3 {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    color: #1e293b;
}

.hero-scenarios {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.scenario {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scenario h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.scenario-questions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scenario-questions li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.scenario-questions li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #4c63d2;
    font-weight: bold;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.button.large {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}

.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.hero-illustration svg {
    width: 100%;
    height: auto;
    max-width: 400px;
}

/* Value Section */
.value-section {
    padding: 80px 0;
    background: #f1f5f9;
}

.value-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.value-section h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #1e293b;
}

.value-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 60px;
}

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

.value-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

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

.value-card p {
    color: #475569;
    line-height: 1.6;
}

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

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-section h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1e293b;
}

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

.feature-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    color: #4d79f6;
    margin-bottom: 20px;
}

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

.feature-card p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    color: #374151;
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .value-section h2,
    .features-section h2,
    .cta-section h2 {
        font-size: 28px;
    }
    
    .value-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Button styling - updated to match btc.77company.eu */
.button, .dialog-button {
    display: inline-block;
    padding: 0.715rem 1.072rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    text-align: center;
    min-width: 90px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
}

.button.logout, .primary, .button.primary {
    background: #4d79f6 !important;
    border-color: #4d79f6;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: none !important;
}

.button.logout:hover, .primary:hover, .button.primary:hover {
    background: #3b6cf0 !important;
    border-color: #3b6cf0;
    box-shadow: none !important;
}

.button.delete {
    color: white;
    background-color: #dc2626;
    border-color: #dc2626;
}

.button.delete:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
}

.button.secondary {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.button.secondary:hover {
    background-color: #e5e7eb;
    border-color: #9ca3af;
}

/* Font size adjustments for dashboard */
body {
    font-size: 14px;
}

body.dashboard {
    font-size: 14px;
}

/* Header font sizes */
h1 {
    font-size: 21px;
    line-height: 30px;
    font-weight: 500;
}

h2 {
    font-size: 18px;
    font-weight: 500;
}

/* Dashboard specific elements */
.dashboard header {
    font-size: 14px;
}

.dashboard .user-info {
    font-size: 14px;
}

.dashboard .balance {
    font-size: 14px;
}

.dashboard .wallet-list {
    font-size: 14px;
}

.dashboard .wallet-item {
    font-size: 14px;
}

.dashboard .wallet-item .wallet-name {
    font-size: 14px;
    font-weight: 500;
}

.dashboard .wallet-item .wallet-balance {
    font-size: 14px;
    font-weight: 500;
}

.dashboard .account-name {
    font-size: 14px;
    font-weight: 500;
}

/* Preserve hero section styling for landing page */
.hero h1 {
    font-size: 3.5rem;
}

.hero h2 {
    font-size: 2rem;
}

/* Table styling for dashboard */
.dashboard table {
    font-size: 14px;
}

.dashboard table th {
    font-size: 14px;
    font-weight: 500;
}

.dashboard table td {
    font-size: 14px;
}

/* Menu and navigation */
.dashboard nav {
    font-size: 14px;
}

.dashboard .menu-items {
    font-size: 14px;
}

/* Form elements */
.dashboard input, .dashboard select, .dashboard textarea {
    font-size: 14px;
}

.dashboard label {
    font-size: 14px;
}

/* Dashboard background - subtle gradient like btc.77company.eu */
body.dashboard {
    background: linear-gradient(to bottom, #E6F3FF, #F8F9FA);
}

/* Preserve existing wallet and account styling but update font sizes */
.profit-positive {
    font-size: 14px;
}

.profit-negative {
    font-size: 14px;
}

.profit-neutral {
    font-size: 14px;
}

/* Homepage specific styles */
.homepage-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin: -20px -20px 0 -20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-container h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 40px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.hero-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.hero-box h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
}

.hero-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.feature-item {
    text-align: center;
    flex: 1;
}

.hero-features .feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    color: inherit;
}

.hero-features .feature-item span:last-child {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.hero-description {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #374151;
}

.benefit-icon {
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.button.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* P&L Section */
.pnl-section {
    padding: 80px 0;
    background: white;
}

.pnl-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pnl-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.pnl-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}

.pnl-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pnl-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pnl-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pnl-feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.pnl-feature p {
    color: #64748b;
    font-size: 0.95rem;
}

.pnl-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pnl-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Digital Inheritance Section */
.inheritance-section {
    padding: 80px 0;
    background: #e2e8f0;
}

.inheritance-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.inheritance-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.inheritance-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}

.inheritance-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.inheritance-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.inheritance-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.inheritance-feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.inheritance-feature p {
    color: #64748b;
    font-size: 0.95rem;
}

.inheritance-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.inheritance-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Security Warning Section */
.security-warning-section {
    padding: 40px 0;
    background: #f8fafc;
}

.security-warning-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.security-warning-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 16px 20px;
    text-align: center;
}

.security-warning-box p {
    margin: 0;
    color: #92400e;
    font-size: 0.95rem;
    line-height: 1.5;
}


/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8fafc;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 16px;
}

.features-subtitle {
    font-size: 1.1rem;
    color: #475569;
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: #4d79f6;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.feature-card p {
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: #374151;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: "✓";
    color: #4d79f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.cta-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-container p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #e2e8f0;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-note {
    font-size: 14px;
    color: #cbd5e1;
    margin: 0;
}


/* Blockchain badge */
.blockchain-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 8px;
    margin-top: 24px;
    font-size: 0.9rem;
}

.blockchain-icon {
    font-size: 1.2rem;
}


.feature-card {
    position: relative;
}

/* Free highlight in hero title */
.free-highlight {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container h1 {
        font-size: 2.5rem;
    }
    
    .hero-boxes {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-box {
        padding: 24px;
    }
    
    .hero-box h2 {
        font-size: 1.3rem;
    }
    
    .pnl-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .pnl-content h2 {
        font-size: 2rem;
    }
    
    .inheritance-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .inheritance-content h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .features-container h2,
    .cta-container h2 {
        font-size: 2rem;
    }
    
    .blockchain-badge {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
}

/* Payments Introduction Section */
.payments-intro-section {
    padding: 20px 0 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    margin: 0;
}

.payments-intro-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.payments-intro-container h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.payments-intro-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.payments-intro-content {
    margin-bottom: 40px;
}

.payments-intro-text h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.payments-intro-text p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 30px;
}

.payments-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.payments-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payments-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.payments-feature-icon {
    font-size: 2rem;
    color: var(--primary);
    min-width: 40px;
    text-align: center;
}

.payments-feature h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.payments-feature p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.payments-motto {
    background: none;
    color: var(--primary);
    padding: 20px 0;
    border-radius: 0;
    margin: 30px 0;
    font-size: 1.2rem;
    box-shadow: none;
    text-align: center;
    font-style: italic;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

.payments-cta {
    margin-top: 40px;
}

.payments-cta .button.primary.large {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payments-cta .button.primary.large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.3);
}

.payments-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    margin-bottom: 0;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive design for payments section */
@media (max-width: 768px) {
    .payments-intro-container h2 {
        font-size: 2rem;
    }
    
    .payments-intro-text h3 {
        font-size: 1.3rem;
    }
    
    .payments-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payments-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .payments-feature-icon {
        min-width: auto;
    }
}
