@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";:root{--color-bg-primary:#f0f5f1;--color-bg-secondary:#fff;--color-primary:#1f6f3b;--color-primary-light:#2f8f4d;--color-primary-dark:#0f3f21;--color-text-main:#f7fdf8;--color-text-muted:#dfeee0;--color-accent:#f59e0b;--color-danger:#f87171;--glass-bg:#071a0d94;--glass-border:#ffffff2e;--glass-shadow:0 20px 45px #00000047}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--color-bg-primary);color:var(--color-text-main);background-color:#0000;background-image:linear-gradient(135deg,#0d2d18d6 0%,#407d4db8 100%),url(/farmers.jpg);background-position:0 0,50%;background-repeat:repeat,no-repeat;background-size:auto,cover;background-attachment:fixed;background-origin:padding-box,padding-box;background-clip:border-box,border-box;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.6}#root{min-height:100vh}.glass-panel{-webkit-backdrop-filter:none;box-shadow:none;color:#fff;background:0 0;border:none;border-radius:24px}.app-container{flex-direction:column;gap:2rem;max-width:1600px;margin:0 auto;padding:3rem 1.25rem 4rem;display:flex}.app-header{text-align:center;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;background:0 0;border:none;border-radius:32px;margin-bottom:1rem;padding:2rem 1.5rem}.app-badge{color:#f8ffe9;letter-spacing:.08em;text-transform:uppercase;background:#ffffff24;border-radius:999px;align-items:center;margin-bottom:1rem;padding:.4rem .85rem;font-size:.9rem;font-weight:800;display:inline-flex}.app-header h1{color:#f8ffe9;letter-spacing:-1px;margin-bottom:.3rem;font-size:clamp(2rem,4vw,3rem);font-weight:800}.app-header p{color:#f8ffe9e6;max-width:720px;margin:0 auto 1.2rem;font-size:1.05rem}.hero-highlights{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.2rem;display:grid}.highlight-card{text-align:left;box-shadow:none;background:0 0;border:none;border-radius:18px;flex-direction:column;gap:.25rem;padding:.9rem 1rem;display:flex}.highlight-card strong{color:#f8ffe9;font-size:.95rem}.highlight-card span{color:#f8ffe9d6;font-size:.9rem}.main-content{grid-template-columns:1fr;align-items:flex-start;gap:2rem;display:grid}@media (width>=850px){.main-content{grid-template-columns:1fr 1fr}}@media (width<=900px){.hero-highlights{grid-template-columns:1fr}}@media (width<=640px){.app-container{padding:1.2rem .9rem 2rem}.app-header{padding:1.4rem 1rem}.uploader-container,.results-container{padding:1.25rem 1rem}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate-fade-in{animation:.5s cubic-bezier(.16,1,.3,1) forwards fadeIn}.upload-section,.results-section{min-height:100%}.uploader-container{text-align:center;cursor:pointer;background:0 0;border:3px solid #1f6f3b99;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;min-height:430px;padding:3rem 2rem;transition:all .3s;animation:2s ease-in-out infinite highlightGlow;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 20px #1f6f3b33,0 0 30px #1f6f3b4d}@keyframes highlightGlow{0%,to{box-shadow:inset 0 0 20px #1f6f3b33,0 0 30px #1f6f3b4d}50%{box-shadow:inset 0 0 20px #1f6f3b4d,0 0 40px #1f6f3b80}}.uploader-container:before{content:"";pointer-events:none;background:radial-gradient(circle at 0 0,#4caf501f,#0000 55%);position:absolute;inset:0}.uploader-container:hover{border-color:var(--color-primary);transform:translateY(-2px);box-shadow:0 14px 30px #0d2d181f}.uploader-container.drag-active{border-color:var(--color-primary);background:linear-gradient(145deg,#ebf8edf2,#dbf2dde6);transform:scale(1.01)}.upload-icon{color:#fff;margin-bottom:1.5rem;transition:transform .3s}.uploader-container:hover .upload-icon{transform:translateY(-5px)}.upload-text h3{color:#fff;margin-bottom:.5rem;font-size:1.4rem}.upload-text p{color:#ffffffe6;margin-bottom:1.5rem;font-size:1rem}.upload-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1f6f3bf2,#2f8f4df2);border:1px solid #ffffff3d;border-radius:50px;padding:.8rem 2rem;font-size:1rem;font-weight:700;transition:all .2s;box-shadow:0 6px 18px #00000040}.upload-btn:hover{background-color:var(--color-primary-dark);transform:translateY(-2px);box-shadow:0 6px 20px #2e7d3280}.preview-container{flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.image-preview{object-fit:contain;border-radius:16px;max-width:100%;max-height:420px;margin-bottom:1.5rem;box-shadow:0 8px 24px #0000001f}.reupload-btn{color:#fff;cursor:pointer;background-color:#fff3;border:1px solid #fff6;border-radius:50px;align-items:center;gap:.5rem;padding:.6rem 1.2rem;font-size:.9rem;font-weight:600;transition:all .2s;display:flex}.reupload-btn:hover{color:#fff;background-color:#ffffff4d}.results-container{color:#fff;flex-direction:column;gap:1.2rem;padding:1.5rem 1.25rem;display:flex}.loading-container{color:#fff;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:430px;display:flex}.error-message{color:#f88;background:0 0;border-radius:16px;padding:1rem 1.2rem;font-weight:600}.prediction-header{text-align:center;border-bottom:1px solid #ffffff1a;padding-bottom:1rem}.prediction-header h2{text-transform:uppercase;letter-spacing:1px;color:#fffc;margin-bottom:.25rem;font-size:1rem}.prediction-title{color:#fff;text-wrap:balance;font-size:1.3rem;font-weight:800;line-height:1.2}.prediction-healthy{color:#fbbf24}.prediction-danger{color:var(--color-danger)}.confidence-badge{color:#fff;background-color:#2e7d321a;border-radius:20px;margin-top:.75rem;padding:.3rem .8rem;font-size:.85rem;font-weight:600;display:inline-block}.tabs-header{border-bottom:2px solid #0000000d;gap:1rem;margin-bottom:.5rem;display:flex}.tab-btn{color:#ffffffb3;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:.5rem;margin-bottom:-2px;padding:.5rem 1rem;font-size:.95rem;font-weight:600;transition:all .2s;display:flex}.tab-btn:hover{color:#fff}.tab-btn.active{color:#fff;border-bottom-color:#fff}.tab-content{min-height:250px}.advice-section{flex-direction:column;gap:1rem;display:flex}.advice-card{background:0 0;border:none;border-radius:12px;padding:1rem}.advice-card h4{color:#fff;align-items:center;gap:.5rem;margin-bottom:.3rem;font-size:1rem;display:flex}.advice-card p{color:#ffffffe6;font-size:.9rem;line-height:1.4}.probs-container{background:0 0;border-radius:12px;padding:1.5rem}.prob-row{color:#fff;justify-content:space-between;align-items:center;margin-bottom:.6rem;font-size:.85rem;display:flex}.loading-container{flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;height:400px;display:flex}.spinner{border:4px solid #2e7d3233;border-top-color:var(--color-primary);border-radius:50%;width:50px;height:50px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.loading-container p{color:#fff;font-weight:500;animation:1.5s ease-in-out infinite alternate pulse}@keyframes pulse{0%{opacity:.6}to{opacity:1}}.error-message{color:var(--color-danger);text-align:center;background:#d32f2f1a;border-radius:8px;margin-top:1rem;padding:1rem;font-weight:500}.results-layout{flex-direction:row;align-items:stretch;gap:1rem;display:flex}.results-container{flex:1;min-width:0}.probabilities-panel{background:0 0;border:none;border-radius:0;flex-shrink:0;width:400px;max-height:85vh;padding:1.5rem .5rem 1.5rem 1rem;overflow-y:auto}.probabilities-panel::-webkit-scrollbar{width:6px}.probabilities-panel::-webkit-scrollbar-track{background:0 0}.probabilities-panel::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:3px}.probabilities-panel::-webkit-scrollbar-thumb:hover{background:#ffffff80}.probabilities-panel h3{color:#fff;letter-spacing:.5px;margin-bottom:1rem;font-size:1.05rem;font-weight:700}.probs-container{flex-direction:column;gap:.6rem;padding-top:0;display:flex}.prob-item{flex-direction:column;gap:.5rem;display:flex}.prob-row{flex-direction:row;align-items:center;gap:.6rem;padding:.2rem 0;animation:.5s forwards slideIn;display:flex}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.prob-info{flex-direction:column;gap:.2rem;min-width:140px;display:flex}.prob-label{color:#fffffff2;white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;font-weight:600;overflow:hidden}.prob-bar-container{background:#ffffff2e;border-radius:7px;flex-grow:1;min-width:50px;height:14px;position:relative;overflow:hidden;box-shadow:inset 0 1px 3px #0000004d}.prob-bar{background:linear-gradient(90deg,#fffffff2,#e0e0e0e6);border-radius:7px;width:0;height:100%;transition:width .3s;box-shadow:0 0 6px #ffffff4d}.prob-bar.animated-bar{animation:1.2s cubic-bezier(.34,1.56,.64,1) forwards fillBar}@keyframes fillBar{0%{opacity:.3;width:0}to{width:var(--width,100%);opacity:1}}.prob-value{color:#fff;text-align:right;letter-spacing:.5px;letter-spacing:.5px;min-width:33px;font-size:.7rem;font-weight:700}.tutorial-overlay{z-index:1000;background:#000000b3;justify-content:center;align-items:center;animation:.3s fadeIn;display:flex;position:fixed;inset:0}.tutorial-highlight{pointer-events:none;border:3px solid #fbbf24;border-radius:16px;animation:1.5s ease-in-out infinite pulse-highlight;position:fixed;box-shadow:0 0 0 9999px #000000b3,0 0 30px #fbbf2499}@keyframes pulse-highlight{0%,to{box-shadow:0 0 0 9999px #000000b3,0 0 30px #fbbf2499}50%{box-shadow:0 0 0 9999px #000000b3,0 0 50px #fbbf24cc}}.tutorial-arrow-container{pointer-events:none;z-index:999;position:fixed}.tutorial-arrow-line{background:linear-gradient(90deg,#fbbf24,#0000);height:3px;animation:1.5s ease-in-out infinite slideArrow;position:fixed}@keyframes slideArrow{0%{transform-origin:0;opacity:1;transform:scaleX(0)}70%{transform-origin:0;opacity:1;transform:scaleX(1)}to{transform-origin:0;opacity:0;transform:scaleX(1)}}.tutorial-arrow-tip{border-top:12px solid #fbbf24;border-bottom:12px solid #0000;border-left:12px solid #0000;border-right:0 solid #0000;width:0;height:0;animation:1.5s ease-in-out infinite blink;position:fixed}@keyframes blink{0%,70%{opacity:1}to{opacity:0}}.tutorial-modal{z-index:1001;background:linear-gradient(135deg,#1f6f3bf2,#0f3f21f2);border:1px solid #fff3;border-radius:24px;width:90%;max-width:500px;padding:2rem;animation:.4s cubic-bezier(.34,1.56,.64,1) slideUp;box-shadow:0 20px 60px #0006}.tutorial-modal-simple{z-index:1001;background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);border:2px solid #1f6f3b33;border-radius:20px;width:90%;max-width:600px;padding:2.5rem;animation:.4s cubic-bezier(.34,1.56,.64,1) slideUp;position:relative;box-shadow:0 25px 50px #0000004d}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.tutorial-close{cursor:pointer;color:#1f6f3b;background:#1f6f3b1a;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;transition:all .3s;display:flex;position:absolute;top:1.5rem;right:1.5rem}.tutorial-close:hover{background:#1f6f3b33;transform:scale(1.1)}.tutorial-content{color:#fff;margin-bottom:2rem}.tutorial-content h2{color:#fff;margin-bottom:1rem;font-size:1.6rem;font-weight:700}.tutorial-content p{color:#ffffffe6;margin-bottom:.5rem;font-size:1rem;line-height:1.6}.tutorial-content-simple{color:#1f2937;margin-bottom:2rem}.tutorial-content-simple h2{color:#1f6f3b;margin-bottom:1rem;font-size:1.8rem;font-weight:700}.tutorial-content-simple p{color:#4b5563;white-space:pre-line;margin-bottom:.5rem;font-size:1.05rem;line-height:1.8}.tutorial-progress{justify-content:center;gap:.5rem;margin-bottom:2rem;display:flex}.progress-dot{cursor:pointer;background:#1f6f3b4d;border-radius:50%;width:8px;height:8px;transition:all .3s}.progress-dot.active{background:#1f6f3b;border-radius:4px;width:24px}.tutorial-actions{justify-content:space-between;align-items:center;gap:1rem;display:flex}.tutorial-step-counter{color:#1f6f3b;text-align:center;flex:1;font-size:.9rem;font-weight:600}.tutorial-btn{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-size:.95rem;font-weight:600;transition:all .3s;display:flex}.tutorial-btn.primary{color:#fff;background:linear-gradient(135deg,#2f8f4d,#1f6f3b)}.tutorial-btn.primary:hover{background:linear-gradient(135deg,#3fa85d,#2f8f4d);transform:translateY(-2px);box-shadow:0 8px 16px #2f8f4d4d}.tutorial-btn.secondary{color:#1f6f3b;background:#f0f0f0;border:1px solid #1f6f3b33}.tutorial-btn.secondary:hover{background:#e8e8e8;border-color:#1f6f3b66}.tutorial-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.tutorial-tour-overlay{z-index:1000;animation:.3s fadeIn;position:fixed;inset:0}.tutorial-spotlight{z-index:1001;pointer-events:none;border:2px solid #fffffff2;border-radius:18px;transition:top .35s,left .35s,width .35s,height .35s;position:fixed;box-shadow:0 0 0 9999px #000000c7,0 0 24px 4px #ffffff59}.tutorial-tooltip{z-index:1002;color:#1f2937;background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);border:2px solid #1f6f3b26;border-radius:16px;width:min(340px,100vw - 24px);padding:1.1rem 1.25rem;transition:top .35s,left .35s;animation:.35s cubic-bezier(.34,1.56,.64,1) tooltipPop;position:fixed;box-shadow:0 15px 40px #00000059}@keyframes tooltipPop{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}.tutorial-tooltip-centered{animation:none}.tutorial-tooltip-header{justify-content:space-between;align-items:center;margin-bottom:.6rem;display:flex}.tutorial-step-badge{text-transform:uppercase;letter-spacing:.06em;color:#1f6f3b;background:#1f6f3b1a;border-radius:999px;padding:.2rem .6rem;font-size:.7rem;font-weight:700}.tutorial-tour-close{color:#1f6f3b;cursor:pointer;background:#1f6f3b14;border:none;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;transition:all .2s;display:flex}.tutorial-tour-close:hover{background:#1f6f3b33;transform:scale(1.1)}.tutorial-tooltip h3{color:#1f6f3b;margin-bottom:.4rem;font-size:1.15rem;font-weight:700}.tutorial-tooltip p{color:#4b5563;margin-bottom:.9rem;font-size:.92rem;line-height:1.55}.tutorial-progress-centered{justify-content:center;margin-bottom:.9rem}.tutorial-tooltip-actions{justify-content:space-between;align-items:center;gap:.8rem;display:flex}.tutorial-arrow{width:0;height:0;position:absolute}.tutorial-arrow.arrow-top{border-bottom:11px solid #fff;border-left:11px solid #0000;border-right:11px solid #0000;top:-11px;transform:translate(-50%)}.tutorial-arrow.arrow-bottom{border-top:11px solid #fff;border-left:11px solid #0000;border-right:11px solid #0000;bottom:-11px;transform:translate(-50%)}.tutorial-arrow.arrow-left{border-top:11px solid #0000;border-bottom:11px solid #0000;border-right:11px solid #fff;left:-11px;transform:translateY(-50%)}.tutorial-arrow.arrow-right{border-top:11px solid #0000;border-bottom:11px solid #0000;border-left:11px solid #fff;right:-11px;transform:translateY(-50%)}.tutorial-btn.small{padding:.5rem .9rem;font-size:.85rem}.tutorial-btn.small svg{width:16px;height:16px}@media (width<=768px){.results-layout{flex-direction:column;gap:1.5rem}.probabilities-panel{width:100%}.tutorial-modal{max-width:90%;padding:1.5rem}}
