/* Chrome拡張機能ページのスタイル - 買取価格アンテナV2風デザイン */

/* 動画・画像デモ用スタイル */
.feature-demo, .site-demo {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.feature-demo h3, .site-demo h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-demo p, .site-demo p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.demo-image, .demo-video {
    text-align: center;
    margin-top: 15px;
}

.demo-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.demo-video video {
    max-width: 800px;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* ヒーローセクション */
.hero-section {
    text-align: center;
    padding: 40px 0;
    color: #333;
    margin: 0 0 30px 0;
}

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

.hero-logo {
    margin-bottom: 15px;
}

.hero-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: white;
    padding: 6px;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

.hero-description {
    font-size: 1rem;
    margin: 20px auto 25px;
    max-width: 700px;
    line-height: 1.5;
    color: #555;
}

.install-button-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.install-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.install-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.5);
    color: white;
    text-decoration: none;
}

.demo-button {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    color: #333;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.demo-button:hover {
    background: #e9ecef;
    transform: translateY(-3px);
    color: #333;
    text-decoration: none;
    border-color: #d6d9dc;
}

.install-button i,
.demo-button i {
    margin-right: 8px;
    font-size: 1rem;
}

/* セクション共通スタイル */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #065f46;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-icon {
    width: 35px;
    height: 35px;
    background: #10b981;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

/* 機能紹介セクション */
.features-section {
    padding: 40px 0;
}

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

.feature-card {
    background: rgba(16, 185, 129, 0.05);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-weight: 700;
    color: #065f46;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-description {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 対応サイトセクション */
.supported-sites-section {
    padding: 40px 0;
}

.supported-sites-section p {
    text-align: center;
    font-size: 1rem;
    color: #374151;
    margin-bottom: 20px;
}

.site-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 100%;
    margin: 0 auto;
}

.site-badge {
    background: #10b981;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.site-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.4);
}

/* 使い方セクション */
.how-to-use-section {
    padding: 40px 0;
}

.steps-container {
    max-width: 700px;
    margin: 0 auto;
    counter-reset: step-counter;
}

.step {
    counter-increment: step-counter;
    background: rgba(16, 185, 129, 0.05);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    position: relative;
    padding-left: 65px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background: #10b981;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.step-content h3 {
    font-weight: 700;
    color: #065f46;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-content p {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ヒントセクション */
.hint-section {
    padding: 30px 0;
}

.highlight-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.1);
}

.highlight-title {
    color: #92400e;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-text {
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* CTAセクション */
.cta-section {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    margin: 40px -20px 0 -20px;
    border-radius: 16px 16px 0 0;
    position: relative;
    overflow: hidden;
}

.cta-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 100 20"><defs><pattern id="grid2" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="20" fill="url(%23grid2)"/></svg>');
    opacity: 0.3;
}

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

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-weight: 700;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    color: white;
    text-decoration: none;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.cta-button i {
    margin-right: 8px;
    font-size: 1rem;
}

/* 注意事項セクション */
.notice-section {
    padding: 40px 0;
}

.notice-section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #065f46;
    font-weight: 700;
}

.notice-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.notice-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-content li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    position: relative;
    padding-left: 25px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.notice-content li:last-child {
    border-bottom: none;
}

.notice-content li:before {
    content: "•";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 1rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .chrome-extension-container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-image {
        width: 60px;
        height: 60px;
    }
    
    .install-button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .install-button,
    .demo-button {
        width: 100%;
        max-width: 350px;
        justify-content: center;
        padding: 16px 30px;
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .step {
        padding: 25px;
        padding-left: 70px;
    }
    
    .step::before {
        left: 20px;
        top: 25px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 0;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .site-badges {
        flex-direction: column;
        gap: 10px;
        max-width: 280px;
        align-items: center;
    }
    
    .site-badge {
        font-size: 0.9rem;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
        margin: 0 0 40px 0;
    }
    
    .cta-section {
        margin: 40px -15px 0 -15px;
        padding: 40px 20px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.2rem;
    }
    
    .install-button,
    .demo-button,
    .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
        max-width: 280px;
        width: 100%;
    }
    
    .feature-card,
    .step {
        padding: 20px;
    }
    
    .step {
        padding-left: 60px;
    }
    
    .step::before {
        left: 15px;
        top: 20px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}