/*
 * Home (/) 専用 CSS
 *
 * 元 index.php インライン <style> ブロックから切り出し。
 */

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

html {
    background: #0a0a0f;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #0a0a0f;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 25%, #16213e 50%, #0f0f1e 100%);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(145, 70, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

header {
    text-align: center;
    margin-bottom: 80px;
}

h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(45deg, #9146ff, #00ff88);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.tagline {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(145, 70, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9146ff, #00ff88, #ff6b9d, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: #9146ff;
    background: rgba(145, 70, 255, 0.05);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(145, 70, 255, 0.2);
}

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

.tool-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.tool-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.tool-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.tool-platform {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(145, 70, 255, 0.2);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #9146ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-badge {
    display: inline-block;
    padding: 3px 8px;
    background: linear-gradient(135deg, #ff6b9d, #ff3366);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 10px;
    vertical-align: middle;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 51, 102, 0.4); }
    50% { box-shadow: 0 0 16px rgba(255, 51, 102, 0.7); }
}

.coming-soon {
    opacity: 0.6;
    pointer-events: none;
}

.coming-soon .tool-platform {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

footer {
    text-align: center;
    margin-top: 80px;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}
