/* Base Styles */
:root {
    --primary-color: #00c853;
    --primary-dark: #009624;
    --primary-light: #5efc82;
    --secondary-color: #2979ff;
    --secondary-dark: #004ecb;
    --secondary-light: #75a7ff;
    --accent-color: #aa00ff;
    --text-color: #212121;
    --text-light: #757575;
    --background-color: #fafafa;
    --background-dark: #121212;
    --background-light: #ffffff;
    --surface-color: #ffffff;
    --border-color: #e0e0e0;
    --error-color: #d50000;
    --success-color: #00c853;
    --warning-color: #ff6d00;
    --info-color: #2979ff;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, var(--background-dark), #263238);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.11), 0 5px 15px rgba(0,0,0,0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(41, 121, 255, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(41, 121, 255, 0.4);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    background-color: var(--surface-color);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    filter: drop-shadow(0 0 5px rgba(0, 200, 83, 0.5));
    transition: transform var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
    position: relative;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

nav ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Upload Section */
.upload-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(94, 252, 130, 0.05), rgba(41, 121, 255, 0.05));
    position: relative;
    overflow: hidden;
}

.upload-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.2), transparent 70%);
    top: -150px;
    left: -150px;
    z-index: 0;
}

.upload-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 121, 255, 0.15), transparent 70%);
    bottom: -100px;
    right: -100px;
    z-index: 0;
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.upload-container h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.upload-area {
    border: 2px dashed rgba(0, 200, 83, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.upload-area:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background-color: rgba(0, 200, 83, 0.05);
    transform: scale(1.02);
}

.upload-instructions img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.3));
    animation: float 3s ease-in-out infinite;
}

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

.upload-instructions p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.browse-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

.camera-option {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.camera-option p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.camera-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    margin: 0 auto;
    transition: background-color 0.3s;
}

.camera-btn:hover {
    background-color: #1976D2;
}

.camera-btn img {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

.preview-container {
    margin-top: 1rem;
}

.preview-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.preview-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--text-color);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.cancel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.7s;
}

.cancel-btn:hover::before {
    left: 100%;
}

.cancel-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.analyze-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.analyze-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.analyze-btn:hover::before {
    left: 100%;
}

.analyze-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

/* Results Section */
.results-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(94, 252, 130, 0.05), rgba(41, 121, 255, 0.05));
    position: relative;
    overflow: hidden;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.results-container h3 {
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.results-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.results-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    position: relative;
}

.results-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.results-image:hover {
    transform: scale(1.02);
}

.results-image img {
    width: 100%;
    height: auto;
    display: block;
}

.results-details {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--primary-light);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.primary-result {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.disease-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.confidence {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 200, 83, 0.1);
    border-radius: var(--radius-full);
}

.description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1.1rem;
}

.treatment-info {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.treatment-info h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.treatment, .prevention {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.other-possibilities {
    margin-bottom: 2rem;
}

.other-possibilities h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.other-possibilities ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.other-possibilities li {
    color: var(--text-light);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast);
    border: 1px solid rgba(0, 200, 83, 0.1);
}

.other-possibilities li:hover {
    transform: translateX(5px);
}

.analysis-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: right;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.new-analysis-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    width: 100%;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.new-analysis-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.new-analysis-btn:hover::before {
    left: 100%;
}

.new-analysis-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

.error-message {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), rgba(255, 109, 0, 0.05));
    border: 1px solid rgba(213, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    color: var(--error-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.error-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--error-color), rgba(213, 0, 0, 0.5));
}

.error-message p {
    color: var(--error-color);
    margin-bottom: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* Offline Mode Section */
.offline-mode {
    padding: 3rem 0;
    background-color: #f5f5f5;
}

.offline-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.error-retry-btn {
    background: linear-gradient(135deg, var(--error-color), #b71c1c);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-top: 1.5rem;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(213, 0, 0, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.error-retry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.error-retry-btn:hover::before {
    left: 100%;
}

.error-retry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(213, 0, 0, 0.4);
}

.offline-info h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.offline-info p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.offline-status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.online {
    background-color: var(--success-color);
}

.status-indicator.offline {
    background-color: var(--warning-color);
}

.status-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.install-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.install-btn:hover {
    background-color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
}

.modal-body {
    padding: 1.5rem;
}

#cameraFeed {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.camera-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.camera-controls button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#switchCameraBtn {
    background-color: #f5f5f5;
}

#captureBtn {
    background-color: var(--primary-color);
}

.camera-controls button img {
    width: 24px;
    height: 24px;
}

/* Offline Notification */
.offline-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    max-width: 90%;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* About Page Styles */
.about-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.about-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    padding: 3rem 0;
}

.about-section {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-section p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.how-it-works {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 40px;
    height: 40px;
}

.step h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tech-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tech-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.crops-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.crop-item {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.crop-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.crop-item ul li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.crop-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .results-content {
        flex-direction: column;
    }
    
    .how-it-works, .tech-details, .crops-grid {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .upload-area {
        padding: 1.5rem 1rem;
    }
    
    .preview-actions {
        flex-direction: column;
    }
    
    .preview-actions button {
        width: 100%;
    }
}