@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap";:root{--bg-base:#080b14;--bg-surface:#0f1421;--surface-card:#131929;--border-subtle:#e91e8c26;--primary-400:#e91e8c;--accent:gold;--text-primary:#e2e8f0;--text-secondary:#94a3b8;--text-muted:#475569;--font-sans:"DM Sans", system-ui, -apple-system, sans-serif;--font-mono:"JetBrains Mono", "Fira Code", monospace;--radius-sm:6px;--radius-md:10px;--radius-lg:16px}*,:before,:after{box-sizing:border-box}html{color-scheme:dark;scroll-behavior:smooth}body{font-family:var(--font-sans);background-color:var(--bg-base);color:var(--text-primary);-webkit-font-smoothing:antialiased;min-height:100vh;margin:0;font-size:16px;line-height:1.6}body:before{content:"";pointer-events:none;z-index:0;background-image:linear-gradient(#e91e8c08 1px,#0000 1px),linear-gradient(90deg,#e91e8c08 1px,#0000 1px);background-size:40px 40px;position:fixed;inset:0}h1,h2,h3,h4{color:var(--text-primary);margin:0;font-weight:700;line-height:1.2}p{margin:0}a{color:var(--primary-400);text-decoration:none}a:hover{text-decoration:underline}button{font-family:inherit}input,textarea,select{color:var(--text-primary);font-family:inherit}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:var(--bg-base)}::-webkit-scrollbar-thumb{background:var(--border-subtle);border-radius:3px}.app-nav{z-index:100;backdrop-filter:blur(12px);border-bottom:1px solid var(--border-subtle);background:#080b14d9;justify-content:space-between;align-items:center;height:56px;padding:0 1.5rem;display:flex;position:sticky;top:0}.app-nav-logo{background:linear-gradient(135deg, var(--primary-400), var(--accent));-webkit-text-fill-color:transparent;letter-spacing:-.01em;background-clip:text;font-size:.9rem;font-weight:800}.app-nav-links{gap:.25rem;display:flex}.app-nav-links a{color:var(--text-muted);border-radius:var(--radius-sm);padding:.35rem .75rem;font-size:.85rem;font-weight:500;text-decoration:none;transition:color .15s,background .15s}.app-nav-links a:hover,.app-nav-links a.active{color:var(--text-primary);background:#e91e8c1a}.app-footer{z-index:1;justify-content:center;gap:1.5rem;padding:1.5rem;font-size:.8rem;display:flex;position:relative}.app-footer a{color:var(--text-muted);text-decoration:none}.app-footer a:hover{color:var(--primary-400)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.legal-page{max-width:70ch;color:var(--text-secondary);z-index:1;margin:0 auto;padding:2rem 1.5rem 4rem;line-height:1.6;position:relative}.legal-page h1{color:var(--text-primary);margin-bottom:1.5rem}.legal-page h2{color:var(--text-primary);margin:1.5rem 0 .5rem;font-size:1.1rem}.legal-page ul{padding-left:1.25rem}.legal-page li{margin-bottom:.5rem}.legal-page section+section{margin-top:0}.cookie-banner{z-index:1000;background:var(--surface-card);border-top:1px solid var(--border-subtle);color:var(--text-secondary);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;font-size:.85rem;display:flex;position:fixed;bottom:0;left:0;right:0}.cookie-banner p{max-width:60ch;margin:0}.cookie-banner a{color:var(--primary-400)}.cookie-banner-actions{flex-shrink:0;gap:.5rem;display:flex}.cookie-banner-actions button{cursor:pointer;border:1px solid var(--border-subtle);border-radius:8px;padding:.5rem 1rem;font-size:.8rem;font-weight:600}.btn-reject{color:var(--text-secondary);background:0 0}.btn-accept{background:var(--primary-400);color:#fff;border-color:#0000}.voice-btn{border:1.5px solid var(--border-subtle);background:var(--surface-card);width:2.75rem;height:2.75rem;color:var(--text-primary);cursor:pointer;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;font-size:1.1rem;transition:border-color .2s,background .2s;display:flex}.voice-btn:hover:not(:disabled){border-color:var(--primary-400)}.voice-btn.recording{background:#e5484d1f;border-color:#e5484d}.voice-btn:disabled{opacity:.6;cursor:not-allowed}.voice-recorder-wrap{flex-direction:column;align-items:center;gap:.25rem;display:inline-flex}.pulse-dot{background:#e5484d;border-radius:999px;width:.7rem;height:.7rem;animation:1s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}.voice-spinner{border:2px solid var(--border-subtle);border-top-color:var(--primary-400);border-radius:999px;width:1rem;height:1rem;animation:.7s linear infinite spin}.voice-error{color:#e5484d;text-align:center;max-width:12rem;margin:0;font-size:.7rem}.page{z-index:1;flex-direction:column;min-height:100vh;display:flex;position:relative}.hero{text-align:center;padding:4rem 1.5rem 3rem;position:relative;overflow:hidden}.hero-glow{pointer-events:none;background:radial-gradient(#e91e8c2e 0%,#0000 70%);width:600px;height:400px;position:absolute;top:-80px;left:50%;transform:translate(-50%)}.hero-content{z-index:1;max-width:640px;margin:0 auto;position:relative}.hero-eyebrow{letter-spacing:.15em;text-transform:uppercase;color:var(--primary-400);background:#e91e8c1f;border:1px solid #e91e8c40;border-radius:999px;margin-bottom:1rem;padding:.25rem .75rem;font-size:.7rem;font-weight:700;display:inline-block}.hero-title{background:linear-gradient(135deg, #fff 30%, var(--primary-400));-webkit-text-fill-color:transparent;background-clip:text;margin:0 0 1rem;font-size:clamp(2.5rem,6vw,4rem);font-weight:800;line-height:1.1}.hero-subtitle{color:var(--text-secondary);margin:0;font-size:1rem;line-height:1.6}.content{flex:1;width:100%;max-width:860px;margin:0 auto;padding:0 1.5rem 4rem}.search-form{flex-direction:column;gap:2rem;display:flex}.form-section{flex-direction:column;gap:.75rem;display:flex}.section-label{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-size:.8rem;font-weight:700}.search-input{background:var(--surface-card);border:1px solid var(--border-subtle);width:100%;color:var(--text-primary);box-sizing:border-box;border-radius:10px;outline:none;padding:1rem 1.25rem;font-family:inherit;font-size:1rem;transition:border-color .2s}.search-input:focus{border-color:var(--primary-400)}.search-input::placeholder{color:var(--text-muted);opacity:.6}.search-input-row{align-items:center;gap:.75rem;display:flex}.search-input-row .search-input{flex:1}.btn-search{color:#fff;cursor:pointer;background:linear-gradient(135deg,#e91e8c,#ff6b9d);border:none;border-radius:12px;justify-content:center;align-items:center;gap:.75rem;padding:1rem 2rem;font-size:1rem;font-weight:700;transition:opacity .2s,transform .15s,box-shadow .2s;display:flex;box-shadow:0 4px 20px #e91e8c66}.btn-search:hover{opacity:.92;transform:translateY(-1px);box-shadow:0 6px 28px #e91e8c8c}.btn-search:active{transform:translateY(0)}.btn-icon{font-size:1.1rem}.loading-state{text-align:center;flex-direction:column;align-items:center;gap:1.25rem;padding:4rem 1rem;display:flex}.spinner-ring{border:3px solid var(--border-subtle);border-top-color:var(--primary-400);border-radius:50%;width:56px;height:56px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.progress-msg{color:var(--text-secondary);min-height:1.5em;margin:0;font-size:1rem;font-weight:500}.progress-bar{background:var(--border-subtle);border-radius:2px;width:100%;max-width:320px;height:4px;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--primary-400), var(--accent));border-radius:2px;height:100%;animation:1.8s ease-in-out infinite progress-indeterminate}@keyframes progress-indeterminate{0%{width:0%;margin-left:0%}50%{width:60%;margin-left:20%}to{width:0%;margin-left:100%}}.loading-note{color:var(--text-muted);margin:0;font-size:.8rem}.error-state{text-align:center;background:#f443360d;border:1px solid #f4433633;border-radius:16px;flex-direction:column;align-items:center;gap:1rem;padding:3rem 1rem;display:flex}.error-icon{font-size:2.5rem}.error-state h2{color:var(--text-primary);margin:0;font-size:1.25rem;font-weight:700}.error-state p{color:var(--text-muted);max-width:400px;margin:0;font-size:.9rem}.btn-retry{background:var(--primary-400);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:.625rem 1.5rem;font-weight:600;transition:opacity .2s}.btn-retry:hover{opacity:.85}.results{flex-direction:column;gap:1.5rem;display:flex}.summary-header{background:var(--surface-card);border:1px solid var(--border-subtle);border-radius:12px;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.total-label{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:.25rem;font-size:.75rem;font-weight:600;display:block}.total-count{background:linear-gradient(135deg,#e91e8c,gold);-webkit-text-fill-color:transparent;background-clip:text;font-size:2rem;font-weight:800}.btn-reset{border:1px solid var(--border-subtle);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:8px;padding:.5rem 1rem;font-size:.875rem;font-weight:500;transition:all .2s}.btn-reset:hover{border-color:var(--primary-400);color:var(--primary-400)}.ai-summary{background:#e91e8c0f;border:1px solid #e91e8c33;border-radius:12px;padding:1.25rem}.ai-badge{color:var(--primary-400);letter-spacing:.05em;margin-bottom:.5rem;font-size:.7rem;font-weight:700;display:inline-block}.ai-summary p{color:var(--text-secondary);margin:0;font-size:.9rem;line-height:1.6}.products-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;display:grid}.product-card{background:var(--surface-card);border:1px solid var(--border-subtle);border-radius:12px;flex-direction:column;gap:.875rem;padding:1.25rem;transition:border-color .2s,transform .2s,box-shadow .2s;display:flex;position:relative}.product-card:hover{border-color:var(--primary-400);transform:translateY(-2px);box-shadow:0 8px 32px #e91e8c26}.match-score-heart{cursor:pointer;flex-direction:column;align-items:center;display:flex;position:absolute;top:-14px;right:.75rem}.heart-bg{fill:#0000000f;stroke:#00000014;stroke-width:.5px}.match-percentage{color:#fff;text-shadow:0 1px 2px #00000059;margin-top:-34px;font-size:.7rem;font-weight:800}.product-name{color:var(--text-primary);margin:.5rem 0 0;font-size:.95rem;font-weight:600;line-height:1.3}.product-original{color:var(--text-muted);margin:.25rem 0 0;font-size:.8rem;line-height:1.5}.savings-chip{background:#00c8961f;border:1px solid #00c8964d;border-radius:999px;align-items:center;gap:.3rem;width:fit-content;margin-top:.6rem;padding:.25rem .6rem;display:inline-flex}.savings-icon{color:#00c896;font-size:.7rem;font-weight:800}.savings-text{color:#00c896;font-size:.72rem;font-weight:700}.ingredient-bar-wrap{cursor:pointer;margin-top:.75rem}.ingredient-bar{background:var(--border-subtle);border-radius:3px;height:6px;display:flex;overflow:hidden}.bar-segment{height:100%}.segment-match{background:#00c896}.segment-original-only{background:var(--text-muted);opacity:.3}.segment-dupe-only{background:var(--primary-400);opacity:.5}.ingredient-bar-label{color:var(--text-muted);text-underline-offset:2px;margin-top:.35rem;font-size:.68rem;text-decoration:underline;display:block}.ai-validation-toggle{all:unset;cursor:pointer;margin-top:.75rem}.ai-validation-note{color:var(--text-secondary);background:#e91e8c0a;border-radius:8px;margin:.5rem 0 0;padding:.6rem .75rem;font-size:.75rem;line-height:1.5}.ingredient-detail{background:#e91e8c0a;border-radius:8px;flex-wrap:wrap;gap:.75rem;margin-top:.5rem;padding:.75rem;display:flex}.ingredient-col{flex-direction:column;flex:1;gap:.3rem;min-width:100px;display:flex}.ingredient-col-title{letter-spacing:.06em;text-transform:uppercase;font-size:.62rem;font-weight:800}.ingredient-col-title.match{color:#00c896}.ingredient-col-title.original{color:var(--text-muted)}.ingredient-col-title.dupe{color:var(--primary-400)}.ingredient-pill{color:var(--text-secondary);font-size:.66rem}.product-footer{justify-content:space-between;align-items:center;gap:.5rem;margin-top:auto;padding-top:.5rem;display:flex}.price-group{flex-direction:column;display:flex}.price-new{color:var(--primary-400);font-size:1.1rem;font-weight:700}.price-old{color:var(--text-muted);font-size:.8rem;text-decoration:line-through}.btn-buy{background:var(--primary-400);color:#fff;border-radius:8px;padding:.4rem .8rem;font-size:.75rem;font-weight:600;text-decoration:none;transition:opacity .15s}.btn-buy:hover{opacity:.85}
