/* Main Design System & Shared Styles */
body {
    font-family: 'Inter', sans-serif;
    cursor: crosshair;
}

h1,
h2,
h3,
.brand {
    font-family: 'Space Grotesk', sans-serif;
}

/* Vertical Text Utility */
.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Custom Utilities */
.text-huge {
    font-size: clamp(3rem, 18vw, 24rem);
    line-height: 0.8;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.sharp-edge {
    box-shadow: 10px 10px 0px 0px #C8102E;
}

.line-growth {
    transition: height 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.group:hover .line-growth {
    height: 100%;
}

::selection {
    background: #C8102E;
    color: white;
}

/* Transitions & Animations */
#page-transition {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* AI/Tech Gradient Text Effect */
.text-flux {
    background: linear-gradient(90deg,
            #18181b 0%,
            #C8102E 25%,
            #18181b 50%,
            #C8102E 75%,
            #18181b 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textFlux 8s linear infinite;
    text-shadow: 0 0 30px rgba(200, 16, 46, 0.08);
}

@keyframes textFlux {
    to {
        background-position: 200% center;
    }
}

.glass-sidebar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Sidebar Logo Styling */
.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Portfolio Specifics */
.logo-card {
    border: 1px solid #f4f4f5;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(1);
    opacity: 0.5;
}

.logo-card:hover {
    border-color: #C8102E;
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-10px);
}

/* Solutions Specifics */
.sharp-edge-hover {
    transition: all 0.5s ease;
    border: 1px solid transparent;
}

.sharp-edge-hover:hover {
    border: 1px solid #C8102E;
    transform: translateX(10px);
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 2rem;
    color: #C8102E;
    position: relative;
    cursor: pointer;
}

.btn-action::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: #C8102E;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-action:hover {
    padding-left: 1.5rem;
}

.btn-action:hover::after {
    width: 100%;
}

.btn-action svg {
    transition: transform 0.4s ease;
}

.btn-action:hover svg {
    transform: translateX(8px);
}
