/* 自動食記 (Jidoshokki) Privacy Policy & Landing 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: #fff;
}

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

.app-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: block;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.screenshot-container {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.app-screenshot {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.screenshot-description {
    width: 100%;
}

.screenshot-description h3 {
    color: #829882;
    margin-bottom: 15px;
    text-align: center;
}

.screenshot-description ul {
    padding-left: 20px;
}

.screenshot-description li {
    margin-bottom: 10px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .screenshot-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .app-screenshot {
        margin-right: 30px;
        margin-bottom: 0;
    }
    .screenshot-description {
        flex: 1;
    }
}

/* Header */
.header {
    background: linear-gradient(135deg, #9CB09C 0%, #829882 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

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

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Language Toggle */
.language-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.language-toggle button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-toggle button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-toggle button.active {
    background: white;
    color: #829882;
    border-color: white;
}

/* Navigation */
.navigation {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

.nav-links a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: #e9ecef;
    color: #829882;
}

.nav-links a.active {
    background: #829882;
    color: white;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
    min-height: 60vh;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: #495057;
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid #829882;
    padding-bottom: 0.5rem;
}

.content-section h3 {
    color: #6c757d;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.content-section h4 {
    color: #6c757d;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
}

.content-section p {
    margin-bottom: 1rem;
}

.content-section ul, .content-section ol {
    margin: 1rem 0 1rem 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #829882;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #829882;
    margin-bottom: 1rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.feature-card.plus {
    border-left-color: #c8a96a;
    background: linear-gradient(135deg, #fbf8f1 0%, #f5efe0 100%);
}

.feature-card.plus h3 {
    color: #8a6f3a;
}

.plus-badge {
    display: inline-block;
    padding: 2px 10px;
    background: linear-gradient(135deg, #d8b878 0%, #b9954a 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: 0.5px;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.plus-badge-inline {
    display: inline-block;
    padding: 1px 8px;
    background: linear-gradient(135deg, #d8b878 0%, #b9954a 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: 0.4px;
    vertical-align: middle;
    margin-left: 0.3rem;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #829882;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #6F836F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(130, 152, 130, 0.3);
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.link-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.link-card:hover {
    border-color: #829882;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.link-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    margin-top: 0;
}

.link-card a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.link-card a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #343a40;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #e5e7eb;
    text-decoration: none;
}

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

/* Terms / Privacy Content */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-content h2 {
    color: #495057;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #829882;
    padding-bottom: 0.5rem;
}

.terms-content h3 {
    color: #6c757d;
    font-size: 1.4rem;
    margin: 1.5rem 0 0.5rem 0;
}

.terms-content strong {
    color: #495057;
}

.terms-content code {
    background: #f1f3f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 { font-size: 2rem; }
    .header p { font-size: 1rem; }
    .language-toggle {
        position: static;
        justify-content: center;
        margin-bottom: 1rem;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .features-grid { grid-template-columns: 1fr; }
    .links-grid { grid-template-columns: 1fr; }
    .container { padding: 0 15px; }
    .main-content { padding: 2rem 0; }
    .content-section h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .header { padding: 1.5rem 0; }
    .header h1 { font-size: 1.8rem; }
    .feature-card { padding: 1.5rem; }
    .link-card { padding: 1rem; }
}

@media print {
    .header, .navigation, .footer, .language-toggle { display: none; }
    .main-content { padding: 0; }
    body { font-size: 12pt; line-height: 1.4; }
    .content-section h2 { page-break-after: avoid; }
}
