/* Custom patterns and styles for LLMs TXT Tool */
@font-face {
    font-family: 'Geist';
    src: url('https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Geist';
    src: url('https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Geist';
    src: url('https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Geist';
    src: url('https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

body {
    font-family: 'Geist', sans-serif;
    color: #161218;
    background-color: #f2f4f7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bg-main-pattern {
    background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.07) 0 1px, transparent 1px 8px);
}

.bg-scales-pattern {
    background-image: repeating-linear-gradient(45deg, #e5e7eb, #e5e7eb 1px, transparent 1px 8px) !important;
}

.hero-gradient {
    background-image: linear-gradient(to top in oklab, #f3f4f6, #fff);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; 
}

/* Base components */
.main-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ffffff;
    border-left: 1px dashed #eaecf0;
    border-right: 1px dashed #eaecf0;
}

.content-card {
    background-color: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 5px;
}

.static-page-content {
    max-width: 920px;
    color: #374151;
    font-size: 16px;
    line-height: 1.75;
}

.static-page-content > * + * {
    margin-top: 1rem;
}

.static-page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: #111827;
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 700;
}

.static-page-content h2:first-child {
    margin-top: 0;
}

.static-page-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    color: #111827;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 700;
}

.static-page-content p {
    margin: 0 0 1rem;
}

.static-page-content ul,
.static-page-content ol {
    margin: 0.75rem 0 1.25rem 1.25rem;
    padding-left: 1.25rem;
}

.static-page-content ul {
    list-style: disc;
}

.static-page-content ol {
    list-style: decimal;
}

.static-page-content li {
    margin-top: 0.45rem;
    padding-left: 0.15rem;
}

.static-page-content a {
    color: #111827;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #d1d5db;
}

.static-page-content strong {
    color: #111827;
    font-weight: 700;
}

.static-page-content code {
    display: inline-block;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #f9fafb;
    padding: 0.05rem 0.35rem;
    color: #111827;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
}

/* Custom Hero Backgrounds from Screenshot */
.hero-shape-bg {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 30%, #F59567 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    pointer-events: none;
    background-image: radial-gradient(circle, transparent 20%, rgba(255,255,255,0.4) 20.5%, transparent 21%),
                      radial-gradient(circle, transparent 35%, rgba(255,255,255,0.4) 35.5%, transparent 36%),
                      radial-gradient(circle, transparent 50%, rgba(255,255,255,0.3) 50.5%, transparent 51%);
    background-position: center bottom;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.6;
}

/* Grid pattern background */
.bg-grid-pattern-hero {
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Faded radial mask */
.mask-radial-faded {
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.border-dashed-3-sides {
    border-top: 1px dashed #eaecf0;
    border-left: 1px dashed #eaecf0;
    border-right: 1px dashed #eaecf0;
}
.border-dashed-3-sides::before,
.border-dashed-3-sides::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border: 1px solid #eaecf0;
    transform: rotate(45deg);
    top: -3px;
    z-index: 10;
}
.border-dashed-3-sides::before {
    left: -4px;
}
.border-dashed-3-sides::after {
    right: -4px;
}
