/* Shared styles for sub-pages */

.page-content {
    min-height: calc(100vh - 200px);
    padding: 8rem 2rem 4rem;
    background: linear-gradient(to bottom, #FFFFFF 0%, #FAFAFA 100%);
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    text-align: center;
}

.page-updated {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 3rem;
}

/* FAQ Accordion Styles */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
}

.faq-item {
    border-bottom: 1px solid #E5E5E5;
}

.faq-item:first-child {
    border-top: 1px solid #E5E5E5;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-question span {
    font-size: 17px;
    font-weight: 500;
    color: #000;
    padding-right: 1rem;
}

.faq-question:hover span {
    color: #333;
}

.faq-icon {
    flex-shrink: 0;
    color: #000;
    transition: transform 0.3s ease;
}

.faq-icon line:first-child {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.faq-item.active .faq-icon line:first-child {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-content {
    overflow: hidden;
}

.faq-answer-content p,
.faq-answer-content ul {
    padding-bottom: 1.5rem;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.faq-answer-content a {
    color: #000;
    text-decoration: underline;
}

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

.faq-answer-content ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
}

.faq-answer-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
}

/* Changelog Styles */
.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.changelog-item {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #E5E5E5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.changelog-version {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.changelog-date {
    font-size: 14px;
    color: #666;
}

.changelog-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.changelog-badge.new {
    background: #E8F5E9;
    color: #2E7D32;
}

.changelog-badge.fix {
    background: #FFF3E0;
    color: #E65100;
}

.changelog-badge.improvement {
    background: #E3F2FD;
    color: #1565C0;
}

.changelog-changes {
    list-style: none;
    padding: 0;
}

.changelog-changes li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.changelog-changes li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* Support Styles */
.support-content {
    margin-top: 2rem;
}

.support-intro {
    text-align: center;
    font-size: 18px;
    color: #444;
    margin-bottom: 3rem;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.support-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #E5E5E5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.support-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.support-icon {
    margin-bottom: 1.25rem;
    color: #000;
}

.support-icon svg {
    width: 40px;
    height: 40px;
}

.support-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.support-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.support-link {
    display: inline-block;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #000;
    transition: opacity 0.2s ease;
}

.support-link:hover {
    opacity: 0.7;
}

/* Legal Styles (Privacy & Terms) */
.legal-content {
    margin-top: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.legal-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
}

.legal-section a {
    color: #000;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
    .page-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .page-content {
        padding: 6rem 2rem 3rem;
    }
}

/* Coming soon page */
.coming-soon-body {
    background: #000;
    color: #fff;
}

.coming-soon {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
}

.coming-soon-content {
    width: 100%;
    max-width: 720px;
    text-align: center;
}

.coming-soon-logo {
    width: 72px;
    height: 72px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 10px;
    margin: 0 auto 1.5rem;
    display: block;
}

.coming-soon-title {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.coming-soon-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.coming-soon-note {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-weight: 600;
}

.coming-soon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.coming-soon-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
    .coming-soon-title {
        font-size: 42px;
    }
}
