/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --accent: #667eea;
}

body {
    font-family: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
}

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

/* ヒーローセクション */
.hero {
    background: var(--primary-gradient);
    color: white;
    padding: 100px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.app-name {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.tagline {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.download-btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.9);
}

.app-store-badge {
    height: 60px;
    width: auto;
}

/* 特徴セクション */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.features h2 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.feature-card {
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    background: var(--bg-light);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 1rem;
    color: var(--accent);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* プレミアム機能セクション */
.premium {
    padding: 80px 0;
    background: var(--bg-light);
}

.premium h2 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.premium-features {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.premium-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 2rem;
}

.check {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    flex-shrink: 0;
}

.premium-item h4 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.premium-item p {
    color: var(--text-secondary);
}

/* 価格カード */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.price-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    border: 2px solid var(--border);
}

.price-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.price-card h4 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-secondary);
}

.save {
    color: #48bb78;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* フッター */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer h4 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .app-name {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .features h2,
    .premium h2 {
        font-size: 2rem;
    }

    .pricing {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: scale(1);
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #e2e8f0;
        --text-secondary: #a0aec0;
        --bg-light: #1a202c;
        --bg-white: #2d3748;
        --border: #4a5568;
    }

    body {
        background: #1a202c;
    }

    .feature-card {
        background: #2d3748;
    }

    .price-card {
        background: #2d3748;
    }
}