@font-face {
    font-family: 'AzarMehr';
    src: url('../font/AzarMehr-FD[DSTY,KSHD,wght].woff2') format('woff2');
}

body {
    font-family: 'AzarMehr' !important;
    background-color: #0a0a0a;
    color: #ffffff;
}

/* ==================== TAILWIND CONFIG ==================== */
/* Tailwind custom config is in the HTML via script */

/* ==================== NAVBAR ==================== */
#navbar {
    background: rgba(10, 10, 10, 0.01);
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    color: #a3a3a3;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: #f59e0b;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.mobile-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-bar.short {
    width: 16px;
}

.mobile-menu {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
}

.mobile-nav-link {
    color: #a3a3a3;
    font-size: 1rem;
    padding: 8px 0;
    display: block;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
    color: #f59e0b;
}

/* ==================== HERO ==================== */
.hero-section {
    background: radial-gradient(ellipse at top right, rgba(245, 158, 11, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(245, 158, 11, 0.03) 0%, transparent 60%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: 10%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ==================== GOLD GRADIENT ==================== */
.gold-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
}

.gold-text {
    background: linear-gradient(135deg, #f59e0b 0%, #fcd34d 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0a0a0a;
    font-weight: 700;
    border-radius: 14px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.4);
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    border-radius: 14px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ==================== GLASS CARD ==================== */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.glass-card-sm {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

/* ==================== TICKER ==================== */
.ticker-wrapper {
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.ticker-wrapper::before {
    right: 0;
    background: linear-gradient(to left, #0a0a0a, transparent);
}

.ticker-wrapper::after {
    left: 0;
    background: linear-gradient(to right, #0a0a0a, transparent);
}

.ticker-track {
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #a3a3a3;
    flex-shrink: 0;
}

.ticker-item .ticker-name {
    color: #ffffff;
    font-weight: 600;
}

.ticker-item .ticker-up {
    color: #10b981;
}

.ticker-item .ticker-down {
    color: #ef4444;
}

.ticker-separator {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    margin: 0 16px;
    flex-shrink: 0;
}

/* ==================== FEATURES ==================== */
.feature-card {
    padding: 32px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
    cursor: default;
}

.feature-card:hover {
    background: rgba(245, 158, 11, 0.04);
    border-color: rgba(245, 158, 11, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(245, 158, 11, 0.15);
    transform: scale(1.1);
}

/* ==================== STEPS ==================== */
.step-card {
    padding: 40px 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0a0a0a;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

/* ==================== PRICE CARDS ==================== */
.price-card {
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.price-card:hover {
    border-color: rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.03);
}

.price-badge-up {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 600;
}

.price-badge-down {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 600;
}

.mini-chart {
    height: 60px;
    opacity: 0.7;
}

.mini-chart-sm {
    height: 40px;
    opacity: 0.6;
}

/* ==================== CTA ==================== */
.cta-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.cta-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ==================== FOOTER ==================== */
.footer-link {
    color: #737373;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: block;
}

.footer-link:hover {
    color: #f59e0b;
}

/* ==================== ANIMATIONS ==================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease forwards;
}

.animate-slide-up {
    animation: slide-up 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ==================== SCROLL ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== PRICE UPDATE FLASH ==================== */
@keyframes priceUp {
    0% { color: #ffffff; }
    50% { color: #10b981; }
    100% { color: #ffffff; }
}

@keyframes priceDown {
    0% { color: #ffffff; }
    50% { color: #ef4444; }
    100% { color: #ffffff; }
}

.price-flash-up {
    animation: priceUp 1s ease;
}

.price-flash-down {
    animation: priceDown 1s ease;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-orb-1 {
        width: 300px;
        height: 300px;
    }

    .hero-orb-2 {
        display: none;
    }
}