/* ============ BASE ============ */
body {
    background-color: #FFFFFF;
    color: #334155;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Subtle grid texture */
.agency-grid-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(at 10% 10%, rgba(109, 40, 217, 0.05) 0px, transparent 40%),
        radial-gradient(at 90% 20%, rgba(124, 58, 237, 0.04) 0px, transparent 40%),
        linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* ============ CARDS ============ */
.agency-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.agency-card:hover {
    border-color: rgba(109, 40, 217, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(109, 40, 217, 0.08), 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

/* ============ PURPLE ACCENTS & PILLS ============ */
.purple-pill {
    background: #F5F3FF;
    border: 1px solid #DDD6FE;
    color: #6D28D9;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-purple {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    color: #FFFFFF;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 10px 20px -5px rgba(109, 40, 217, 0.35);
}

.btn-purple:hover {
    background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
    transform: translateY(-1px);
    box-shadow: 0 14px 24px -5px rgba(109, 40, 217, 0.45);
}

.btn-white {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-white:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* ============ FOUNDER PHOTO ============ */
.founder-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    box-shadow: 0 20px 40px -15px rgba(109, 40, 217, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.founder-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ============ SCROLL PROGRESS BAR ============ */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #7C3AED, #10B981, #06B6D4);
    z-index: 100;
    width: 0%;
    transition: width 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ CARD SPOTLIGHT ============ */
.spotlight-card {
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    top: var(--mouse-y, -200px);
    left: var(--mouse-x, -200px);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
    z-index: 1;
    border-radius: 50%;
}

.spotlight-card:hover::before {
    opacity: 1;
}

/* ============ SHIMMER KEYFRAMES ============ */
@keyframes textShimmer {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: -100% 0; }
}

/* ============ FAQ ACCORDION STYLES ============ */
.faq-btn.active i {
    transform: rotate(180deg);
    color: #7C3AED;
}

/* ============ PRELOADER (CLEAN LIGHT) ============ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.pre-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-track {
    width: 160px;
    height: 3px;
    background: #F1F5F9;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.loader-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #7C3AED;
    animation: loadFill 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes loadFill {
    to { width: 100%; }
}

/* ============ ANIMATIONS ============ */
@keyframes riseUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-in > * {
    animation: riseUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-in > *:nth-child(1) { animation-delay: 0.05s; }
.hero-in > *:nth-child(2) { animation-delay: 0.12s; }
.hero-in > *:nth-child(3) { animation-delay: 0.19s; }
.hero-in > *:nth-child(4) { animation-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
    #preloader { display: none !important; }
    .hero-in > * { animation: none; opacity: 1; }
}

/* ============ HIGHLIGHT TEXT ============ */
.shimmer-text {
    background: linear-gradient(110deg, #7C3AED 20%, #10B981 50%, #7C3AED 80%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s infinite linear;
}