/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties - Renk Paleti */
:root {
    /* Primary Colors */
    --deep-purple: #6B46C1;
    --deep-purple-dark: #7C3AED;
    --electric-blue: #3B82F6;
    --electric-blue-dark: #2563EB;
    --cyan-accent: #06B6D4;
    --cyan-accent-dark: #0891B2;
    
    /* Background Colors */
    --bg-dark-1: #0F172A;
    --bg-dark-2: #1E293B;
    --bg-dark-3: #312E81;
    
    /* Text Colors */
    --text-light: #F8FAFC;
    --text-light-secondary: #E2E8F0;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-family-tech: 'Orbitron', monospace;
    --line-height: 1.6;
}

/* Base Styles */
html {
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height);
    color: var(--text-light);
    background: linear-gradient(135deg, var(--bg-dark-1) 0%, var(--bg-dark-2) 50%, var(--bg-dark-3) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Fallback for browsers without gradient support */
@supports not (background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #312E81 100%)) {
    body {
        background-color: var(--bg-dark-2);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    line-height: 1.8;
}

/* Canvas Background */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Container Layout */
.container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

/* Header */
header {
    margin-bottom: 2rem;
}

.logo {
    font-family: var(--font-family-tech);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    color: var(--electric-blue); /* Fallback color */
    background: linear-gradient(90deg, var(--deep-purple-dark), var(--electric-blue), var(--cyan-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers without background-clip support */
@supports not (background-clip: text) or not (-webkit-background-clip: text) {
    .logo {
        color: var(--electric-blue);
    }
}

/* Main Content */
main {
    max-width: 800px;
    width: 100%;
}

.hero {
    margin-bottom: 3rem;
}

.tagline {
    font-family: var(--font-family-tech);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.description {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-light-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 3rem;
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-light-secondary);
    opacity: 0.7;
}

/* Responsive Breakpoints */

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .container {
        padding: 1.5rem;
    }
    
    header {
        margin-bottom: 1.5rem;
    }
    
    .hero {
        margin-bottom: 2rem;
    }
    
    .tagline {
        margin-bottom: 1rem;
    }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 2rem;
    }
}

/* Desktop (> 1024px) */
@media (min-width: 1025px) {
    .container {
        padding: 3rem;
    }
}

/* Animations */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(107, 70, 193, 0.5),
            0 0 40px rgba(59, 130, 246, 0.3),
            0 0 60px rgba(6, 182, 212, 0.2);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(107, 70, 193, 0.8),
            0 0 60px rgba(59, 130, 246, 0.5),
            0 0 90px rgba(6, 182, 212, 0.3);
    }
}

/* Apply Animations */
.logo {
    animation: fadeIn 1s ease-out, glow 3s ease-in-out infinite;
    animation-delay: 0s, 1s;
    background-size: 200% auto;
}

.tagline {
    animation: fadeIn 1s ease-out 0.3s backwards, pulse 4s ease-in-out infinite;
    animation-delay: 0.3s, 1.5s;
    text-shadow: 
        0 0 30px rgba(107, 70, 193, 0.6),
        0 0 60px rgba(59, 130, 246, 0.4);
}

.description {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.copyright {
    animation: fadeIn 1s ease-out 0.9s backwards;
}

/* Hover Effects */
.logo:hover {
    animation: fadeIn 1s ease-out, glow 1.5s ease-in-out infinite;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logo,
    .tagline,
    .description,
    .copyright {
        animation: none !important;
    }
    
    .tagline {
        text-shadow: 
            0 0 20px rgba(107, 70, 193, 0.4),
            0 0 40px rgba(59, 130, 246, 0.3);
    }
}
