/* ===== News Business Hub — Shared Stylesheet ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary: #1a1a2e; --secondary: #16213e; --accent: #e94560; --accent-dark: #c73e54; --text: #333; --text-light: #666; --text-white: #fff; --bg: #f5f5f5; --card-bg: #ffffff; --border: #e0e0e0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.7; color: var(--text); background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 15px rgba(0,0,0,0.1); }
header .container { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; }
.logo { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
nav { display: flex; gap: 25px; }
nav a { color: white; text-decoration: none; font-weight: 500; opacity: 0.9; transition: opacity 0.2s; }
nav a:hover { opacity: 1; }
.breaking-banner { background: var(--accent); color: white; text-align: center; padding: 10px; font-weight: 600; }

.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #1f3a5f 100%); color: white; padding: 60px 0; }
.hero h1 { font-size: 2.8rem; margin-bottom: 15px; font-weight: 800; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; }

.ticker-wrap { background: var(--primary); padding: 12px 0; overflow: hidden; }
.ticker { display: flex; animation: ticker 30s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 0 30px; color: white; font-weight: 500; }
.ticker-item .up { color: #4ade80; }
.ticker-item .down { color: #f87171; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.news-section { padding: 50px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.section-header h2 { font-size: 1.8rem; }
.section-header a { color: var(--accent); text-decoration: none; font-weight: 600; }

.news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.main-news { background: var(--card-bg); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.main-news-image { height: 400px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; position: relative; }
.main-news-image .icon { font-size: 5rem; }
.main-news-badge { position: absolute; top: 20px; left: 20px; background: var(--accent); color: white; padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 0.85rem; }
.main-news-content { padding: 30px; }
.main-news-content h3 { font-size: 1.7rem; margin-bottom: 15px; line-height: 1.3; }
.main-news-content p { color: var(--text-light); margin-bottom: 20px; font-size: 1.05rem; }
.news-meta { display: flex; gap: 20px; color: var(--text-light); font-size: 0.9rem; }

.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--card-bg); border-radius: 12px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.sidebar-card h4 { font-size: 1.1rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }

.news-item { display: flex; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.news-item:last-child { border: none; }
.news-item-image { width: 80px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.news-item-image .icon { font-size: 1.5rem; }
.news-item-content h5 { font-size: 0.95rem; margin-bottom: 5px; line-height: 1.3; }
.news-item-content span { font-size: 0.8rem; color: var(--text-light); }

.trending { padding: 50px 0; background: white; }
.trending-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.trending-card { background: var(--bg); border-radius: 12px; padding: 25px; transition: transform 0.3s; }
.trending-card:hover { transform: translateY(-4px); }
.trending-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); opacity: 0.3; margin-bottom: 10px; }
.trending-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.trending-card p { color: var(--text-light); font-size: 0.9rem; }

.investors-section { padding: 50px 0; }
.investors-section h2 { text-align: center; font-size: 2rem; margin-bottom: 15px; }
.investors-section > .container > p { text-align: center; color: var(--text-light); margin-bottom: 40px; font-size: 1.1rem; }
.investors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.investor-card { background: var(--card-bg); border-radius: 16px; overflow: hidden; box-shadow: 0 3px 20px rgba(0,0,0,0.08); transition: transform 0.3s; }
.investor-card:hover { transform: translateY(-5px); }
.investor-image { height: 220px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; position: relative; }
.investor-image .icon { font-size: 4.5rem; }
.investor-badge { position: absolute; bottom: 15px; left: 15px; background: white; color: var(--primary); padding: 6px 14px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; }
.investor-content { padding: 25px; }
.investor-content h3 { font-size: 1.4rem; margin-bottom: 8px; }
.investor-content .title { color: var(--accent); font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; }
.investor-content p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 18px; line-height: 1.6; }
.investor-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding-top: 15px; border-top: 1px solid var(--border); }
.stat-item { text-align: center; }
.stat-item .value { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.stat-item .label { font-size: 0.8rem; color: var(--text-light); }

.markets-section { padding: 50px 0; background: var(--primary); color: white; }
.markets-section h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.markets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.market-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 25px; text-align: center; }
.market-card .name { font-size: 0.9rem; opacity: 0.8; margin-bottom: 8px; }
.market-card .value { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.market-card .change { font-size: 0.95rem; }
.change.up { color: #4ade80; }
.change.down { color: #f87171; }

.newsletter { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); padding: 60px 0; text-align: center; color: white; }
.newsletter h2 { font-size: 2rem; margin-bottom: 15px; }
.newsletter p { margin-bottom: 25px; opacity: 0.95; }
.newsletter-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.newsletter-form input { padding: 14px 20px; border-radius: 8px; border: none; font-size: 1rem; min-width: 280px; }
.newsletter-form button { padding: 14px 30px; border-radius: 8px; border: none; background: var(--primary); color: white; font-weight: 600; cursor: pointer; }

footer { background: #0f0f1a; color: #666; padding: 50px 0 25px; }
footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
footer h4 { color: white; margin-bottom: 20px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: #666; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: white; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #1a1a2e; text-align: center; font-size: 0.9rem; }

/* ===== Profile page styles ===== */
.breadcrumb { padding: 16px 0; font-size: 0.9rem; color: var(--text-light); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.profile-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; padding: 60px 0; }
.profile-hero-inner { display: flex; align-items: center; gap: 40px; }
.profile-avatar { width: 100px; height: 100px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; font-weight: 800; color: white; flex-shrink: 0; }
.profile-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 8px; }
.profile-hero .badge { display: inline-block; background: var(--accent); color: white; padding: 5px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.profile-hero p { opacity: 0.85; max-width: 600px; font-size: 1.05rem; }
.stats-bar { background: white; border-bottom: 1px solid var(--border); padding: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stats-grid .stat-item .value { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stats-grid .stat-item .label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }
.main-content { padding: 50px 0; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.card { background: var(--card-bg); border-radius: 16px; padding: 30px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); margin-bottom: 24px; }
.card h2 { font-size: 1.5rem; margin-bottom: 16px; color: var(--primary); }
.card p { color: var(--text-light); margin-bottom: 14px; line-height: 1.7; }
.card ul { list-style: none; padding: 0; }
.card ul li { padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-light); display: flex; align-items: flex-start; gap: 10px; }
.card ul li:last-child { border-bottom: none; }
.card ul li::before { content: "✦"; color: var(--accent); font-size: 0.7rem; margin-top: 5px; flex-shrink: 0; }
.profile-sidebar-card { background: var(--card-bg); border-radius: 16px; padding: 24px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); margin-bottom: 20px; }
.profile-sidebar-card h3 { font-size: 1.1rem; margin-bottom: 14px; color: var(--primary); }
.link-btn { display: block; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--text); margin-bottom: 10px; transition: border-color 0.2s, background 0.2s; }
.link-btn:hover { border-color: var(--accent); background: #fff5f7; }
.link-btn .link-name { font-weight: 600; font-size: 0.95rem; }
.link-btn .link-url { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }
.link-btn .link-arrow { color: var(--accent); font-size: 0.85rem; margin-top: 4px; }
.profile-footer { background: var(--primary); color: white; padding: 40px 0; text-align: center; margin-top: 60px; }
.profile-footer a { color: rgba(255,255,255,0.7); text-decoration: none; margin: 0 12px; font-size: 0.9rem; }
.profile-footer a:hover { color: white; }
.profile-footer p { opacity: 0.6; font-size: 0.85rem; margin-top: 16px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .news-grid { grid-template-columns: 1fr; }
    nav { display: none; }
    .content-grid { grid-template-columns: 1fr; }
    .profile-hero-inner { flex-direction: column; text-align: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
