/* ============================================
   TubeLogic - Streamit Video Streaming Theme
   Modern video platform design
   ============================================ */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {

    /* Reset */
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html,
    body {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
    }

    /* Background - Much darker for video platform */
    --bg-primary: #000000;
    --bg-secondary: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-card-rgb: 26,
    26,
    26;
    --bg-elevated: #242424;
    --bg-border: #2d2d2d;
    --bg-hover: #333333;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;

    /* Accent - Red/White like Netflix/YouTube */
    --accent-primary: #e50914;
    --accent-primary-rgb: 229,
    9,
    20;
    --accent-primary-hover: #f40612;
    --accent-secondary: #ffffff;
    --accent-success: #46d369;
    --accent-warning: #ffa500;
    --accent-danger: #dc2626;

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    --gradient-bg: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(229, 9, 20, 0.08), transparent);
    --gradient-text: linear-gradient(135deg, #e50914, #ff3838, #ff6b6b);
    --gradient-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);

    /* Glow */
    --glow-primary: 0 0 25px rgba(229, 9, 20, 0.3);
    --glow-primary-intense: 0 0 45px rgba(229, 9, 20, 0.4);

    /* Shadow */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.8);
    --shadow-video: 0 10px 50px rgba(0, 0, 0, 0.9);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    background-image: var(--gradient-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}


a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-accent {
    color: var(--accent-primary);
}

.text-success {
    color: var(--accent-success);
}

.text-center {
    text-align: center;
}

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

/* ============================================
   Layout
   ============================================ */
.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}


.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 50px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

/* Grid */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 16px;
}

.gap-4 {
    gap: 24px;
}

.gap-6 {
    gap: 40px;
}

/* Spacing */
.mt-2 {
    margin-top: 8px;
}

.mt-3 {
    margin-top: 16px;
}

.mt-4 {
    margin-top: 24px;
}

.mt-6 {
    margin-top: 40px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 24px;
}

.mb-6 {
    margin-bottom: 40px;
}

.p-4 {
    padding: 24px;
}

.p-5 {
    padding: 32px;
}

.p-6 {
    padding: 40px;
}

.p-8 {
    padding: 48px;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.logo:hover {
    color: var(--text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ============================================
   Mobile Menu
   ============================================ */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-hidden {
        display: none !important;
    }

    .hamburger-menu {
        display: flex;
    }
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:first-child {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    /* Increased opacity for readability */
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-content {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    /* Allow scrolling if content is long */
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* Increased gap */
    margin-bottom: 40px;
}

.mobile-nav-link {
    font-size: 1.75rem;
    /* Larger font size */
    font-weight: 700;
    color: var(--text-secondary);
    transition: color 0.2s;
    text-decoration: none;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--text-primary);
    background: linear-gradient(135deg, #FFF 0%, #AAA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-auth-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 40px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    box-shadow: var(--glow-primary-intense);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--bg-border);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--bg-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
}

.btn-text {
    background: transparent;
    color: var(--accent-primary);
    padding: 8px 12px;
}

.btn-text:hover {
    color: var(--accent-primary-hover);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

/* ============================================
   Cards - Glass Effect
   ============================================ */
.glass-card {
    background: rgba(var(--bg-card-rgb), 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.glass-card-hover {
    transition: all 0.3s ease;
}

.glass-card-hover:hover {
    background: rgba(var(--bg-card-rgb), 0.85);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(var(--accent-primary-rgb), 0.1);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
}

.card-body {
    padding: 24px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 160px 24px 100px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(var(--accent-primary-rgb), 0.15), transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   Features
   ============================================ */
.feature-card {
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--glow-primary);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   Stats
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.stat-item {
    padding: 32px 16px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.pricing-card {
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: var(--radius-full);
}

.pricing-name {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.pricing-period {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-features li {
    padding: 14px 0;
    border-bottom: 1px solid var(--bg-border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-success);
    flex-shrink: 0;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
    padding: 32px;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--bg-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    padding-bottom: 24px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(var(--accent-primary-rgb), 0.12), transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 24px;
    border-top: 1px solid var(--bg-border);
    background: var(--bg-secondary);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.15);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ============================================
   Search Box
   ============================================ */
.search-box {
    display: flex;
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-border);
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
}

.search-btn {
    padding: 18px 28px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.search-btn:hover {
    opacity: 0.9;
}

/* ============================================
   Modals
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    margin: 24px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 0 24px 24px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--bg-border);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   Utilities
   ============================================ */
.hidden {
    display: none !important;
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

/* Divider */
.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-primary-rgb), 0.3), transparent);
}

/* Padding utilities */
.py-16 {
    padding-top: 64px;
    padding-bottom: 64px;
}

.py-20 {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Feature check icons */
.feature-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.feature-check.success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-success);
}

.feature-check.error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-danger);
}

/* Pricing card highlighted */
.pricing-card.highlighted,
.pricing-card.featured {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary);
}

/* ============================================
   VIDEO STREAMING COMPONENTS
   ============================================ */

/* Video Card - Netflix/Streamit Style */
.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.video-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: var(--shadow-video);
    z-index: 10;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    background: var(--bg-elevated);
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(229, 9, 20, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-card:hover .video-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    margin-left: 3px;
}

.video-info {
    padding: 12px 16px;
}

.video-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Video Slider/Carousel */
.video-slider-container {
    position: relative;
    overflow: hidden;
}

.video-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0 24px;
}

.video-slider::-webkit-scrollbar {
    display: none;
}

.video-slider .video-card {
    flex: 0 0 auto;
    width: 320px;
}

@media (max-width: 768px) {
    .video-slider .video-card {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .video-slider .video-card {
        width: 240px;
    }
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-slider-container:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Category Section */
.category-section {
    margin-bottom: 48px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.category-link {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.category-link:hover {
    color: var(--accent-primary);
}

/* Video Card Analysis Data */
.analysis-data {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--bg-border);
    font-size: 0.75rem;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.analysis-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.analysis-label {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
}

.analysis-value {
    color: var(--text-primary);
    font-weight: 600;
    font-family: monospace;
    font-size: 0.8125rem;
}

.analysis-value.highlight {
    color: var(--accent-success);
}

.analysis-tags {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-top: 1px dashed var(--bg-border);
    padding-top: 8px;
}

.analysis-tag {
    font-size: 0.7rem;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-secondary);
}

/* Hero Banner - Video Style */
.hero-banner {
    position: relative;
    height: 70vh;
    min-height: 650px;
    max-height: 900px;
    overflow: hidden;
    padding-top: 0;
    display: flex;
    align-items: center;
}

.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: brightness(0.8) contrast(1.05);
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.55) 40%,
            rgba(0, 0, 0, 0.35) 70%,
            rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
}


.hero-banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    max-width: 600px;
    padding-left: 24px;
    padding-right: 24px;
}

.hero-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-banner-description {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-banner-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: white;
    color: #000;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.btn-play:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.btn-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(109, 109, 110, 0.7);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.btn-info:hover {
    background: rgba(109, 109, 110, 0.8);
}

@media (max-width: 768px) {
    .hero-banner {
        height: 60vh;
        min-height: 600px;
        max-height: 800px;
        padding-top: 0;
    }

    .hero-banner h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-banner-description {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .hero-banner-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.4) 100%);
    }

    .hero-banner-content {
        justify-content: flex-start;
        padding-top: 70px;
        padding-bottom: 30px;
        max-width: 100%;
    }

    .hero-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-play,
    .btn-info {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 50vh;
        min-height: 550px;
        max-height: 700px;
        padding-top: 0;
    }

    .hero-banner h1 {
        font-size: 1.75rem;
    }

    .hero-banner-description {
        font-size: 0.875rem;
    }

    .hero-banner-content {
        padding-top: 70px;
        padding-bottom: 20px;
    }
}

/* Video Grid - Alternative to Slider */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
}

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

