/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #242943;
    --secondary-bg: #1a1f35;
    --accent-color: #9bf1ff;
    --accent-hover: #53e3fb;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --gradient-primary: linear-gradient(135deg, #9bf1ff 0%, #53e3fb 100%);
    --gradient-bg: linear-gradient(135deg, #242943 0%, #1a1f35 100%);
    --mouse-x: 0.5;
    --mouse-y: 0.5;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at calc(var(--mouse-x) * 100%) calc(var(--mouse-y) * 100%),
        rgba(155, 241, 255, 0.1) 0%,
        rgba(155, 241, 255, 0.05) 25%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 1;
    transition: all 0.3s ease;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    text-align: center;
}

.content-wrapper {
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 5;
}

.main-title {
    font-family: 'Plaster', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(155, 241, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(155, 241, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 40px rgba(155, 241, 255, 0.6));
    }
}

.tagline {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button */
.cta-button {
    background: var(--gradient-primary);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-bg);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(155, 241, 255, 0.3);
    animation: fadeInUp 1s ease-out 1s both;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(155, 241, 255, 0.5);
    background: linear-gradient(135deg, #53e3fb 0%, #9bf1ff 100%);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Floating background elements */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.element-4 {
    width: 40px;
    height: 40px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.element-5 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 11s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(155, 241, 255, 0.1);
    background: rgba(26, 31, 53, 0.5);
    backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .main-title {
        margin-bottom: 1rem;
    }
    
    .tagline {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .footer {
        padding: 1.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .floating-element {
        opacity: 0.05;
    }
    
    .element-1 {
        width: 60px;
        height: 60px;
    }
    
    .element-2 {
        width: 40px;
        height: 40px;
    }
    
    .element-3 {
        width: 50px;
        height: 50px;
    }
    
    .element-4 {
        width: 30px;
        height: 30px;
    }
    
    .element-5 {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .tagline {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --accent-color: #ffffff;
        --accent-hover: #cccccc;
    }
    
    .main-title {
        -webkit-text-fill-color: var(--text-primary);
        background: none;
    }
    
    .floating-element {
        display: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .main-title,
    .tagline,
    .cta-button,
    .floating-element,
    .logo {
        animation: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    body::before {
        transition: none;
    }
}

