/**
 * Header Branding Styles
 * Skill Farm S logo with gradient dot
 * 
 * @package SENNA_Launcher
 * @since 4.1.0
 */

/* ===========================================
   HEADER BRAND MARK
   =========================================== */

.header-brand-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.header-brand-mark:hover {
    transform: scale(1.05);
}

/* S Letter in Header */
.header-brand-s {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #1B4332;
    line-height: 1;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

/* Subtle Dot in Header */
.header-brand-dot {
    position: absolute;
    top: 2px;
    right: -6px;
    width: 6px;
    height: 6px;
    background: #2D6A4F;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Hover effects - subtle enhancement */
.logo-section:hover .header-brand-dot {
    opacity: 1;
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
}

/* Logo text adjustment */
.logo-section {
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1B4332;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 4px;
}

/* ===========================================
   MOBILE RESPONSIVE
   =========================================== */

@media (max-width: 768px) {
    .header-brand-s {
        font-size: 28px;
    }
    
    .header-brand-dot {
        width: 5px;
        height: 5px;
        right: -5px;
        top: 2px;
    }
    
    .logo-text {
        font-size: 14px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    .header-brand-s {
        font-size: 24px;
    }
    
    .header-brand-dot {
        width: 4px;
        height: 4px;
        right: -4px;
        top: 2px;
    }
    
    .logo-text {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .header-brand-mark {
        margin-right: 8px;
    }
}

/* ===========================================
   ANIMATION ON PAGE LOAD
   =========================================== */

@keyframes brand-intro {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dot-intro {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.3) rotate(90deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.header-brand-mark {
    animation: brand-intro 0.6s ease forwards;
}

.header-brand-dot {
    animation: dot-intro 0.8s ease 0.3s backwards;
}

/* ===========================================
   PREMIUM POLISH
   =========================================== */

/* Ensure crisp text rendering */
.header-brand-s,
.logo-text {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Remove text selection on logo */
.logo-section * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}