/* Badge/Tag for Videos */
.video-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--gradient-accent);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.video-badge.new {
    background: var(--accent-success);
}

.video-badge.trending {
    background: var(--accent-warning);
}

/* Rating/Stars */
.video-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-rating svg {
    width: 14px;
    height: 14px;
    color: var(--accent-warning);
}

/* Skeleton Loading for Videos */
.video-skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   PHASE 7: New Component Styles
   ============================================ */

/* Score Circle */
.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-primary) calc(var(--score) * 1%), var(--bg-border) 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 96px;
    height: 96px;
    background: var(--bg-card);
    border-radius: 50%;
}

.score-circle .score-value {
    font-size: 2rem;
    font-weight: 700;
    z-index: 1;
    line-height: 1;
}

.score-circle .score-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    z-index: 1;
    margin-top: 2px;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.metric-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-border);
    transition: border-color 0.2s;
}

.metric-card:hover {
    border-color: rgba(var(--accent-primary-rgb), 0.3);
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.metric-change { font-size: 0.75rem; margin-top: 4px; }
.metric-change.up { color: var(--accent-success); }
.metric-change.down { color: var(--accent-danger); }

/* Tabs */
.tab-container {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--bg-border);
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-container::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
    font-family: inherit;
}

.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--accent-primary); border-bottom-color: var(--accent-primary); }

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--bg-border);
    border-radius: 4px;
    overflow: hidden;
    margin: 16px 0;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* Filter Section */
.filter-section {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-border);
    margin-bottom: 24px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.filter-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-border);
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-select:focus { outline: none; border-color: var(--accent-primary); }

.filter-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-border);
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
}

.filter-input:focus { outline: none; border-color: var(--accent-primary); }

