* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

:root {
    --primary-color: #0052FF;
    --secondary-color: #05B169;
    --negative-color: #F0516A;
    --text-primary: #0E111A;
    --text-secondary: #5B616E;
    --background-light: #FFFFFF;
    --background-secondary: #F5F8FF;
    --border-color: #ECEFF1;
}

body {
    background-color: var(--background-light);
    color: var(--text-primary);
    line-height: 1.6;
}

.disclaimer {
    display: none;
}

/* Header and Navigation */
header {
    border-bottom: 1px solid var(--border-color);
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    margin-right: 24px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: auto;
}

.nav-links li {
    margin: 0 16px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background-color: var(--background-secondary);
}

.nav-right {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #0046D6;
}

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

.btn-secondary:hover {
    background-color: #F5F7FA;
}

.full-width {
    width: 100%;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    padding: 60px 0;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 12px;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Trending section */
.trending {
    padding: 40px 0;
}

.trending h2 {
    margin-bottom: 24px;
}

.asset-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.asset-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.asset-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.asset-info {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.asset-icon {
    width: 36px;
    height: 36px;
    margin-right: 12px;
}

.asset-name {
    font-weight: 600;
}

.asset-symbol {
    color: var(--text-secondary);
    font-size: 14px;
}

.asset-price {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.change {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.positive {
    color: var(--secondary-color);
    background-color: rgba(5, 177, 105, 0.1);
}

.negative {
    color: var(--negative-color);
    background-color: rgba(240, 81, 106, 0.1);
}

/* Trading section */
.trading-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.chart-container {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.price-display {
    margin: 16px 0 24px;
}

#current-price {
    font-size: 32px;
    font-weight: 600;
    margin-right: 12px;
}

.trading-form {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.tab-group {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.tab {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
}

.tab.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

/* TradeMeista styles */
.dashboard-header {
    padding: 24px 0;
}

.metrics-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.metric-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.metric-card h3 {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.metric-card p {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bot-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.bot-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.bot-card .status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status.active {
    background-color: rgba(5, 177, 105, 0.1);
    color: var(--secondary-color);
}

.status.inactive {
    background-color: rgba(91, 97, 110, 0.1);
    color: var(--text-secondary);
}

.bot-creator {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

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

#timeframe-select {
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
}

.bot-controls button {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 8px;
}

.bot-controls button:first-child {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.bot-controls button:last-child {
    background-color: transparent;
    color: var(--negative-color);
    border: 1px solid var(--negative-color);
}

/* Footer */
footer {
    background-color: var(--background-secondary);
    padding: 60px 24px 24px;
    margin-top: 60px;
}

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

.footer-column h4 {
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .trading-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .nav-links {
        display: none;
    }
}