/**
 * EduOne プロダクトランディングページ用スタイルシート
 * 各プロダクト（AI Language Tutor等）のランディングページで使用
 */

/* ========================================
   基本設定
   ======================================== */

:root {
    /* カラーパレット（front.cssと共通） */
    --primary-color: #E8742F;
    --primary-dark: #C45E1F;
    --secondary-color: #F4A261;
    --accent-color: #E76F51;
    --background-light: #FAF3E0;
    --background-white: #FFFFFF;
    --text-dark: #264653;
    --text-medium: #2A9D8F;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* ========================================
   ヘッダー（簡易版）
   ======================================== */

.product-header {
    background-color: var(--background-white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 2rem;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-color);
}

.product-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ========================================
   ヒーローセクション
   ======================================== */

.product-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.product-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--background-white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn i {
    margin-left: 0.5rem;
}

/* ========================================
   特徴セクション
   ======================================== */

.features {
    padding: 4rem 2rem;
    background-color: var(--background-white);
}

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

.section-title {
    text-align: center;
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

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

/* ========================================
   使い方セクション
   ======================================== */

.how-it-works {
    padding: 4rem 2rem;
    background-color: var(--background-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    position: relative;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step h3 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   スクリーンショット／デモセクション
   ======================================== */

.demo {
    padding: 4rem 2rem;
    background-color: var(--background-white);
}

.demo-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

/* ========================================
   CTAセクション
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-medium) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.cta-section .btn-primary:hover {
    background-color: var(--primary-color);
}

/* ========================================
   仕様・詳細セクション
   ======================================== */

.specifications {
    padding: 4rem 2rem;
    background-color: var(--background-light);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spec-card {
    background-color: var(--background-white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.spec-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-card h3 i {
    color: var(--primary-color);
}

.spec-card ul {
    list-style: none;
    color: var(--text-light);
}

.spec-card ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-card ul li i {
    color: var(--text-medium);
    font-size: 0.875rem;
}

/* ========================================
   フッター（簡易版）
   ======================================== */

.product-footer {
    background-color: var(--text-dark);
    color: white;
    padding: 2rem;
    text-align: center;
}

.product-footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.product-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 2rem;
    }

    .product-hero .subtitle {
        font-size: 1.125rem;
    }

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

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

    .features-grid,
    .steps,
    .spec-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: 3rem 1rem;
    }

    .features,
    .how-it-works,
    .demo,
    .specifications {
        padding: 3rem 1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
