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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

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

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    font-weight: 300;
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 1rem 2rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Main Content */
main {
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

section:last-child {
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

h3 {
    font-size: 1.3rem;
    color: #4a5568;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.1rem;
    color: #4a5568;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

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

ul {
    margin: 1rem 0 1rem 2rem;
    color: #4a5568;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #764ba2;
}

/* Home Page Styles */
.home-content {
    padding: 2rem;
}

.intro {
    text-align: center;
    padding: 2rem 0;
}

.intro h2 {
    border-bottom: none;
    color: #667eea;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.card h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.card ul {
    margin: 1.5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
}

/* App Info Section */
.app-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.app-info h2 {
    text-align: center;
    border-bottom: none;
}

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

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.feature h4 {
    color: #667eea;
    margin-top: 0;
}

.feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Download Section */
.download {
    text-align: center;
    padding: 2rem 0;
}

.download h2 {
    border-bottom: none;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #000;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
    min-width: 180px;
}

.store-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: white;
}

.store-icon {
    font-size: 2rem;
}

.store-btn div {
    text-align: left;
}

.store-btn small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.store-btn strong {
    display: block;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0 2rem;
}

.contact h2 {
    border-bottom: none;
    margin-bottom: 1rem;
}

.contact-info, .contact-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p, .contact-box p {
    margin-bottom: 0.5rem;
}

.contact-info p:last-child, .contact-box p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #2d3748;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

footer p {
    color: white;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    main, .home-content {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 2rem 1rem;
    }

    header h1 {
        font-size: 1.75rem;
    }

    main, .home-content {
        padding: 1rem;
    }

    .card, .app-info, .contact {
        padding: 1.5rem;
    }

    .breadcrumb {
        padding: 0.75rem 1rem;
    }
}
