:root {
    --primary-color: #4F46E5;
    --secondary-color: #818CF8;
    --background-color: #F9FAFB;
    --text-color: #1F2937;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

[v-cloak] {
    display: none;
}

header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.try-pro-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.try-pro-btn:hover {
    background-color: var(--secondary-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.upload-container {
    width: 100%;
    max-width: 600px;
    height: 300px;
    border: 2px dashed #CBD5E1;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-container:hover {
    border-color: var(--primary-color);
}

.upload-container.has-image {
    border-style: solid;
}

.upload-prompt {
    text-align: center;
}

.upload-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: inline-block;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.upload-btn:hover {
    background-color: var(--secondary-color);
}

.preview-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.process-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.process-btn:disabled {
    background-color: #CBD5E1;
    cursor: not-allowed;
}

.process-btn:not(:disabled):hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.result-section {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.result-section h2 {
    margin-bottom: 1rem;
}

.result-image-container {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.result-image {
    max-width: 100%;
    border-radius: calc(var(--border-radius) - 4px);
}

.download-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--secondary-color);
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: white;
    margin-top: 4rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .upload-container {
        height: 200px;
    }

    main {
        padding: 1rem;
    }
} 