/* Info Pages Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #fafbfb;
    --bg-secondary: #f3f7f6;
    --bg-card: #ffffff;
    --text-primary: #1a2e2a;
    --text-secondary: #5a6b68;
    --text-tertiary: #8a9996;
    --border-color: #d8e5e2;
    --accent-color: #10a37f;
    --shadow-sm: 0 1px 3px rgba(16, 163, 127, 0.08);
    --shadow-md: 0 4px 6px rgba(16, 163, 127, 0.1);
    --shadow-lg: 0 10px 25px rgba(16, 163, 127, 0.12);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a1f1e;
        --bg-secondary: #141817;
        --bg-card: #1f2625;
        --text-primary: #e8f0ee;
        --text-secondary: #9fb5af;
        --text-tertiary: #6a7975;
        --border-color: #2a3633;
        --accent-color: #10a37f;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

.back-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-logo {
    width: 32px;
    height: 32px;
}

.logo-section h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Main Content */
.info-content {
    padding-bottom: 60px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.info-section {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.info-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.info-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-section p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-section ul li {
    padding: 8px 0;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.info-section ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--accent-color);
}

/* Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.model-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.model-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

.model-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.model-card ul {
    list-style: none;
    padding: 0;
}

.model-card ul li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 0;
}

.model-card ul li::before {
    display: none;
}

.model-card ul li strong {
    color: var(--text-primary);
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0 !important;
    line-height: 1.6;
}

.features-list li::before {
    display: none;
}

.features-list li i {
    color: var(--accent-color);
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1.6;
    margin-top: 0.05em;
}

/* Guidelines List */
.guidelines-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.guidelines-list li:last-child {
    border-bottom: none;
}

/* Feature Note */
.feature-note {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-note i {
    color: var(--accent-color);
    font-size: 20px;
}

.feature-note p {
    margin: 0;
    color: var(--text-secondary);
}

/* Warning Box */
.warning-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.warning-box i {
    color: var(--accent-color);
    font-size: 20px;
    flex-shrink: 0;
}

.warning-box p {
    margin-bottom: 10px;
}

.warning-box ul {
    margin-top: 10px;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none !important;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none !important;
}

.social-link i {
    font-size: 18px;
}

.social-link:hover i {
    color: white;
}

/* Legal Links */
.legal-links {
    background: var(--bg-secondary);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.legal-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none !important;
    color: var(--text-primary);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.legal-link:hover {
    background: var(--bg-primary);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none !important;
}

.legal-link i {
    font-size: 20px;
    color: var(--accent-color);
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Footer */
.info-footer {
    text-align: center;
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.info-footer p {
    color: var(--text-tertiary);
    font-size: 14px;
    margin: 5px 0;
}

/* Responsive Design */
/* Credit System Styles */
.section-subtitle {
    color: var(--text-tertiary);
    margin-bottom: 30px;
    text-align: center;
}

.credit-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.credit-tier-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-badge.free {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.tier-badge.budget {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.tier-badge.mid {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.tier-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.tier-title {
    margin: 15px 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.tier-multiplier {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

.tier-description {
    color: var(--text-tertiary);
    font-size: 14px;
    margin: 0;
}

/* Model Access Styles */
.model-access-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.model-access-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.model-access-card.starter-plan {
    border-color: #22c55e;
}

.model-access-card.pro-plan {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(139, 92, 246, 0.02));
}

.access-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
}

.model-count {
    margin-left: auto;
    padding: 6px 12px;
    background: var(--bg-hover);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.model-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

.model-category {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 10px;
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.model-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.model-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.model-list li:last-child {
    border-bottom: none;
}

.premium-list li {
    color: var(--text-primary);
    font-weight: 500;
}

.premium-list li .fa-star {
    color: #f59e0b;
    margin-right: 8px;
}

.access-warning {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.access-warning i {
    margin-right: 8px;
}

.access-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.access-success i {
    margin-right: 8px;
}

.access-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .info-container {
        padding: 15px;
    }
    
    .info-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .info-section {
        padding: 20px;
    }
    
    .info-section h2 {
        font-size: 20px;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
}