/* ========================================
   MC Markets - Shared Styles
   ======================================== */

:root {
    --primary: #00D9A5;
    --primary-dark: #00B88A;
    --primary-glow: rgba(0, 217, 165, 0.3);
    --bg-dark: #0A0F1C;
    --bg-card: #121829;
    --bg-card-hover: #1a2138;
    --text-primary: #FFFFFF;
    --text-secondary: #8B95A8;
    --text-muted: #5C6578;
    --accent: #FFB800;
    --accent-red: #FF4757;
    --accent-green: #00D9A5;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 217, 165, 0.3);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: 18px; }

p { color: var(--text-secondary); }

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 60px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo span {
    background: linear-gradient(135deg, var(--primary), #00F5C4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(0, 217, 165, 0.1);
}

.dropdown-item span {
    font-size: 13px;
    color: var(--text-secondary);
}

.dropdown-icon {
    font-size: 20px;
}

/* Nav Auth */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-auth .btn {
    padding: 10px 20px;
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    padding: 140px 60px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 217, 165, 0.1);
    border: 1px solid rgba(0, 217, 165, 0.3);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), #00F5C4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* ========================================
   Sections
   ======================================== */

.section {
    padding: 80px 60px;
}

.section-dark {
    background: var(--bg-card);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Cards
   ======================================== */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 217, 165, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

/* ========================================
   Stats
   ======================================== */

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

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

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Price Ticker
   ======================================== */

.ticker-wrap {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 12px 0;
}

.ticker {
    display: flex;
    gap: 48px;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.ticker-item .symbol {
    font-weight: 600;
    color: var(--text-primary);
}

.ticker-item .price {
    color: var(--text-secondary);
}

.ticker-item .change {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.ticker-item .change.up {
    color: var(--accent-green);
    background: rgba(0, 217, 165, 0.1);
}

.ticker-item .change.down {
    color: var(--accent-red);
    background: rgba(255, 71, 87, 0.1);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Academy
   ======================================== */

.academy-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.academy-card .card-image {
    height: 160px;
    background: linear-gradient(135deg, rgba(0, 217, 165, 0.2), rgba(0, 217, 165, 0.05));
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.academy-card .card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.academy-card .card-level {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 217, 165, 0.1);
    color: var(--primary);
}

.academy-card .card-level.beginner { background: rgba(0, 217, 165, 0.1); color: var(--primary); }
.academy-card .card-level.intermediate { background: rgba(255, 184, 0, 0.1); color: var(--accent); }
.academy-card .card-level.advanced { background: rgba(255, 71, 87, 0.1); color: var(--accent-red); }

.academy-card .card-duration {
    font-size: 12px;
    color: var(--text-muted);
}

.academy-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.academy-card .card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    flex: 1;
}

.academy-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.academy-card .card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ========================================
   Partners
   ======================================== */

.partner-tier {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 20px;
    transition: var(--transition);
}

.partner-tier:hover {
    border-color: var(--primary);
}

.tier-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.tier-bronze { background: linear-gradient(135deg, #CD7F32, #8B4513); }
.tier-silver { background: linear-gradient(135deg, #C0C0C0, #808080); }
.tier-gold { background: linear-gradient(135deg, #FFD700, #FFA500); }
.tier-platinum { background: linear-gradient(135deg, #E5E4E2, #8E8E8E); }

.tier-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.tier-info p {
    font-size: 14px;
    margin-bottom: 16px;
}

.tier-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tier-benefit {
    font-size: 13px;
    padding: 6px 14px;
    background: rgba(0, 217, 165, 0.1);
    color: var(--primary);
    border-radius: 20px;
}

/* ========================================
   Download
   ======================================== */

.download-platforms {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    width: 280px;
    transition: var(--transition);
}

.download-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.download-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.download-card p {
    font-size: 14px;
    margin-bottom: 24px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
}

.risk-warning {
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    max-width: 800px;
}

.risk-warning p {
    color: var(--accent);
    font-size: 11px;
    line-height: 1.8;
}

/* ========================================
   Help / FAQ
   ======================================== */

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.8;
}

/* ========================================
   About
   ======================================== */

.about-hero {
    text-align: center;
    padding: 100px 60px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #00F5C4);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.team-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.team-card .role {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 12px;
}

.team-card p {
    font-size: 13px;
}

/* ========================================
   Utility
   ======================================== */

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .navbar { padding: 0 24px; }
    .nav-menu { display: none; }
    .section { padding: 60px 24px; }
    .hero { padding: 120px 24px 60px; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
    .stats-bar { flex-direction: column; gap: 24px; }
    .hero-buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .team-grid { grid-template-columns: 1fr; }
    .partner-tier { flex-direction: column; text-align: center; }
    .tier-benefits { justify-content: center; }
}
