﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

.branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0rem auto 0rem;
    max-width: 520px;
    padding: 2rem 1.5rem 0;
    gap: 2rem;
}

.logo-circle {
    width: 70%;
    position: relative;
}

.branding-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.10), inset 0 2px 0 rgba(255, 255, 255, 0.9);
    border: 4px solid #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-circle:hover .branding-logo {
    transform: scale(1.06);
    box-shadow: 0 28px 64px rgba(44, 211, 176, 0.25), 0 12px 32px rgba(0, 0, 0, 0.18);
}

.brand-name {
    text-align: center;
    margin: 0;
}

.main-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: #1e293b;
    margin: 0px 0 1.5rem 0px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    position: relative;
}

    .main-title::after {
        content: '';
        position: absolute;
        bottom: -0.75rem;
        left: 50%;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #2cD3B0, #1cb5e0);
        border-radius: 2px;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

.brand-name:hover .main-title::after {
    width: 80px;
}

.subtitle-line {
    display: flex;
    align-items: center;
    justify-content: center;
    /*    position: relative;
*/
}

.subtitle-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6rem 1.75rem;
    position: relative;
    z-index: 2;
}

.subtitle-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 2.1vw, 1.1rem);
    font-weight: 400;
    color: #64748b;
    text-align: center;
    margin: 0;
    line-height: 1.6;
    max-width: 340px;
    letter-spacing: 0.025em;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.branding:hover .tagline {
    opacity: 1;
}

/* Responsive */
@media (max-width: 480px) {
    .branding {
        margin: 0rem auto 2rem;
        gap: 1.75rem;
    }

    .logo-circle {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 360px) {
    .logo-circle {
        width: 200px;
        height: 200px;
    }

    .subtitle-text {
        padding: 0.5rem 1.25rem;
        letter-spacing: 0.08em;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .branding-logo,
    .main-title::after {
        transition: none;
    }

    .logo-circle:hover .branding-logo {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .main-title {
        color: #000;
    }

    .subtitle-text {
        color: #000;
        font-weight: 700;
    }

    .subtitle-line::before {
        background: #000;
        height: 2px;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .branding-logo {
        background: #1e293b;
        border-color: #334155;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), inset 0 2px 0 rgba(51, 65, 85, 0.9);
    }

    .main-title {
        color: #f8fafc;
    }

    .subtitle-text {
        color: #cbd5e1;
    }

    .subtitle-line::before {
        background: #475569;
    }

    .tagline {
        color: #94a3b8;
    }
}
