/* ============================================
   💰 INVESTORS PORTAL - Premium Dark Theme
   ============================================ */

:root {
    --bg-deep: #030014;
    --bg-card: rgba(255,255,255,0.03);
    --border-subtle: rgba(255,255,255,0.08);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-gold: #f59e0b;
    --accent-amber: #fbbf24;
    --accent-green: #10b981;
    --accent-blue: #0ea5e9;
    --accent-purple: #8b5cf6;
    --gradient-gold: linear-gradient(135deg, #fbbf24, #f59e0b);
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.investors-portal-page body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ambient Background */
.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    top: -150px; right: -50px;
}

.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    bottom: -100px; left: -50px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

/* Hero */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Section */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-header p { color: var(--text-muted); }

/* Investment Types */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.type-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.type-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.type-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    color: white;
}

.type-card:nth-child(1) .type-icon { background: linear-gradient(135deg, #10b981, #059669); }
.type-card:nth-child(2) .type-icon { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.type-card:nth-child(3) .type-icon { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.type-card:nth-child(4) .type-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }

.type-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.type-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.type-min {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Opportunities */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.opp-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.opp-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.opp-header {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.opp-category {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-gold);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.opp-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.opp-owner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.opp-body { padding: 1.25rem; }

.opp-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.opp-stat {
    text-align: center;
    padding: 0.75rem;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-md);
}

.opp-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.opp-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-invest {
    width: 100%;
    padding: 0.85rem;
    background: var(--gradient-gold);
    color: #1e293b;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-invest:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.35);
}

/* Why Invest */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
}

.why-icon {
    width: 65px;
    height: 65px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin: 0 auto 1rem;
}

.why-item h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CTA */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--gradient-gold);
    border-radius: var(--radius-xl);
    margin: 3rem 1.5rem;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: #1e293b;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.btn-cta {
    padding: 1rem 2.5rem;
    background: #1e293b;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem;
    color: var(--text-muted);
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 1.5rem; }
}
