/* Vocatomiアプリページ専用スタイル */

/* ヘッダー */
.app-header {
    background: linear-gradient(135deg, #40E0D0 0%, #2AB8A8 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(64, 224, 208, 0.2);
}

.back-nav {
    display: flex;
    align-items: center;
}

.back-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-link:hover {
    opacity: 0.8;
}

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, #40E0D0 0%, #2AB8A8 100%);
    color: white;
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

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

.app-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.app-tagline {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.4;
}

.app-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.mobile-br {
    display: none;
}

/* ダウンロードボタン */
.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* App Store バッジ */
.store-badge-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.store-badge-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.store-badge {
    width: 200px;
    height: auto;
    vertical-align: middle;
    object-fit: contain;
}

/* Google Play ボタン（近日公開予定）*/
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: not-allowed;
    opacity: 0.7;
    min-width: 180px;
}

.btn-appstore {
    background: rgba(255, 255, 255, 0.95);
    color: #2AB8A8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-playstore {
    background: rgba(255, 255, 255, 0.95);
    color: #2AB8A8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-text {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.btn-subtext {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 400;
}

/* セクション共通 */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2AB8A8;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #40E0D0 0%, #2AB8A8 100%);
    border-radius: 2px;
}

/* 特徴セクション */
.features-section {
    padding: 80px 0;
}

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

.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(64, 224, 208, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.2);
    border-color: #40E0D0;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: grayscale(0.2);
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2AB8A8;
    font-weight: 600;
}

.feature-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* スクリーンショットセクション */
.screenshots-section {
    padding: 80px 0;
}

.screenshots-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 30px 10px 40px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshots-carousel::-webkit-scrollbar {
    height: 10px;
}

.screenshots-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.screenshots-carousel::-webkit-scrollbar-thumb {
    background: #40E0D0;
    border-radius: 5px;
}

.screenshots-carousel::-webkit-scrollbar-thumb:hover {
    background: #2AB8A8;
}

.screenshot-item {
    flex: 0 0 auto;
    text-align: center;
    scroll-snap-align: center;
}

.screenshot-item img {
    width: 280px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.screenshot-item img:hover {
    transform: scale(1.05);
}

.screenshot-caption {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* 詳細セクション */
.details-section {
    padding: 80px 0;
}

.learning-flow {
    max-width: 800px;
    margin: 50px auto 80px;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(64, 224, 208, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.flow-step:hover {
    box-shadow: 0 8px 30px rgba(64, 224, 208, 0.2);
    transform: translateX(5px);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #40E0D0 0%, #2AB8A8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.3rem;
    color: #2AB8A8;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.flow-arrow {
    text-align: center;
    font-size: 2rem;
    color: #40E0D0;
    margin: 0 0 10px 0;
    animation: bounce 2s infinite;
}

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

/* 語彙統計 */
.vocabulary-stats {
    margin-top: 60px;
}

.subsection-title {
    font-size: 2rem;
    color: #2AB8A8;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, #40E0D0 0%, #2AB8A8 100%);
    color: white;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.3);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-prefix {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.85;
    margin-right: 4px;
}

.stat-label {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-detail {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CTAセクション */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.08) 0%, rgba(42, 184, 168, 0.08) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: #2AB8A8;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* お問い合わせセクション */
.contact-section {
    padding: 60px 0;
}

.contact-section .contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-section .contact-content > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.contact-section .contact-info {
    display: inline-block;
    text-align: left;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px;
    }

    .app-icon {
        width: 100px;
        height: 100px;
        border-radius: 24px;
    }

    .app-title {
        font-size: 2.5rem;
    }

    .app-tagline {
        font-size: 1.4rem;
    }

    .app-description {
        font-size: 1rem;
    }

    .mobile-br {
        display: inline;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .screenshot-item img {
        width: 240px;
    }

    .flow-step {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .step-number {
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-badge {
        width: 180px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 2rem;
    }

    .app-tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .screenshot-item img {
        width: 200px;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .stat-prefix {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .store-badge {
        width: 160px;
    }
}

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

.feature-card,
.screenshot-item,
.flow-step,
.stat-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
