@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    25% {
        transform: translateY(-10px) rotateY(5deg);
    }
    50% {
        transform: translateY(-20px) rotateY(0deg);
    }
    75% {
        transform: translateY(-10px) rotateY(-5deg);
    }
}

.animate-fade-in {
    animation: fadeIn 1.5s ease-out;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #2563eb, #7c3aed);
}

/* Glassmorphism effect */
.backdrop-blur-lg {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Hover effects */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

/* Transition improvements */
.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced gradient text */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Section spacing */
.section {
    min-height: 100vh;
    position: relative;
}

/* Parallax effect for hero */
.hero-parallax {
    transform: translateY(calc(var(--scroll-y) * 0.5px));
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .text-6xl {
        font-size: 3rem;
    }
    
    .text-8xl {
        font-size: 4rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced button styles */
button {
    position: relative;
    overflow: hidden;
}

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

button:hover::before {
    left: 100%;
}

/* Radial gradient utility */
.bg-gradient-radial {
    background: radial-gradient(circle, var(--tw-gradient-stops));
}

/* Custom SVG animations */
svg {
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

/* Neon glow effect for tech elements */
.neon-glow {
    filter: drop-shadow(0 0 5px #00ffff) drop-shadow(0 0 10px #00ffff) drop-shadow(0 0 15px #00ffff);
}

/* Enhanced floating animation for phone */
.floating svg {
    transform-style: preserve-3d;
}

/* Starfield background animation */
@keyframes starfield {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100px);
    }
}

.starfield {
    animation: starfield 20s linear infinite;
}