/* ===== BENDRIX COMMAND CENTER — STYLES ===== */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #08080b;
    --bg-secondary: #0c0c10;
    --bg-elevated: #111116;
    --bg-subtle: #18181f;
    --bg-hover: #1e1e28;
    --border: #252530;
    --border-subtle: #1c1c26;
    --fg: #ffffff;
    --fg-muted: #9aa1b0;
    --fg-subtle: #5f6678;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-yellow: #eab308;
    --accent-orange: #f97316;
    --accent-cyan: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #9333ea, #3b82f6);
    --gradient-text: linear-gradient(135deg, #a855f7, #3b82f6);
    --gradient-glow: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(59, 130, 246, 0.08));
    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 0 0 1px rgba(168, 85, 247, 0.15), 0 8px 40px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-primary: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--fg);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== AMBIENT BACKGROUND ===== */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.25), transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
    bottom: -15%;
    left: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(15px, 35px) scale(1.02);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ===== TOP BAR ===== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 8, 11, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 200;
    letter-spacing: 0.14em;
    background: linear-gradient(to right, #6b7280, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-separator {
    width: 1px;
    height: 20px;
    background: var(--border);
}

.brand-label {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--fg-subtle);
    letter-spacing: 0.02em;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
}

.status-dot.pulse {
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

.status-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-green);
}

.clock {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--fg-muted);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 96px 32px 48px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 48px 0 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.18);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent-purple);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-purple);
    animation: pulse-purple 2s ease-in-out infinite;
}

@keyframes pulse-purple {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(168, 85, 247, 0);
    }
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 200;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--fg-muted);
    line-height: 1.7;
    max-width: 560px;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    min-width: 200px;
    transition: var(--transition-smooth);
}

.stat-pill:hover {
    border-color: var(--border);
    background: var(--bg-subtle);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 100;
    background: linear-gradient(to right, var(--fg), var(--fg-subtle));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--fg-subtle);
}

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fg-subtle);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 10px 14px 10px 42px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: var(--bg-subtle);
    color: var(--fg);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 300;
    outline: none;
    transition: var(--transition-smooth);
}

.search-box input::placeholder {
    color: var(--fg-subtle);
}

.search-box input:focus {
    border-color: rgba(168, 85, 247, 0.3);
    background: var(--bg-hover);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.08);
}

.filter-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--fg-muted);
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.filter-tag:hover {
    border-color: var(--fg-subtle);
    color: var(--fg);
    background: rgba(255, 255, 255, 0.03);
}

.filter-tag.active {
    background: var(--fg);
    color: var(--bg-primary);
    border-color: var(--fg);
}

.view-toggle {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--fg-subtle);
    cursor: pointer;
    transition: var(--transition-fast);
}

.view-btn:hover {
    color: var(--fg-muted);
}

.view-btn.active {
    background: var(--bg-hover);
    color: var(--fg);
}

/* ===== PRESENTATIONS GRID ===== */
.presentations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.presentations-grid.list-view {
    grid-template-columns: 1fr;
}

/* ===== PRESENTATION CARD ===== */
.presentation-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: default;
}

.presentation-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.presentation-card:hover .card-glow {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 0;
    position: relative;
    z-index: 1;
}

.card-industry-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.card-industry-badge.automotive {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.card-industry-badge.restaurant {
    background: rgba(249, 115, 22, 0.1);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.card-industry-badge.retail {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.card-industry-badge.hotel {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
}

.card-status.live {
    background: rgba(34, 197, 94, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.card-status.draft {
    background: rgba(234, 179, 8, 0.08);
    color: var(--accent-yellow);
    border: 1px solid rgba(234, 179, 8, 0.15);
}

.status-dot-sm {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Card Preview Mock */
.card-preview {
    padding: 16px 20px 0;
    position: relative;
    z-index: 1;
}

.preview-mock {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-primary);
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.mock-dots {
    display: flex;
    gap: 5px;
}

.mock-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
}

.mock-dots span:first-child {
    background: #ef4444;
    opacity: 0.6;
}

.mock-dots span:nth-child(2) {
    background: #eab308;
    opacity: 0.6;
}

.mock-dots span:last-child {
    background: #22c55e;
    opacity: 0.6;
}

.mock-url {
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--fg-subtle);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.mock-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 120px;
}

.mock-hero-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 200;
    letter-spacing: 0.08em;
}

.mock-bendrix {
    background: linear-gradient(to right, #6b7280, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mock-x {
    color: var(--fg-subtle);
    font-weight: 100;
}

.mock-client {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

.mock-subtitle {
    font-size: 0.68rem;
    color: var(--fg-subtle);
    font-weight: 300;
}

.mock-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 60%;
    margin-top: 4px;
}

.mock-bar-item {
    height: 4px;
    border-radius: 2px;
    background: var(--gradient-primary);
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.presentation-card:hover .mock-bar-item {
    opacity: 0.7;
}

/* Card Body */
.card-body {
    padding: 20px 20px 0;
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--fg-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.card-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--fg-subtle);
    font-weight: 400;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 10px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.action-btn.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(147, 51, 234, 0.2);
}

.action-btn.primary:hover {
    box-shadow: 0 6px 24px rgba(147, 51, 234, 0.35);
    transform: translateY(-1px);
}

.action-btn.primary:active {
    transform: scale(0.98) translateY(0);
}

.action-btn.secondary {
    background: var(--bg-subtle);
    color: var(--fg-muted);
    border: 1px solid var(--border);
}

.action-btn.secondary:hover {
    background: var(--bg-hover);
    color: var(--fg);
    border-color: var(--border);
}

/* ===== ADD NEW CARD ===== */
.add-new-card {
    border-style: dashed;
    border-color: var(--border);
    background: transparent;
    cursor: pointer;
    min-height: 380px;
}

.add-new-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.03);
}

.add-new-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 380px;
    padding: 40px;
    text-align: center;
    gap: 16px;
}

.add-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg-subtle);
    transition: var(--transition-smooth);
}

