*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    color: #111827;
    overflow-x: hidden;
    width: 100%;
}

::selection {
    background: rgba(17, 24, 39, 0.15);
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #fafafa;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.toggle-track {
    position: relative;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    padding: 3px;
    display: inline-flex;
}

.toggle-option {
    position: relative;
    z-index: 2;
    padding: 6px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgb(107, 114, 128);
    cursor: pointer;
    transition: color 0.4s ease;
    border-radius: 9999px;
    user-select: none;
    white-space: nowrap;
}

.toggle-option.active {
    color: #111827;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    height: calc(100% - 6px);
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.mode-content {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    width: 100%;
    pointer-events: none;
}

.mode-content.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: all;
}

.stat-num {
    font-variant-numeric: tabular-nums;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }
.delay-6 { animation-delay: 0.6s; opacity: 0; }

.glow-line {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.card-hover {
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-hover:hover {
    border-color: rgba(0, 0, 0, 0.12);
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.btn-primary {
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 32px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    border: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    border-color: rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.03);
}

.category-chip {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(107, 114, 128);
    padding: 6px 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

.category-chip:hover {
    border-color: rgba(17, 24, 39, 0.3);
    color: #111827;
}

.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #111827;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 13px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* --- Extracted Styles (LIGHT MODE) --- */
.footer-link {
    font-size: 12px;
    color: rgb(107, 114, 128);
    transition: color 0.3s;
}
.footer-link:hover {
    color: #111827;
}
.flex-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.styled-el-1 {
    background: rgba(250, 250, 250, 0.85); backdrop-filter: blur(24px); border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.styled-el-2 {
    font-size: 15px; font-weight: 600; letter-spacing: -0.03em; color: #111827;
}
.styled-el-3 {
    font-size: 10px; font-weight: 400; color: rgb(107, 114, 128); letter-spacing: 0.08em; text-transform: uppercase; margin-left: 2px;
}
.styled-el-4 {
    font-size: 11px; color: rgb(75, 85, 99); letter-spacing: 0.04em;
}
.styled-el-5 {
    padding: 7px 18px; font-size: 11px;
}
.styled-el-6 {
    opacity: 0; /* Removing large bright glows for clean light mode */
}
.styled-el-7 {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(107, 114, 128);
}
.styled-el-8 {
    font-size: clamp(29px, 6.4vw, 58px); font-weight: 600; line-height: 1.05; letter-spacing: -0.04em; color: #111827;
}
.styled-el-9 {
    color: rgb(75, 85, 99);
}
.styled-el-10 {
    font-size: 15px; line-height: 1.7; color: rgb(75, 85, 99); max-width: 440px;
}
.styled-el-11 {
    width: 1px; height: 40px; background: linear-gradient(to bottom, rgb(156, 163, 175), transparent);
}
.styled-el-12 {
    font-size: 28px; font-weight: 600; letter-spacing: -0.03em; color: #111827;
}
.styled-el-13 {
    font-size: 11px; color: rgb(107, 114, 128); margin-top: 4px; letter-spacing: 0.02em;
}
.styled-el-14 {
    font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(107, 114, 128);
}
.styled-el-15 {
    font-size: 18px; line-height: 1.75; color: rgb(31, 41, 55); font-weight: 300; letter-spacing: -0.01em;
}
.styled-el-16 {
    font-size: 14px; line-height: 1.75; color: rgb(75, 85, 99); font-weight: 300;
}
.styled-el-17 {
    font-size: clamp(24px, 4vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; color: #111827;
}
.styled-el-18 {
    position: relative; min-height: 500px;
}
.styled-el-19 {
    background: rgba(0, 0, 0, 0.02); border: 1px solid rgba(0, 0, 0, 0.05); border-radius: 16px; overflow: hidden;
}
.styled-el-20 {
    background: #ffffff;
}
.styled-el-21 {
    background: rgba(17, 24, 39, 0.05);
}
.styled-el-22 {
    color: #111827;
}
.styled-el-23 {
    font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; color: #111827;
}
.styled-el-24 {
    font-size: 12px; line-height: 1.7; color: rgb(75, 85, 99);
}
.styled-el-25 {
    position: relative; min-height: 300px;
}
.styled-el-26 {
    background: #ffffff; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01), 0 2px 4px -1px rgba(0,0,0,0.01); border: 1px solid rgba(0,0,0,0.04);
}
.styled-el-27 {
    font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(107, 114, 128);
}
.styled-el-28 {
    font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: #111827;
}
.styled-el-29 {
    font-size: 12px; color: rgb(75, 85, 99); line-height: 1.6;
}
.styled-el-30 {
    font-size: 12px; color: rgb(75, 85, 99); line-height: 1.7;
}
.styled-el-31 {
    font-size: 12px; color: rgb(75, 85, 99); line-height: 1.7;
}
.styled-el-36 {
    font-size: 11px; color: rgb(107, 114, 128);
}
.styled-el-37 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.styled-el-38 {
    font-size: 13px; font-weight: 500; letter-spacing: -0.01em; color: #111827;
}
.styled-el-39 {
    color: rgb(75, 85, 99); flex-shrink: 0;
}
.styled-el-40 {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
}
.styled-el-41 {
    font-size: 12px; color: rgb(75, 85, 99); line-height: 1.7; padding-bottom: 20px;
}
.styled-el-42 {
    background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}
.styled-el-43 {
    opacity: 0;
}
.styled-el-44 {
    font-size: clamp(22px, 4vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; color: #111827;
}
.styled-el-45 {
    font-size: 14px; color: rgb(75, 85, 99); line-height: 1.6;
}
.styled-el-46 {
    padding: 14px 36px;
}
.styled-el-47 {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.styled-el-48 {
    font-size: 13px; font-weight: 600; letter-spacing: -0.03em; color: #111827;
}
.styled-el-49 {
    font-size: 9px; font-weight: 400; color: rgb(107, 114, 128); letter-spacing: 0.08em; text-transform: uppercase;
}

.ticker-track {
    animation: scrollTicker 45s linear infinite;
}



@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}