/* Japanese Landing Page Styles */

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.animate-pulse-slow {
    animation: pulse 3s infinite;
}

/* Custom gradients */
.gradient-bg {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 50%, #e8f2ff 100%);
}

.gradient-border {
    background: linear-gradient(135deg, #437DF9, #CC53FB);
    border-radius: 9999px;
    padding: 2px;
}

.gradient-border-inner {
    background: white;
    border-radius: 9999px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Japanese typography improvements */
.japanese-text {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* Navigation specific styles */
.japanese-nav {
    font-weight: 500;
}

/* Button styles */
.btn-login {
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.japanese-heading {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

/* Glass morphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #437DF9, #CC53FB);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3b6de6, #b347e0);
}

/* Hover effects */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button improvements */
.btn-gradient-primary {
    background: linear-gradient(135deg, #437DF9 0%, #CC53FB 100%);
    background-size: 200% 200%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient-primary::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;
}

.btn-gradient-primary:hover::before {
    left: 100%;
}

.btn-gradient-primary:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(67, 125, 249, 0.4);
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    .japanese-heading {
        line-height: 1.4;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .gradient-bg {
        background: linear-gradient(180deg, #f8faff 0%, #f0f4ff 100%);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .glass-card {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}