/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #1A1A1A;
    color: #ffffff;
}

/* Geometric Background Shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #E85D4A;
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #E85D4A;
    bottom: 10%;
    left: -80px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    background: #E85D4A;
    top: 30%;
    left: 10%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #E85D4A;
    top: 60%;
    right: 5%;
    animation: float-slow 18s ease-in-out infinite;
}

.shape-ring-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 3px solid #E85D4A;
    top: 20%;
    right: -100px;
    animation: spin-slow 30s linear infinite reverse;
}

.shape-dots-1 {
    width: 300px;
    height: 300px;
    background-image: radial-gradient(circle, #E85D4A 1px, transparent 1px);
    background-size: 20px 20px;
    bottom: -50px;
    right: -50px;
    opacity: 0.15;
}

.shape-circle-3 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #E85D4A;
    bottom: -200px;
    right: -200px;
    opacity: 0.04;
    animation: float-slow 22s ease-in-out infinite;
}

/* Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-state="hidden"] {
    opacity: 0;
    transform: translateY(40px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered reveal delays */
.reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A1A1A;
}
::-webkit-scrollbar-thumb {
    background: #3D3D3D;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E85D4A;
}

/* Selection */
::selection {
    background: #E85D4A;
    color: #ffffff;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #E85D4A;
    outline-offset: 2px;
}
