/* ============================================================ RideAware — Dark Glassmorphism Theme ============================================================ Design System: - Background: #09090b (near-black) - Primary glass: rgba(255,255,255,0.03–0.08) - Accent: #a78bfa (purple) → #06b6d4 (cyan) gradient - Text: #f1f5f9 (primary), #94a3b8 (secondary), #64748b (tertiary) - Font: Inter ============================================================ */ /* ---------- CSS Custom Properties ---------- */ :root { --bg-primary: #09090b; --bg-secondary: #111113; --bg-card: rgba(255, 255, 255, 0.04); --bg-glass: rgba(255, 255, 255, 0.06); --bg-glass-hover: rgba(255, 255, 255, 0.10); --border-glass: rgba(255, 255, 255, 0.08); --border-glass-hover: rgba(255, 255, 255, 0.16); --accent-start: #a78bfa; --accent-mid: #7c3aed; --accent-end: #06b6d4; --accent-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end)); --accent-glow: rgba(167, 139, 250, 0.35); --text-primary: #f1f5f9; --text-secondary: #94a3b8; --text-tertiary: #64748b; --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px; --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3); --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4); --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5); --shadow-glow: 0 0 30px var(--accent-glow); --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1); --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1); --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1); --max-width: 1100px; --nav-height: 72px; } /* ---------- Reset & Base ---------- */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-height); } body { font-family: var(--font-primary); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } img { max-width: 100%; height: auto; display: block; } a { color: inherit; text-decoration: none; } ul { list-style: none; } /* ---------- Custom Scrollbar ---------- */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--bg-primary); } ::-webkit-scrollbar-thumb { background: rgba(167, 139, 250, 0.3); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: rgba(167, 139, 250, 0.5); } /* ---------- Animated Background Canvas ---------- */ body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(167, 139, 250, 0.10) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%), radial-gradient(ellipse 50% 40% at 50% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 50%), var(--bg-primary); pointer-events: none; } /* Mesh grid texture overlay */ body::after { content: ''; position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; } /* ---------- Container ---------- */ .container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; } /* ---------- Selection ---------- */ ::selection { background: rgba(167, 139, 250, 0.3); color: var(--text-primary); } /* ============================================================ NAVBAR ============================================================ */ .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); display: flex; align-items: center; background: transparent; transition: var(--transition-base); } .navbar.scrolled { background: rgba(9, 9, 11, 0.85); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); border-bottom: 1px solid var(--border-glass); box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3); } .nav-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; width: 100%; } .logo { display: flex; align-items: center; flex-shrink: 0; } .logo-img { height: 28px; width: auto; filter: brightness(0) invert(0.85) sepia(0.3) saturate(0.5); } .nav-links { display: flex; align-items: center; gap: 8px; } .nav-links a { padding: 8px 16px; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); transition: var(--transition-fast); position: relative; } .nav-links a::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px; background: var(--accent-gradient); border-radius: 2px; transform: translateX(-50%); transition: var(--transition-base); opacity: 0; } .nav-links a:hover { color: var(--text-primary); background: var(--bg-glass); } .nav-links a:hover::after { width: 60%; opacity: 1; } /* ---------- Nav Toggle (Mobile) ---------- */ .nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition-fast); } .nav-toggle:hover { background: var(--bg-glass-hover); } .bar { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition-base); } .nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); } .nav-toggle.active .bar:nth-child(2) { opacity: 0; } .nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } /* ============================================================ HERO ============================================================ */ .hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; padding: calc(var(--nav-height) + 48px) 24px 80px; text-align: center; } .hero-content { max-width: 720px; margin: 0 auto; } .hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 100px; font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 32px; animation: fadeUp 0.6s ease forwards; } .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; animation: pulse-dot 2s ease-in-out infinite; } @keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } } .hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; animation: fadeUp 0.6s ease 0.1s forwards; opacity: 0; } .gradient-text { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% 200%; animation: gradient-shift 8s ease infinite; } @keyframes gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } .hero .subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); line-height: 1.7; max-width: 580px; margin: 0 auto 36px; animation: fadeUp 0.6s ease 0.2s forwards; opacity: 0; } .hero-cta { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 16px; animation: fadeUp 0.6s ease 0.3s forwards; opacity: 0; } .email-input { padding: 14px 20px; font-size: 0.9375rem; font-family: var(--font-primary); color: var(--text-primary); background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); outline: none; min-width: 260px; transition: var(--transition-base); } .email-input:focus { border-color: var(--accent-start); box-shadow: 0 0 0 3px var(--accent-glow); background: var(--bg-glass-hover); } .email-input::placeholder { color: var(--text-tertiary); } .btn-primary { padding: 14px 28px; font-size: 0.9375rem; font-weight: 600; font-family: var(--font-primary); color: #fff; background: var(--accent-gradient); border: none; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition-base); position: relative; overflow: hidden; } .btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent); opacity: 0; transition: var(--transition-fast); } .btn-primary:hover::before { opacity: 1; } .btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); } .btn-primary:active { transform: translateY(0); } .hero-note { font-size: 0.8125rem; color: var(--text-tertiary); margin-bottom: 24px; } .action-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font-size: 0.9375rem; font-weight: 500; border-radius: var(--radius-sm); transition: var(--transition-base); } .action-btn.primary { background: var(--accent-gradient); color: #fff; box-shadow: var(--shadow-md); } .action-btn.primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); } .action-btn.secondary { background: var(--bg-glass); color: var(--text-secondary); border: 1px solid var(--border-glass); } .action-btn.secondary:hover { background: var(--bg-glass-hover); color: var(--text-primary); border-color: var(--border-glass-hover); } @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* ============================================================ SOCIAL PROOF BAR ============================================================ */ .proof-bar { padding: 48px 0; border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); background: var(--bg-secondary); } .proof-bar .container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 32px; } .proof-item { text-align: center; } .proof-item .number { font-size: 1.75rem; font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 4px; } .proof-item .label { font-size: 0.8125rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; } /* ============================================================ SECTION COMMON STYLES ============================================================ */ section { padding: 100px 0; } .section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; } .section-label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 100px; font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 16px; } .section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; } .section-subtitle { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; } /* ============================================================ FEATURES GRID (Bento) ============================================================ */ .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .feature-card { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 36px 28px; transition: var(--transition-base); position: relative; overflow: hidden; } .feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent-gradient); opacity: 0; transition: var(--transition-base); transform: scaleX(0); } .feature-card:hover::before { opacity: 1; transform: scaleX(1); } .feature-card:hover { background: var(--bg-glass); border-color: var(--border-glass-hover); transform: translateY(-4px); box-shadow: var(--shadow-lg); } .feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: var(--radius-md); margin-bottom: 20px; font-size: 1.25rem; color: var(--accent-start); transition: var(--transition-base); } .feature-card:hover .feature-icon { background: rgba(167, 139, 250, 0.12); border-color: rgba(167, 139, 250, 0.2); box-shadow: 0 0 20px rgba(167, 139, 250, 0.15); } .feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; } .feature-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; } /* First feature card spans 2 cols */ .feature-card:first-child { grid-column: span 2; } /* ============================================================ HOW IT WORKS ============================================================ */ .how-it-works { background: var(--bg-secondary); } .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } .step-card { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; transition: var(--transition-base); } .step-card:hover { background: var(--bg-glass); border-color: var(--border-glass-hover); transform: translateY(-4px); box-shadow: var(--shadow-lg); } .step-number-ring { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--bg-glass); border: 2px solid var(--border-glass); border-radius: 50%; margin: 0 auto 20px; font-size: 1.25rem; font-weight: 700; transition: var(--transition-base); } .step-card:hover .step-number-ring { border-color: var(--accent-start); box-shadow: 0 0 20px rgba(167, 139, 250, 0.15); } .step-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; } .step-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; } /* ============================================================ ROADMAP / TIMELINE ============================================================ */ .timeline { position: relative; max-width: 640px; margin: 0 auto; } .timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border-glass); } .timeline-item { position: relative; padding-left: 40px; padding-bottom: 36px; } .timeline-item:last-child { padding-bottom: 0; } .timeline-dot { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-primary); border: 2px solid var(--border-glass); z-index: 1; } .timeline-item.live .timeline-dot { border-color: #22c55e; background: rgba(34, 197, 94, 0.15); box-shadow: 0 0 10px rgba(34, 197, 94, 0.3); } .timeline-item.in-progress .timeline-dot { border-color: var(--accent-start); background: rgba(167, 139, 250, 0.15); box-shadow: 0 0 10px var(--accent-glow); } .timeline-item.planned .timeline-dot { border-color: var(--text-tertiary); } .timeline-badge { display: inline-block; padding: 3px 10px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; border-radius: 4px; margin-bottom: 6px; } .timeline-item.live .timeline-badge { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.25); } .timeline-item.in-progress .timeline-badge { background: rgba(167, 139, 250, 0.12); color: var(--accent-start); border: 1px solid rgba(167, 139, 250, 0.2); } .timeline-item.planned .timeline-badge { background: var(--bg-glass); color: var(--text-tertiary); border: 1px solid var(--border-glass); } .timeline-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; } .timeline-item p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; } /* ============================================================ CTA SECTION ============================================================ */ .cta-card { max-width: 640px; margin: 0 auto; padding: 60px 40px; text-align: center; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: var(--radius-xl); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: relative; overflow: hidden; } .cta-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(167, 139, 250, 0.10) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%); pointer-events: none; } .cta-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; position: relative; } .cta-card p { color: var(--text-secondary); margin-bottom: 28px; font-size: 1.05rem; position: relative; } .cta-card .hero-cta { position: relative; animation: none; opacity: 1; } .footer { padding: 40px 24px; border-top: 1px solid var(--border-glass); text-align: center; background: var(--bg-secondary); } .footer p { font-size: 0.875rem; color: var(--text-tertiary); } ======= /* ============================================================ FOOTER ============================================================ */ .footer { padding: 60px 24px 0; border-top: 1px solid var(--border-glass); background: var(--bg-secondary); } .footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; } .footer-logo { height: 28px; width: auto; filter: brightness(0) invert(0.85) sepia(0.3) saturate(0.5); margin-bottom: 12px; } .footer-tagline { font-size: 0.875rem; color: var(--text-tertiary); line-height: 1.7; max-width: 260px; } .footer-heading { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-primary); margin-bottom: 16px; } .footer-links { display: flex; flex-direction: column; gap: 10px; } .footer-links a { font-size: 0.875rem; color: var(--text-tertiary); transition: var(--transition-fast); } .footer-links a:hover { color: var(--accent-start); } .footer-social { display: flex; gap: 12px; } .social-link { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); color: var(--text-tertiary); font-size: 1rem; transition: var(--transition-base); } .social-link:hover { background: var(--bg-glass-hover); border-color: var(--accent-start); color: var(--accent-start); transform: translateY(-2px); } .footer-bottom { padding: 24px 0; border-top: 1px solid var(--border-glass); text-align: center; } .footer-bottom p { font-size: 0.8125rem; color: var(--text-tertiary); } /* Footer responsive */ @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } } @media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-tagline { max-width: 100%; } } ============================================================ */ .footer { padding: 40px 24px; border-top: 1px solid var(--border-glass); text-align: center; background: var(--bg-secondary); } .footer p { font-size: 0.875rem; color: var(--text-tertiary); } /* ============================================================ FADE-IN ANIMATIONS (Intersection Observer) ============================================================ */ .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); } .fade-in.is-visible { opacity: 1; transform: translateY(0); } .fade-in:nth-child(2) { transition-delay: 0.1s; } .fade-in:nth-child(3) { transition-delay: 0.2s; } .fade-in:nth-child(4) { transition-delay: 0.3s; } .fade-in:nth-child(5) { transition-delay: 0.4s; } .fade-in:nth-child(6) { transition-delay: 0.5s; } /* ============================================================ RESPONSIVE ============================================================ */ /* Tablet */ @media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } .feature-card:first-child { grid-column: span 2; } section { padding: 80px 0; } .section-header { margin-bottom: 44px; } } /* Mobile */ @media (max-width: 640px) { :root { --nav-height: 64px; } .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; flex-direction: column; gap: 4px; padding: 16px; background: rgba(9, 9, 11, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-glass); transform: translateY(-110%); opacity: 0; transition: var(--transition-base); pointer-events: none; } .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; } .nav-links a { width: 100%; text-align: center; padding: 12px 16px; } .nav-links a::after { display: none; } .nav-toggle { display: flex; } .features-grid { grid-template-columns: 1fr; } .feature-card:first-child { grid-column: span 1; } .steps-grid { grid-template-columns: 1fr; } .proof-bar .container { flex-direction: row; gap: 24px; } .proof-item .number { font-size: 1.375rem; } .hero-cta { flex-direction: column; } .email-input { min-width: 0; width: 100%; } .btn-primary { width: 100%; text-align: center; } .cta-card { padding: 40px 24px; } section { padding: 60px 0; } .hero { padding-top: calc(var(--nav-height) + 32px); padding-bottom: 60px; } }