/* 機能ページ専用CSS */

/* グローバルアニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* メインコンテンツ */
.main-features {
    min-height: 100vh;
    padding-top: 100px;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
}

/* ヒーローセクション */
.features-hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    color: white;
    margin-bottom: 60px;
    border-radius: 16px;
}

.features-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.features-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* メイン機能 */
.main-features {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 60px;
    margin-bottom: 60px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #4b5563;
}

.main-features h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
    animation: bounce 0.6s ease;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.feature-card p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* 活用シーン */
.use-cases {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 60px;
    margin-bottom: 60px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #4b5563;
}

.use-cases h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.use-case {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 32px 24px;
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.use-case h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.use-case ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case li {
    color: #d1d5db;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.use-case li:before {
    content: "•";
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 技術仕様 */
.tech-specs {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 60px;
    margin-bottom: 60px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #4b5563;
}

.tech-specs h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.spec-card {
    background: #2d2d2d;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
}

.spec-card:hover {
    background: #333333;
    border-color: #ffffff;
}

.spec-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.spec-card p {
    color: #d1d5db;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* 比較表 */
.comparison {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 60px;
    margin-bottom: 60px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #4b5563;
}

.comparison h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #2d2d2d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.comparison-table th {
    background-color: #1a1a1a;
    color: #d1d5db;
    font-weight: 600;
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #4b5563;
    font-size: 14px;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid #4b5563;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #ffffff;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background-color: #f9fafb;
}

/* CTAセクション */
.features-cta {
    text-align: center;
    padding: 80px 60px;
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    color: white;
    border-radius: 16px;
    margin-bottom: 60px;
}

.features-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.features-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

/* アクティブナビゲーション */
.nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 2.5rem;
    }
    
    .features-hero p {
        font-size: 1.1rem;
    }
    
    .main-features,
    .use-cases,
    .tech-specs,
    .comparison {
        padding: 40px 24px;
        margin-bottom: 40px;
    }
    
    .main-features h2,
    .use-cases h2,
    .tech-specs h2,
    .comparison h2 {
        font-size: 2rem;
    }
    
    .features-cta {
        padding: 60px 24px;
    }
    
    .features-cta h2 {
        font-size: 2rem;
    }
    
    .features-cta p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .main-features {
        padding-top: 80px;
    }
    
    .features-hero {
        padding: 60px 20px;
        margin-bottom: 40px;
    }
    
    .features-hero h1 {
        font-size: 2rem;
    }
    
    .main-features,
    .use-cases,
    .tech-specs,
    .comparison {
        padding: 24px 20px;
        margin-bottom: 24px;
    }
    
    .features-cta {
        padding: 40px 20px;
    }
    
    .features-cta h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .use-case,
    .spec-card {
        padding: 24px 20px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .use-case-icon {
        font-size: 2rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 4px;
        font-size: 11px;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features-hero {
    animation: fadeInUp 0.6s ease-out;
}

.main-features {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.1s;
}

.use-cases {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.2s;
}

.tech-specs {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.3s;
}

.comparison {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.4s;
}

.features-cta {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.5s;
}

/* ホバー効果 */
.feature-card:hover {
    background: #f1f5f9;
}

.use-case:hover {
    background: #f1f5f9;
}

/* スクロールバーのスタイリング */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
