Spaces:
Sleeping
Sleeping
| :root { | |
| /* Refined Color System */ | |
| --primary-color: #1A5319; | |
| /* Deep Forest Green */ | |
| --primary-light: #508D4E; | |
| --primary-hover: #133E12; | |
| --accent-color: #D6EFD8; | |
| /* Light Mint */ | |
| --text-main: #1E293B; | |
| /* Slate 800 */ | |
| --text-muted: #64748B; | |
| /* Slate 500 */ | |
| --bg-body: #F8FAFC; | |
| /* Slate 50 */ | |
| --bg-card: #FFFFFF; | |
| --border-color: #E2E8F0; | |
| /* Slate 200 */ | |
| --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); | |
| --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1); | |
| --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1); | |
| --radius-sm: 6px; | |
| --radius-md: 10px; | |
| --radius-lg: 20px; | |
| --font-sans: 'Inter', system-ui, -apple-system, sans-serif; | |
| --header-height: 64px; | |
| } | |
| /* Base Reset & Typography */ | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| body { | |
| font-family: var(--font-sans); | |
| background-color: var(--bg-body); | |
| color: var(--text-main); | |
| line-height: 1.6; | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 100vh; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| /* Accessibility: Focus Rings */ | |
| :focus-visible { | |
| outline: none; | |
| box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary-color) ; | |
| } | |
| h1, | |
| h2, | |
| h3, | |
| h4 { | |
| color: var(--text-main); | |
| font-weight: 700; | |
| line-height: 1.1; | |
| } | |
| h1 { | |
| font-size: clamp(2.5rem, 5vw, 3.5rem); | |
| } | |
| /* Responsive scale */ | |
| h2 { | |
| font-size: 2rem; | |
| } | |
| /* Layout */ | |
| .container { | |
| width: 100%; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 1.5rem; | |
| } | |
| .main-content { | |
| flex: 1; | |
| padding: 0; | |
| /* Removing top padding since hero will handle it */ | |
| } | |
| /* Navbar Slider & Slimmer */ | |
| .navbar { | |
| background: rgba(255, 255, 255, 0.8); | |
| backdrop-filter: blur(12px); | |
| height: var(--header-height); | |
| border-bottom: 1px solid var(--border-color); | |
| position: sticky; | |
| top: 0; | |
| z-index: 1000; | |
| } | |
| .nav-container { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| height: 100%; | |
| } | |
| .nav-brand { | |
| font-size: 1.25rem; | |
| font-weight: 800; | |
| color: var(--primary-color); | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .nav-links { | |
| display: flex; | |
| gap: 1.5rem; | |
| align-items: center; | |
| } | |
| .nav-link { | |
| color: var(--text-muted); | |
| font-weight: 500; | |
| font-size: 0.9rem; | |
| padding: 0.4rem 0.6rem; | |
| border-radius: var(--radius-sm); | |
| transition: all 0.2s ease; | |
| } | |
| .nav-link:hover, | |
| .nav-link.active { | |
| color: var(--primary-color); | |
| } | |
| .nav-link.active { | |
| position: relative; | |
| } | |
| .nav-link.active::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -21px; | |
| left: 0; | |
| width: 100%; | |
| height: 2px; | |
| background: var(--primary-color); | |
| } | |
| .dropdown-menu a:hover { | |
| background: var(--bg-body); | |
| color: var(--primary-color); | |
| } | |
| .dropdown-toggle { | |
| display: flex; | |
| align-items: center; | |
| gap: 4px; | |
| } | |
| .mobile-toggle { | |
| display: none; | |
| } | |
| .weather-badge { | |
| background: var(--accent-color); | |
| color: var(--primary-color); | |
| padding: 6px 14px; | |
| border-radius: 99px; | |
| font-size: 0.75rem; | |
| font-weight: 700; | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| border: 1px solid rgba(26, 83, 25, 0.1); | |
| } | |
| /* Hero Section */ | |
| .hero-section { | |
| padding: 120px 0 100px; | |
| background: radial-gradient(circle at top right, rgba(80, 141, 78, 0.08), transparent 40%), | |
| radial-gradient(circle at 10% 20%, rgba(80, 141, 78, 0.05), transparent 30%); | |
| } | |
| .hero-grid { | |
| display: grid; | |
| grid-template-columns: 1.1fr 0.9fr; | |
| gap: 5rem; | |
| align-items: center; | |
| } | |
| .hero-content { | |
| max-width: 600px; | |
| } | |
| .hero-tagline { | |
| display: inline-block; | |
| padding: 6px 16px; | |
| background: var(--accent-color); | |
| color: var(--primary-color); | |
| border-radius: 99px; | |
| font-size: 0.8rem; | |
| font-weight: 700; | |
| margin-bottom: 1.5rem; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .hero-content h1 { | |
| margin-bottom: 1.5rem; | |
| letter-spacing: -0.02em; | |
| } | |
| .hero-subtitle { | |
| font-size: 1.25rem; | |
| color: var(--text-muted); | |
| margin-bottom: 3rem; | |
| line-height: 1.5; | |
| } | |
| .hero-cta { | |
| display: flex; | |
| align-items: center; | |
| gap: 1.5rem; | |
| margin-bottom: 3rem; | |
| } | |
| .cta-helper { | |
| font-size: 0.85rem; | |
| color: var(--text-muted); | |
| font-weight: 500; | |
| } | |
| .hero-image-container { | |
| position: relative; | |
| padding: 1rem; | |
| background: white; | |
| border-radius: var(--radius-lg); | |
| box-shadow: var(--shadow-lg); | |
| border: 1px solid var(--border-color); | |
| } | |
| .hero-image-container::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: linear-gradient(to bottom right, rgba(26, 83, 25, 0.1), transparent); | |
| pointer-events: none; | |
| border-radius: inherit; | |
| } | |
| .hero-image-container img { | |
| width: 100%; | |
| height: auto; | |
| border-radius: calc(var(--radius-lg) - 1rem); | |
| display: block; | |
| object-fit: cover; | |
| } | |
| .hero-trust { | |
| display: flex; | |
| gap: 2rem; | |
| padding-top: 2.5rem; | |
| border-top: 1px solid var(--border-color); | |
| } | |
| .trust-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| font-size: 0.85rem; | |
| color: var(--text-muted); | |
| font-weight: 600; | |
| } | |
| /* Utilities */ | |
| .text-center { | |
| text-align: center; | |
| } | |
| .mb-1 { | |
| margin-bottom: 0.25rem; | |
| } | |
| .mb-2 { | |
| margin-bottom: 0.5rem; | |
| } | |
| .mb-3 { | |
| margin-bottom: 1rem; | |
| } | |
| .mb-4 { | |
| margin-bottom: 1.5rem; | |
| } | |
| .mt-4 { | |
| margin-top: 1.5rem; | |
| } | |
| /* Components: Buttons */ | |
| .btn { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 0.75rem 1.75rem; | |
| border-radius: var(--radius-md); | |
| font-weight: 600; | |
| font-size: 0.95rem; | |
| border: 1px solid transparent; | |
| cursor: pointer; | |
| transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); | |
| gap: 0.6rem; | |
| } | |
| .btn-primary { | |
| background-color: var(--primary-color); | |
| color: white; | |
| } | |
| .btn-primary:hover { | |
| background-color: var(--primary-hover); | |
| transform: translateY(-2px); | |
| box-shadow: 0 12px 20px -5px rgba(26, 83, 25, 0.3); | |
| } | |
| .btn-ghost { | |
| background-color: transparent; | |
| border-color: var(--border-color); | |
| color: var(--text-main); | |
| } | |
| .btn-ghost:hover { | |
| background-color: var(--bg-body); | |
| border-color: var(--text-muted); | |
| } | |
| .btn-text { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-muted); | |
| padding: 0.5rem; | |
| } | |
| .btn-text:hover { | |
| color: var(--primary-color); | |
| } | |
| .btn-large { | |
| padding: 1rem 2.5rem; | |
| font-size: 1.05rem; | |
| } | |
| /* Components: Cards & Features */ | |
| .section-padding { | |
| padding: 100px 0; | |
| } | |
| .feature-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); | |
| gap: 1.5rem; | |
| margin-bottom: 5rem; | |
| max-width: 1140px; | |
| margin-left: auto; | |
| margin-right: auto; | |
| } | |
| .feature-card { | |
| background: white; | |
| padding: 3rem; | |
| border-radius: var(--radius-lg); | |
| border: 1px solid var(--border-color); | |
| transition: all 0.4s ease; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .feature-card:hover { | |
| transform: translateY(-10px); | |
| box-shadow: var(--shadow-lg); | |
| border-color: var(--primary-light); | |
| } | |
| .feature-icon { | |
| font-size: 2.5rem; | |
| margin-bottom: 2rem; | |
| width: 64px; | |
| height: 64px; | |
| background: var(--accent-color); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| border-radius: 18px; | |
| color: var(--primary-color); | |
| } | |
| .feature-card h3 { | |
| margin-bottom: 1rem; | |
| font-size: 1.5rem; | |
| } | |
| .feature-card p { | |
| color: var(--text-muted); | |
| margin-bottom: 2rem; | |
| font-size: 1rem; | |
| line-height: 1.5; | |
| } | |
| .benefit-list { | |
| list-style: none; | |
| margin-bottom: 2.5rem; | |
| padding: 0; | |
| } | |
| .benefit-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| font-size: 0.9rem; | |
| color: var(--text-main); | |
| font-weight: 500; | |
| margin-bottom: 0.75rem; | |
| } | |
| .benefit-item i { | |
| color: var(--primary-color); | |
| font-size: 0.8rem; | |
| } | |
| .feature-card .btn { | |
| margin-top: auto; | |
| width: 100%; | |
| align-self: flex-end; | |
| /* Ensures alignment at baseline */ | |
| } | |
| /* Forms */ | |
| .form-group { | |
| margin-bottom: 1.5rem; | |
| } | |
| .form-label { | |
| display: block; | |
| margin-bottom: 0.5rem; | |
| font-weight: 500; | |
| color: var(--text-main); | |
| } | |
| .form-control { | |
| width: 100%; | |
| padding: 0.8rem 1rem; | |
| font-size: 1rem; | |
| border: 2px solid var(--border-color); | |
| border-radius: var(--radius-md); | |
| transition: border-color 0.2s box-shadow 0.2s; | |
| font-family: inherit; | |
| } | |
| .form-control:focus { | |
| outline: none; | |
| border-color: var(--primary-color); | |
| box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1); | |
| } | |
| /* Upload Area */ | |
| .upload-area { | |
| border: 2px dashed var(--border-color); | |
| border-radius: var(--radius-lg); | |
| padding: 3rem 1rem; | |
| text-align: center; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| background: #FAFAFA; | |
| } | |
| .upload-area:hover, | |
| .upload-area.dragover { | |
| border-color: var(--primary-color); | |
| background: rgba(46, 125, 50, 0.05); | |
| } | |
| .upload-icon { | |
| font-size: 3rem; | |
| color: var(--text-muted); | |
| margin-bottom: 1rem; | |
| } | |
| .file-preview img { | |
| max-width: 100%; | |
| max-height: 300px; | |
| border-radius: var(--radius-md); | |
| margin-top: 1rem; | |
| box-shadow: var(--shadow-sm); | |
| } | |
| /* Results Grid */ | |
| .results-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 2rem; | |
| } | |
| /* Weather Card specifics */ | |
| .weather-card { | |
| background: linear-gradient(135deg, #E3F2FD, #FFFFFF); | |
| border-left: 4px solid #2196F3; | |
| } | |
| /* Badge */ | |
| .badge { | |
| display: inline-block; | |
| padding: 0.25rem 0.75rem; | |
| border-radius: 50px; | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| } | |
| .badge-success { | |
| background: #E8F5E9; | |
| color: #2E7D32; | |
| } | |
| .badge-warning { | |
| background: #FFF8E1; | |
| color: #F57F17; | |
| } | |
| .badge-danger { | |
| background: #FFEBEE; | |
| color: #C62828; | |
| } | |
| /* Loader Overlay */ | |
| .loader-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: rgba(255, 255, 255, 0.9); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| z-index: 9999; | |
| opacity: 0; | |
| pointer-events: none; | |
| transition: opacity 0.3s; | |
| } | |
| .loader-overlay.active { | |
| opacity: 1; | |
| pointer-events: all; | |
| } | |
| .spinner { | |
| width: 50px; | |
| height: 50px; | |
| border: 4px solid rgba(46, 125, 50, 0.1); | |
| border-left-color: var(--primary-color); | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { | |
| 100% { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| /* Toast Notifications */ | |
| .toast-container { | |
| position: fixed; | |
| bottom: 20px; | |
| right: 20px; | |
| z-index: 1100; | |
| } | |
| .toast { | |
| background: white; | |
| padding: 1rem 1.5rem; | |
| border-radius: var(--radius-md); | |
| box-shadow: var(--shadow-lg); | |
| margin-top: 10px; | |
| border-left: 4px solid var(--primary-color); | |
| animation: slideIn 0.3s ease-out; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .toast.error { | |
| border-left-color: #D32F2F; | |
| } | |
| @keyframes slideIn { | |
| from { | |
| transform: translateX(100%); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateX(0); | |
| opacity: 1; | |
| } | |
| } | |
| /* Animations */ | |
| .animate-in { | |
| animation: fadeUp 0.5s ease-out forwards; | |
| opacity: 0; | |
| } | |
| @keyframes fadeUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .delay-1 { | |
| animation-delay: 0.1s; | |
| } | |
| .delay-2 { | |
| animation-delay: 0.2s; | |
| } | |
| .delay-3 { | |
| animation-delay: 0.3s; | |
| } | |
| /* Dashboard Specifics */ | |
| .dash-stats { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); | |
| gap: 1.5rem; | |
| margin-bottom: 2rem; | |
| } | |
| .stat-card { | |
| background: var(--bg-card); | |
| padding: 1.5rem; | |
| border-radius: var(--radius-md); | |
| box-shadow: var(--shadow-sm); | |
| text-align: center; | |
| } | |
| .stat-value { | |
| font-size: 2rem; | |
| font-weight: 700; | |
| color: var(--primary-color); | |
| } | |
| /* Footer */ | |
| .footer { | |
| background: #0F172A; | |
| /* Rich Black/Blue */ | |
| color: white; | |
| padding: 80px 0 40px; | |
| border-top: 1px solid rgba(255, 255, 255, 0.05); | |
| } | |
| .footer-grid { | |
| display: grid; | |
| grid-template-columns: 2fr 1fr 1fr 1fr; | |
| gap: 4rem; | |
| margin-bottom: 60px; | |
| } | |
| .footer-brand h3 { | |
| color: white; | |
| font-size: 1.5rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .footer-brand p { | |
| color: #94A3B8; | |
| max-width: 300px; | |
| } | |
| .footer-heading { | |
| color: white; | |
| font-weight: 700; | |
| margin-bottom: 1.5rem; | |
| font-size: 1rem; | |
| } | |
| .footer-links { | |
| list-style: none; | |
| padding: 0; | |
| } | |
| .footer-link { | |
| margin-bottom: 0.75rem; | |
| } | |
| .footer-link a { | |
| color: #94A3B8; | |
| transition: color 0.2s; | |
| font-size: 0.95rem; | |
| } | |
| .footer-link a:hover { | |
| color: var(--primary-light); | |
| } | |
| .footer-bottom { | |
| padding-top: 40px; | |
| border-top: 1px solid rgba(255, 255, 255, 0.05); | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| font-size: 0.85rem; | |
| color: #475569; | |
| } | |
| /* How it Works */ | |
| .steps-grid { | |
| display: grid; | |
| grid-template-columns: repeat(3, 1fr); | |
| gap: 2rem; | |
| margin-top: 3rem; | |
| align-items: stretch; | |
| } | |
| .step-item { | |
| text-align: center; | |
| background: white; | |
| border: 1px solid var(--border-color); | |
| border-radius: var(--radius-lg); | |
| padding: 2rem 1.5rem; | |
| box-shadow: var(--shadow-sm); | |
| } | |
| /* Mobile: stack vertically */ | |
| @media (max-width: 991px) { | |
| .steps-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| @media (max-width: 991px) { | |
| .mobile-toggle { | |
| display: block ; | |
| } | |
| .desktop-links, | |
| .auth-links { | |
| display: none ; | |
| } | |
| .feature-grid { | |
| grid-template-columns: 1fr; | |
| gap: 2rem; | |
| } | |
| .hero-grid { | |
| grid-template-columns: 1fr; | |
| gap: 3rem; | |
| text-align: center; | |
| } | |
| .hero-cta { | |
| justify-content: center; | |
| } | |
| .hero-trust { | |
| justify-content: center; | |
| } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| *, | |
| ::before, | |
| ::after { | |
| animation-duration: 0.01ms ; | |
| animation-iteration-count: 1 ; | |
| transition-duration: 0.01ms ; | |
| scroll-behavior: auto ; | |
| } | |
| } |