Spaces:
Runtime error
Runtime error
Download static/style.css from urmilasaini/EcoSort_AI: direct link, hf CLI and curl.
- Browser
- Download file 34.9 kB
-
https://huggingface.co/spaces/urmilasaini/EcoSort_AI/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/urmilasaini/EcoSort_AI/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/urmilasaini/EcoSort_AI/resolve/main/static/style.css
34.9 kB
| :root { | |
| /* Light landing theme */ | |
| --ink: #0f172a; | |
| --muted: #56646f; | |
| --page-bg-1: #eaf7f0; | |
| --page-bg-2: #e3f1fb; | |
| --white: #ffffff; | |
| --green: #16a34a; | |
| --green-soft: #e3f8ec; | |
| --blue: #2563eb; | |
| --blue-soft: #e6f0fe; | |
| --red: #dc2626; | |
| --red-soft: #fdeaea; | |
| --border-light: #e3e8ec; | |
| --card-shadow: 0 12px 32px rgba(15, 23, 42, 0.08); | |
| /* Dark scanner/modal theme */ | |
| --dark-bg: #0d1117; | |
| --dark-surface: #161b22; | |
| --dark-border: #30363d; | |
| --dark-text: #e6edf3; | |
| --dark-text-dim: #8b949e; | |
| --accent: #58a6ff; | |
| font-family: "Segoe UI", Roboto, -apple-system, sans-serif; | |
| } | |
| * { box-sizing: border-box; } | |
| ur-mila { display: block; } | |
| [hidden] { display: none ; } | |
| html, body { | |
| margin: 0; | |
| min-height: 100dvh; | |
| background: linear-gradient(180deg, var(--page-bg-1) 0%, var(--page-bg-2) 55%, var(--page-bg-2) 100%); | |
| color: var(--ink); | |
| overscroll-behavior-y: none; | |
| touch-action: pan-y; | |
| -webkit-text-size-adjust: 100%; | |
| } | |
| button, a { -webkit-tap-highlight-color: transparent; } | |
| a { color: inherit; text-decoration: none; } | |
| svg { width: 1em; height: 1em; display: block; } | |
| .icon { display: inline-flex; align-items: center; justify-content: center; line-height: 0; } | |
| /* ---------- Navbar ---------- */ | |
| .navbar { | |
| position: relative; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: calc(1rem + env(safe-area-inset-top)) 1.2rem 1rem; | |
| max-width: 900px; | |
| margin: 0 auto; | |
| } | |
| .brand { display: flex; align-items: center; gap: 0.5rem; font-size: 1.2rem; font-weight: 800; } | |
| .brand-logo { font-size: 1.5rem; color: var(--green); } | |
| .accent { color: var(--green); } | |
| .nav-right { display: flex; align-items: center; gap: 0.7rem; } | |
| .badge-ai { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.35rem; | |
| background: var(--green-soft); | |
| color: var(--green); | |
| font-weight: 600; | |
| font-size: 0.8rem; | |
| padding: 0.4rem 0.8rem; | |
| border-radius: 999px; | |
| white-space: nowrap; | |
| } | |
| .hamburger { | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| gap: 4px; | |
| width: 40px; | |
| height: 40px; | |
| border: none; | |
| background: transparent; | |
| cursor: pointer; | |
| touch-action: manipulation; | |
| } | |
| .hamburger span { | |
| display: block; | |
| width: 20px; | |
| height: 2px; | |
| margin: 0 auto; | |
| background: var(--ink); | |
| border-radius: 2px; | |
| } | |
| .nav-menu { | |
| position: absolute; | |
| top: 100%; | |
| right: 1.2rem; | |
| background: var(--white); | |
| border: 1px solid var(--border-light); | |
| border-radius: 14px; | |
| box-shadow: var(--card-shadow); | |
| padding: 0.5rem; | |
| display: flex; | |
| flex-direction: column; | |
| min-width: 180px; | |
| z-index: 30; | |
| } | |
| .nav-menu a { | |
| padding: 0.7rem 0.8rem; | |
| border-radius: 8px; | |
| font-weight: 600; | |
| font-size: 0.95rem; | |
| } | |
| .nav-menu a:active { background: var(--page-bg-1); } | |
| /* ---------- Hero ---------- */ | |
| .hero { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| text-align: center; | |
| padding: 1.5rem 1.4rem 2.5rem; | |
| max-width: 560px; | |
| margin: 0 auto; | |
| } | |
| .hero-copy { max-width: 480px; } | |
| .hero h1 { | |
| font-size: clamp(2.1rem, 8vw, 2.9rem); | |
| line-height: 1.12; | |
| font-weight: 800; | |
| margin: 0.5rem 0 1rem; | |
| } | |
| .text-green { color: var(--green); } | |
| .text-blue { color: var(--blue); } | |
| .text-red { color: var(--red); } | |
| .hero-desc { | |
| color: var(--muted); | |
| font-size: 1.05rem; | |
| line-height: 1.5; | |
| margin: 0 0 1.5rem; | |
| } | |
| .hero-visual { | |
| width: 100%; | |
| max-width: 420px; | |
| margin-bottom: 1.6rem; | |
| } | |
| .hero-visual img { | |
| width: 100%; | |
| height: auto; | |
| display: block; | |
| } | |
| .cta-scan { | |
| width: 100%; | |
| max-width: 420px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.7rem; | |
| padding: 1.1rem 1.6rem; | |
| border: none; | |
| border-radius: 999px; | |
| background: linear-gradient(90deg, #22c55e, #2563eb); | |
| color: #fff; | |
| font-size: 1.15rem; | |
| font-weight: 700; | |
| cursor: pointer; | |
| touch-action: manipulation; | |
| box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28); | |
| transition: transform 0.08s ease; | |
| } | |
| .cta-scan:active { transform: scale(0.98); } | |
| .cta-arrow { | |
| margin-left: auto; | |
| width: 30px; | |
| height: 30px; | |
| border-radius: 50%; | |
| background: rgba(255, 255, 255, 0.25); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1rem; | |
| } | |
| .no-signup { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.4rem; | |
| color: var(--muted); | |
| font-size: 0.85rem; | |
| margin: 0.9rem 0 1.8rem; | |
| } | |
| .stats-row { | |
| width: 100%; | |
| display: flex; | |
| background: var(--white); | |
| border-radius: 18px; | |
| box-shadow: var(--card-shadow); | |
| padding: 1.2rem 0.5rem; | |
| margin-bottom: 1.8rem; | |
| } | |
| .stat { | |
| flex: 1; | |
| text-align: center; | |
| padding: 0 0.4rem; | |
| border-right: 1px solid var(--border-light); | |
| } | |
| .stat:last-child { border-right: none; } | |
| .stat-icon { | |
| width: 40px; | |
| height: 40px; | |
| margin: 0 auto 0.5rem; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.2rem; | |
| } | |
| .stat-icon-green { background: var(--green-soft); } | |
| .stat-icon-blue { background: var(--blue-soft); } | |
| .stat-title { font-weight: 700; font-size: 0.95rem; } | |
| .stat-sub { color: var(--muted); font-size: 0.72rem; margin-top: 0.15rem; } | |
| .scroll-cue { | |
| color: var(--green); | |
| font-weight: 600; | |
| font-size: 0.95rem; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 0.2rem; | |
| } | |
| .chevron { font-size: 1.2rem; animation: bob 1.6s ease-in-out infinite; } | |
| @keyframes bob { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(5px); } | |
| } | |
| /* ---------- Scanner showcase ---------- */ | |
| .showcase { | |
| position: relative; | |
| overflow: hidden; | |
| padding: 3.2rem 1.4rem 3.5rem; | |
| text-align: center; | |
| background: linear-gradient(180deg, #eaf3fb 0%, #eef6f2 100%); | |
| } | |
| .showcase-blob { | |
| position: absolute; | |
| border-radius: 50%; | |
| filter: blur(2px); | |
| opacity: 0.5; | |
| z-index: 0; | |
| } | |
| .showcase-blob-1 { | |
| top: -60px; | |
| left: -80px; | |
| width: 220px; | |
| height: 220px; | |
| background: radial-gradient(circle, #dbeafe 0%, transparent 70%); | |
| } | |
| .showcase-blob-2 { | |
| bottom: -40px; | |
| right: -70px; | |
| width: 240px; | |
| height: 240px; | |
| background: radial-gradient(circle, #dcfce7 0%, transparent 70%); | |
| } | |
| .showcase-leaf { | |
| position: absolute; | |
| width: 26px; | |
| height: 26px; | |
| opacity: 0.55; | |
| z-index: 0; | |
| } | |
| .showcase-leaf-1 { top: 12%; left: 6%; transform: rotate(-15deg); } | |
| .showcase-leaf-2 { top: 20%; right: 8%; transform: rotate(20deg) scaleX(-1); width: 20px; height: 20px; } | |
| .showcase-head { position: relative; z-index: 1; max-width: 480px; margin: 0 auto 2.2rem; } | |
| .showcase-star { width: 22px; height: 22px; margin-bottom: 0.6rem; } | |
| .showcase-head h2 { font-size: 1.9rem; font-weight: 800; margin: 0 0 0.6rem; } | |
| .showcase-sub { color: var(--muted); font-size: 1rem; line-height: 1.55; margin: 0; } | |
| .showcase-demo { | |
| position: relative; | |
| z-index: 1; | |
| display: flex; | |
| flex-direction: row; | |
| align-items: flex-start; | |
| justify-content: center; | |
| gap: clamp(0.6rem, 3vw, 2.5rem); | |
| max-width: 900px; | |
| margin: 0 auto; | |
| } | |
| /* Phone mockup — every dimension inside is expressed in cqw so the | |
| whole device keeps its proportions from 120px wide up to 300px. */ | |
| .demo-phone { | |
| position: relative; | |
| flex: 0 0 auto; | |
| width: clamp(130px, 40vw, 300px); | |
| container-type: inline-size; | |
| } | |
| .phone-btn { | |
| position: absolute; | |
| z-index: 0; | |
| background: linear-gradient(180deg, #6b7280, #2b2f36 55%, #15171b); | |
| box-shadow: 0 1px 1px rgba(255, 255, 255, 0.15) inset; | |
| } | |
| .phone-btn-power { right: -1cqw; top: 43cqw; width: 1cqw; height: 21cqw; border-radius: 0 1cqw 1cqw 0; } | |
| .phone-btn-vol-up { left: -1cqw; top: 32cqw; width: 1cqw; height: 11cqw; border-radius: 1cqw 0 0 1cqw; } | |
| .phone-btn-vol-down { left: -1cqw; top: 47cqw; width: 1cqw; height: 11cqw; border-radius: 1cqw 0 0 1cqw; } | |
| .phone-frame { | |
| position: relative; | |
| z-index: 1; | |
| background: linear-gradient(155deg, #4b5058 0%, #23262c 45%, #0a0b0d 100%); | |
| border-radius: 15cqw; | |
| padding: 3.4cqw; | |
| box-shadow: | |
| 0 30px 60px -12px rgba(15, 23, 42, 0.45), | |
| 0 10px 24px rgba(15, 23, 42, 0.25), | |
| inset 0 0 0 1px rgba(255, 255, 255, 0.08); | |
| } | |
| .phone-camera-dot { | |
| position: absolute; | |
| top: 6.6cqw; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 3cqw; | |
| height: 3cqw; | |
| border-radius: 50%; | |
| background: radial-gradient(circle at 35% 35%, #3a4a5c, #05070a 70%); | |
| box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05); | |
| z-index: 4; | |
| } | |
| .phone-screen { | |
| position: relative; | |
| aspect-ratio: 9 / 18.5; | |
| border-radius: 12cqw; | |
| overflow: hidden; | |
| box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35), inset 0 2px 10px rgba(0, 0, 0, 0.15); | |
| } | |
| /* Full-bleed live camera preview using the real bottle photo. */ | |
| .camera-preview { | |
| position: absolute; | |
| inset: 0; | |
| background-image: url('images/bottle.jpg'); | |
| background-repeat: no-repeat; | |
| background-position: center 38%; | |
| background-size: cover; | |
| } | |
| .camera-preview::after { | |
| content: ""; | |
| position: absolute; | |
| inset: 0; | |
| background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, transparent 22%), linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 16%); | |
| } | |
| .screen-icon-btn { | |
| position: absolute; | |
| top: 6cqw; | |
| width: 8.7cqw; | |
| height: 8.7cqw; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: #fff; | |
| filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45)); | |
| z-index: 3; | |
| } | |
| .screen-icon-btn svg { width: 100%; height: 100%; } | |
| .screen-icon-close { left: 4.7cqw; } | |
| .screen-icon-flash { right: 4.7cqw; } | |
| .corner { | |
| position: absolute; | |
| width: 7.3cqw; | |
| height: 7.3cqw; | |
| border: 1cqw solid #4ade80; | |
| filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.6)); | |
| z-index: 3; | |
| } | |
| .corner-tl { top: 19.3cqw; left: 4.7cqw; border-right: none; border-bottom: none; border-radius: 2cqw 0 0 0; } | |
| .corner-tr { top: 19.3cqw; right: 4.7cqw; border-left: none; border-bottom: none; border-radius: 0 2cqw 0 0; } | |
| .corner-bl { bottom: 32cqw; left: 4.7cqw; border-right: none; border-top: none; border-radius: 0 0 0 2cqw; } | |
| .corner-br { bottom: 32cqw; right: 4.7cqw; border-left: none; border-top: none; border-radius: 0 0 2cqw 0; } | |
| #scanner-showcase[data-scan-state="scanning"] .corner { | |
| animation: cornerPulse 1.4s ease-in-out infinite; | |
| } | |
| @keyframes cornerPulse { | |
| 0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.6)); } | |
| 50% { opacity: 0.55; filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.9)); } | |
| } | |
| .scan-line { | |
| position: absolute; | |
| left: 4.7cqw; | |
| right: 4.7cqw; | |
| top: 19.3cqw; | |
| height: 1cqw; | |
| border-radius: 1cqw; | |
| background: linear-gradient(90deg, transparent, #4ade80, transparent); | |
| box-shadow: 0 0 10px 2px rgba(74, 222, 128, 0.75); | |
| z-index: 3; | |
| opacity: 0; | |
| } | |
| #scanner-showcase[data-scan-state="scanning"] .scan-line { | |
| animation: scanSweep 1.7s ease-in-out infinite; | |
| } | |
| @keyframes scanSweep { | |
| 0% { top: 19.3cqw; opacity: 0; } | |
| 8% { opacity: 1; } | |
| 92% { opacity: 1; } | |
| 100% { top: calc(100% - 33cqw); opacity: 0; } | |
| } | |
| .detect-badge { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%) scale(0); | |
| width: 20cqw; | |
| height: 20cqw; | |
| border-radius: 50%; | |
| background: var(--green); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(74, 222, 128, 0.22); | |
| opacity: 0; | |
| z-index: 4; | |
| transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease; | |
| } | |
| .detect-badge svg { width: 46%; height: 46%; } | |
| #scanner-showcase[data-scan-state="detecting"] .detect-badge { | |
| transform: translate(-50%, -50%) scale(1); | |
| opacity: 1; | |
| } | |
| .scanning-pill { | |
| position: absolute; | |
| bottom: 22cqw; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| display: flex; | |
| align-items: center; | |
| gap: 2cqw; | |
| background: rgba(17, 24, 39, 0.78); | |
| color: #fff; | |
| font-size: 3.9cqw; | |
| font-weight: 600; | |
| padding: 1.9cqw 3.7cqw; | |
| border-radius: 999px; | |
| white-space: nowrap; | |
| backdrop-filter: blur(3px); | |
| z-index: 3; | |
| } | |
| .pulse-dot { | |
| width: 2cqw; | |
| height: 2cqw; | |
| min-width: 2cqw; | |
| border-radius: 50%; | |
| background: #4ade80; | |
| animation: pulseDot 1.2s ease-in-out infinite; | |
| } | |
| @keyframes pulseDot { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.25; } | |
| } | |
| #scanner-showcase:not([data-scan-state="scanning"]) .pulse-dot { | |
| animation: none; | |
| opacity: 1; | |
| } | |
| .shutter-btn { | |
| position: absolute; | |
| z-index: 3; | |
| bottom: 6cqw; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 16cqw; | |
| height: 16cqw; | |
| border-radius: 50%; | |
| background: rgba(255, 255, 255, 0.15); | |
| border: 1cqw solid #fff; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| box-shadow: 0 0 0 1.3cqw rgba(255, 255, 255, 0.18), 0 2px 6px rgba(0, 0, 0, 0.25); | |
| } | |
| .shutter-inner { | |
| width: 11.3cqw; | |
| height: 11.3cqw; | |
| border-radius: 50%; | |
| background: radial-gradient(circle at 35% 30%, #ffffff, #d8dee5 70%); | |
| box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); | |
| } | |
| .screen-glare { | |
| position: absolute; | |
| inset: 0; | |
| z-index: 2; | |
| pointer-events: none; | |
| background: linear-gradient(115deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 16%, transparent 32%, transparent 100%); | |
| mix-blend-mode: overlay; | |
| } | |
| /* Result panels */ | |
| .demo-panels { | |
| flex: 1 1 0; | |
| min-width: 0; | |
| display: flex; | |
| flex-direction: column; | |
| gap: clamp(0.6rem, 2vw, 1rem); | |
| opacity: 0; | |
| transform: translateY(14px); | |
| transition: opacity 0.5s ease, transform 0.5s ease; | |
| } | |
| #scanner-showcase[data-scan-state="result"] .demo-panels { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| .panel-card { | |
| background: var(--white); | |
| border-radius: clamp(10px, 2vw, 18px); | |
| box-shadow: var(--card-shadow); | |
| padding: clamp(0.7rem, 3vw, 1.3rem) clamp(0.7rem, 3vw, 1.3rem) clamp(0.85rem, 3vw, 1.5rem); | |
| text-align: left; | |
| min-width: 0; | |
| } | |
| .panel-label { color: var(--muted); font-size: clamp(0.62rem, 2vw, 0.82rem); margin-bottom: 0.2rem; } | |
| .prediction-top { display: flex; align-items: center; gap: clamp(0.4rem, 2vw, 0.8rem); } | |
| .check-icon { | |
| width: clamp(26px, 8vw, 40px); | |
| height: clamp(26px, 8vw, 40px); | |
| min-width: clamp(26px, 8vw, 40px); | |
| border-radius: 50%; | |
| background: var(--green); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .check-icon svg { width: 55%; height: 55%; } | |
| .prediction-value { font-size: clamp(0.8rem, 3.4vw, 1.25rem); font-weight: 800; } | |
| .panel-divider { height: 1px; background: var(--border-light); margin: clamp(0.6rem, 3vw, 1.1rem) 0; } | |
| .confidence-value { font-size: clamp(1.05rem, 5vw, 1.8rem); font-weight: 800; color: var(--green); margin: 0.1rem 0 0.6rem; } | |
| .confidence-bar { | |
| width: 100%; | |
| height: 8px; | |
| border-radius: 999px; | |
| background: var(--border-light); | |
| overflow: hidden; | |
| } | |
| .confidence-fill { | |
| display: block; | |
| height: 100%; | |
| width: 0%; | |
| border-radius: 999px; | |
| background: var(--green); | |
| transition: width 1s ease 0.15s; | |
| } | |
| .belongs-badge { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.5rem; | |
| margin-top: 0.5rem; | |
| background: var(--blue); | |
| color: #fff; | |
| font-weight: 800; | |
| letter-spacing: 0.02em; | |
| font-size: clamp(0.68rem, 2.6vw, 1rem); | |
| padding: clamp(0.55rem, 2.5vw, 0.85rem) clamp(0.5rem, 2vw, 1rem); | |
| border-radius: 12px; | |
| } | |
| .belongs-badge svg { width: clamp(14px, 4vw, 20px); height: clamp(14px, 4vw, 20px); flex: none; } | |
| .top-predictions-card h3 { margin: 0 0 clamp(0.5rem, 2vw, 1rem); font-size: clamp(0.82rem, 3vw, 1.05rem); font-weight: 800; } | |
| .prediction-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(0.55rem, 2.5vw, 1rem); } | |
| .prediction-list li { | |
| display: grid; | |
| grid-template-columns: clamp(22px, 7vw, 34px) auto 1fr auto; | |
| align-items: center; | |
| gap: clamp(0.35rem, 1.6vw, 0.6rem); | |
| } | |
| .pred-icon { | |
| width: clamp(22px, 7vw, 34px); | |
| height: clamp(22px, 7vw, 34px); | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .pred-icon svg { width: 48%; height: 48%; } | |
| .pred-icon-blue { background: var(--blue-soft); color: var(--blue); } | |
| .pred-icon-green { background: var(--green-soft); color: var(--green); } | |
| .pred-icon-brown { background: #f3e8dc; color: #92400e; } | |
| .pred-name { font-weight: 600; font-size: clamp(0.68rem, 2.4vw, 0.92rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .pred-bar-track { | |
| height: 6px; | |
| border-radius: 999px; | |
| background: var(--border-light); | |
| overflow: hidden; | |
| } | |
| .pred-bar-fill { display: block; height: 100%; width: 0%; border-radius: 999px; transition: width 0.9s ease 0.15s; } | |
| .pred-bar-blue { background: var(--blue); } | |
| .pred-bar-green { background: var(--green); } | |
| .pred-bar-brown { background: #92400e; } | |
| .pred-pct { font-weight: 700; font-size: clamp(0.62rem, 2.2vw, 0.85rem); color: var(--muted); } | |
| /* Feature strip */ | |
| .showcase-features { | |
| position: relative; | |
| z-index: 1; | |
| max-width: 900px; | |
| margin: 2.8rem auto 0; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1.4rem; | |
| } | |
| .showcase-feature { text-align: center; } | |
| .showcase-feature-icon { | |
| width: 52px; | |
| height: 52px; | |
| margin: 0 auto 0.7rem; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.4rem; | |
| } | |
| .showcase-feature-icon svg { width: 24px; height: 24px; } | |
| .showcase-feature-icon-green { background: var(--green-soft); color: var(--green); } | |
| .showcase-feature-icon-blue { background: var(--blue-soft); color: var(--blue); } | |
| .showcase-feature-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 0.3rem; } | |
| .showcase-feature-sub { color: var(--muted); font-size: 0.88rem; margin: 0; } | |
| @media (min-width: 720px) { | |
| .showcase-demo { gap: 2.5rem; } | |
| .demo-panels { max-width: 340px; } | |
| .showcase-features { flex-direction: row; } | |
| .showcase-feature { flex: 1; } | |
| } | |
| /* ---------- Bins section ---------- */ | |
| .bins-section { | |
| background: linear-gradient(180deg, #f7fbfa 0%, #f2f9f5 100%); | |
| padding: clamp(2rem, 6vw, 3rem) clamp(0.6rem, 2.5vw, 1.2rem) clamp(2.4rem, 7vw, 3.5rem); | |
| text-align: center; | |
| } | |
| .bins-head { max-width: 460px; margin: 0 auto 1.8rem; } | |
| .bins-badge-row { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.8rem; | |
| margin-bottom: 1rem; | |
| } | |
| .bins-dash { | |
| width: 60px; | |
| height: 2px; | |
| background: linear-gradient(90deg, transparent, var(--green)); | |
| border-radius: 2px; | |
| } | |
| .bins-dash:last-child { background: linear-gradient(90deg, var(--green), transparent); } | |
| .bins-badge { | |
| width: 46px; | |
| height: 46px; | |
| border-radius: 50%; | |
| background: var(--green-soft); | |
| color: var(--green); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.4rem; | |
| flex: none; | |
| } | |
| .bins-section h2 { font-size: 1.85rem; font-weight: 800; margin: 0 0 0.5rem; letter-spacing: -0.01em; } | |
| .bins-sub { color: var(--muted); font-size: 1rem; line-height: 1.5; margin: 0; } | |
| .bin-cards { | |
| display: flex; | |
| flex-direction: row; | |
| align-items: stretch; | |
| gap: clamp(0.45rem, 1.6vw, 1.2rem); | |
| max-width: 1000px; | |
| margin: 0 auto; | |
| } | |
| .bin-card { | |
| flex: 1; | |
| min-width: 0; | |
| border-radius: clamp(14px, 3vw, 22px); | |
| padding: clamp(0.7rem, 2.4vw, 1.8rem) clamp(0.45rem, 1.8vw, 1.3rem) clamp(0.7rem, 2.2vw, 1.6rem); | |
| text-align: center; | |
| border: 1px solid rgba(15, 23, 42, 0.05); | |
| } | |
| .bin-card-green { --bin: var(--green); background: linear-gradient(180deg, #eef9f0 0%, #f4fbf6 100%); } | |
| .bin-card-blue { --bin: var(--blue); background: linear-gradient(180deg, #eaf3fd 0%, #f3f8fe 100%); } | |
| .bin-card-red { --bin: var(--red); background: linear-gradient(180deg, #fdeeee 0%, #fef5f5 100%); } | |
| .bin-badge { | |
| width: clamp(34px, 11vw, 62px); | |
| height: clamp(34px, 11vw, 62px); | |
| margin: 0 auto clamp(0.5rem, 1.8vw, 1rem); | |
| border-radius: 50%; | |
| background: var(--bin); | |
| color: #fff; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: clamp(0.95rem, 3.2vw, 1.7rem); | |
| } | |
| .bin-card h3 { | |
| margin: 0 0 clamp(0.25rem, 1vw, 0.5rem); | |
| font-size: clamp(0.7rem, 2.7vw, 1.25rem); | |
| font-weight: 800; | |
| text-transform: uppercase; | |
| letter-spacing: 0.01em; | |
| line-height: 1.25; | |
| color: var(--bin); | |
| } | |
| .bin-card-tag { | |
| color: var(--muted); | |
| font-size: clamp(0.6rem, 2.1vw, 0.92rem); | |
| line-height: 1.45; | |
| margin: 0 auto clamp(0.5rem, 2vw, 1.2rem); | |
| max-width: 240px; | |
| } | |
| .bin-art-wrap { | |
| display: flex; | |
| justify-content: center; | |
| padding: clamp(0.3rem, 1.2vw, 0.6rem) 0 clamp(0.6rem, 2vw, 1.2rem); | |
| } | |
| .bin-art { width: clamp(62px, 21vw, 150px); height: auto; color: var(--bin); } | |
| .examples-pill { | |
| display: inline-block; | |
| background: var(--bin); | |
| color: #fff; | |
| border-radius: 999px; | |
| padding: clamp(0.28rem, 1.1vw, 0.5rem) clamp(0.6rem, 2.6vw, 1.4rem); | |
| margin-bottom: clamp(0.5rem, 2vw, 1.2rem); | |
| font-weight: 700; | |
| font-size: clamp(0.6rem, 2.1vw, 0.92rem); | |
| } | |
| .example-list { | |
| list-style: none; | |
| margin: 0; | |
| padding: 0; | |
| text-align: left; | |
| } | |
| .example-list li { | |
| display: flex; | |
| align-items: center; | |
| gap: clamp(0.35rem, 1.6vw, 0.85rem); | |
| padding: clamp(0.35rem, 1.3vw, 0.6rem) 0; | |
| border-bottom: 1px solid rgba(15, 23, 42, 0.07); | |
| color: var(--ink); | |
| font-size: clamp(0.6rem, 2.1vw, 0.95rem); | |
| line-height: 1.3; | |
| } | |
| .example-list li:last-child { border-bottom: none; } | |
| .example-icon { | |
| width: clamp(22px, 7.5vw, 38px); | |
| height: clamp(22px, 7.5vw, 38px); | |
| min-width: clamp(22px, 7.5vw, 38px); | |
| border-radius: 50%; | |
| background: var(--white); | |
| color: var(--bin); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: clamp(0.65rem, 2.3vw, 1.1rem); | |
| box-shadow: 0 3px 8px rgba(15, 23, 42, 0.07); | |
| } | |
| /* Bottom CTA banner */ | |
| .bins-cta { | |
| position: relative; | |
| overflow: hidden; | |
| max-width: 1000px; | |
| margin: 2rem auto 0; | |
| padding: 2rem 1.4rem 2.2rem; | |
| border-radius: 22px; | |
| background: linear-gradient(180deg, #eaf7ee 0%, #dff2e4 100%); | |
| text-align: center; | |
| } | |
| .bins-cta-globe { | |
| position: absolute; | |
| left: -14px; | |
| bottom: 10px; | |
| width: 88px; | |
| height: 88px; | |
| opacity: 0.85; | |
| } | |
| .bins-cta-recycle { | |
| position: absolute; | |
| right: -10px; | |
| top: 22px; | |
| width: 76px; | |
| height: 76px; | |
| opacity: 0.5; | |
| } | |
| .bins-cta-copy { position: relative; z-index: 1; } | |
| .bins-cta h3 { | |
| font-size: 1.35rem; | |
| font-weight: 800; | |
| line-height: 1.35; | |
| margin: 0 0 1.4rem; | |
| } | |
| .cta-scan-green { | |
| position: relative; | |
| z-index: 1; | |
| margin: 0 auto; | |
| background: linear-gradient(90deg, #22c55e, #16a34a); | |
| box-shadow: 0 12px 26px rgba(22, 163, 74, 0.3); | |
| font-size: 1.05rem; | |
| padding: 0.95rem 1.5rem; | |
| max-width: 340px; | |
| } | |
| .cta-scan-green .cta-arrow { display: none; } | |
| @media (min-width: 760px) { | |
| .bins-cta { padding: 2.5rem 2rem; } | |
| .bins-cta h3 { font-size: 1.6rem; } | |
| } | |
| /* ---------- Scanner modal (dark) ---------- */ | |
| .scanner-modal { | |
| position: fixed; | |
| inset: 0; | |
| z-index: 40; | |
| background: #000; | |
| } | |
| /* Full-screen live viewfinder, styled like the showcase phone screen. */ | |
| .camera-wrap { | |
| position: relative; | |
| width: 100%; | |
| height: 100%; | |
| background: #000; | |
| overflow: hidden; | |
| } | |
| #video, #captured { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| display: block; | |
| } | |
| .cam-icon-btn { | |
| position: absolute; | |
| top: calc(1.1rem + env(safe-area-inset-top)); | |
| width: 42px; | |
| height: 42px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 9px; | |
| border: none; | |
| border-radius: 50%; | |
| background: transparent; | |
| color: #fff; | |
| cursor: pointer; | |
| touch-action: manipulation; | |
| filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55)); | |
| z-index: 4; | |
| } | |
| .cam-icon-btn svg { width: 100%; height: 100%; } | |
| .cam-icon-btn:active { transform: scale(0.92); } | |
| .cam-close { left: 0.8rem; } | |
| .cam-flash { right: 0.8rem; } | |
| .cam-flash.is-on { color: #fde047; } | |
| /* Reuse the showcase bracket look, sized for the live viewfinder. */ | |
| .camera-wrap .corner { | |
| width: 34px; | |
| height: 34px; | |
| border-width: 3px; | |
| } | |
| .camera-wrap .corner-tl { top: 12%; left: 20px; border-radius: 8px 0 0 0; } | |
| .camera-wrap .corner-tr { top: 12%; right: 20px; border-radius: 0 8px 0 0; } | |
| .camera-wrap .corner-bl { bottom: 22%; left: 20px; border-radius: 0 0 0 8px; } | |
| .camera-wrap .corner-br { bottom: 22%; right: 20px; border-radius: 0 0 8px 0; } | |
| .live-scan-line { | |
| position: absolute; | |
| left: 20px; | |
| right: 20px; | |
| top: 12%; | |
| height: 3px; | |
| border-radius: 3px; | |
| background: linear-gradient(90deg, transparent, #4ade80, transparent); | |
| box-shadow: 0 0 12px 2px rgba(74, 222, 128, 0.8); | |
| opacity: 0; | |
| z-index: 3; | |
| } | |
| .camera-wrap.is-scanning .live-scan-line { | |
| animation: liveScanSweep 1.4s ease-in-out infinite; | |
| } | |
| .camera-wrap.is-scanning .corner { | |
| animation: cornerPulse 1.4s ease-in-out infinite; | |
| } | |
| .cam-detect-badge { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%) scale(0); | |
| width: 84px; | |
| height: 84px; | |
| border-radius: 50%; | |
| background: var(--green); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| opacity: 0; | |
| z-index: 5; | |
| box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 12px rgba(74, 222, 128, 0.22); | |
| transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease; | |
| } | |
| .cam-detect-badge svg { width: 40px; height: 40px; } | |
| .cam-detect-badge.is-visible { | |
| transform: translate(-50%, -50%) scale(1); | |
| opacity: 1; | |
| } | |
| @keyframes liveScanSweep { | |
| 0% { top: 12%; opacity: 0; } | |
| 10% { opacity: 1; } | |
| 90% { opacity: 1; } | |
| 100% { top: 78%; opacity: 0; } | |
| } | |
| .live-pill { | |
| bottom: calc(6.5rem + env(safe-area-inset-bottom)); | |
| font-size: 0.85rem; | |
| padding: 0.45rem 0.9rem; | |
| gap: 0.45rem; | |
| } | |
| .live-pill .pulse-dot { width: 7px; height: 7px; min-width: 7px; } | |
| .cam-controls { | |
| position: absolute; | |
| bottom: calc(1.6rem + env(safe-area-inset-bottom)); | |
| left: 0; | |
| right: 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 2.4rem; | |
| z-index: 4; | |
| } | |
| .cam-side-btn { | |
| width: 46px; | |
| height: 46px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 11px; | |
| border: none; | |
| border-radius: 50%; | |
| background: rgba(17, 24, 39, 0.55); | |
| color: #fff; | |
| cursor: pointer; | |
| touch-action: manipulation; | |
| backdrop-filter: blur(6px); | |
| transition: transform 0.08s ease; | |
| } | |
| .cam-side-btn svg { width: 100%; height: 100%; } | |
| .cam-side-btn:active { transform: scale(0.92); } | |
| .cam-shutter { | |
| width: 76px; | |
| height: 76px; | |
| border-radius: 50%; | |
| border: 4px solid #fff; | |
| background: rgba(255, 255, 255, 0.15); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| touch-action: manipulation; | |
| box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18), 0 4px 14px rgba(0, 0, 0, 0.35); | |
| transition: transform 0.08s ease; | |
| } | |
| .cam-shutter:active { transform: scale(0.94); } | |
| .cam-shutter:disabled { opacity: 0.6; cursor: not-allowed; } | |
| .cam-shutter-inner { | |
| width: 56px; | |
| height: 56px; | |
| border-radius: 50%; | |
| background: radial-gradient(circle at 35% 30%, #ffffff, #d8dee5 70%); | |
| } | |
| .camera-error { | |
| position: absolute; | |
| inset: 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 1.5rem; | |
| text-align: center; | |
| color: var(--dark-text-dim); | |
| background: var(--dark-surface); | |
| z-index: 2; | |
| } | |
| .btn { | |
| flex: 1; | |
| min-height: 52px; | |
| padding: 0.9rem 1rem; | |
| border-radius: 999px; | |
| border: none; | |
| font-size: 1rem; | |
| font-weight: 700; | |
| cursor: pointer; | |
| touch-action: manipulation; | |
| transition: transform 0.08s ease, opacity 0.15s ease; | |
| } | |
| .btn:active { transform: scale(0.97); } | |
| .btn.primary { | |
| background: linear-gradient(90deg, #22c55e, #2563eb); | |
| color: #fff; | |
| box-shadow: 0 12px 26px rgba(37, 99, 235, 0.32); | |
| } | |
| .btn.secondary { background: var(--dark-surface); color: var(--dark-text); border: 1px solid var(--dark-border); } | |
| .btn:disabled { opacity: 0.5; cursor: not-allowed; } | |
| /* ---------- Result overlay (dark) ---------- */ | |
| .result-overlay { | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(0, 0, 0, 0.75); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 1.2rem; | |
| padding-top: calc(1.2rem + env(safe-area-inset-top)); | |
| padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)); | |
| z-index: 50; | |
| } | |
| .result-card { | |
| width: 100%; | |
| max-width: 380px; | |
| max-height: 88dvh; | |
| overflow-y: auto; | |
| background: var(--white); | |
| border-radius: 22px; | |
| padding: 1.5rem 1.4rem 1.6rem; | |
| text-align: left; | |
| color: var(--ink); | |
| box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); | |
| } | |
| .result-top { display: flex; align-items: center; gap: 0.9rem; } | |
| .result-icon { | |
| width: 46px; | |
| height: 46px; | |
| min-width: 46px; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: #fff; | |
| background: var(--green); | |
| } | |
| .result-icon svg { width: 20px; height: 20px; } | |
| .result-card.green .result-icon { background: var(--green); } | |
| .result-card.blue .result-icon { background: var(--blue); } | |
| .result-card.red .result-icon { background: var(--red); } | |
| .result-prediction { font-size: 1.3rem; font-weight: 800; } | |
| .result-divider { height: 1px; background: var(--border-light); margin: 1.1rem 0; } | |
| .result-confidence-value { | |
| font-size: 1.9rem; | |
| font-weight: 800; | |
| margin: 0.1rem 0 0.6rem; | |
| color: var(--green); | |
| } | |
| .result-card.blue .result-confidence-value { color: var(--blue); } | |
| .result-card.red .result-confidence-value { color: var(--red); } | |
| .result-bar { | |
| width: 100%; | |
| height: 8px; | |
| border-radius: 999px; | |
| background: var(--border-light); | |
| overflow: hidden; | |
| } | |
| .result-bar-fill { | |
| display: block; | |
| height: 100%; | |
| width: 0%; | |
| border-radius: 999px; | |
| background: var(--green); | |
| transition: width 0.8s ease; | |
| } | |
| .result-card.blue .result-bar-fill { background: var(--blue); } | |
| .result-card.red .result-bar-fill { background: var(--red); } | |
| .result-bin-badge { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.7rem; | |
| margin-top: 0.5rem; | |
| padding: 0.9rem 1rem; | |
| border-radius: 14px; | |
| color: #fff; | |
| background: var(--green); | |
| } | |
| .result-card.blue .result-bin-badge { background: var(--blue); } | |
| .result-card.red .result-bin-badge { background: var(--red); } | |
| .result-bin-icon { display: flex; align-items: center; justify-content: center; } | |
| .result-bin-icon svg { width: 24px; height: 24px; } | |
| .result-bin-name { display: block; font-weight: 800; font-size: 1.05rem; } | |
| .result-bin-desc { display: block; font-size: 0.8rem; opacity: 0.9; } | |
| .result-top-preds { margin-top: 1.3rem; } | |
| .result-top-preds h3 { margin: 0 0 0.8rem; font-size: 1rem; font-weight: 800; } | |
| #resultTopList li { grid-template-columns: auto 1fr auto; } | |
| #resultTopList .pred-bar-fill { background: var(--green); } | |
| .result-card.blue #resultTopList .pred-bar-fill { background: var(--blue); } | |
| .result-card.red #resultTopList .pred-bar-fill { background: var(--red); } | |
| .result-again { width: 100%; margin-top: 1.4rem; } | |
| /* ---------- Detailed analysis ---------- */ | |
| .analysis-toggle { | |
| width: 100%; | |
| margin-top: 1.3rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.6rem; | |
| padding: 0.85rem 1rem; | |
| border: 1px solid var(--border-light); | |
| border-radius: 14px; | |
| background: #f7f9fb; | |
| color: var(--ink); | |
| font-size: 0.92rem; | |
| font-weight: 700; | |
| cursor: pointer; | |
| touch-action: manipulation; | |
| } | |
| .analysis-toggle-icon { display: flex; color: var(--blue); } | |
| .analysis-toggle-icon svg { width: 18px; height: 18px; } | |
| .analysis-chevron { margin-left: auto; display: flex; color: var(--muted); transition: transform 0.2s ease; } | |
| .analysis-chevron svg { width: 16px; height: 16px; } | |
| .analysis-toggle.is-open .analysis-chevron { transform: rotate(180deg); } | |
| .analysis-panel { | |
| margin-top: 0.9rem; | |
| padding: 1rem; | |
| border: 1px solid var(--border-light); | |
| border-radius: 14px; | |
| background: #fbfcfd; | |
| } | |
| .analysis-metrics { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 0.7rem; | |
| } | |
| .metric { | |
| background: var(--white); | |
| border: 1px solid var(--border-light); | |
| border-radius: 12px; | |
| padding: 0.7rem 0.8rem; | |
| } | |
| .metric-label { color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; } | |
| .metric-value { font-size: 1.05rem; font-weight: 800; margin-top: 0.15rem; } | |
| .metric-note { color: var(--muted); font-size: 0.7rem; margin-top: 0.1rem; } | |
| .analysis-heading { | |
| margin: 1.2rem 0 0.6rem; | |
| font-size: 0.78rem; | |
| font-weight: 800; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| color: var(--muted); | |
| } | |
| .dist-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; } | |
| .dist-list li { | |
| display: grid; | |
| grid-template-columns: 5.6rem 1fr 3.2rem; | |
| align-items: center; | |
| gap: 0.5rem; | |
| font-size: 0.75rem; | |
| } | |
| .dist-name { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .dist-list li.is-top .dist-name { color: var(--ink); font-weight: 700; } | |
| .dist-track { height: 6px; border-radius: 999px; background: var(--border-light); overflow: hidden; } | |
| .dist-fill { display: block; height: 100%; border-radius: 999px; background: #c2ccd6; } | |
| .dist-list li.is-top .dist-fill { background: var(--blue); } | |
| .dist-pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); } | |
| .dist-list li.is-top .dist-pct { color: var(--ink); font-weight: 700; } | |
| .model-card { | |
| margin: 0; | |
| display: grid; | |
| grid-template-columns: auto 1fr; | |
| gap: 0.35rem 0.9rem; | |
| font-size: 0.75rem; | |
| } | |
| .model-card dt { color: var(--muted); white-space: nowrap; } | |
| .model-card dd { margin: 0; font-weight: 600; word-break: break-word; } | |
| .explain-hint { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.75rem; line-height: 1.5; } | |
| .explain-btn { | |
| width: 100%; | |
| padding: 0.75rem 1rem; | |
| border: 1px dashed var(--blue); | |
| border-radius: 12px; | |
| background: var(--blue-soft); | |
| color: var(--blue); | |
| font-size: 0.85rem; | |
| font-weight: 700; | |
| cursor: pointer; | |
| touch-action: manipulation; | |
| } | |
| .explain-btn:disabled { opacity: 0.7; cursor: progress; } | |
| .explain-result img { | |
| width: 100%; | |
| height: auto; | |
| display: block; | |
| border-radius: 12px; | |
| border: 1px solid var(--border-light); | |
| } | |
| .explain-meta { | |
| margin: 0.5rem 0 0; | |
| color: var(--muted); | |
| font-size: 0.7rem; | |
| text-align: center; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .toast { | |
| position: fixed; | |
| bottom: calc(1.5rem + env(safe-area-inset-bottom)); | |
| left: 50%; | |
| transform: translateX(-50%); | |
| background: var(--red); | |
| color: #fff; | |
| padding: 0.7rem 1.2rem; | |
| border-radius: 10px; | |
| font-size: 0.9rem; | |
| z-index: 60; | |
| max-width: 90vw; | |
| text-align: center; | |
| } | |
| /* ---------- Desktop hero ---------- */ | |
| @media (min-width: 960px) { | |
| .hero { | |
| display: grid; | |
| grid-template-columns: 1.05fr 1fr; | |
| grid-template-areas: | |
| "copy visual" | |
| "cta visual" | |
| "signup visual" | |
| "stats stats" | |
| "scroll scroll"; | |
| align-items: center; | |
| column-gap: 3.5rem; | |
| row-gap: 1.2rem; | |
| max-width: 1120px; | |
| padding: 3rem 2rem 4rem; | |
| text-align: left; | |
| } | |
| .hero-copy { grid-area: copy; max-width: none; } | |
| .hero-desc { max-width: 460px; } | |
| .hero-visual { grid-area: visual; max-width: 480px; margin-bottom: 0; align-self: center; } | |
| .cta-scan { grid-area: cta; width: auto; min-width: 300px; align-self: start; } | |
| .no-signup { grid-area: signup; justify-content: flex-start; } | |
| .stats-row { grid-area: stats; max-width: 640px; margin: 1rem 0 0; } | |
| .scroll-cue { grid-area: scroll; margin: 1.5rem auto 0; } | |
| .hero h1 { font-size: 3.2rem; } | |
| .cta-scan:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(37, 99, 235, 0.34); } | |
| } | |