:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #f8fafc;
    --text-secondary: #94a3b8;
}

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

/* Nav Bar */
.top-nav {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    gap: 20px;
    z-index: 10;
}

.top-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    font-weight: 500;
}

.top-nav a:hover {
    color: white;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #1e1e1e;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    margin-top: 20px;
    margin-bottom: 50px;
    /* Space for scroll */
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #fff;
}

.help-section {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.help-section h3 {
    color: #6366f1;
    margin-bottom: 15px;
}

.help-section ul {
    list-style-type: disc;
    padding-left: 20px;
    line-height: 1.6;
}

.help-section li {
    margin-bottom: 8px;
}

.help-section a {
    color: #4ade80;
    text-decoration: none;
}

.help-section a:hover {
    text-decoration: underline;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-container {
    text-align: center;
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.05em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.upload-section {
    margin-bottom: 2rem;
}

.primary-btn {
    background: var(--primary-gradient);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.4);
}

.primary-btn:active {
    transform: translateY(0);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    font-size: 0.9rem;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.status-area {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    min-height: 1.5rem;
}

.highlight {
    color: #a855f7;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.hidden {
    display: none;
}

.input-section {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease-out forwards;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
}

.compliance-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(5px);
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.input-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-color);
}

.input-section input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.input-section input:focus {
    border-color: #6366f1;
}

.validation-message {
    margin-top: 1rem;
    font-weight: 600;
    min-height: 1.5rem;
}

.success-msg {
    color: #4ade80;
    /* Green */
}

.error-msg {
    color: #f87171;
    /* Red */
}

/* Feedback & Roadmap Section */
.feedback-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: left;
    color: #e2e8f0;
}

.feedback-container h3,
.feedback-container h4 {
    color: #a5b4fc;
    margin-top: 0;
}

.roadmap-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.roadmap-list li {
    padding-left: 25px;
    position: relative;
    font-size: 0.9em;
    color: #94a3b8;
}

.roadmap-list li::before {
    content: '🚀';
    position: absolute;
    left: 0;
    opacity: 0.7;
}

.feedback-form {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feedback-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95em;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6366f1;
}

.feedback-input-group {
    margin-bottom: 20px;
}

.feedback-input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #cbd5e1;
}

.feedback-input-group textarea,
.feedback-input-group input[type="text"],
.feedback-input-group input[type="email"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px;
    color: white;
    font-family: inherit;
    resize: vertical;
}

.feedback-input-group textarea:focus,
.feedback-input-group input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(0, 0, 0, 0.5);
}

.disclaimer {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}