:root {
    --primary-color: #0f172a; 
    --secondary-color: #2563eb; 
    --accent-color: #f59e0b; 
    --success-color: #10b981; 
    --danger-color: #ef4444; 
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-radius-lg: 24px;
    --border-radius-md: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    padding-top: 70px;
}

/* --- Ticker FIX --- */
#price-ticker {
    background: var(--primary-color);
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-right: 100%;
    animation: ticker-animation 40s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 30px;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
}

.ticker-item span {
    color: var(--accent-color);
    margin-left: 5px;
}

@keyframes ticker-animation {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* --- Header --- */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
}

.navbar-brand { font-weight: 900; color: var(--primary-color) !important; font-size: 1.4rem; }
.navbar-brand i { color: var(--secondary-color); }

/* --- Hero --- */
.hero-section {
    padding: 120px 0 80px;
    background: white;
    text-align: center;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 24px;
}

.hero-gradient-text {
    background: linear-gradient(to right, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Forms & Tools --- */
.tool-section {
    background: white;
    padding: 50px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    height: 54px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-primary {
    background: var(--secondary-color);
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-weight: 700;
}

/* --- Sections --- */
.section { padding: 100px 0; }
.section-title { font-weight: 900; font-size: 2.5rem; margin-bottom: 40px; }

/* --- Footer --- */
footer { padding: 60px 0; background: white; border-top: 1px solid var(--border-color); }

@media (max-width: 768px) {
    .hero-section h1 { font-size: 3rem; }
    .tool-section { padding: 30px 20px; }
}
