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

:root {
    --primary-gradient: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #718096 100%);
    --secondary-gradient: linear-gradient(45deg, #1a202c, #2d3748, #4a5568);
    --background-dark: #0d1117;
    --background-card: rgba(255, 255, 255, 0.03);
    --text-primary: #f7fafc;
    --text-secondary: #a0aec0;
    --text-accent: #e2e8f0;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-primary: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
    --shadow-glow: 0 0 40px rgba(113, 128, 150, 0.2);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-gradient {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(45, 55, 72, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(74, 85, 104, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(113, 128, 150, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

.background-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 30px 30px;
    animation: mesh-move 20s linear infinite;
}

@keyframes mesh-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--secondary-gradient);
    filter: blur(80px);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Hero section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

/* Logo container */
.logo-container {
    position: relative;
    margin-bottom: 1rem;
    margin-top: 2rem;
    padding: 2rem 0;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-5px);
}

.logo-backdrop {
    display: none;
}

.logo {
    position: relative;
    margin: 0;
    margin-bottom: 1rem;
}

.gradient-text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    letter-spacing: -0.02em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { filter: drop-shadow(0 0 10px rgba(45, 55, 72, 0.4)); }
    100% { filter: drop-shadow(0 0 20px rgba(113, 128, 150, 0.3)); }
}



@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Company attribution */
.company-attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0;
    animation: fade-in-up 1s ease-out 1.5s forwards;
}

.attribution-text {
    color: var(--text-secondary);
    font-weight: 400;
}

.mela-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    color: var(--text-accent);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mela-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(113, 128, 150, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 55, 72, 0.3);
}

.mela-link i {
    font-size: 0.75rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.mela-link:hover i {
    opacity: 1;
    transform: translateX(2px);
}

/* Status indicator */
.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #22c55e;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fade-in-up 1s ease-out 2s forwards;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.status-text {
    font-weight: 500;
}



/* Responsive design */
@media (max-width: 1024px) {
    .logo-container {
        padding: 1.5rem 0;
    }
    
    .floating-circle {
        opacity: 0.05;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 1rem;
    }
    
    .logo-container {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .gradient-text {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .company-attribution {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .mela-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .status-indicator {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .floating-circle {
        display: none;
    }
    

}

@media (max-width: 480px) {
    .logo-container {
        padding: 0.5rem 0;
    }
    
    .gradient-text {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
    
    .background-mesh {
        background-size: 20px 20px;
    }
}

@media (max-width: 360px) {
    .hero {
        padding: 0.5rem;
    }
    
    .logo-container {
        padding: 0;
        margin-bottom: 1.5rem;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-circle,
    .background-mesh {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --background-card: rgba(255, 255, 255, 0.1);
        --border-color: rgba(255, 255, 255, 0.3);
        --text-secondary: #e4e4e7;
    }
}

/* Dark mode support (already dark by default) */
@media (prefers-color-scheme: light) {
    /* Optionally add light mode styles here */
}

