2026-04-06 06:10:54 +00:00

151 lines
7.8 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title', 'Taxi to booking demo')</title>
<meta name="description" content="@yield('meta_description', 'Taxi request demo that turns arrivals into contextual recommendations and simple bookings.')">
<meta name="author" content="Flatlogic Laravel Demo">
<style>
:root {
--bg: #f7f7f2;
--surface: rgba(255,255,255,.88);
--surface-strong: #ffffff;
--text: #111827;
--muted: #667085;
--line: rgba(17,24,39,.08);
--accent: #0f766e;
--accent-2: #f59e0b;
--success: #dcfce7;
--shadow: 0 24px 80px rgba(15, 23, 42, .10);
--radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background:
radial-gradient(circle at top left, rgba(245,158,11,.12), transparent 24%),
radial-gradient(circle at top right, rgba(15,118,110,.15), transparent 26%),
linear-gradient(180deg, #fcfcf8 0%, #f2f4ef 100%);
color: var(--text);
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
position: sticky; top: 0; z-index: 40;
backdrop-filter: blur(20px);
background: rgba(247,247,242,.78);
border-bottom: 1px solid var(--line);
}
.topbar-inner {
display: flex; align-items: center; justify-content: space-between;
padding: 16px 0;
}
.brand { display:flex; align-items:center; gap:12px; font-weight:700; letter-spacing:-.02em; }
.brand-mark {
width: 38px; height: 38px; border-radius: 14px;
background: linear-gradient(135deg, var(--accent), #14b8a6);
box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.nav-links { display:flex; gap:18px; color: var(--muted); font-size: 14px; }
main { padding: 44px 0 80px; }
.hero {
display:grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch;
margin-bottom: 28px;
}
.card {
background: var(--surface);
border: 1px solid rgba(255,255,255,.6);
box-shadow: var(--shadow);
border-radius: var(--radius);
padding: 28px;
backdrop-filter: blur(18px);
}
.eyebrow { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; font-size:12px; font-weight:700; background: rgba(15,118,110,.10); color: var(--accent); }
h1, h2, h3 { margin: 0 0 12px; letter-spacing: -.03em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: .95; }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: 1.1rem; }
p { margin: 0; color: var(--muted); line-height: 1.65; }
.hero-copy { display:flex; flex-direction:column; justify-content:space-between; gap:20px; }
.stats { display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.stat { padding: 18px; border-radius: 20px; background: rgba(255,255,255,.66); border: 1px solid var(--line); }
.stat strong { display:block; font-size: 1.75rem; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }
.orb-wrap { position:relative; overflow:hidden; min-height: 100%; }
.orb-wrap::before, .orb-wrap::after {
content:''; position:absolute; border-radius:999px; filter: blur(2px);
}
.orb-wrap::before { inset: auto auto 24px 18px; width: 120px; height: 120px; background: rgba(15,118,110,.18); }
.orb-wrap::after { inset: 18px 18px auto auto; width: 160px; height: 160px; background: rgba(245,158,11,.18); }
.stack { display:grid; gap:16px; position:relative; z-index:1; }
.mini-card { background: rgba(255,255,255,.8); border: 1px solid rgba(17,24,39,.06); border-radius: 22px; padding: 18px; }
.mini-card small { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
form { display:grid; gap:14px; }
label { display:grid; gap:8px; font-size: 14px; font-weight: 600; }
input, select, textarea {
width:100%; border:1px solid rgba(17,24,39,.10); border-radius:16px; padding:14px 16px;
background:#fff; color: var(--text); font: inherit;
}
textarea { min-height: 110px; resize: vertical; }
.grid-2 { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
.btn {
display:inline-flex; align-items:center; justify-content:center; gap:10px;
padding: 15px 20px; border-radius: 16px; border:0; cursor:pointer; font: inherit; font-weight: 700;
background: linear-gradient(135deg, var(--accent), #14b8a6); color: #fff; box-shadow: 0 16px 36px rgba(15,118,110,.26);
}
.btn-secondary { background: rgba(17,24,39,.06); color: var(--text); box-shadow:none; }
.section { margin-top: 28px; }
.cards { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px; }
.offer-card { display:grid; gap:16px; }
.offer-visual {
aspect-ratio: 16 / 10; border-radius: 20px;
background: linear-gradient(135deg, rgba(15,118,110,.9), rgba(245,158,11,.85));
position: relative; overflow:hidden;
}
.offer-visual::before, .offer-visual::after { content:''; position:absolute; border-radius:999px; background: rgba(255,255,255,.14); }
.offer-visual::before { width: 140px; height: 140px; top: -30px; right: -20px; }
.offer-visual::after { width: 92px; height: 92px; left: 16px; bottom: -24px; }
.offer-meta { display:flex; flex-wrap:wrap; gap:8px; font-size:12px; color: var(--muted); }
.pill { display:inline-flex; align-items:center; gap:8px; padding:8px 11px; border-radius:999px; background:#fff; border:1px solid var(--line); }
.split { display:grid; grid-template-columns: 1.08fr .92fr; gap: 24px; }
.list { display:grid; gap: 14px; }
.list-item { padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.66); }
.success { background: linear-gradient(135deg, rgba(220,252,231,.95), rgba(187,247,208,.88)); }
.muted { color: var(--muted); }
.errors { padding: 14px 16px; border-radius: 18px; background: rgba(239,68,68,.08); color: #991b1b; }
.footer { padding: 36px 0 16px; color: var(--muted); font-size: 14px; }
.kpis { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
@media (max-width: 980px) {
.hero, .split, .cards, .kpis { grid-template-columns: 1fr; }
.grid-2, .stats { grid-template-columns: 1fr; }
.nav-links { display:none; }
}
</style>
@yield('head')
</head>
<body>
<header class="topbar">
<div class="shell topbar-inner">
<a href="{{ route('home') }}" class="brand">
<span class="brand-mark"></span>
<span>ArrivalFlow Demo</span>
</a>
<nav class="nav-links" aria-label="Primary">
<a href="{{ route('home') }}#request">Request taxi</a>
<a href="{{ route('home') }}#how">How it works</a>
<a href="{{ route('healthz') }}">Health</a>
</nav>
</div>
</header>
<main>
<div class="shell">@yield('content')</div>
</main>
<footer class="shell footer">
Demo slice in Laravel: taxi request contextual offer booking confirmation.
</footer>
</body>
</html>