/* =========================================
   4. Brand Introduction — Premium Edition
   ========================================= */

/* Section-specific custom properties */
.brand-intro {
    --brand-spacing-xl: clamp(60px, 10vw, 120px);
    --brand-spacing-lg: clamp(40px, 6vw, 80px);
    --brand-spacing-md: clamp(24px, 4vw, 50px);
    --brand-gap: clamp(30px, 5vw, 80px);
    --brand-radius: 16px;
    --brand-radius-lg: 24px;
    --brand-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --brand-transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Colors */
    --brand-text-primary: #ffffff;
    --brand-text-secondary: #b0b0b0;
    --brand-text-muted: #707070;
    --brand-surface: #0a0a0a;
    --brand-surface-elevated: #121212;
    --brand-border: rgba(255, 255, 255, 0.08);
    --brand-border-hover: rgba(255, 255, 255, 0.15);
    --brand-glow: rgba(255, 255, 255, 0.03);
}

.brand-intro {
    padding: var(--brand-spacing-xl) 0;
    background-color: var(--bg-dark, #0a0a0a);
    position: relative;
    overflow: hidden;
}

/* Subtle ambient background texture */
.brand-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 255, 255, 0.02) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 100%, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
    pointer-events: none;
}

/* Main Title */
.brand-main-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--brand-spacing-lg);
    color: var(--brand-text-primary);
    letter-spacing: -0.03em;
    line-height: 1.2;
    position: relative;
    text-wrap: balance;
}

/* Subtle text gradient for premium feel */
.brand-main-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    margin: 24px auto 0;
    border-radius: 2px;
}

/* Content Wrapper */
.brand-content-wrapper {
    display: flex;
    gap: var(--brand-gap);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Media Container */
.brand-media {
    flex: 1 1 50%;
    min-width: 0;
}

/* Video/Image Placeholder */
.brand-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--brand-text-muted);
    position: relative;
    overflow: hidden;
    transition:
        transform var(--brand-transition),
        box-shadow var(--brand-transition);

    /* Multi-layer shadow for depth */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Inner glow effect */
.brand-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 50% 0%, var(--brand-glow) 0%, transparent 60%);
    pointer-events: none;
}

/* Subtle shimmer animation */
.brand-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 255, 255, 0.015) 45%,
            rgba(255, 255, 255, 0.03) 50%,
            rgba(255, 255, 255, 0.015) 55%,
            transparent 60%);
    background-size: 200% 100%;
    animation: brand-shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes brand-shimmer {

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

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

.brand-placeholder:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow:
        0 0 0 1px var(--brand-border-hover),
        0 8px 12px -2px rgba(0, 0, 0, 0.35),
        0 20px 40px -8px rgba(0, 0, 0, 0.45),
        0 32px 64px -12px rgba(0, 0, 0, 0.35);
}

.brand-placeholder i {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 12px;
    opacity: 0.6;
    transition:
        opacity var(--brand-transition-fast),
        transform var(--brand-transition-fast);
}

.brand-placeholder:hover i {
    opacity: 0.8;
    transform: scale(1.1);
}

.brand-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.5;
}

/* Info Section */
.brand-info {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(16px, 2vw, 24px);
}

/* Sub Title */
.brand-sub-title {
    font-size: clamp(1.375rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
    color: var(--brand-text-primary);
    letter-spacing: -0.02em;
    letter-spacing: -0.02em;
    text-wrap: balance;
    word-break: keep-all;
}

/* Description */
.brand-desc {
    display: flex;
    flex-direction: column;
    gap: 1.25em;
}

.brand-desc p {
    margin: 0;
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.75;
    color: #e2e8f0;
    letter-spacing: 0.005em;
}

.brand-desc p:first-child {
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    color: #c8c8c8;
}

/* Optional: Subtle left accent for description */
.brand-desc p::selection {
    background: rgba(255, 255, 255, 0.2);
}

/* =========================================
   Responsive Design
   ========================================= */

/* Tablet */
@media (max-width: 1024px) {
    .brand-content-wrapper {
        gap: clamp(24px, 4vw, 40px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .brand-intro {
        --brand-radius-lg: 16px;
    }

    .brand-content-wrapper {
        flex-direction: column;
        gap: var(--brand-spacing-md);
    }

    .brand-media,
    .brand-info {
        flex: none;
        width: 100%;
    }

    .brand-main-title::after {
        width: 40px;
        margin-top: 16px;
    }

    .brand-sub-title {
        text-align: center;
    }

    .brand-desc {
        text-align: left;
    }

    .brand-placeholder {
        box-shadow:
            0 0 0 1px var(--brand-border),
            0 8px 16px -4px rgba(0, 0, 0, 0.4),
            0 16px 32px -8px rgba(0, 0, 0, 0.3);
    }

    /* Disable hover transforms on touch */
    .brand-placeholder:hover {
        transform: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .brand-intro {
        --brand-radius-lg: 12px;
    }

    .brand-placeholder {
        aspect-ratio: 4 / 3;
    }
}

/* =========================================
   Accessibility & Motion
   ========================================= */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .brand-placeholder,
    .brand-placeholder i {
        transition: none;
    }

    .brand-placeholder::after {
        animation: none;
    }

    .brand-placeholder:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .brand-placeholder {
        box-shadow: 0 0 0 2px var(--brand-text-primary);
    }

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

/* Focus states for keyboard navigation */
.brand-placeholder:focus-visible {
    outline: 2px solid var(--brand-text-primary);
    outline-offset: 4px;
}