/* Knowmatics Agricultural Dataset Translator Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #66BB6A;
    --accent-color: #81C784;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    --text-dark: #2E2E2E;
    --text-medium: #5E5E5E;
    --text-light: #8E8E8E;
    --background-white: #FFFFFF;
    --background-light: #F8F9FA;
    --border-light: #E9ECEF;
    --light-green: #C8E6C9;
    --shadow-light: rgba(0, 0, 0, 0.04);
    --shadow-medium: rgba(0, 0, 0, 0.08);
    --shadow-strong: rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --border-radius-large: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 50%, #43A047 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header Styles */
.header {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: white;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header .subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.header .description {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.5;
}

/* Card Styles */
.card {
    background: var(--background-white);
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    box-shadow: 0 8px 32px var(--shadow-light), 0 2px 8px var(--shadow-medium);
    margin-bottom: 2rem;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px var(--shadow-medium), 0 4px 16px var(--shadow-strong);
}

.card h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.card h2 .icon {
    font-size: 1.75rem;
    color: var(--secondary-color);
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--light-green);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: var(--background-light);
    position: relative;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--secondary-color);
    background: #f0f8f0;
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: #e8f5e8;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.upload-text {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-weight: 500;
}

.upload-hint {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.upload-area input[type="file"] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 400px;
    font-size: 14px;
    transition: var(--transition);
    background: white;
}

.upload-area input[type="file"]:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(102, 187, 106, 0.1);
}

/* Button Styles */
.btn {
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-family: inherit;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: var(--background-light);
    color: var(--text-dark);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--light-green);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn.loading {
    animation: pulse 1.5s infinite;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.feature:hover {
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 4px 16px var(--shadow-light);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature h4 {
    margin: 0.5rem 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Pipeline Styles */
.pipeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pipeline-step {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.pipeline-step:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 4px 16px var(--
