/* Custom Premium Investment Styles - Unified Dark Navy & Crimson Theme */

/* Global Body Theme for Asset Pages */
.crypto-body,
.stock-body,
.bond-body,
.re-body,
.agriculture-body {
    background-color: #0b0e1b !important;
    color: #f8fafc !important;
    font-family: 'Inter', 'Outfit', sans-serif;
}

/* Crypto Page - Dark Tech Aesthetic */
.crypto-card {
    background: rgba(19, 24, 46, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(217, 35, 42, 0.25);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #f8fafc;
}

.crypto-card:hover {
    border-color: #d9232a;
    box-shadow: 0 0 30px rgba(217, 35, 42, 0.3);
    transform: translateY(-5px);
}

.price-ticker {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #d9232a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .price-ticker {
        font-size: 1.75rem;
    }
}

.crypto-badge {
    background: rgba(217, 35, 42, 0.15);
    color: #f87171;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(217, 35, 42, 0.3);
}

/* Stock Page - Corporate Financial Aesthetic */
.stock-hero {
    background: linear-gradient(135deg, #0b0e1b 0%, #161a3c 100%);
    color: white;
    padding: 5rem 0;
    border-bottom: 1px solid rgba(217, 35, 42, 0.2);
}

.chart-container {
    background: #13182e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    height: 400px;
    color: #f8fafc;
}

.market-stat {
    border-left: 4px solid #d9232a;
    padding-left: 1rem;
    color: #f8fafc;
}

/* Bonds Page - Sovereign Debt Aesthetic */
.bond-header {
    background: #0b0e1b;
    color: white;
    border-bottom: 2px solid #d9232a;
}

.bond-option {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #13182e;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    color: #f8fafc;
}

.bond-option.active {
    border-color: #d9232a;
    background: rgba(217, 35, 42, 0.12);
    box-shadow: 0 10px 25px rgba(217, 35, 42, 0.2);
}

/* Real Estate Page - Luxury Equity Aesthetic */
.re-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.re-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0b0e1b 10%, transparent 90%);
}

.re-card {
    background: #13182e;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    color: #f8fafc;
}

.luxury-btn {
    background: linear-gradient(135deg, #d9232a 0%, #b8161c 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.luxury-btn:hover {
    box-shadow: 0 10px 25px rgba(217, 35, 42, 0.4);
    transform: translateY(-2px);
}

/* Common Components */
.glass-form {
    background: rgba(19, 24, 46, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(217, 35, 42, 0.25);
    border-radius: 24px;
    padding: 2.5rem;
    color: #f8fafc;
}

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

/* Badge Styles for Asset Categories */
.badge.cryptocurrency {
    background: rgba(139, 92, 246, 0.2);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.badge.growth-stocks {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge.government-bonds {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.badge.real-estate {
    background: rgba(217, 35, 42, 0.2);
    color: #f87171;
    border: 1px solid rgba(217, 35, 42, 0.4);
}

.badge.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.badge.success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.badge.danger {
    background: rgba(217, 35, 42, 0.25);
    color: #f87171;
}

/* Agriculture Page - Dark Executive AgTech */
.agriculture-card {
    background: #13182e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s ease;
    color: #f8fafc;
}

.agriculture-card:hover {
    transform: translateY(-6px);
    border-color: #d9232a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.agriculture-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.agri-stat-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: #13182e;
    border: 1px solid rgba(217, 35, 42, 0.3);
    color: white;
    padding: 3rem;
    border-radius: 32px;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.agri-form-container {
    background: #13182e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    color: #f8fafc;
}

.agri-input {
    width: 100%;
    background: #0b0e1b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.agri-input:focus {
    outline: none;
    border-color: #d9232a;
    box-shadow: 0 0 0 4px rgba(217, 35, 42, 0.2);
}

.plant-btn {
    width: 100%;
    background: linear-gradient(135deg, #d9232a 0%, #b8161c 100%);
    color: #ffffff;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plant-btn:hover {
    box-shadow: 0 15px 30px rgba(217, 35, 42, 0.4);
    transform: translateY(-2px);
}
