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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7fafc;
    line-height: 1.5;
    min-height: 100vh;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* padding: 1rem; */
    /* scale origin top center */
}

.container {
    scale: 0.9;
    transform-origin: top center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 1em;
}

.logo {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1a202c;
}

.setup-section {
    background-color: #ebf8ff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.setup-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

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

.step {
    background-color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.step-image {
    /* width: 100%; */
    height: 50px;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Make it responsive */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        width: 100%;
        max-width: 300px;
    }
}

.steps {
    background: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.step {
    background-color: #f7fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.support-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.support-section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.donation-container {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    padding-top: 1rem;
    /* border: 2px solid #4299e1; */
    background: linear-gradient(to bottom, #f4fff9, #fcfffd, #fff);

}

.tutorial-section {
    margin-bottom: 1.5rem;
    background-color: #ebf8ff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.tutorial-section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.video-container {
    aspect-ratio: 16/9;
    width: 100%;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    border: none;
}

.get-started {
    text-align: center;
}

.button {
    background-color: #4299e1;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #3182ce;
}

.text-gray {
    color: #4a5568;
    font-size: 0.875rem;
}

.heart-icon {
    color: #e53e3e;
}

.whats-new-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.7rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    /* Add these new styles */
    /* border: 2px solid #4299e1; */
    background: linear-gradient(to bottom, #f0f8ff, #fff);
}
.whats-new-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.markdown-content {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Markdown content styles */
.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #2c3e50;
}

.markdown-content h1:first-child,
.markdown-content h2:first-child,
.markdown-content h3:first-child {
    margin-top: 0;
}

.markdown-content p {
    margin-bottom: 1em;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.markdown-content li {
    margin-bottom: 0.5em;
}

.markdown-content code {
    background: #f5f7f9;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: monospace;
}

.markdown-content pre {
    background: #f5f7f9;
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1em;
}

.markdown-content blockquote {
    border-left: 4px solid #3182ce;
    padding-left: 1em;
    margin-left: 0;
    margin-bottom: 1em;
    color: #4a5568;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1em 0;
}

.markdown-content a {
    color: #3182ce;
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}


@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }

    .steps {
        flex-direction: column;
        align-items: flex-start;
    }
}

.social-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.social-section h2 {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #4a5568;
    transition: transform 0.2s ease;
    padding: 1rem;
    border-radius: 8px;
    min-width: 100px;
}

.social-link:hover {
    transform: translateY(-3px);
    background: #f7fafc;
}

.social-link img {
    width: 24px;
    height: 24px;
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 640px) {
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        min-width: 80px;
        padding: 0.75rem;
    }
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group > label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    resize: vertical;
}

.radio-group {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: 0.7rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    accent-color: #4299e1;
    width: 1rem;
    height: 1rem;
}

#feedbackForm .button {
    margin-top: 0rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.safari-announcement {
    position: sticky;
    bottom: 20px;
    scale: 0.85;
    transform-origin: bottom right;
    right: 20px;
    background-color: #f0f8ff;
    border-radius: 15px;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    max-width: 300px;
    width:max-content;
    margin-left:auto;
    opacity: 0;
    animation: slideIn 0.5s ease-out 0.5s forwards;
}

.safari-announcement p {
    text-align: center;
    font-size: 1rem;
    margin: 0;
}

.safari-announcement .button {
    background-color: #4299e1;
    color: white;
    padding: 5px 12px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.8rem;
}