/* Preq Consulting - Standard CSS for CDN Compatibility */

:root {
    --primary: #ffffff;
    --secondary: #f8fafc;
    --accent: #d4af37;
    --accent-hover: #b8962e;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(226, 232, 240, 0.8);
}

body {
    background-color: #ffffff;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Glassmorphism */
.glass-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.glass-nav {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
    opacity: 0;
    transform: translateY(-10px) scaleY(0.95);
    display: flex !important;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
}

#mobile-menu.active {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    visibility: visible;
    pointer-events: all;
}

/* Mobile Tab Nav Scroll */
@media (max-width: 1024px) {
    [role="tablist"] {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin-bottom: 2rem;
    }
    .tab-btn {
        flex-shrink: 0;
        padding: 1rem 1.5rem;
    }
}

/* Buttons */
.btn-premium {
    position: relative;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background-color: #0f172a;
    color: #ffffff;
    display: inline-block;
}

.btn-premium:hover {
    background-color: #d4af37;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}

.btn-premium:active {
    transform: scale(0.95);
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    border: 1px solid #d4af37;
    color: #0f172a;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

/* Typography */
.section-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: #0f172a;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    /* Global word/font size reduction */
    h1 { font-size: 2rem !important; line-height: 1.1 !important; }
    h2 { font-size: 1.65rem !important; line-height: 1.2 !important; }
    h3 { font-size: 1.4rem !important; }
    
    .text-xl { font-size: 1.1rem !important; line-height: 1.5 !important; }
    .text-lg { font-size: 0.95rem !important; line-height: 1.4 !important; }
    .text-base { font-size: 0.875rem !important; line-height: 1.4 !important; }
    
    /* Scale down oversized utility classes */
    .text-8xl, .text-7xl, .text-6xl, .text-5xl { font-size: 2.25rem !important; line-height: 1.1 !important; }
    .text-4xl { font-size: 1.75rem !important; }
    .text-3xl { font-size: 1.5rem !important; }
    .text-2xl { font-size: 1.25rem !important; }

    .py-40 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .py-32 { padding-top: 3rem; padding-bottom: 3rem; }
    .py-24 { padding-top: 2rem; padding-bottom: 2rem; }
    .mb-32 { margin-bottom: 2.5rem; }
    .mb-24 { margin-bottom: 1.75rem; }

    .p-16 { padding: 1.25rem !important; }
    .p-12 { padding: 1rem !important; }
    .p-10 { padding: 1rem !important; }
    .p-20 { padding: 1.25rem !important; }

    /* Fix for horizontal width issues */
    .rotate-2, .rotate-3, .-rotate-2, .rotate-1 {
        transform: none !important;
    }
    
    .tracking-widest {
        letter-spacing: 0.08em !important;
        font-size: 0.7rem !important;
    }
}

@media (min-width: 769px) {
    .section-title {
        font-size: 5rem;
        line-height: 1;
    }
}

/* GSAP Specific */
.gsap-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.parallax-bg {
    position: absolute;
    inset: 0;
    z-index: -10;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Marquee Scroll */
.marquee-wrapper {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    will-change: transform;
}

.marquee-item {
    flex-shrink: 0;
}

/* Role User Box Grid */
.user-box {
    width: 100%;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    overflow: hidden;
}

.user-box__inner {
    display: flex;
    padding: 1.5rem;
}

.user-box__image-wrapper {
    position: relative;
    width: 180px;
    height: 120px;
    border-radius: 12px;
    background-color: #f1f5f9;
    overflow: hidden;
    flex-shrink: 0;
}

.user-box__image-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-box__image-circle_hover {
    top: 100%;
    transform: translate(-50%, 0);
    background-color: rgba(212, 175, 55, 0.2);
}

.user-box__image {
    position: absolute;
    width: 85%;
    height: 90%;
    bottom: -10%;
    left: 50%;
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    transform: translateX(-50%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

@media (max-width: 640px) {
    .user-box__inner {
        flex-direction: column;
        padding: 1.25rem;
    }
    .user-box__image-wrapper {
        width: 100%;
        height: 160px;
        margin-bottom: 1rem;
    }
    .user-box__image-circle {
        width: 120px;
        height: 120px;
    }
    .user-box__image {
        width: 95%;
    }
    .user-box__content {
        padding-left: 0;
        text-align: center;
    }
    .user-box__title {
        font-size: 1.25rem;
    }
    .user-box__description {
        font-size: 0.8rem;
    }
    .user-box__content-button {
        opacity: 1;
        transform: translateX(0);
        margin: 1rem auto 0;
    }
}

.user-box__content {
    flex-grow: 1;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-box__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.user-box__description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.user-box__content-button {
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d4af37;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover States */
.user-box:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: #d4af37;
    transform: translateY(-5px);
}

.user-box:hover .user-box__image-circle {
    top: -80%;
}

.user-box:hover .user-box__image-circle_hover {
    top: 20%;
}

.user-box:hover .user-box__image {
    bottom: 0;
    transform: translateX(-50%) scale(1.05);
}

.user-box:hover .user-box__content-button {
    opacity: 1;
    transform: translateX(0);
}

/* Tabs Section */
.tab-btn {
    position: relative;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    border-bottom-color: #d4af37;
    background-color: #f8fafc;
}

.tab-btn.active .tab-icon-holder {
    background-color: #d4af37;
    color: white;
}

.tab-icon-holder {
    width: 48px;
    height: 48px;
    background-color: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.4s ease;
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.tab-pane.active {
    display: block;
    animation: fadeInTab 0.6s forwards;
}

@keyframes fadeInTab {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Purpose Section Decorative */
.decorative-text {
    position: absolute;
    right: -5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15vw;
    font-weight: 900;
    color: #f1f5f9;
    pointer-events: none;
    user-select: none;
    z-index: -10;
    line-height: 1;
}

@media (max-width: 1024px) {
    .decorative-text {
        display: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
    border: 2px solid #f8fafc;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
