/* ウディこん助 紹介ページ CSS */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2rem;
    color: #2c3e50;
}

h2 {
    font-size: 1.8rem;
    color: #34495e;
}

h3 {
    font-size: 1.4rem;
    color: #2c3e50;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.logo h1 {
    margin: 0;
    color: white;
    font-size: 2.2rem;
}

.sub-title {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
}

.version-badge {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.tagline {
    font-size: 1.1rem;
    color: #f8f9fa;
    opacity: 0.95;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-icon {
    font-size: 1.2rem;
}

.coming-soon {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: 0.5rem;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #2c3e50;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 4rem 0;
    background: white;
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.screenshot-item h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.screenshot-item p {
    color: #666;
}

/* Download Section */
.download {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download .section-title {
    color: white;
    margin-bottom: 1.5rem;
}

.download-description {
    font-size: 1.1rem;
    color: #f8f9fa;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.download-button {
    display: flex;
    justify-content: center;
}

/* Installation Tabs */
.installation-tabs {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
}

.tab-btn {
    flex: 1;
    max-width: 200px;
    padding: 0.8rem 1.5rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.tab-content {
    display: none;
    text-align: left;
}

.tab-content.active {
    display: block;
}

/* Web Store Tab Content */
.webstore-content h3,
.manual-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.webstore-description,
.manual-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.webstore-button {
    text-align: center;
    margin-bottom: 2rem;
}

.webstore-steps {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    margin-top: 2rem;
}

.webstore-steps h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.webstore-steps ol {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.webstore-steps li {
    margin-bottom: 0.5rem;
}

/* Manual Tab Content */
.manual-content .download-button {
    text-align: center;
    margin-bottom: 2rem;
}

.manual-content .installation-guide {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.manual-content .installation-guide h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.manual-content .step {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.manual-content .step-content h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.manual-content .step-content p {
    color: white;
    opacity: 0.9;
}

.manual-content .prep-note {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 4px solid white;
}

/* Banner Section */
.banner {
    padding: 3rem 0;
    background: #f8f9fa;
    text-align: center;
}

.banner-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.banner-content p {
    color: #666;
    margin-bottom: 2rem;
}

.banner-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.banner-link:hover {
    transform: scale(1.05);
}

.banner-img {
    max-width: 468px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #5dade2;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contact-label {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.contact-icon {
    font-size: 1.1rem;
}

.x-icon {
    display: inline-block;
    background-color: #000000;
    color: white;
    border-radius: 4px;
    padding: 2px 4px;
    font-weight: bold;
    margin-right: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .version-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
        margin-left: 0.3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .banner-img {
        max-width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Browser Warning Styles */
.browser-warning {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    color: #856404;
    font-size: 0.9rem;
    text-align: center;
}

.btn-disabled {
    background: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.btn-disabled:hover {
    background: #6c757d !important;
    border-color: #6c757d !important;
    transform: none !important;
}

/* Installation Guide Styles */
.installation-guide {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.installation-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 1.5rem;
}

.installation-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.step-content p {
    margin: 0 0 1rem 0;
    color: #6c757d;
    line-height: 1.6;
    text-align: left;
}

.step-content p.prep-note {
    text-align: center !important;
}

.step-content code {
    background: #f1f3f4;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #2c3e50;
}

.prep-note {
    background: #e8f4f8;
    padding: 0.75rem 1rem;
    border-left: 4px solid #667eea;
    border-radius: 4px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 auto 1rem auto;
    max-width: 500px;
    text-align: center;
}

.install-steps-list {
    margin: 1rem auto;
    padding-left: 1.5rem;
    max-width: 500px;
    text-align: left;
}

.install-steps-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: white;
    opacity: 0.9;
}

.step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Installation Guide */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
        text-align: left;
    }
    
    .step-number {
        align-self: flex-start;
        margin-bottom: 1rem;
    }
    
    .installation-guide {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .installation-title {
        font-size: 1.3rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
}

/* Update History Section */
.update-history {
    background-color: #f8f9fa;
    padding: 4rem 0;
    border-top: 1px solid #e9ecef;
}

/* Specification Section */
.specification {
    background-color: #fafbfc;
    padding: 3rem 0;
    border-top: 1px solid #e9ecef;
}

.specification .section-title {
    font-size: 1.6rem;
    color: #6c757d;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.specification-content {
    max-width: 800px;
    margin: 0 auto;
}

.spec-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-left: 3px solid #dee2e6;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-item p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.spec-item h4 {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.spec-item ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.spec-item li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
    color: #6c757d;
    font-size: 0.9rem;
}

.spec-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #adb5bd;
}

.update-list {
    max-width: 800px;
    margin: 0 auto;
}

.update-item {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
}

.update-item:last-child {
    margin-bottom: 0;
}

.update-version {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.update-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.update-content h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.update-content ul {
    list-style: none;
    padding-left: 0;
}

.update-content li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.update-content li:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.update-content strong {
    color: #2c3e50;
}

/* Mobile Responsive for Update History */
@media (max-width: 768px) {
    .update-history {
        padding: 2rem 0;
    }
    
    .update-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .update-version {
        font-size: 1.3rem;
    }
    
    .update-content h4 {
        font-size: 1rem;
    }
    
    .specification {
        padding: 2rem 0;
    }
    
    .specification .section-title {
        font-size: 1.4rem;
    }
    
    .spec-item {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .spec-item p {
        font-size: 0.9rem;
    }
    
    .spec-item li {
        font-size: 0.85rem;
    }
}