/* Custom Neo-brutalist Styles */
:root {
    --primary: #1a1a1a;
    --accent: #ffcc00;
    --surface: #f5f0e8;
    --error: #e63b2e;
}

body {
    background-color: var(--primary);
    color: var(--surface);
    overflow-x: hidden;
}

/* Neo-brutalism Utilities */
.neo-shadow {
    box-shadow: 8px 8px 0px 0px var(--primary);
}

.dark .neo-shadow {
    box-shadow: 8px 8px 0px 0px var(--accent);
}

.neo-shadow-sm {
    box-shadow: 4px 4px 0px 0px var(--primary);
}

.dark .neo-shadow-sm {
    box-shadow: 4px 4px 0px 0px var(--accent);
}

.neo-card {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.neo-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px 0px var(--accent);
}

/* Animations Helpers */
.text-reveal {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--accent);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.highlight.active::after {
    transform: scaleX(1);
}

.text-outline-black {
    -webkit-text-stroke: 2px var(--primary);
    color: transparent;
}

/* Scroll Animations */
.section-fade {
    /* Handled by GSAP for better control */
}

/* Custom Cursor (Optional Premium Touch) */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3仿真%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 1000;
}

/* Pricing Card Animation */
.pricing-cards .neo-card {
    background: white;
    color: var(--primary);
}

.pricing-cards .neo-card:last-child {
    background: var(--primary);
    color: var(--accent);
}

/* Nav Item Animation */
.nav-item {
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-item:hover::before {
    width: 100%;
}

/* CTA Pulse */
@keyframes cta-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.cta-pulse:hover {
    animation: cta-pulse 1s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

/* Reveal Classes */
.reveal-text {
    overflow: hidden;
}

.reveal-text span {
    display: inline-block;
    transform: translateY(100%);
}
