/* Shared styles for Daychat content pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: white;
    color: #1a1a1a;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.page-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0 2rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 2.5rem;
}

.page-header a {
    text-decoration: none;
    color: inherit;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-logo img {
    width: 32px;
    height: 32px;
}

.header-logo span {
    font-weight: 600;
    font-size: 1.1rem;
}

.header-nav {
    display: flex;
    gap: 1.5rem;
}

.header-nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: #000;
}

/* Page content */
.page-content {
    flex: 1;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.page-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 2rem;
}

/* Article styles */
h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

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

ul, ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #333;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    font-weight: 600;
}

a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    color: #444;
}

/* FAQ styles */
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #000;
}

.faq-answer {
    color: #444;
    line-height: 1.7;
}

.faq-answer p {
    color: #444;
}

/* CTA section */
.cta-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 12px;
    text-align: center;
}

.cta-section h2 {
    margin-top: 0;
}

.cta-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
}

.cta-button img {
    width: 160px;
    height: auto;
    transition: transform 0.2s ease;
}

.cta-button img:hover {
    transform: scale(1.05);
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.comparison-table th {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 2px solid #000;
    font-weight: 600;
}

.comparison-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
    color: #333;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check {
    color: #22c55e;
}

.cross {
    color: #999;
}

/* Blog list */
.blog-list {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.blog-list li {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.blog-list li:first-child {
    padding-top: 0;
}

.blog-list a {
    text-decoration: none;
}

.blog-list-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
}

.blog-list-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.blog-list-date {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.25rem;
}

/* Footer */
.page-footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 3rem;
}

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

.page-footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.page-footer-links a:hover {
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .page-container {
        padding: 1rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-nav {
        gap: 1rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }

    .page-footer-links {
        gap: 1rem;
    }
}
