feat(frontend): landing page ROA Space cu selector de temă
Pagină de prezentare la ruta `/` (redirect la dashboard pentru utilizatorii autentificați), în stilul design system-ului Romfast, importată din Claude Design (ROA Space Landing). - Hero cu card de rezervare interactiv, secțiuni de beneficii, bandă CTA discretă și footer pe un singur rând (stil autopass) - Selector de temă în header cu aceleași 8 teme ca aplicația/autopass (light, dark, petrol, grafit, cobalt, cupru, hârtie, auto), persistat în localStorage; toată paleta e condusă de tema activă - Conținut încadrat la 1280px, centrat, cu margini în culoarea temei; mod `fullBleed` în App.vue pentru pagini edge-to-edge - Fonturi Plus Jakarta Sans / Manrope / Space Grotesk în index.html Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,10 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Space Booking</title>
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap">
|
||||||
|
<title>ROA Space — Rezervarea spațiilor, fără bătăi de cap</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main class="content">
|
<main class="content" :class="{ 'content-full': fullBleed }">
|
||||||
<router-view />
|
<router-view />
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
@@ -72,6 +72,7 @@ const route = useRoute()
|
|||||||
|
|
||||||
const isPublicRoute = computed(() => route.meta.isPublic === true)
|
const isPublicRoute = computed(() => route.meta.isPublic === true)
|
||||||
const showSidebar = computed(() => authStore.isAuthenticated && !isPublicRoute.value)
|
const showSidebar = computed(() => authStore.isAuthenticated && !isPublicRoute.value)
|
||||||
|
const fullBleed = computed(() => route.meta.fullBleed === true)
|
||||||
const { collapsed, toggleMobile } = useSidebar()
|
const { collapsed, toggleMobile } = useSidebar()
|
||||||
|
|
||||||
const notifications = ref<Notification[]>([])
|
const notifications = ref<Notification[]>([])
|
||||||
@@ -186,6 +187,13 @@ onUnmounted(() => {
|
|||||||
padding: 2rem 1.5rem;
|
padding: 2rem 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Full-bleed pages (e.g. landing) manage their own width/padding */
|
||||||
|
.content-full {
|
||||||
|
max-width: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Mobile header */
|
/* Mobile header */
|
||||||
.mobile-header {
|
.mobile-header {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@@ -8,7 +8,9 @@ const router = createRouter({
|
|||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
redirect: '/dashboard'
|
name: 'Landing',
|
||||||
|
component: () => import('@/views/Landing.vue'),
|
||||||
|
meta: { requiresAuth: false, fullBleed: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/login',
|
path: '/login',
|
||||||
@@ -135,7 +137,7 @@ router.beforeEach((to, _from, next) => {
|
|||||||
next('/dashboard')
|
next('/dashboard')
|
||||||
} else if (to.meta.requiresManager && !authStore.isAdminOrManager) {
|
} else if (to.meta.requiresManager && !authStore.isAdminOrManager) {
|
||||||
next('/dashboard')
|
next('/dashboard')
|
||||||
} else if (to.path === '/login' && authStore.isAuthenticated) {
|
} else if ((to.path === '/login' || to.path === '/') && authStore.isAuthenticated) {
|
||||||
next('/dashboard')
|
next('/dashboard')
|
||||||
} else {
|
} else {
|
||||||
next()
|
next()
|
||||||
|
|||||||
664
frontend/src/views/Landing.vue
Normal file
664
frontend/src/views/Landing.vue
Normal file
@@ -0,0 +1,664 @@
|
|||||||
|
<template>
|
||||||
|
<div class="roa-landing" :data-theme="theme">
|
||||||
|
<div class="roa-page">
|
||||||
|
<!-- NAV -->
|
||||||
|
<header class="nav">
|
||||||
|
<div class="nav-inner">
|
||||||
|
<div class="brand">
|
||||||
|
<img src="/romfast_logo.png" alt="Romfast" class="brand-logo" />
|
||||||
|
<span class="brand-divider"></span>
|
||||||
|
<span class="brand-text">
|
||||||
|
<span class="brand-word">ROA Space</span>
|
||||||
|
<span class="brand-sub">Rezervări de spații</span>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="nav-actions">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="theme-btn"
|
||||||
|
@click="cycleTheme"
|
||||||
|
:title="`Temă: ${themeLabel}`"
|
||||||
|
aria-label="Schimbă tema"
|
||||||
|
>
|
||||||
|
<svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6">
|
||||||
|
<circle cx="12" cy="12" r="9" />
|
||||||
|
<path d="M12 3a9 9 0 0 0 0 18z" fill="currentColor" stroke="none" />
|
||||||
|
</svg>
|
||||||
|
<span class="theme-label">{{ themeLabel }}</span>
|
||||||
|
</button>
|
||||||
|
<router-link to="/login" class="nav-login">Autentificare</router-link>
|
||||||
|
<router-link to="/register" class="btn btn-primary btn-sm">{{ ctaText }}</router-link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main id="top">
|
||||||
|
<!-- HERO -->
|
||||||
|
<section class="hero">
|
||||||
|
<div class="hero-copy">
|
||||||
|
<h1>Rezervarea spațiilor, fără bătăi de cap.</h1>
|
||||||
|
<p class="lead">
|
||||||
|
Birouri, săli de ședință, open space-uri sau hub-uri — ROA Space arată ce e liber
|
||||||
|
și rezervă într-un click. Pentru companii, spații de coworking sau locuri puse la
|
||||||
|
dispoziție gratuit de ONG-uri.
|
||||||
|
</p>
|
||||||
|
<div class="hero-cta">
|
||||||
|
<router-link to="/register" class="btn btn-primary btn-lg">{{ ctaText }}</router-link>
|
||||||
|
<a href="#cum" class="btn btn-secondary btn-lg">Vezi cum arată</a>
|
||||||
|
</div>
|
||||||
|
<p class="hero-note">Cont gratuit, gata în câteva secunde.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Interactive booking card -->
|
||||||
|
<div class="demo-card">
|
||||||
|
<div class="demo-head">
|
||||||
|
<div class="demo-head-title">
|
||||||
|
<span class="demo-room">Sala Aurora</span>
|
||||||
|
<span class="demo-meta">azi · 6 locuri</span>
|
||||||
|
</div>
|
||||||
|
<span class="badge badge-success"><span class="badge-live-dot"></span>Live</span>
|
||||||
|
</div>
|
||||||
|
<div class="demo-slots">
|
||||||
|
<button
|
||||||
|
v-for="(slot, i) in slots"
|
||||||
|
:key="i"
|
||||||
|
type="button"
|
||||||
|
class="slot"
|
||||||
|
:class="{ selected: i === selected }"
|
||||||
|
@click="selected = i"
|
||||||
|
>
|
||||||
|
<span class="slot-time">{{ slot.time }}</span>
|
||||||
|
<span class="slot-title" :class="{ free: !slot.booked }">{{ slot.title }}</span>
|
||||||
|
<span class="badge" :class="slot.booked ? 'badge-success' : 'badge-neutral'">
|
||||||
|
<span class="badge-dot"></span>{{ slot.statusText }}
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="demo-foot">
|
||||||
|
<span class="demo-selected">{{ selectedLabel }}</span>
|
||||||
|
<button type="button" class="btn btn-primary btn-sm">Rezervă</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- BENEFIT 1 -->
|
||||||
|
<section class="band">
|
||||||
|
<div class="split">
|
||||||
|
<div class="mini-card">
|
||||||
|
<div class="mini-card-head">
|
||||||
|
<span class="dot-red"></span>
|
||||||
|
<span class="mini-card-title">Sala Aurora — 10:00</span>
|
||||||
|
<span class="mini-card-meta">deja rezervată</span>
|
||||||
|
</div>
|
||||||
|
<div class="conflict">
|
||||||
|
<span class="conflict-x">✕</span>
|
||||||
|
<span>Nu poți rezerva — se suprapune cu ședința lui Andrei.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h2>Nicio sală rezervată de două ori.</h2>
|
||||||
|
<p>
|
||||||
|
Dacă un interval e prins, ROA Space pur și simplu nu te lasă să treci peste.
|
||||||
|
Fără suprapuneri, fără discuții „dar eu credeam că e liberă".
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- BENEFIT 2 -->
|
||||||
|
<section id="cum" class="split split-steps">
|
||||||
|
<div>
|
||||||
|
<h2>Trei pași, și ai sala.</h2>
|
||||||
|
<p>
|
||||||
|
Nimeni nu are timp de formulare. Alegi, pui ora, gata — durează mai puțin decât
|
||||||
|
să scrii mesajul pe grup.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="steps">
|
||||||
|
<div v-for="step in steps" :key="step.n" class="step">
|
||||||
|
<span class="step-n">{{ step.n }}</span>
|
||||||
|
<div>
|
||||||
|
<h4>{{ step.title }}</h4>
|
||||||
|
<p>{{ step.body }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- BENEFIT 3 -->
|
||||||
|
<section class="band">
|
||||||
|
<div class="split">
|
||||||
|
<div>
|
||||||
|
<h2>Spațiile publice, fără înregistrare obligatorie.</h2>
|
||||||
|
<p>
|
||||||
|
Marchezi un spațiu ca public și poate fi rezervat și fără cont — cu nume, e-mail
|
||||||
|
și ora dorită. Cine vrea își face cont, cine nu, rezervă direct. Tu păstrezi
|
||||||
|
controlul: fiecare cerere ajunge tot la tine spre aprobare.
|
||||||
|
</p>
|
||||||
|
<router-link to="/register" class="text-link">Deschide un spațiu public →</router-link>
|
||||||
|
</div>
|
||||||
|
<div class="mini-card">
|
||||||
|
<span class="eyebrow">Rezervare oaspete</span>
|
||||||
|
<div class="guest-form">
|
||||||
|
<div class="field">
|
||||||
|
<span class="field-label">Nume</span>
|
||||||
|
<div class="field-box strong">Maria Ionescu</div>
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<span class="field-label">E-mail</span>
|
||||||
|
<div class="field-box muted">maria@exemplu.ro</div>
|
||||||
|
</div>
|
||||||
|
<button type="button" class="btn btn-primary btn-md btn-block">Trimite cererea</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- CTA BAND -->
|
||||||
|
<section id="start" class="cta-band">
|
||||||
|
<div class="cta-inner">
|
||||||
|
<h2>Prima sală se rezervă în 5 minute.</h2>
|
||||||
|
<p>Îți faci un cont gratuit, adaugi un spațiu, gata. Fără instalare și fără instructaj.</p>
|
||||||
|
<div class="cta-actions">
|
||||||
|
<router-link to="/register" class="btn btn-primary btn-lg">{{ ctaText }}</router-link>
|
||||||
|
<router-link to="/login" class="btn btn-secondary btn-lg">Am deja cont</router-link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<!-- FOOTER -->
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="footer-inner">
|
||||||
|
<span class="footer-copy">© 2026 ROMFAST · Constanța, din 1991</span>
|
||||||
|
<nav class="footer-links">
|
||||||
|
<a href="#">Termeni</a>
|
||||||
|
<a href="#">Confidențialitate / GDPR</a>
|
||||||
|
<a href="#">Contact</a>
|
||||||
|
<a href="https://romfast.ro" target="_blank" rel="noopener">romfast.ro</a>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { ref, computed } from 'vue'
|
||||||
|
|
||||||
|
const ctaText = 'Creează cont gratuit'
|
||||||
|
|
||||||
|
/* Theme selector — same 8 themes and cycle order as the ROA app / autopass landing. */
|
||||||
|
const THEMES: [string, string][] = [
|
||||||
|
['light', 'Light'],
|
||||||
|
['dark', 'Dark'],
|
||||||
|
['petrol', 'Petrol'],
|
||||||
|
['grafit', 'Grafit'],
|
||||||
|
['cobalt', 'Cobalt'],
|
||||||
|
['cupru', 'Cupru'],
|
||||||
|
['hartie', 'Hârtie'],
|
||||||
|
['auto', 'Auto']
|
||||||
|
]
|
||||||
|
const THEME_KEY = 'roa-landing-theme'
|
||||||
|
const VALID = new Set(THEMES.map((t) => t[0]))
|
||||||
|
|
||||||
|
function resolve(id: string): string {
|
||||||
|
if (id === 'auto') {
|
||||||
|
return window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark'
|
||||||
|
}
|
||||||
|
return id
|
||||||
|
}
|
||||||
|
|
||||||
|
const stored = localStorage.getItem(THEME_KEY)
|
||||||
|
const themeId = ref(stored && VALID.has(stored) ? stored : 'grafit')
|
||||||
|
const theme = computed(() => resolve(themeId.value))
|
||||||
|
const themeLabel = computed(() => THEMES.find((t) => t[0] === themeId.value)?.[1] ?? 'Grafit')
|
||||||
|
|
||||||
|
function cycleTheme() {
|
||||||
|
const idx = THEMES.findIndex((t) => t[0] === themeId.value)
|
||||||
|
themeId.value = THEMES[(idx + 1) % THEMES.length][0]
|
||||||
|
localStorage.setItem(THEME_KEY, themeId.value)
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Slot {
|
||||||
|
time: string
|
||||||
|
title: string
|
||||||
|
statusText: string
|
||||||
|
booked: boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
const slots: Slot[] = [
|
||||||
|
{ time: '09:00 — 10:00', title: 'Standup echipă', statusText: 'Ocupat', booked: true },
|
||||||
|
{ time: '11:30 — 12:30', title: 'Interviu', statusText: 'Ocupat', booked: true },
|
||||||
|
{ time: '13:00 — 14:00', title: 'Liber', statusText: 'Liber', booked: false },
|
||||||
|
{ time: '14:00 — 15:30', title: 'Liber', statusText: 'Liber', booked: false },
|
||||||
|
{ time: '16:00 — 17:00', title: 'Demo client', statusText: 'Ocupat', booked: true }
|
||||||
|
]
|
||||||
|
|
||||||
|
const steps = [
|
||||||
|
{ n: '01', title: 'Alegi spațiul', body: 'Birou sau sală de ședință, din orice sediu.' },
|
||||||
|
{ n: '02', title: 'Pui ora', body: 'Vezi pe loc ce e liber. Se repetă săptămânal? O bifă.' },
|
||||||
|
{ n: '03', title: 'Ești pe listă', body: 'Confirmare pe loc, sincronizată în Google Calendar.' }
|
||||||
|
]
|
||||||
|
|
||||||
|
const selected = ref(3)
|
||||||
|
|
||||||
|
const selectedLabel = computed(() => {
|
||||||
|
const s = slots[selected.value]
|
||||||
|
return s.booked ? `Ocupat · ${s.time}` : `Ai ales · ${s.time}`
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
/* ── Theme palettes (same 8 themes as the ROA app / autopass landing) ──
|
||||||
|
Each theme sets the raw palette; semantic tokens below map onto it. */
|
||||||
|
.roa-landing,
|
||||||
|
.roa-landing[data-theme="grafit"] {
|
||||||
|
--bg: #0f1218; --card: #181c24; --card2: #0f1218; --text: #e6e9ef;
|
||||||
|
--sub: #8b93a7; --mut: #5c6473; --line: #262b36; --line2: #1f2530;
|
||||||
|
--accent: #2E74D6; --hbg: rgba(15,18,24,.88); --okt: #2FBF8F; --errt: #E05D5D;
|
||||||
|
}
|
||||||
|
.roa-landing[data-theme="light"] {
|
||||||
|
--bg: #f5f7fa; --card: #ffffff; --card2: #f5f7fa; --text: #1a1d24;
|
||||||
|
--sub: #5c6473; --mut: #8a92a0; --line: #e2e5ea; --line2: #eaedf2;
|
||||||
|
--accent: #1F66C9; --hbg: rgba(245,247,250,.9); --okt: #15803d; --errt: #dc2626;
|
||||||
|
}
|
||||||
|
.roa-landing[data-theme="dark"] {
|
||||||
|
--bg: #0f1218; --card: #181c24; --card2: #0f1218; --text: #e6e9ef;
|
||||||
|
--sub: #8b93a7; --mut: #5c6473; --line: #262b36; --line2: #1f2530;
|
||||||
|
--accent: #2E74D6; --hbg: rgba(15,18,24,.88); --okt: #2FBF8F; --errt: #E05D5D;
|
||||||
|
}
|
||||||
|
.roa-landing[data-theme="petrol"] {
|
||||||
|
--bg: #0e1416; --card: #161e20; --card2: #0e1416; --text: #e6e9ef;
|
||||||
|
--sub: #8b93a7; --mut: #5c6473; --line: #232c2e; --line2: #1c2426;
|
||||||
|
--accent: #0E7C7B; --hbg: rgba(14,20,22,.9); --okt: #2FBF8F; --errt: #E05D5D;
|
||||||
|
}
|
||||||
|
.roa-landing[data-theme="cobalt"] {
|
||||||
|
--bg: #080d1c; --card: #111a33; --card2: #0b1226; --text: #e9ecfb;
|
||||||
|
--sub: #8a93b8; --mut: #5a6390; --line: #1d2747; --line2: #161f3a;
|
||||||
|
--accent: #4068FF; --hbg: rgba(8,13,28,.9); --okt: #2fd0a6; --errt: #f06a7a;
|
||||||
|
}
|
||||||
|
.roa-landing[data-theme="cupru"] {
|
||||||
|
--bg: #15110b; --card: #211a12; --card2: #15110b; --text: #efe6d6;
|
||||||
|
--sub: #a89a85; --mut: #6d5f4c; --line: #36291c; --line2: #281e14;
|
||||||
|
--accent: #D98A3D; --hbg: rgba(21,17,11,.9); --okt: #67b98c; --errt: #e2685a;
|
||||||
|
}
|
||||||
|
.roa-landing[data-theme="hartie"] {
|
||||||
|
--bg: #f3efe6; --card: #fffdf7; --card2: #f3efe6; --text: #1e1a13;
|
||||||
|
--sub: #6a6052; --mut: #9a8f7d; --line: #e2dccc; --line2: #ece6d9;
|
||||||
|
--accent: #1F5FBF; --hbg: rgba(255,253,247,.92); --okt: #1c7d5d; --errt: #bd463c;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── Semantic tokens (mapped from the active palette) ── */
|
||||||
|
.roa-landing {
|
||||||
|
--brand: var(--accent);
|
||||||
|
--brand-hover: color-mix(in srgb, var(--accent) 82%, #000);
|
||||||
|
--brand-tint: color-mix(in srgb, var(--accent) 14%, var(--card));
|
||||||
|
--text-strong: var(--text);
|
||||||
|
--text-body: color-mix(in srgb, var(--text) 86%, var(--sub));
|
||||||
|
--text-muted: var(--sub);
|
||||||
|
--text-subtle: var(--mut);
|
||||||
|
--surface-page: var(--bg);
|
||||||
|
--surface-card: var(--card);
|
||||||
|
--border-subtle: var(--line2);
|
||||||
|
--border-default: var(--line);
|
||||||
|
--ok-tint: color-mix(in srgb, var(--okt) 16%, var(--card));
|
||||||
|
--err-tint: color-mix(in srgb, var(--errt) 13%, var(--card));
|
||||||
|
--err-border: color-mix(in srgb, var(--errt) 45%, var(--card));
|
||||||
|
|
||||||
|
--font-display: 'Plus Jakarta Sans', sans-serif;
|
||||||
|
--font-body: 'Manrope', 'Plus Jakarta Sans', sans-serif;
|
||||||
|
--font-mark: 'Space Grotesk', sans-serif;
|
||||||
|
--font-mono: 'JetBrains Mono', ui-monospace, monospace;
|
||||||
|
|
||||||
|
--radius-md: 10px;
|
||||||
|
--radius-lg: 14px;
|
||||||
|
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
|
||||||
|
--shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.18), 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
--container: 1200px;
|
||||||
|
--container-narrow: 760px;
|
||||||
|
|
||||||
|
min-height: 100vh;
|
||||||
|
background: var(--surface-page);
|
||||||
|
color: var(--text-body);
|
||||||
|
font-family: var(--font-body);
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
transition: background 180ms ease, color 180ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Centered page frame — content capped ~1280px, themed margins on wide screens */
|
||||||
|
.roa-page {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1280px;
|
||||||
|
margin: 0 auto;
|
||||||
|
background: var(--surface-page);
|
||||||
|
}
|
||||||
|
|
||||||
|
.roa-landing h1,
|
||||||
|
.roa-landing h2,
|
||||||
|
.roa-landing h4 {
|
||||||
|
font-family: var(--font-display);
|
||||||
|
color: var(--text-strong);
|
||||||
|
font-weight: 700;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── Buttons ── */
|
||||||
|
.btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-family: var(--font-body);
|
||||||
|
font-weight: 600;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
cursor: pointer;
|
||||||
|
text-decoration: none;
|
||||||
|
white-space: nowrap;
|
||||||
|
transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
|
||||||
|
}
|
||||||
|
.btn-sm { padding: 8px 16px; font-size: 0.875rem; height: 34px; }
|
||||||
|
.btn-md { padding: 11px 20px; font-size: 0.9375rem; height: 44px; }
|
||||||
|
.btn-lg { padding: 14px 26px; font-size: 1rem; height: 52px; }
|
||||||
|
.btn-block { width: 100%; }
|
||||||
|
.btn-primary { background: var(--brand); color: #fff; }
|
||||||
|
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
|
||||||
|
.btn-secondary {
|
||||||
|
background: var(--surface-card);
|
||||||
|
color: var(--text-strong);
|
||||||
|
border-color: var(--border-default);
|
||||||
|
}
|
||||||
|
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
|
||||||
|
|
||||||
|
/* ── Nav ── */
|
||||||
|
.nav {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 200;
|
||||||
|
background: var(--hbg);
|
||||||
|
backdrop-filter: saturate(180%) blur(10px);
|
||||||
|
border-bottom: 1px solid var(--border-subtle);
|
||||||
|
}
|
||||||
|
.nav-inner {
|
||||||
|
max-width: var(--container);
|
||||||
|
margin: 0 auto;
|
||||||
|
height: 64px;
|
||||||
|
padding: 0 32px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 28px;
|
||||||
|
}
|
||||||
|
.brand { display: flex; align-items: center; gap: 12px; }
|
||||||
|
.brand-logo { height: 42px; width: auto; display: block; }
|
||||||
|
.brand-divider { width: 1px; height: 30px; background: var(--border-default); }
|
||||||
|
.brand-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; }
|
||||||
|
.brand-word {
|
||||||
|
font-family: var(--font-mark);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 18px;
|
||||||
|
letter-spacing: -0.01em;
|
||||||
|
color: var(--text-strong);
|
||||||
|
}
|
||||||
|
.brand-sub {
|
||||||
|
font-size: 0.6875rem;
|
||||||
|
font-weight: 500;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
color: var(--text-subtle);
|
||||||
|
}
|
||||||
|
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
|
||||||
|
.theme-btn {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
height: 38px;
|
||||||
|
padding: 0 13px;
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid var(--border-default);
|
||||||
|
color: var(--text-muted);
|
||||||
|
font-family: var(--font-body);
|
||||||
|
font-size: 0.8125rem;
|
||||||
|
font-weight: 500;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: color 180ms ease, border-color 180ms ease;
|
||||||
|
}
|
||||||
|
.theme-btn:hover { color: var(--text-strong); border-color: var(--brand); }
|
||||||
|
.theme-label { line-height: 1; }
|
||||||
|
.nav-login { font-size: 0.875rem; font-weight: 600; color: var(--text-body); }
|
||||||
|
.nav-login:hover { color: var(--brand); }
|
||||||
|
|
||||||
|
/* ── Hero ── */
|
||||||
|
.hero {
|
||||||
|
max-width: var(--container);
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 96px 32px 72px;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1.05fr 0.95fr;
|
||||||
|
gap: 64px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.hero-copy h1 {
|
||||||
|
font-size: 3.5rem;
|
||||||
|
line-height: 1.1;
|
||||||
|
letter-spacing: -0.02em;
|
||||||
|
margin-bottom: 22px;
|
||||||
|
}
|
||||||
|
.lead {
|
||||||
|
font-size: 1.125rem;
|
||||||
|
line-height: 1.55;
|
||||||
|
color: var(--text-muted);
|
||||||
|
margin: 0 0 34px;
|
||||||
|
max-width: 480px;
|
||||||
|
}
|
||||||
|
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
|
||||||
|
.hero-note { font-size: 0.875rem; color: var(--text-subtle); margin: 20px 0 0; }
|
||||||
|
|
||||||
|
/* ── Demo booking card ── */
|
||||||
|
.demo-card {
|
||||||
|
background: var(--surface-card);
|
||||||
|
border: 1px solid var(--border-subtle);
|
||||||
|
border-radius: var(--radius-lg);
|
||||||
|
box-shadow: var(--shadow-lg);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.demo-head {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 16px 20px;
|
||||||
|
border-bottom: 1px solid var(--border-subtle);
|
||||||
|
}
|
||||||
|
.demo-head-title { display: flex; flex-direction: column; gap: 2px; }
|
||||||
|
.demo-room { font-size: 0.875rem; font-weight: 700; color: var(--text-strong); letter-spacing: -0.01em; }
|
||||||
|
.demo-meta { font-size: 0.75rem; color: var(--text-muted); }
|
||||||
|
.demo-slots { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 12px; }
|
||||||
|
.slot {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
padding: 11px 12px;
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
cursor: pointer;
|
||||||
|
background: var(--surface-card);
|
||||||
|
border: 1px solid var(--border-subtle);
|
||||||
|
text-align: left;
|
||||||
|
font-family: inherit;
|
||||||
|
transition: background 180ms ease, border-color 180ms ease;
|
||||||
|
}
|
||||||
|
.slot:hover { border-color: var(--brand); }
|
||||||
|
.slot.selected { background: var(--brand-tint); border-color: var(--brand); }
|
||||||
|
.slot-time {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: 0.75rem;
|
||||||
|
color: var(--text-muted);
|
||||||
|
width: 96px;
|
||||||
|
flex: none;
|
||||||
|
}
|
||||||
|
.slot-title { flex: 1; font-size: 0.875rem; font-weight: 500; color: var(--text-strong); }
|
||||||
|
.slot-title.free { color: var(--text-subtle); }
|
||||||
|
.demo-foot {
|
||||||
|
padding: 14px 20px;
|
||||||
|
border-top: 1px solid var(--border-subtle);
|
||||||
|
background: var(--surface-page);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.demo-selected { font-size: 0.875rem; color: var(--text-body); }
|
||||||
|
|
||||||
|
/* ── Badges ── */
|
||||||
|
.badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
padding: 3px 10px;
|
||||||
|
border-radius: 999px;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
.badge-dot, .badge-live-dot {
|
||||||
|
width: 6px;
|
||||||
|
height: 6px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: currentColor;
|
||||||
|
flex: none;
|
||||||
|
}
|
||||||
|
.badge-live-dot { animation: pulse 1.6s ease-in-out infinite; }
|
||||||
|
.badge-success { background: var(--ok-tint); color: var(--okt); }
|
||||||
|
.badge-neutral { background: color-mix(in srgb, var(--sub) 15%, var(--card)); color: var(--text-muted); }
|
||||||
|
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
|
||||||
|
|
||||||
|
/* ── Sections / splits ── */
|
||||||
|
.band { border-top: 1px solid var(--border-subtle); background: var(--surface-card); }
|
||||||
|
.split {
|
||||||
|
max-width: var(--container);
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 88px 32px;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
gap: 72px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.split-steps { grid-template-columns: 0.85fr 1.15fr; }
|
||||||
|
.split h2, .cta-band h2 { font-size: 1.875rem; letter-spacing: -0.02em; margin-bottom: 16px; }
|
||||||
|
.split p { font-size: 1rem; line-height: 1.55; color: var(--text-muted); margin: 0; max-width: 440px; }
|
||||||
|
.text-link { display: inline-block; margin-top: 20px; font-size: 1rem; font-weight: 600; color: var(--brand); }
|
||||||
|
.text-link:hover { color: var(--brand-hover); }
|
||||||
|
|
||||||
|
/* ── Mini cards (benefit visuals) ── */
|
||||||
|
.mini-card {
|
||||||
|
background: var(--surface-page);
|
||||||
|
border: 1px solid var(--border-subtle);
|
||||||
|
border-radius: var(--radius-lg);
|
||||||
|
box-shadow: var(--shadow-md);
|
||||||
|
padding: 28px;
|
||||||
|
}
|
||||||
|
.band .mini-card { background: var(--surface-page); }
|
||||||
|
.mini-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
|
||||||
|
.dot-red { width: 10px; height: 10px; border-radius: 50%; background: var(--errt); flex: none; }
|
||||||
|
.mini-card-title { font-size: 0.875rem; font-weight: 600; color: var(--text-strong); }
|
||||||
|
.mini-card-meta { font-size: 0.75rem; color: var(--text-muted); margin-left: auto; }
|
||||||
|
.conflict {
|
||||||
|
padding: 14px 16px;
|
||||||
|
border: 1px dashed var(--err-border);
|
||||||
|
background: var(--err-tint);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
.conflict-x { color: var(--errt); font-size: 18px; flex: none; }
|
||||||
|
.conflict span:last-child { font-size: 0.875rem; color: var(--errt); }
|
||||||
|
|
||||||
|
.eyebrow {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--text-subtle);
|
||||||
|
}
|
||||||
|
.guest-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
|
||||||
|
.field { display: flex; flex-direction: column; gap: 5px; }
|
||||||
|
.field-label { font-size: 0.75rem; color: var(--text-muted); }
|
||||||
|
.field-box {
|
||||||
|
padding: 11px 14px;
|
||||||
|
background: var(--surface-card);
|
||||||
|
border: 1px solid var(--border-default);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
font-size: 0.875rem;
|
||||||
|
}
|
||||||
|
.field-box.strong { color: var(--text-strong); }
|
||||||
|
.field-box.muted { color: var(--text-muted); }
|
||||||
|
|
||||||
|
/* ── Steps ── */
|
||||||
|
.steps { display: flex; flex-direction: column; }
|
||||||
|
.step {
|
||||||
|
display: flex;
|
||||||
|
gap: 20px;
|
||||||
|
align-items: flex-start;
|
||||||
|
padding: 20px 0;
|
||||||
|
border-bottom: 1px solid var(--border-subtle);
|
||||||
|
}
|
||||||
|
.step:last-child { border-bottom: none; }
|
||||||
|
.step-n {
|
||||||
|
font-family: var(--font-mark);
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--brand);
|
||||||
|
flex: none;
|
||||||
|
width: 40px;
|
||||||
|
}
|
||||||
|
.step h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 4px; }
|
||||||
|
.step p { font-size: 0.875rem; line-height: 1.55; color: var(--text-muted); margin: 0; }
|
||||||
|
|
||||||
|
/* ── CTA band (subtle accent-tinted surface — accent stays on the button) ── */
|
||||||
|
.cta-band {
|
||||||
|
background: color-mix(in srgb, var(--accent) 7%, var(--card));
|
||||||
|
border-top: 1px solid var(--border-subtle);
|
||||||
|
border-bottom: 1px solid var(--border-subtle);
|
||||||
|
}
|
||||||
|
.cta-inner { max-width: var(--container-narrow); margin: 0 auto; padding: 88px 32px; text-align: center; }
|
||||||
|
.cta-band h2 { color: var(--text-strong); margin-bottom: 14px; }
|
||||||
|
.cta-inner p { font-size: 1.125rem; line-height: 1.55; color: var(--text-muted); margin: 0 auto 30px; max-width: 440px; }
|
||||||
|
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
|
||||||
|
|
||||||
|
/* ── Footer ── */
|
||||||
|
.footer { background: var(--surface-card); border-top: 1px solid var(--border-subtle); }
|
||||||
|
.footer-inner {
|
||||||
|
max-width: var(--container);
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 28px 32px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
|
||||||
|
.footer-links a { font-size: 0.875rem; color: var(--text-muted); }
|
||||||
|
.footer-links a:hover { color: var(--brand); }
|
||||||
|
.footer-copy { font-size: 0.8125rem; color: var(--text-subtle); }
|
||||||
|
|
||||||
|
/* ── Responsive ── */
|
||||||
|
@media (max-width: 900px) {
|
||||||
|
.hero, .split, .split-steps { grid-template-columns: 1fr; gap: 40px; }
|
||||||
|
.hero { padding: 56px 24px 48px; }
|
||||||
|
.hero-copy h1 { font-size: 2.5rem; }
|
||||||
|
.split { padding: 56px 24px; }
|
||||||
|
.nav-inner { padding: 0 20px; gap: 16px; }
|
||||||
|
.nav-links { display: none; }
|
||||||
|
.cta-inner { padding: 64px 24px; }
|
||||||
|
.footer-inner { padding: 32px 24px; }
|
||||||
|
}
|
||||||
|
@media (max-width: 560px) {
|
||||||
|
.theme-label { display: none; }
|
||||||
|
.theme-btn { padding: 0 10px; }
|
||||||
|
}
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.hero-copy h1 { font-size: 2rem; }
|
||||||
|
.btn-lg { padding: 12px 20px; font-size: 0.9375rem; }
|
||||||
|
.nav-login { display: none; }
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user