/* ============================================
   TRAWLR v2 — Custom Styles (supplements Tailwind)
   ============================================ */

/* Global */
body { font-family: 'Inter', sans-serif; }

/* ============================================
   Dashboard Mockup Card (index.html)
   ============================================ */
.mockup-card {
    background-color: #000;
    border: 1px solid #27272a;
    border-radius: 10px;
    overflow: hidden;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid #27272a;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #27272a;
}

.mockup-dots span:first-child { background-color: #ef4444; }
.mockup-dots span:nth-child(2) { background-color: #fbbf24; }
.mockup-dots span:nth-child(3) { background-color: #10b981; }

.mockup-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #71717a;
}

/* Scrolling Feed */
.mockup-scroll {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.mockup-scroll-inner {
    animation: scroll-feed 30s linear infinite;
}

.mockup-scroll:hover .mockup-scroll-inner {
    animation-play-state: paused;
}

@keyframes scroll-feed {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Mockup Rows */
.mockup-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mockup-row:last-child { border-bottom: none; }

.mockup-time {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.625rem;
    color: #71717a;
    min-width: 50px;
}

.mockup-badge {
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 6px;
    border-radius: 3px;
    min-width: 55px;
    text-align: center;
}

.mockup-badge-success { background-color: rgba(16, 185, 129, 0.15); color: #10b981; }
.mockup-badge-primary { background-color: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.mockup-badge-info { background-color: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.mockup-badge-muted { background-color: rgba(255, 255, 255, 0.05); color: #71717a; }

.mockup-text {
    font-size: 0.75rem;
    color: #71717a;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-text strong { color: #f1f5f9; font-weight: 500; }

.mockup-footer {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid #27272a;
}

.mockup-stat {
    font-size: 0.625rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mockup-stat strong { color: #fbbf24; font-weight: 700; }

.glow-subtle {
    box-shadow: none;
}

/* ============================================
   PIPELINE (How It Works)
   ============================================ */

.pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.pipeline-step {
    flex: 1;
    max-width: 240px;
    text-align: center;
}

.pipeline-icon {
    width: 64px;
    height: 64px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #fbbf24;
    transition: all 0.3s;
}

.pipeline-step:hover .pipeline-icon {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
}

.pipeline-step h4 {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pipeline-step p {
    font-size: 0.875rem;
    color: #71717a;
    line-height: 1.6;
    margin: 0;
}

.pipeline-connector {
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    opacity: 0.3;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .pipeline {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .pipeline-step { max-width: 100%; }
    .pipeline-connector {
        transform: rotate(90deg);
        flex: 0 0 40px;
        padding-top: 0;
    }
}

/* ============================================
   Material Symbols (alias to Material Icons)
   ============================================ */
.material-symbols-outlined {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   Getting Started — Code Blocks & Tabs
   ============================================ */
.step-number {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fbbf24;
    flex-shrink: 0;
}

.code-block {
    background-color: #000;
    border: 1px solid #27272a;
    border-radius: 8px;
    overflow: hidden;
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid #27272a;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #71717a;
}

.code-block-header .code-lang {
    font-family: 'JetBrains Mono', monospace;
    color: #fbbf24;
    font-size: 0.625rem;
}

.code-block-content {
    padding: 1rem 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    line-height: 1.9;
    color: #e2e8f0;
    overflow-x: auto;
}

.code-block-content .comment {
    color: #71717a;
}

.method-tab {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid #27272a;
    border-radius: 0.5rem;
    background: #14161a;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.method-tab:hover {
    border-color: rgba(251, 191, 36, 0.3);
}

.method-tab.active {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.05);
}

.method-content { display: none; }
.method-content.active { display: block; }

/* ============================================
   Gallery — Lightbox & Filters
   ============================================ */
#lightbox {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

#lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

#lightbox img {
    max-height: 85vh;
    max-width: 90vw;
}

.gallery-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.filter-btn.active {
    background-color: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
}

/* ============================================
   Docs — FAQ Accordion
   ============================================ */
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary .faq-chevron { transform: rotate(90deg); }
.faq-chevron { transition: transform 0.2s; }