.add-new-card:hover .add-icon {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
    transform: scale(1.05);
}

.add-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--fg-muted);
}

.add-desc {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--fg-subtle);
}

/* ===== HOW TO SECTION ===== */
.how-to-section {
    margin-bottom: 64px;
}

.section-header {
    margin-bottom: 24px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--fg-muted);
}

.section-title svg {
    color: var(--accent-purple);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.step-card {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: var(--border);
    background: var(--bg-subtle);
}

.step-number {
    font-size: 2rem;
    font-weight: 100;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.step-card h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--fg-muted);
    line-height: 1.6;
}

.step-card code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
}

/* Glass Card */
.glass-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

/* ===== TOAST ===== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--fg);
    font-size: 0.85rem;
    font-weight: 400;
    animation: toast-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    min-width: 280px;
}

.toast.success {
    border-color: rgba(34, 197, 94, 0.2);
}

.toast.success .toast-icon {
    color: var(--accent-green);
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toast-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(80px);
    }
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    padding: 24px 32px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-size: 0.85rem;
    font-weight: 200;
    letter-spacing: 0.14em;
    color: var(--fg-subtle);
}

.footer-copy {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--fg-subtle);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-panel {
    width: 90%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: var(--radius-xl);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-panel {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--fg-subtle);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--fg);
}

.modal-header {
    padding: 32px 32px 0;
}

.modal-header h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--fg-muted);
}

.modal-body {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.guide-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    flex-shrink: 0;
}

.guide-content h4 {
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.guide-content p {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--fg-muted);
    line-height: 1.5;
}

.guide-content code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
}

.code-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-purple);
    background: none;
    padding: 0;
}

.copy-code-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--fg-subtle);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.copy-code-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--fg);
}

.modal-footer {
    padding: 16px 32px 24px;
    display: flex;
    justify-content: flex-end;
}

/* ===== ANIMATIONS ===== */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

.delay-7 {
    animation-delay: 0.7s;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== LIST VIEW ===== */
.presentations-grid.list-view .presentation-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    gap: 0;
}

.presentations-grid.list-view .card-header {
    grid-column: 1;
    grid-row: 1;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.presentations-grid.list-view .card-preview {
    display: none;
}

.presentations-grid.list-view .card-body {
    grid-column: 2;
    grid-row: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.presentations-grid.list-view .card-actions {
    grid-column: 3;
    grid-row: 1;
    align-items: center;
}

.presentations-grid.list-view .add-new-card {
    min-height: auto;
}

.presentations-grid.list-view .add-new-inner {
    flex-direction: row;
    min-height: auto;
    padding: 24px;
    gap: 16px;
}

.presentations-grid.list-view .add-icon {
    width: 48px;
    height: 48px;
}

.presentations-grid.list-view .add-icon svg {
    width: 24px;
    height: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .presentations-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        flex-direction: column;
    }

    .quick-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-pill {
        min-width: auto;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 80px 16px 32px;
    }

    .top-bar-inner {
        padding: 0 16px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tags {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-tags::-webkit-scrollbar {
        display: none;
    }

    .view-toggle {
        align-self: flex-end;
    }

    .card-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .quick-stats {
        flex-direction: column;
    }

    .presentations-grid.list-view .presentation-card {
        grid-template-columns: 1fr;
    }

    .presentations-grid.list-view .card-header,
    .presentations-grid.list-view .card-body,
    .presentations-grid.list-view .card-actions {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .presentations-grid {
        grid-template-columns: 1fr;
    }

    .brand-separator,
    .brand-label {
        display: none;
    }

    .hero-badge {
        font-size: 0.68rem;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--fg-subtle);
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(168, 85, 247, 0.3);
    color: white;
}

/* ===== FOCUS STYLES ===== */
*:focus-visible {
    outline: 2px solid rgba(168, 85, 247, 0.5);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus {
    outline: none;
}