
/* Base font settings */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bs-body-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography tweaks */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.025em;
    font-weight: 600;
}

.letter-spacing-1 {
    letter-spacing: 0.05em;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* Card Styling - Shadcn inspired */
.card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: var(--bs-body-bg);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Buttons - Shadcn inspired */
.btn {
    font-weight: 500;
    letter-spacing: -0.01em;
    border-radius: 0.5rem; /* 8px */
    padding: 0.5rem 1rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: #0f172a; /* Slate 900 */
    border-color: #0f172a;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background-color: #1e293b; /* Slate 800 */
    border-color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-outline-primary {
    color: #0f172a;
    border-color: #e2e8f0;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: radial-gradient(circle at top center, rgba(15, 23, 42, 0.03) 0%, transparent 70%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(to right, #0f172a, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b; /* Slate 500 */
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: #f1f5f9;
    color: #475569;
}

/* Forms */
.form-control, .form-select, .input-group-text {
    border-color: #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.6rem 0.8rem;
}

.form-control:focus, .form-select:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}

/* Dark Mode Specific overrides */
[data-bs-theme="dark"] body {
    background-color: #020817; /* Slate 950 */
    color: #f8fafc;
}

[data-bs-theme="dark"] .navbar {
    background-color: rgba(2, 8, 23, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] .card {
    background-color: #0f172a; /* Slate 900 */
    border-color: #1e293b; /* Slate 800 */
}

[data-bs-theme="dark"] .card:hover {
    border-color: #334155;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .btn-primary {
    background-color: #f8fafc;
    color: #020817;
    border-color: #f8fafc;
}

[data-bs-theme="dark"] .btn-primary:hover {
    background-color: #e2e8f0;
    border-color: #e2e8f0;
}

[data-bs-theme="dark"] .btn-outline-primary {
    color: #f8fafc;
    border-color: #334155;
}

[data-bs-theme="dark"] .btn-outline-primary:hover {
    background-color: #1e293b;
    border-color: #475569;
}

[data-bs-theme="dark"] .hero-title {
    background: linear-gradient(to right, #f8fafc, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-bs-theme="dark"] .hero-subtitle {
    color: #94a3b8;
}

[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select {
    background-color: #0f172a;
    border-color: #1e293b;
    color: #f8fafc;
}

[data-bs-theme="dark"] .form-control:focus {
    border-color: #f8fafc;
    box-shadow: 0 0 0 2px rgba(248, 250, 252, 0.1);
}

[data-bs-theme="dark"] .table {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .table > :not(caption) > * > * {
    border-bottom-color: #1e293b;
}

/* Ticker Animation */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.ticker {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 60s linear infinite;
}

.ticker__item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 0.9rem;
}

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