@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
    --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-mono: 'Geist Mono', monospace;
    --bg: #0a0a0f;
    --border: rgba(255, 255, 255, 0.12); /* Increased contrast for visible section dividers */
    --text: #f4f4f5;
    --text-muted: #a1a1aa;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Global Container Layout Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 4K and Ultrawide Display Bounds Fix */
@media (min-width: 1920px) {
    .container {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Global Utility Classes */
.border-top {
    border-top: 1px solid var(--border) !important;
}

.border-bottom {
    border-bottom: 1px solid var(--border) !important;
}

.border-y {
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
}

/* Explicit Horizontal Section Divider Line */
.section-divider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: var(--border);
    display: block;
}

.bg-subtle {
    background: rgba(255, 255, 255, 0.01);
}

.text-white {
    color: #ffffff;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-emerald {
    color: #6ee7b7;
}

/* Global Shared Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-sm {
    height: 32px;
    padding: 0 16px;
    font-size: 13px;
}

.btn-lg {
    height: 44px;
    padding: 0 24px;
    font-size: 14px;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.08);
    }

.section-padding {
    padding-top: 64px;
    padding-bottom: 64px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-title {
    font-size: 28px;
    line-height: 0.95;
    letter-spacing: -0.02em;
    font-weight: 500;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 40px;
    }
}

.section-description {
    max-width: 360px;
    font-size: 14px;
    line-height: 1.6;
    color: #a1a1aa;
}

/* Fade effect for the marquee edges */
.marquee-fade {
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    width: 100%;
}
