:root {
    /* Primary colors */
    --primary-dark: #030519;
    --primary: #0A0E29;
    --primary-lighter: #141C4D;
    
    /* Accent colors */
    --accent-blue: #4F00FB;
    --accent-teal: #00E6C3;
    --accent-pink: #F638DC;
    --accent-purple: #9D00FF;
    
    /* UI Colors */
    --positive: #00F5A3;
    --negative: #FF3A8C;
    --warning: #FDA639;
    --neutral: #8390B0;
    
    /* Text colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    
    /* Card & Background colors */
    --card-bg: rgba(14, 19, 54, 0.5);
    --card-bg-hover: rgba(20, 28, 77, 0.7);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 5% 15%, rgba(79, 0, 251, 0.2), transparent 25%),
        radial-gradient(circle at 95% 85%, rgba(246, 56, 220, 0.15), transparent 25%);
    background-size: 100% 100%;
    z-index: -1;
}

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

button, input, select, textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

ul {
    list-style: none;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* App Container */
.app-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Main Navigation */
.main-nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(3, 5, 25, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
    filter: brightness(1.1);
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.4), transparent 30%);
    animation: rotate 4s linear infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text span {
    background: linear-gradient(to right, var(--accent-pink), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-center {
    display: flex;
    flex: 1;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    height: 100%;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item i {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.nav-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

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

.nav-item.active {
    color: var(--text-primary);
    background: linear-gradient(180deg, rgba(79, 0, 251, 0.2), rgba(0, 230, 195, 0.1));
    position: relative;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-teal));
    border-radius: 3px 3px 0 0;
}

.theme-toggle, .notifications, .user-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.theme-toggle, .notifications {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.theme-toggle:hover, .notifications:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-pink);
    color: white;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: var(--card-bg);
    transition: all 0.3s ease;
}

.user-profile:hover {
    border-color: rgba(246, 56, 220, 0.4);
}

.user-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.hero-content {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(to right, var(--accent-pink), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(79, 0, 251, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-blue));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(79, 0, 251, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Market Cards */
.market-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.market-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.market-card:hover {
    transform: translateY(-5px);
    background: var(--card-bg-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.market-card.highlight {
    background: linear-gradient(135deg, rgba(79, 0, 251, 0.3), rgba(0, 230, 195, 0.1));
    border-color: rgba(79, 0, 251, 0.3);
}

.market-card.highlight:hover {
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(135deg, rgba(79, 0, 251, 0.35), rgba(0, 230, 195, 0.15));
    border-color: rgba(79, 0, 251, 0.4);
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.asset-icon, .connect-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.asset-icon {
    background: rgba(255, 255, 255, 0.1);
}

.market-card:nth-child(1) .asset-icon {
    color: #F7931A; /* Bitcoin */
}

.market-card:nth-child(2) .asset-icon {
    color: #627EEA; /* Ethereum */
}

.market-card:nth-child(3) .asset-icon {
    color: #00FFBD; /* Solana */
}

.market-card:nth-child(4) .asset-icon {
    color: #C3A634; /* Dogecoin */
}

.connect-icon {
    background: rgba(246, 56, 220, 0.15);
    color: var(--accent-pink);
}

.asset-info, .connect-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.asset-name, .connect-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.asset-price {
    font-size: 1.2rem;
    font-weight: 700;
}

.connect-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.asset-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

.asset-change.positive {
    background: rgba(0, 245, 163, 0.15);
    color: var(--positive);
}

.asset-change.negative {
    background: rgba(255, 58, 140, 0.15);
    color: var(--negative);
}

.btn-connect {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
    color: white;
    font-weight: 600;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 56, 220, 0.3);
}

/* Main Content */
.main-content {
    padding: 0 2rem 4rem;
}

/* Trading Dashboard */
.trading-dashboard {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Chart Column */
.chart-column {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chart-title-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(247, 147, 26, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F7931A;
    font-size: 1.5rem;
}

.chart-title {
    display: flex;
    flex-direction: column;
}

.chart-title h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.chart-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.chart-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.current-price {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(90deg, white, #a1a8c9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-change {
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-change.positive {
    background: rgba(0, 245, 163, 0.15);
    color: var(--positive);
}

.price-change.negative {
    background: rgba(255, 58, 140, 0.15);
    color: var(--negative);
}

.chart-actions {
    display: flex;
    gap: 0.75rem;
}

.chart-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.chart-container {
    height: 350px;
    background: rgba(10, 14, 41, 0.5);
    border-radius: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-teal);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.chart-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-info {
    display: flex;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.info-value {
    font-size: 1rem;
    font-weight: 600;
}

.time-filters {
    display: flex;
    gap: 0.5rem;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.time-btn {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-btn:hover {
    color: var(--text-primary);
}

.time-btn.active {
    background: rgba(79, 0, 251, 0.25);
    color: var(--text-primary);
}

/* Trading Panel */
.trading-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trade-card, .order-book-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-card-action {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-card-action:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.trade-type-selector {
    display: flex;
    margin-bottom: 1.5rem;
    background: rgba(10, 14, 41, 0.5);
    border-radius: 10px;
    padding: 0.25rem;
}

.type-btn {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.type-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.type-btn.buy.active {
    background: rgba(0, 245, 163, 0.15);
    color: var(--positive);
}

.type-btn.sell.active {
    background: rgba(255, 58, 140, 0.15);
    color: var(--negative);
}

.trade-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

.input-with-icon input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem;
    border-radius: 10px;
    background: rgba(10, 14, 41, 0.5);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    border-color: rgba(79, 0, 251, 0.3);
    box-shadow: 0 0 0 3px rgba(79, 0, 251, 0.15);
}

.balance-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.percentage-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.percentage-btn {
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-execute-trade {
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-execute-trade::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.btn-execute-trade:hover::before {
    left: 100%;
}

.btn-execute-trade.buy {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    color: white;
}

.btn-execute-trade.buy:hover {
    box-shadow: 0 5px 15px rgba(79, 0, 251, 0.3);
    transform: translateY(-2px);
}

.btn-execute-trade.sell {
    background: linear-gradient(90deg, var(--accent-pink), var(--negative));
    color: white;
}

.btn-execute-trade.sell:hover {
    box-shadow: 0 5px 15px rgba(255, 58, 140, 0.3);
    transform: translateY(-2px);
}

/* Order Book */
.order-book {
    background: rgba(10, 14, 41, 0.5);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.order-book-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    background: rgba(10, 14, 41, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sell-orders, .buy-orders {
    padding: 0.5rem 0;
}

.order-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    position: relative;
}

.volume-visual {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

.volume-visual.sell {
    background-color: var(--negative);
}

.volume-visual.buy {
    background-color: var(--positive);
}

.price, .amount, .total {
    position: relative;
    z-index: 1;
}

.price.sell {
    color: var(--negative);
    font-weight: 600;
}

.price.buy {
    color: var(--positive);
    font-weight: 600;
}

.spread-indicator {
    padding: 0.625rem 1.25rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 14, 41, 0.6);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* AI Features Section */
.ai-features-section {
    margin-bottom: 3rem;
}

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

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

.section-header span {
    background: linear-gradient(to right, var(--accent-pink), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.4s ease;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at top right, rgba(79, 0, 251, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(79, 0, 251, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: linear-gradient(135deg, rgba(79, 0, 251, 0.2), rgba(0, 230, 195, 0.1));
    color: white;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: conic-gradient(from 0deg, var(--accent-blue), var(--accent-teal), var(--accent-pink), var(--accent-blue));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    transition: opacity 0.3s ease;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.feature-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10, 14, 41, 0.9), transparent);
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.feature-card:hover .feature-hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.btn-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-feature:hover {
    color: var(--accent-teal);
}

.btn-feature i {
    transition: transform 0.3s ease;
}

.btn-feature:hover i {
    transform: translateX(5px);
}

/* Strategy Section */
.strategy-section {
    margin-bottom: 3rem;
}

.strategy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.strategy-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.strategy-title span {
    background: linear-gradient(to right, var(--accent-blue), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.strategies-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.strategy-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.strategy-card.active {
    background: linear-gradient(135deg, rgba(79, 0, 251, 0.2), rgba(0, 230, 195, 0.05));
    border-color: rgba(79, 0, 251, 0.2);
}

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

.strategy-status {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.strategy-card.active .strategy-status {
    background: rgba(0, 245, 163, 0.15);
    color: var(--positive);
}

.strategy-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.strategy-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-value.positive {
    color: var(--positive);
}

.stat-value.negative {
    color: var(--negative);
}

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

.strategy-chart {
    margin-bottom: 1.5rem;
    height: 50px;
}

.mini-chart {
    width: 100%;
    height: 100%;
}

.strategy-action {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.strategy-card.active .strategy-action {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    color: white;
}

.strategy-action:hover {
    background: rgba(255, 255, 255, 0.15);
}

.strategy-card.active .strategy-action:hover {
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-blue));
    box-shadow: 0 5px 15px rgba(79, 0, 251, 0.3);
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(to bottom, transparent, rgba(3, 5, 25, 0.8));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    border-radius: 3px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 8px 0 0 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    border-color: rgba(79, 0, 251, 0.3);
}

.newsletter-form button {
    padding: 0.875rem 1.25rem;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-blue));
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(79, 0, 251, 0.2);
    color: var(--text-primary);
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

/* Visual Elements */
.visual-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orbital-element {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.5;
}

.orbital-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    border-width: 1px;
    animation: rotate 120s linear infinite;
}

.orbital-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: -200px;
    border-width: 2px;
    animation: rotate 90s linear infinite reverse;
}

.orbital-3 {
    width: 800px;
    height: 800px;
    bottom: -400px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 1px;
    animation: rotate 150s linear infinite;
}

.glow-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue), transparent 70%);
    top: -250px;
    left: 10%;
    animation: float 25s infinite alternate;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-pink), transparent 70%);
    bottom: -300px;
    right: 5%;
    animation: float 30s infinite alternate-reverse;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-teal), transparent 70%);
    top: 30%;
    right: -200px;
    animation: float 20s infinite alternate;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .trading-dashboard {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 992px) {
    .main-nav {
        padding: 0 1.5rem;
    }
    
    .nav-center {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(3, 5, 25, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding: 0.5rem 0;
        z-index: 100;
    }
    
    .nav-links {
        justify-content: space-around;
    }
    
    .nav-item {
        padding: 0.5rem;
    }
    
    .hero-section {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 0 1rem 3rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .chart-price {
        width: 100%;
        justify-content: space-between;
    }
    
    .chart-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .time-filters {
        width: 100%;
        justify-content: space-between;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .chart-icon {
        display: none;
    }
    
    .market-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 14, 41, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(79, 0, 251, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 0, 251, 0.5);
}