/* Quality Badge */
.quality-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.quality-badge.s { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
.quality-badge.a { background: var(--accent-success); color: #fff; }
.quality-badge.b { background: var(--accent-warning); color: #000; }
.quality-badge.c { background: var(--text-muted); color: #fff; }
.quality-badge.d { background: var(--accent-danger); color: #fff; }

/* View Toggle */
.view-toggle {
    display: flex;
    background: var(--bg-elevated);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-border);
}

.view-toggle-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-size: 0.8125rem;
    font-family: inherit;
}

.view-toggle-btn.active { background: var(--accent-primary); color: white; }

/* Bulk Actions */
.bulk-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 20px;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-border);
    position: sticky;
    top: 72px;
    z-index: 100;
}

/* API Key Card */
.key-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.key-card:hover { border-color: rgba(var(--accent-primary-rgb), 0.3); }

.key-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.key-status.active { background: rgba(70, 211, 105, 0.15); color: var(--accent-success); }
.key-status.error { background: rgba(220, 38, 38, 0.15); color: var(--accent-danger); }
.key-status.quota-exceeded { background: rgba(255, 165, 0, 0.15); color: var(--accent-warning); }
.key-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Quota Bar */
.quota-bar {
    height: 8px;
    background: var(--bg-border);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.quota-fill { height: 100%; background: var(--gradient-accent); transition: width 0.3s ease; border-radius: 4px; }
.quota-fill.warning { background: var(--accent-warning); }
.quota-fill.danger { background: var(--accent-danger); }

/* Data Table */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th { text-align: left; padding: 12px; color: var(--text-muted); font-weight: 600; border-bottom: 1px solid var(--bg-border); font-size: 0.8125rem; white-space: nowrap; }
.data-table td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table th.text-center, .data-table td.text-center { text-align: center; }
.data-table th.text-right, .data-table td.text-right { text-align: right; }

/* Empty State */
.empty-state { text-align: center; padding: 60px 24px; color: var(--text-muted); }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }
.empty-state-title { font-size: 1.125rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state-desc { font-size: 0.875rem; margin-bottom: 24px; }

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 100px;
}

.page-header h1 { font-size: 1.75rem; margin-bottom: 4px; }
.page-header p { color: var(--text-secondary); font-size: 0.9375rem; }

/* Settings Layout */
.settings-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }

.settings-nav { display: flex; flex-direction: column; gap: 4px; }

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: none;
    font-family: inherit;
    text-align: left;
    width: 100%;
}

.settings-nav-item:hover { background: var(--bg-elevated); color: var(--text-primary); }
.settings-nav-item.active { background: rgba(var(--accent-primary-rgb), 0.1); color: var(--accent-primary); }
.settings-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Danger Zone */
.danger-zone { border: 1px solid rgba(220, 38, 38, 0.3); border-radius: var(--radius-lg); padding: 24px; }
.danger-zone h3 { color: var(--accent-danger); margin-bottom: 8px; }

/* Subtitle Button */
.subtitle-group { display: flex; gap: 8px; flex-wrap: wrap; }
.subtitle-btn {
    padding: 6px 14px;
    font-size: 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-family: inherit;
}
.subtitle-btn:hover { background: var(--accent-primary); border-color: var(--accent-primary); color: white; }

/* Result Card */
.result-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}
.result-card:hover { border-color: rgba(var(--accent-primary-rgb), 0.3); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Button variants */
.btn-gradient { background: var(--gradient-accent); color: white; border: none; }
.btn-gradient:hover { box-shadow: var(--glow-primary); transform: translateY(-1px); }
.btn-danger { background: rgba(220, 38, 38, 0.15); color: var(--accent-danger); border: 1px solid rgba(220, 38, 38, 0.3); }
.btn-danger:hover { background: var(--accent-danger); color: white; }

/* Checkbox */
.custom-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.875rem; color: var(--text-secondary); }
.custom-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent-primary); cursor: pointer; }

/* Responsive additions */
@media (max-width: 900px) {
    .settings-layout { grid-template-columns: 1fr; }
    .settings-nav { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 8px; }
    .settings-nav-item { white-space: nowrap; padding: 8px 14px; font-size: 0.8125rem; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-grid { grid-template-columns: 1fr 1fr; }
    .page-header { padding-top: 80px; }
}

@media (max-width: 640px) {
    .metrics-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .metric-card { padding: 14px; }
    .metric-value { font-size: 1.375rem; }
    .filter-grid { grid-template-columns: 1fr; }
    .bulk-actions { flex-wrap: wrap; position: static; }
    .page-header { padding-top: 76px; }
    .page-header h1 { font-size: 1.5rem; }
    .score-circle { width: 90px; height: 90px; }
    .score-circle::before { width: 72px; height: 72px; }
    .score-circle .score-value { font-size: 1.5rem; }
    .data-table { font-size: 0.8125rem; }
    .data-table th, .data-table td { padding: 10px 8px; }
}

/* ===== Dashboard Layout ===== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    min-height: calc(100vh - 200px);
}

.dashboard-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.dashboard-nav-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.dashboard-nav-item.active {
    background: rgba(124, 92, 252, 0.12);
    color: var(--accent-primary);
    border-color: rgba(124, 92, 252, 0.25);
    font-weight: 600;
}

.dashboard-main {
    min-width: 0;
}

@media (max-width: 900px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .dashboard-sidebar {
        position: static;
    }
    .dashboard-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .dashboard-nav-item {
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 0.8125rem;
    }
}

@media (max-width: 640px) {
    .dashboard-layout { gap: 12px; }
    .dashboard-nav-item { padding: 6px 12px; font-size: 0.75rem; }
}