* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    color: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Background Blobs */
.blob-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.blob-top-right {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: spin-scale 50s linear infinite, pulse-scale 10s ease-in-out infinite;
}

.blob-bottom-left {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(to top right, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: spin-scale-reverse 60s linear infinite, pulse-scale-large 15s ease-in-out infinite;
}

@keyframes spin-scale {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes spin-scale-reverse {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-180deg) scale(1.2); }
    100% { transform: rotate(-360deg) scale(1); }
}

/* Loader Styles */
.loader-container {
    position: relative;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, filter 0.5s ease-in-out;
}

.spinner {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-1 {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.ring-2 {
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: spin-reverse 2s linear infinite;
}

.dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

.loader-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: pulse-opacity 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse-opacity {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Visibility Utilities */
.hidden {
    display: none !important;
}

/* Main Content Styles */
main {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 56rem;
    padding: 0 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Entry Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(8px);
}

#content.visible .fade-up {
    /* Buttery smooth, sophisticated decel easing without overshoot */
    animation: fadeUpAnim 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(10px);
}

#footer.visible {
    /* Smooth decel easing */
    animation: fadeInAnim 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

/* Animation Delays - Tighter stagger for momentum */
#content.visible .delay-1 { animation-delay: 0.1s; }
#content.visible .delay-2 { animation-delay: 0.25s; }
#content.visible .delay-3 { animation-delay: 0.4s; }
#content.visible .delay-4 { animation-delay: 0.55s; }
#content.visible .delay-5 { animation-delay: 0.7s; }

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fadeInAnim {
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Typography & Components */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    h1 { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
    h1 { font-size: 5rem; }
}

.gradient-text {
    color: transparent;
    background-image: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.4));
    background-clip: text;
    -webkit-background-clip: text;
}

p.description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 42rem;
    margin: 0 auto 3rem auto;
    font-weight: 300;
    line-height: 1.6;
}

@media (min-width: 768px) {
    p.description { font-size: 1.25rem; }
}

.mobile-hide {
    display: none;
}

@media (min-width: 640px) {
    .mobile-hide { display: inline; }
}

/* Progress Line Animation */
.progress-container {
    width: 100%;
    max-width: 28rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: -33%;
    height: 100%;
    width: 33%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: progressAnim 2.5s ease-in-out infinite;
}

@keyframes progressAnim {
    0% { left: -33%; }
    80% { left: 100%; }
    100% { left: 100%; }
}

/* Contact Button */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background-color: white;
    color: black;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    transform: scale(1.05);
    background-color: #e5e5e5;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Footer Element */
footer {
    position: absolute;
    bottom: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}
