/* アニメーション用CSS */

/* テキストグラデーション */
.text-gradient {
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4, #45B7D1, #96CEB4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* フローティングバッジ */
.floating-badge {
    animation: float 3s ease-in-out infinite;
}

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

/* ヒーローノート */
.hero-note {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 20px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

/* アニメーションボタン */
.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    padding: 20px 40px;
}

.btn-animated .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-animated:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

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

/* セクションタイトル */
.section-title {
    font-size: 4rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 2rem;
    color: var(--text-light);
    margin: 20px 0 60px;
}

/* 料金カードアニメーション */
.pricing-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card:hover::before {
    opacity: 1;
}

/* パーティクル背景 */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(78, 205, 196, 0.5);
    border-radius: 50%;
    animation: particle-float 20s infinite linear;
}

@keyframes particle-float {
    from {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    to {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* カウントアップ数値 */
.counter {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* ビフォーアフター */
.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
}

.before-box, .after-box {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.before-box {
    background: #FFE5E5;
    border: 2px dashed #FF6B6B;
}

.after-box {
    background: #E5F5FF;
    border: 2px solid #45B7D1;
    position: relative;
    overflow: hidden;
}

.after-box::before {
    content: '✨';
    position: absolute;
    font-size: 100px;
    opacity: 0.1;
    top: -20px;
    right: -20px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

/* テクノロジーアイコン */
.tech-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.tech-icon {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.5;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-10px) rotate(10deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* マウスフォロワー */
.mouse-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(78, 205, 196, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 1.6rem;
    }
    
    .before-after-container {
        grid-template-columns: 1fr;
    }
    
    .tech-icons {
        flex-wrap: wrap;
    }
}