:root {
    --primary-color: #000000;
    --secondary-color: #4a4a4a;
    --accent-color: #4461F2;
    --background-color: #ffffff;
    --border-radius: 12px;
    --gradient-start: #F5F3FF;
    --gradient-end: #EEF2FF;
}

@-webkit-keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@-moz-keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@-o-keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@-webkit-keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@-moz-keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #EEF2FF;
    background-image: -webkit-linear-gradient(-45deg, #EEF2FF, #F5F3FF, #EEF2FF, #F0F7FF);
    background-image: -moz-linear-gradient(-45deg, #EEF2FF, #F5F3FF, #EEF2FF, #F0F7FF);
    background-image: -o-linear-gradient(-45deg, #EEF2FF, #F5F3FF, #EEF2FF, #F0F7FF);
    background-image: linear-gradient(-45deg, #EEF2FF, #F5F3FF, #EEF2FF, #F0F7FF);
    background-size: 400% 400%;
    -webkit-animation: gradientBG 15s ease infinite;
    -moz-animation: gradientBG 15s ease infinite;
    -o-animation: gradientBG 15s ease infinite;
    animation: gradientBG 15s ease infinite;
    color: var(--primary-color);
    line-height: 1.6;
    min-height: 100vh;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.container {
    max-width: 1150px;
    width: 100%;
    margin: auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 32px;
    padding: 0;
}

h1 {
    font-size: 2.3rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
    background-color: #000000;
    background-image: -webkit-linear-gradient(-45deg, #000000, #1a1a1a, #333333, #000000);
    background-image: -moz-linear-gradient(-45deg, #000000, #1a1a1a, #333333, #000000);
    background-image: -o-linear-gradient(-45deg, #000000, #1a1a1a, #333333, #000000);
    background-image: linear-gradient(-45deg, #000000, #1a1a1a, #333333, #000000);
    background-size: 300% 300%;
    -webkit-animation: textGradient 10s ease infinite;
    -moz-animation: textGradient 10s ease infinite;
    -o-animation: textGradient 10s ease infinite;
    animation: textGradient 10s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    color: #000000;
    letter-spacing: -0.02em;
    text-align: center;
}

.subtitle {
    font-size: 1rem;
    color: #8f8f8f;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    line-height: 1.4;
    text-align: center;
}

/* Tablet styles */
@media screen and (max-width: 768px) {
    body {
        height: auto;
        min-height: 100vh;
        padding: 40px 0;
    }
    
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .subtitle {
        font-size: 0.9rem;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Mobile styles */
@media screen and (max-width: 480px) {
    body {
        padding: 20px 0;
    }
    
    .container {
        padding: 16px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .subtitle {
        font-size: 0.85rem;
        max-width: 100%;
        padding: 0px;
        margin: 0 auto;
    }
}

.chat-container {
    margin: 0 auto 24px;
    background-color: #ffffff;
    background-image: -webkit-linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-image: -moz-linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-image: -o-linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-image: linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-size: 400% 400%;
    -webkit-animation: gradientBG 12s ease infinite;
    -moz-animation: gradientBG 12s ease infinite;
    -o-animation: gradientBG 12s ease infinite;
    animation: gradientBG 12s ease infinite;
    border-radius: var(--border-radius);
    -webkit-border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    -webkit-box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    background: #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.chat-avatar span {
    font-size: 16px;
}

.chat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.chat-status {
    font-size: 0.85rem;
    color: #6b7280;
}

.input-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.paste-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
    background: linear-gradient(145deg, #f8faff, #f3f4f6);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.paste-button:hover {
    background: linear-gradient(145deg, #f3f4f6, #e9ecef);
    transform: translateY(0);
}

.paste-button svg {
    color: #6b7280;
    flex-shrink: 0;
}

input[type="text"] {
    flex-grow: 1;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #374151;
    background: linear-gradient(145deg, #f9fafb, #ffffff);
}

input[type="text"]::placeholder {
    color: #9ca3af;
}

input[type="text"]:focus {
    outline: none;
    border-color: #e5e7eb;
    background: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.submit-button {
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    background-color: #4F46E5;
    background-image: -webkit-linear-gradient(-45deg, #4F46E5, #4338CA, #3730A3, #4F46E5);
    background-image: -moz-linear-gradient(-45deg, #4F46E5, #4338CA, #3730A3, #4F46E5);
    background-image: -o-linear-gradient(-45deg, #4F46E5, #4338CA, #3730A3, #4F46E5);
    background-image: linear-gradient(-45deg, #4F46E5, #4338CA, #3730A3, #4F46E5);
    background-size: 300% 300%;
    -webkit-animation: gradientBG 8s ease infinite;
    -moz-animation: gradientBG 8s ease infinite;
    -o-animation: gradientBG 8s ease infinite;
    animation: gradientBG 8s ease infinite;
    border: none;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.submit-button:hover {
    background: linear-gradient(-45deg, #4338CA, #3730A3, #312E81, #4338CA);
    background-size: 300% 300%;
    transform: translateY(0);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.2);
}

#result {
    margin: 24px auto;
    padding: 16px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 24px -6px rgba(0, 0, 0, 0.08);
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

#result:not(:empty) {
    display: block;
}

.result-content {
    position: relative;
}

#result img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    object-fit: cover;
}

.download-options {
    margin-top: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.download-options-header {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 8px;
    padding: 0 4px;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.size-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(145deg, #f8faff, #f3f4f6);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
    color: inherit;
    text-decoration: none;
    margin-bottom: 8px;
}

.size-option-card:hover {
    background: linear-gradient(145deg, #f3f4f6, #e9ecef);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.1);
}

.size-option-card.recommended {
    background: linear-gradient(145deg, #f0f7ff, #e6f0ff);
    border-color: #d1e0ff;
}

.size-option-card button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.size-option-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.recommended-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 6px;
    color: #4F46E5;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.recommended-badge svg {
    color: #4F46E5;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.size-option-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
}

.size-option-resolution {
    color: #6B7280;
    font-size: 0.85rem;
}

.footer-content,
.copyright,
.footer-links,
.footer-links a,
.separator {
    display: none;
}

footer {
    text-align: center;
    padding: 5px 0;
    margin-top: 0px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-separator {
    color: var(--text-secondary);
    font-size: 14px;
    opacity: 0.5;
}

@media (max-width: 640px) {
    footer {
        padding: 20px 0;
        margin-top: 40px;
        gap: 8px;
    }
}

.thumbnail-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px;
    padding: 4px 4px 6px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    -ms-scroll-behavior: smooth;
    scrollbar-width: thin;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-color: #E5E7EB transparent;
    margin: 0 -8px;
}

.thumbnail-item {
    width: 100%;
    aspect-ratio: 16/9;
}

.thumbnail-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #f9fafb;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.thumbnail-container:hover .preview-image {
    transform: scale(1.05);
}

.download-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(145deg, #f8faff, #f3f4f6);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.download-button:hover {
    background: linear-gradient(145deg, #f3f4f6, #e9ecef);
    transform: translateY(0);
}

.download-button svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.size-dropdown {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
    min-width: 240px;
}

.size-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.size-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.2s ease;
    background: white;
}

.size-option:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.size-option:hover {
    background: linear-gradient(-45deg, #f5f7ff, #f0f5ff);
}

.size-option:first-child {
    border-radius: 8px 8px 0 0;
}

.size-option:last-child {
    border-radius: 0 0 8px 8px;
}

.size-name {
    font-weight: 500;
}

.size-resolution {
    font-size: 0.85rem;
    color: #6b7280;
    margin-left: 12px;
}

.faq-section {
    margin: 60px auto;
    max-width: 800px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 40px;
    padding-bottom: 26px;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #3F3F46;
}

.faq-answer strong {
    color: #111827;
    font-weight: 600;
}

@media screen and (max-width: 640px) {
    .input-group {
        flex-direction: column;
        gap: 8px;
    }

    .submit-button {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    input[type="text"] {
        font-size: 0.9rem;
        padding: 10px 14px;
    }

    .recommended-badge {
        padding: 3px 6px;
        font-size: 0.75rem;
    }

    .recommended-badge svg {
        width: 12px;
        height: 12px;
    }

    .size-option-card {
        padding: 10px;
    }

    .size-option-name {
        font-size: 0.9rem;
    }

    .size-option-resolution {
        font-size: 0.8rem;
    }
}

/* Remove all navbar related styles */
.navbar,
.nav-container,
.nav-brand,
.nav-links,
.nav-link,
.nav-link::after {
    display: none;
}

.faq-container {
    background: -webkit-linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background: linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.faq-item {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0 12px;
}

.faq-item p {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 16px;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-item ul, .faq-item ol {
    margin: 0 0 16px 20px;
    color: var(--secondary-color);
}

.faq-item ul:last-child, .faq-item ol:last-child {
    margin-bottom: 0;
}

.faq-item li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.faq-item li:last-child {
    margin-bottom: 0;
}

.back-button {
    margin-top: 32px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #3730A3;
    text-decoration: underline;
}

/* Responsive styles for FAQ page */
@media screen and (max-width: 768px) {
    .faq-container {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .faq-item {
        padding: 16px;
        margin-bottom: 24px;
    }

    .faq-item h2 {
        font-size: 1.1rem;
    }

    .faq-item p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .faq-container {
        padding: 1rem;
        margin: 1rem 0;
    }

    .faq-item {
        padding: 12px;
        margin-bottom: 16px;
    }

    .faq-item h2 {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    .nav-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.instant-download-section {
    margin: 40px 0;
    padding: 16px;
    background: linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    border-radius: 12px;
    box-shadow: 0 4px 24px -6px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.section-title {
    font-size: 14.4px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 12px;
    background: linear-gradient(-45deg, #000000, #1a1a1a, #333333, #000000);
    background-size: 300% 300%;
    animation: textGradient 10s ease infinite;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.thumbnail-grid::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-grid::-webkit-scrollbar-track {
    background: transparent;
}

.thumbnail-grid::-webkit-scrollbar-thumb {
    background-color: #E5E7EB;
    border-radius: 20px;
    border: 2px solid transparent;
}

.thumbnail-container:hover .download-button {
    background: linear-gradient(145deg, #f3f4f6, #e9ecef);
    transform: translateY(0);
}

.thumbnail-container:hover .download-button svg {
    color: #6b7280;
}

@media screen and (max-width: 1024px) {
    .thumbnail-grid {
        display: flex;
        gap: 12px;
        padding: 4px 4px 5px;
        overflow-x: auto;
        grid-template-columns: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .thumbnail-item {
        flex: 0 0 280px;
        width: 280px;
        scroll-snap-align: start;
    }
}

@media screen and (max-width: 640px) {
    .instant-download-section {
        padding: 12px;
        margin: 24px 0;
    }

    .section-title {
        font-size: 9px;
        margin-bottom: 4px;
    }

    .thumbnail-grid {
        gap: 8px;
        padding: 4px 4px 8px;
    }

    .thumbnail-item {
        flex: 0 0 160px;
        width: 160px;
    }

    .thumbnail-container {
        aspect-ratio: 16 / 9;
    }

    .download-button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .download-button svg {
        width: 14px;
        height: 14px;
    }
}

/* Remove all stat-related styles */
.stats,
.stat-item,
.stat-icon,
.stat-content,
.stat-header,
.stat-title,
.stat-arrow,
.stat-description,
.stat-content-expanded,
.feature-list,
.feature-item {
    display: none;
}

.error-message {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.error-message:empty {
    display: none;
}

.credit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.credit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.credit-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.1);
    border-color: rgba(79, 70, 229, 0.2);
}

.credit-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f8faff, #f3f4f6);
    border-radius: 8px;
    color: #4F46E5;
}

.credit-icon svg {
    width: 18px;
    height: 18px;
}

.credit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.credit-title {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
}

.credit-description {
    color: #6B7280;
    font-size: 0.85rem;
    line-height: 1.4;
}

.credit-link {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.credit-link:hover {
    color: #4338CA;
    text-decoration: underline;
}

@media screen and (max-width: 640px) {
    .credit-list {
        gap: 8px;
        margin: 16px 0;
    }

    .credit-item {
        padding: 10px 14px;
    }

    .credit-icon {
        width: 28px;
        height: 28px;
    }

    .credit-icon svg {
        width: 16px;
        height: 16px;
    }

    .credit-title {
        font-size: 0.9rem;
    }

    .credit-description {
        font-size: 0.8rem;
    }

    .credit-link {
        font-size: 0.8rem;
    }
}

/* Add support for older browsers */
@supports not (display: grid) {
    .thumbnail-grid {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .thumbnail-item {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 calc(33.333% - 12px);
        -moz-box-flex: 0;
        -ms-flex: 0 0 calc(33.333% - 12px);
        flex: 0 0 calc(33.333% - 12px);
        margin: 6px;
    }
}

/* Fix for Safari */
@supports (-webkit-touch-callout: none) {
    .thumbnail-grid {
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        min-height: -webkit-fill-available;
    }
}

/* Fix for Firefox */
@-moz-document url-prefix() {
    .thumbnail-grid {
        scrollbar-width: thin;
        scrollbar-color: #E5E7EB transparent;
    }
}

/* Fix for Edge */
@supports (-ms-ime-align: auto) {
    .thumbnail-grid {
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
}

/* Fallback for browsers that don't support CSS variables */
@supports not (--custom: property) {
    :root {
        --primary-color: #000000;
        --secondary-color: #4a4a4a;
        --accent-color: #4461F2;
        --background-color: #ffffff;
        --border-radius: 12px;
        --gradient-start: #F5F3FF;
        --gradient-end: #EEF2FF;
    }
}

/* Fix for older versions of IE */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .thumbnail-grid {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .thumbnail-item {
        -ms-flex: 0 0 calc(33.333% - 12px);
        flex: 0 0 calc(33.333% - 12px);
        margin: 6px;
    }
}

.content-section {
    padding: 24px;
    color: var(--primary-color);
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 24px 0 16px;
    color: var(--primary-color);
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    margin-bottom: 16px;
    line-height: 1.6;
    color: var(--secondary-color);
}

.content-section ul, .content-section ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--secondary-color);
}

.content-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links {
    text-align: center;
    margin-top: 32px;
}

@media screen and (max-width: 768px) {
    .content-section {
        padding: 16px;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
        margin: 20px 0 14px;
    }
}

@media screen and (max-width: 480px) {
    .content-section h2 {
        font-size: 1.2rem;
        margin: 16px 0 12px;
    }
    
    .content-section p, .content-section li {
        font-size: 0.95rem;
    }
}

.features-section {
    margin: 60px auto 32px;
    text-align: left;
    padding: 0px;
}

.features-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1.2;
    text-align: left;
}

.features-subtitle {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 19px;
    text-align: left;
    max-width: 600px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.feature-card {
    background-color: #ffffff;
    background-image: -webkit-linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-image: -moz-linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-image: -o-linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-image: linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-size: 400% 400%;
    -webkit-animation: gradientBG 12s ease infinite;
    -moz-animation: gradientBG 12s ease infinite;
    -o-animation: gradientBG 12s ease infinite;
    animation: gradientBG 12s ease infinite;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-stat {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.feature-description {
    font-size: 0.813rem;
    color: #6B7280;
    line-height: 1.4;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin: 0 0 24px 0;
    max-width: 100%;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background-color: #ffffff;
    background-image: -webkit-linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-image: -moz-linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-image: -o-linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-image: linear-gradient(-45deg, #ffffff, #f8faff, #f5f7ff, #ffffff);
    background-size: 400% 400%;
    -webkit-animation: gradientBG 12s ease infinite;
    -moz-animation: gradientBG 12s ease infinite;
    -o-animation: gradientBG 12s ease infinite;
    animation: gradientBG 12s ease infinite;
    border-radius: 6px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    color: #4B5563;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-tag svg {
    color: #6B7280;
    width: 12px;
    height: 12px;
}

@media screen and (max-width: 768px) {
    .features-title {
        font-size: 1.35rem;
    }
    
    .features-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .features-grid {
        gap: 12px;
    }
    
    .feature-card {
        padding: 12px;
    }
    
    .feature-stat {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 480px) {
    .features-section {
        margin: 32px auto 20px;
        padding: 0 12px;
    }
    
    .features-title {
        font-size: 1.25rem;
    }
    
    .features-subtitle {
        font-size: 0.875rem;
        margin-bottom: 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .feature-card {
        padding: 10px;
        border-radius: 8px;
        background-size: 200% 200%;
    }
    
    .feature-stat {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .feature-description {
        font-size: 0.688rem;
        line-height: 1.3;
    }
    
    .features-list {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .feature-tag {
        padding: 3px 8px;
        font-size: 0.688rem;
        gap: 3px;
        background-size: 200% 200%;
    }
    
    .feature-tag svg {
        width: 10px;
        height: 10px;
    }
}

.page-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.page-link {
    color: #6B7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.page-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-link-separator {
    color: #D1D5DB;
    font-size: 0.875rem;
}

.right-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media screen and (max-width: 768px) {
    .page-links {
        gap: 10px;
        margin-top: 20px;
        padding-top: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .right-links {
        gap: 10px;
    }
    
    .page-link {
        font-size: 0.813rem;
    }
    
    .page-link-separator {
        font-size: 0.813rem;
    }
}

@media screen and (max-width: 480px) {
    .page-links {
        gap: 8px;
        margin-top: 16px;
        padding-top: 16px;
    }
    
    .right-links {
        gap: 8px;
    }
    
    .page-link {
        font-size: 0.75rem;
    }
    
    .page-link-separator {
        font-size: 0.75rem;
    }
} 