:root {
    --primary-color: #4a90e2;
    --secondary-color: #f39c12;
    --success-color: #2ecc71;
    --background-color: #f8f9fa;
    --border-radius: 15px;
}

body {
    background-color: var(--background-color);
    font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
}

.upload-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.upload-container:hover {
    transform: translateY(-5px);
}

.drop-zone {
    border: 2px dashed #007bff;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    position: relative;
}

.drop-zone:hover {
    border-color: var(--primary-color);
    background-color: rgba(74, 144, 226, 0.1);
}

.drop-zone.dragover {
    border-color: var(--success-color);
    background-color: rgba(46, 204, 113, 0.1);
}

.capture-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #007bff;
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.photo-guide {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.photo-guide ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.solution-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.inspiration-gallery img {
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.inspiration-gallery img:hover {
    transform: scale(1.05);
}

#solution {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

#solution.show {
    opacity: 1;
    transform: translateY(0);
}

.step {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.encouragement {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fa-magic {
    animation: bounce 2s infinite;
}

.app-download-section {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    margin-top: 30px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.app-download-section h3 {
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.app-download-section .btn {
    padding: 15px 30px;
    font-size: 18px;
    margin-top: 10px;
    border-radius: 30px;
    background-color: #333;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.app-download-section .btn:hover {
    transform: scale(1.1);
    background-color: #222;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    color: var(--primary-color);
}

/* SEO Optimized Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: #333;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

/* Semantic Sections */
section {
    padding: 2rem 0;
}

footer {
    padding: 2rem 0;
    background-color: #f8f9fa;
    margin-top: 3rem;
}

/* Accessibility Improvements */
.btn {
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: 3px solid rgba(74, 144, 226, 0.3);
    outline-offset: 2px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 1rem;
    }
}

/* Print Styles for SEO */
@media print {
    body {
        font-size: 12pt;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    .no-print {
        display: none;
    }
}
