body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em;
}

section {
    max-width: 800px;
    margin: 2em auto;
    padding: 2em;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1 {
    color: #333;
}

p {
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    padding: 0.8em 1.5em;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #555;
}

.support-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.support-button:hover {
    background-color: #e9ecef;
    color: #495057;
    border-color: #ced4da;
}

footer {
    text-align: center;
    padding: 1em;
    color: #fff;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;

    padding: 1rem;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

/* Add some bottom padding to the main content to prevent it from being hidden behind the footer */
body {
    margin-bottom: 80px; /* Adjust this value based on your footer height */
}

button {
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #555;
}

.app-section {
    background-color: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.step-container {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.step {
    padding: 1.5em;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.9em;
}

.file-upload-wrapper {
    margin-top: 1em;
}

.csv-output {
    background-color: white;
    padding: 1em;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin: 1em 0;
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.5;
}

.output-container {
    margin-top: 1em;
}

.hero {
    background-color: #2c3e50;
    color: #fff;
    padding: 4em 2em;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(52,152,219,0.05) 0%, transparent 8%),
        radial-gradient(circle at 80% 70%, rgba(52,152,219,0.05) 0%, transparent 8%);
}

.hero-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-dot {
    position: absolute;
    background: rgba(52,152,219,0.15);
    border-radius: 50%;
    transition: transform 0.3s ease-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: #fff;
    font-size: 3em;
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 2em;
    color: rgba(255,255,255,0.9);
}

.feature-list {
    display: flex;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap;
    margin-top: 2em;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    padding: 1em;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.support-section {
    text-align: center;
}

.support-section p {
    margin-bottom: 1em;
}

.drop-zone {
    width: 100%;
    min-height: 200px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1.5em 0;
    padding: 1.5em;
    box-sizing: border-box;
}

.drop-zone:hover:not(.has-image), .drop-zone.drag-over {
    background-color: #e9ecef;
    border-color: #6c757d;
}

.drop-zone.has-image {
    border-color: #2563eb;
    background-color: #f0f7ff;
}

.drop-zone-content {
    text-align: center;
    color: #6c757d;
}

.upload-icon {
    margin-bottom: 1em;
    stroke-width: 1.5;
}

.drop-zone-hint {
    font-size: 0.9em;
    opacity: 0.8;
}

.drop-zone-input {
    display: none;
}

.file-upload-wrapper {
    text-align: center;
    margin: 2rem 0;
}

.primary-cta {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1rem 2rem;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.primary-cta:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.cta-text {
    margin-right: 0.5rem;
}

.cta-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.primary-cta:hover .cta-arrow {
    transform: translateX(4px);
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s ease infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

