Revamp marketplace website with lead capture
This commit is contained in:
parent
56275036e0
commit
d2105c5130
5 changed files with 753 additions and 181 deletions
45
website/islands/FlowTicker.tsx
Normal file
45
website/islands/FlowTicker.tsx
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
import { useEffect, useState } from "preact/hooks";
|
||||
|
||||
const steps = [
|
||||
{
|
||||
title: "Pedido único, múltiplos laboratórios",
|
||||
text: "A farmácia adiciona itens de diferentes fornecedores e o motor consolida fretes e SLAs por UF.",
|
||||
},
|
||||
{
|
||||
title: "Roteamento e conformidade",
|
||||
text: "Validação de lote, validade e regras ANVISA antes de liberar a ordem para cada laboratório parceiro.",
|
||||
},
|
||||
{
|
||||
title: "Faturamento inteligente",
|
||||
text: "Split automático e emissão de NF com impostos estaduais já calculados para cada remessa.",
|
||||
},
|
||||
{
|
||||
title: "Status em tempo real",
|
||||
text: "Acompanhamento unificado no painel da farmácia e webhooks para ERPs e aplicativos white-label.",
|
||||
},
|
||||
];
|
||||
|
||||
export default function FlowTicker() {
|
||||
const [active, setActive] = useState(0);
|
||||
|
||||
useEffect(() => {
|
||||
const id = setInterval(() => {
|
||||
setActive((prev) => (prev + 1) % steps.length);
|
||||
}, 3600);
|
||||
return () => clearInterval(id);
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div class="ticker" aria-live="polite">
|
||||
{steps.map((step, index) => (
|
||||
<div class={`ticker-step ${index === active ? "active pulse" : ""}`} key={step.title}>
|
||||
<span class="ticker-dot" aria-hidden="true" />
|
||||
<div>
|
||||
<strong>{step.title}</strong>
|
||||
<p>{step.text}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
114
website/islands/LeadForm.tsx
Normal file
114
website/islands/LeadForm.tsx
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
import { JSX } from "preact";
|
||||
import { useState } from "preact/hooks";
|
||||
|
||||
interface FormData {
|
||||
name: string;
|
||||
email: string;
|
||||
phone: string;
|
||||
role: "Farmácia" | "Laboratório";
|
||||
message: string;
|
||||
}
|
||||
|
||||
const initialData: FormData = {
|
||||
name: "",
|
||||
email: "",
|
||||
phone: "",
|
||||
role: "Farmácia",
|
||||
message: "",
|
||||
};
|
||||
|
||||
export default function LeadForm() {
|
||||
const [form, setForm] = useState<FormData>(initialData);
|
||||
const [sent, setSent] = useState(false);
|
||||
|
||||
function handleChange(
|
||||
event: JSX.TargetedEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement, Event>,
|
||||
) {
|
||||
const { name, value } = event.currentTarget;
|
||||
setForm((prev) => ({ ...prev, [name]: value }));
|
||||
}
|
||||
|
||||
function handleSubmit(event: JSX.TargetedEvent<HTMLFormElement, Event>) {
|
||||
event.preventDefault();
|
||||
setSent(true);
|
||||
setTimeout(() => setSent(false), 5000);
|
||||
setForm(initialData);
|
||||
}
|
||||
|
||||
return (
|
||||
<form class="form-card" onSubmit={handleSubmit}>
|
||||
<div class="section-header" style="margin-bottom: 1rem;">
|
||||
<span class="section-kicker">Contato rápido</span>
|
||||
<h3 class="section-title" style="font-size: 1.4rem;">
|
||||
Vamos desenhar seu go-live em conjunto
|
||||
</h3>
|
||||
<p class="section-description">
|
||||
Envie seus dados e retornaremos com um plano de integração para farmácias
|
||||
e laboratórios, com cronograma e custos claros.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label>
|
||||
Nome completo
|
||||
<input
|
||||
required
|
||||
name="name"
|
||||
value={form.name}
|
||||
onInput={handleChange}
|
||||
placeholder="Ex.: Ana Ribeiro"
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
E-mail corporativo
|
||||
<input
|
||||
required
|
||||
type="email"
|
||||
name="email"
|
||||
value={form.email}
|
||||
onInput={handleChange}
|
||||
placeholder="contato@empresa.com"
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label>
|
||||
Telefone / WhatsApp
|
||||
<input
|
||||
name="phone"
|
||||
value={form.phone}
|
||||
onInput={handleChange}
|
||||
placeholder="(11) 99999-0000"
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
Perfil
|
||||
<select name="role" value={form.role} onInput={handleChange}>
|
||||
<option value="Farmácia">Farmácia compradora</option>
|
||||
<option value="Laboratório">Laboratório vendedor</option>
|
||||
</select>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<label>
|
||||
Detalhes da operação
|
||||
<textarea
|
||||
name="message"
|
||||
value={form.message}
|
||||
onInput={handleChange}
|
||||
placeholder="Volume mensal, estados atendidos, ERPs atuais, integrações desejadas..."
|
||||
/>
|
||||
</label>
|
||||
|
||||
{sent && <div class="notice">Recebemos seu contato! Nosso time responderá ainda hoje.</div>}
|
||||
|
||||
<div class="actions" style="margin-top: 1rem;">
|
||||
<button type="submit" class="button-primary">Solicitar contato</button>
|
||||
<button type="button" class="button-secondary" onClick={() => setForm(initialData)}>
|
||||
Limpar dados
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
);
|
||||
}
|
||||
|
|
@ -2,11 +2,21 @@ import { define } from "../utils.ts";
|
|||
|
||||
export default define.page(function App({ Component, state }) {
|
||||
return (
|
||||
<html>
|
||||
<html lang="pt-BR" class="antialiased">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{state.title ?? "with-fresh"}</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link
|
||||
rel="preconnect"
|
||||
href="https://fonts.gstatic.com"
|
||||
crossOrigin="anonymous"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
|
||||
/>
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -1,90 +1,197 @@
|
|||
import FlowTicker from "../islands/FlowTicker.tsx";
|
||||
import LeadForm from "../islands/LeadForm.tsx";
|
||||
import { define } from "../utils.ts";
|
||||
|
||||
const highlights = [
|
||||
const benefits = [
|
||||
{
|
||||
title: "Hierarquia de Permissões",
|
||||
title: "Estoque Inteligente",
|
||||
description:
|
||||
"Perfis separados para Farmácia (comprador), Distribuidora (vendedor) e Administrador do marketplace com trilhas dedicadas.",
|
||||
"Curadoria de itens e SKUs com disponibilidade em tempo real e regras de corte por UF para reduzir rupturas.",
|
||||
points: ["Reposição preditiva", "Alertas de validade", "Painel único de entregas"],
|
||||
},
|
||||
{
|
||||
title: "Rastreabilidade de Lote",
|
||||
title: "Preços Direto da Distribuidora",
|
||||
description:
|
||||
"Produtos carregam lote e validade obrigatórios em todo pedido, garantindo conformidade sanitária de ponta a ponta.",
|
||||
"Negociação de tabela B2B com repasse imediato das condições do laboratório, sem intermediários ocultos.",
|
||||
points: ["Split automático", "Frete otimizado", "Comissões configuráveis"],
|
||||
},
|
||||
{
|
||||
title: "Split nativo Mercado Pago",
|
||||
title: "Conformidade ANVISA",
|
||||
description:
|
||||
"Preferências de pagamento prontas para retenção automática de comissão do marketplace e repasse ao seller.",
|
||||
},
|
||||
{
|
||||
title: "Impostos por UF",
|
||||
description:
|
||||
"Camada de cálculo preparada para tabelas de substituição tributária estadual, simplificando faturamento fiscal.",
|
||||
"Rastreabilidade de lote, validade e número de registro ANVISA presentes em cada pedido e nota fiscal.",
|
||||
points: ["Políticas por categoria", "Logs auditáveis", "Integração com ERPs"],
|
||||
},
|
||||
];
|
||||
|
||||
const supplierHighlights = [
|
||||
"Acesso imediato a milhares de farmácias",
|
||||
"Portal financeiro com split e comprovantes",
|
||||
"Gestão de campanhas comerciais unificada",
|
||||
"Suporte técnico para integrações de catálogo",
|
||||
];
|
||||
|
||||
export default define.page(function Home(ctx) {
|
||||
ctx.state.title = "SaveInMed | Marketplace B2B";
|
||||
ctx.state.title = "Save in Med | Marketplace B2B Farmacêutico";
|
||||
|
||||
return (
|
||||
<div class="min-h-screen bg-gradient-to-b from-sky-50 via-white to-sky-100 text-gray-900">
|
||||
<header class="py-10 px-6 md:px-10">
|
||||
<div class="max-w-5xl mx-auto grid gap-6 lg:grid-cols-2 items-center">
|
||||
<div>
|
||||
<p class="text-sm uppercase tracking-widest text-sky-700 font-semibold">
|
||||
Planejamento B2B Farmacêutico
|
||||
</p>
|
||||
<h1 class="text-4xl md:text-5xl font-bold mt-2 leading-tight">
|
||||
Nova fundação de Performance para o Marketplace SaveInMed
|
||||
</h1>
|
||||
<p class="mt-4 text-lg text-gray-700 leading-relaxed">
|
||||
Arquitetura renovada com backend em Go ultrarrápido, Postgres 17 e Clean Architecture.
|
||||
Ideal para transações de alto volume e integração nativa com Mercado Pago.
|
||||
</p>
|
||||
<div class="mt-6 grid gap-3 sm:grid-cols-2">
|
||||
<div class="p-4 rounded-xl bg-white shadow-sm border border-sky-100">
|
||||
<p class="text-sm text-gray-600">Core em Go 1.24+</p>
|
||||
<p class="font-semibold">net/http, pgx, json-iter, gzip</p>
|
||||
</div>
|
||||
<div class="p-4 rounded-xl bg-white shadow-sm border border-sky-100">
|
||||
<p class="text-sm text-gray-600">Infra pronta para produção</p>
|
||||
<p class="font-semibold">Docker distroless + Swagger</p>
|
||||
</div>
|
||||
<div class="page-wrapper">
|
||||
<header class="container hero">
|
||||
<div class="hero-card">
|
||||
<span class="hero-badge">Marketplace B2B farmacêutico</span>
|
||||
<h1 class="hero-title">
|
||||
Economia real em medicamentos com a agilidade que a farmácia precisa
|
||||
</h1>
|
||||
<p class="hero-subtitle">
|
||||
A Save in Med conecta farmácias a laboratórios líderes em um único
|
||||
checkout, com compliance sanitário nativo e inteligência logística.
|
||||
</p>
|
||||
|
||||
<div class="hero-grid">
|
||||
<div class="metric-card">
|
||||
<p>Redução média de custo</p>
|
||||
<strong style="font-size: 1.4rem;">-12% no carrinho</strong>
|
||||
</div>
|
||||
<div class="card" style="border: 1px dashed var(--border);">
|
||||
<div class="pill">Integração simplificada</div>
|
||||
<p>
|
||||
Hub para receber pedidos, emitir notas e acionar transportadoras em até 48 horas.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-white shadow-md rounded-2xl border border-sky-100 p-6 space-y-3">
|
||||
<h2 class="text-xl font-semibold">Stack de diretórios</h2>
|
||||
<ul class="text-sm text-gray-700 space-y-2">
|
||||
<li><strong>/backend-go</strong>: Performance Core (Pagamentos)</li>
|
||||
<li><strong>/backend-nest</strong>: Gestão de usuários, CRM e regras de negócio</li>
|
||||
<li><strong>/frontend-market</strong>: App da farmácia em React + Vite</li>
|
||||
<li><strong>/website</strong>: Landing page institucional</li>
|
||||
<li><strong>/docker</strong>: Compose com Postgres e backends</li>
|
||||
</ul>
|
||||
|
||||
<div class="badge-list">
|
||||
<span class="badge">Pedidos multiorigem</span>
|
||||
<span class="badge">Pagamento Mercado Pago</span>
|
||||
<span class="badge">Tabela por UF</span>
|
||||
</div>
|
||||
|
||||
<div class="actions">
|
||||
<a class="button-primary" href="#contato">Quero vender ou comprar</a>
|
||||
<a class="button-secondary" href="#integracao">Entender integrações</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hero-card">
|
||||
<div class="section-header" style="margin-bottom: 0.5rem;">
|
||||
<span class="section-kicker">Fluxo operacional</span>
|
||||
<h2 class="section-title" style="font-size: 1.6rem;">Pedidos centralizados</h2>
|
||||
<p class="section-description">
|
||||
Um painel único para farmácias cria e acompanha pedidos com múltiplos laboratórios,
|
||||
reduzindo chamados e divergências fiscais.
|
||||
</p>
|
||||
</div>
|
||||
<div class="integration-flow island-shell">
|
||||
<FlowTicker />
|
||||
</div>
|
||||
<div class="notice">Configuração pronta para captura de leads e onboarding assistido.</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="px-6 md:px-10 pb-16">
|
||||
<div class="max-w-5xl mx-auto">
|
||||
<section class="grid md:grid-cols-2 gap-6">
|
||||
{highlights.map((item) => (
|
||||
<div class="p-6 bg-white rounded-2xl shadow-sm border border-sky-100" key={item.title}>
|
||||
<h3 class="font-semibold text-lg text-sky-800">{item.title}</h3>
|
||||
<p class="mt-2 text-gray-700 leading-relaxed">{item.description}</p>
|
||||
<main>
|
||||
<section class="container section" id="beneficios">
|
||||
<div class="section-header">
|
||||
<span class="section-kicker">Benefícios principais</span>
|
||||
<h2 class="section-title">Uma plataforma desenhada para performance B2B</h2>
|
||||
<p class="section-description">
|
||||
Controle de estoque inteligente, regras tributárias por UF e pagamento dividido nativo
|
||||
garantem margens saudáveis para farmácias e laboratórios.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="card-grid">
|
||||
{benefits.map((item) => (
|
||||
<div class="card" key={item.title}>
|
||||
<div class="pill">{item.title}</div>
|
||||
<h3>{item.title}</h3>
|
||||
<p>{item.description}</p>
|
||||
<div class="chip-row">
|
||||
{item.points.map((point) => <span class="chip" key={point}>{point}</span>)}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="mt-10 p-6 bg-white rounded-2xl shadow-sm border border-emerald-100">
|
||||
<h3 class="text-xl font-semibold text-emerald-700">Foco em Observabilidade e Resiliência</h3>
|
||||
<p class="mt-2 text-gray-700 leading-relaxed">
|
||||
Conexões pgx otimizadas, middlewares de compressão e roteamento do Go 1.22+ garantem baixa latência.
|
||||
O repositório vem com schema base e UUID v7 ordenável para índices mais eficientes.
|
||||
<section class="container section" id="fornecedores">
|
||||
<div class="split-grid">
|
||||
<div class="highlight-box">
|
||||
<span class="pill" style="background: rgba(255,255,255,0.15); color: #fff;">
|
||||
Para fornecedores
|
||||
</span>
|
||||
<h2 class="section-title" style="color: #fff; font-size: 1.8rem;">
|
||||
Laboratórios vendem diretamente para a rede
|
||||
</h2>
|
||||
<p>
|
||||
Estrutura de compliance, conciliação financeira e visibilidade de sell-out por praça,
|
||||
sem perder controle sobre tabela e políticas comerciais.
|
||||
</p>
|
||||
<div class="badge-list" style="gap: 0.4rem;">
|
||||
<span class="badge" style="background: rgba(255,255,255,0.12); color: #fff;">Portal do fornecedor</span>
|
||||
<span class="badge" style="background: rgba(255,255,255,0.12); color: #fff;">Múltiplos CNPJs</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card" style="gap: 1rem;">
|
||||
<h3>Por que participar</h3>
|
||||
<ul class="list">
|
||||
{supplierHighlights.map((item) => (
|
||||
<li key={item}>
|
||||
<span class="pill" aria-hidden="true">✓</span>
|
||||
<span>{item}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
<p class="section-description" style="margin-top: 0.5rem;">
|
||||
Nossa equipe de onboarding cuida da carga de catálogo, credenciamento de contas e setup
|
||||
financeiro para você começar a vender em poucos dias.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="container section" id="integracao">
|
||||
<div class="section-header">
|
||||
<span class="section-kicker">Integração</span>
|
||||
<h2 class="section-title">Save in Med centraliza pedidos de vários laboratórios</h2>
|
||||
<p class="section-description">
|
||||
O marketplace orquestra catálogos, tabelas e faturamento, entregando para a farmácia
|
||||
um único carrinho com split, impostos e tracking consolidados.
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="split-grid">
|
||||
<div class="card">
|
||||
<div class="pill">Governança</div>
|
||||
<h3>Catálogo único e políticas por UF</h3>
|
||||
<p>
|
||||
Múltiplos laboratórios compartilham o mesmo carrinho, mantendo regras de preço, descontos
|
||||
e restrições regionais preservadas.
|
||||
</p>
|
||||
<ul class="list">
|
||||
<li><strong>Erros fiscais reduzidos</strong> graças ao cálculo nativo de ICMS e ST.</li>
|
||||
<li><strong>Compliance</strong> de lotes e validade em todos os documentos.</li>
|
||||
<li><strong>Integração</strong> via webhooks, planilhas ou conectores de ERP.</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card island-shell">
|
||||
<div class="pill">Animação ao vivo</div>
|
||||
<FlowTicker />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="container section" id="contato">
|
||||
<LeadForm />
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="container footer">
|
||||
<p>
|
||||
Save in Med • Marketplace B2B farmacêutico — performance, conformidade e eficiência
|
||||
para a próxima geração de compras hospitalares e de farmácia.
|
||||
</p>
|
||||
</footer>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,144 +1,440 @@
|
|||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
:root {
|
||||
--blue: #0f4c81;
|
||||
--blue-dark: #0c3c66;
|
||||
--ice: #f4f8fd;
|
||||
--card: #ffffff;
|
||||
--text: #0f1b2c;
|
||||
--muted: #425066;
|
||||
--border: #d7e3f4;
|
||||
--radius-lg: 18px;
|
||||
--radius-md: 12px;
|
||||
--shadow-soft: 0 10px 40px rgba(15, 76, 129, 0.08);
|
||||
--shadow-strong: 0 16px 60px rgba(15, 76, 129, 0.12);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
button {
|
||||
|
||||
html,
|
||||
body {
|
||||
font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
|
||||
sans-serif;
|
||||
background: var(--ice);
|
||||
color: var(--text);
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
button, [role="button"] {
|
||||
cursor: pointer;
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
code {
|
||||
font-family:
|
||||
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
||||
"Courier New", monospace;
|
||||
font-size: 1em;
|
||||
|
||||
body {
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
img,
|
||||
svg {
|
||||
display: block;
|
||||
}
|
||||
img,
|
||||
video {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
|
||||
.page-wrapper {
|
||||
min-height: 100vh;
|
||||
background: radial-gradient(circle at 20% 20%, #e2edfa, transparent 25%),
|
||||
radial-gradient(circle at 80% 10%, #d7eafa, transparent 28%),
|
||||
linear-gradient(180deg, #f7fbff 0%, #eef4fb 50%, #f9fbff 100%);
|
||||
}
|
||||
|
||||
html {
|
||||
line-height: 1.5;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
font-family:
|
||||
ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
|
||||
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
||||
"Noto Color Emoji";
|
||||
.container {
|
||||
width: min(1180px, 92vw);
|
||||
margin: 0 auto;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
.transition-colors {
|
||||
transition-property: background-color, border-color, color, fill, stroke;
|
||||
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
transition-duration: 150ms;
|
||||
|
||||
.section {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
.my-6 {
|
||||
margin-bottom: 1.5rem;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
.text-4xl {
|
||||
font-size: 2.25rem;
|
||||
line-height: 2.5rem;
|
||||
}
|
||||
.mx-2 {
|
||||
margin-left: 0.5rem;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.my-4 {
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.mx-auto {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.px-4 {
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
.py-8 {
|
||||
padding-bottom: 2rem;
|
||||
padding-top: 2rem;
|
||||
}
|
||||
.bg-\[\#86efac\] {
|
||||
background-color: #86efac;
|
||||
}
|
||||
.text-3xl {
|
||||
font-size: 1.875rem;
|
||||
line-height: 2.25rem;
|
||||
}
|
||||
.py-6 {
|
||||
padding-bottom: 1.5rem;
|
||||
padding-top: 1.5rem;
|
||||
}
|
||||
.px-2 {
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
.py-1 {
|
||||
padding-bottom: 0.25rem;
|
||||
padding-top: 0.25rem;
|
||||
}
|
||||
.border-gray-500 {
|
||||
border-color: #6b7280;
|
||||
}
|
||||
.bg-white {
|
||||
background-color: #fff;
|
||||
}
|
||||
.flex {
|
||||
|
||||
.section-header {
|
||||
display: flex;
|
||||
}
|
||||
.gap-8 {
|
||||
grid-gap: 2rem;
|
||||
gap: 2rem;
|
||||
}
|
||||
.font-bold {
|
||||
font-weight: 700;
|
||||
}
|
||||
.max-w-screen-md {
|
||||
max-width: 768px;
|
||||
}
|
||||
.flex-col {
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
max-width: 780px;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
.items-center {
|
||||
|
||||
.section-kicker {
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: clamp(1.9rem, 1.4rem + 1vw, 2.4rem);
|
||||
font-weight: 700;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.section-description {
|
||||
color: var(--muted);
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 4.5rem 0 3.5rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 2.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
.justify-center {
|
||||
justify-content: center;
|
||||
}
|
||||
.border-2 {
|
||||
border-width: 2px;
|
||||
}
|
||||
.rounded-sm {
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
.hover\:bg-gray-200:hover {
|
||||
background-color: #e5e7eb;
|
||||
}
|
||||
.tabular-nums {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.min-h-screen {
|
||||
min-height: 100vh;
|
||||
|
||||
.hero-card {
|
||||
background: var(--card);
|
||||
border: 1px solid var(--border);
|
||||
box-shadow: var(--shadow-soft);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 1.5rem;
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.fresh-gradient {
|
||||
background-color: rgb(134, 239, 172);
|
||||
background-image: linear-gradient(
|
||||
to right bottom,
|
||||
rgb(219, 234, 254),
|
||||
rgb(187, 247, 208),
|
||||
rgb(254, 249, 195)
|
||||
);
|
||||
.hero-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 0.85rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(15, 76, 129, 0.08);
|
||||
color: var(--blue);
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: clamp(2rem, 1.2rem + 2vw, 2.9rem);
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
color: var(--muted);
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.hero-grid {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
||||
}
|
||||
|
||||
.metric-card {
|
||||
background: linear-gradient(135deg, #0f4c81 0%, #1f6aa8 100%);
|
||||
color: #fff;
|
||||
padding: 1.25rem;
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.metric-card p {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.badge-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.badge {
|
||||
padding: 0.35rem 0.65rem;
|
||||
border-radius: 999px;
|
||||
background: #e7f0fb;
|
||||
color: var(--blue);
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.button-primary,
|
||||
.button-secondary {
|
||||
border-radius: 12px;
|
||||
padding: 0.85rem 1.2rem;
|
||||
font-weight: 700;
|
||||
border: 1px solid transparent;
|
||||
transition: transform 150ms ease, box-shadow 200ms ease;
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
background: linear-gradient(135deg, #0f4c81, #0c3c66);
|
||||
color: #fff;
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.button-primary:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-strong);
|
||||
}
|
||||
|
||||
.button-secondary {
|
||||
background: #ffffff;
|
||||
border-color: var(--border);
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.button-secondary:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.card-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
||||
gap: 1.4rem;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: var(--card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-soft);
|
||||
padding: 1.4rem;
|
||||
display: grid;
|
||||
gap: 0.6rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.card:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(160deg, rgba(15, 76, 129, 0.06), transparent 55%);
|
||||
opacity: 0;
|
||||
transition: opacity 200ms ease;
|
||||
}
|
||||
|
||||
.card:hover:before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.card h3 {
|
||||
font-size: 1.05rem;
|
||||
color: var(--blue-dark);
|
||||
}
|
||||
|
||||
.card p {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
padding: 0.25rem 0.55rem;
|
||||
border-radius: 10px;
|
||||
background: rgba(15, 76, 129, 0.08);
|
||||
color: var(--blue);
|
||||
font-weight: 600;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.split-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 1.5rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.highlight-box {
|
||||
background: #0f4c81;
|
||||
color: white;
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 1.5rem;
|
||||
display: grid;
|
||||
gap: 0.8rem;
|
||||
box-shadow: var(--shadow-strong);
|
||||
}
|
||||
|
||||
.highlight-box p {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.list {
|
||||
display: grid;
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
.list li {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.6rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.list li strong {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.integration-flow {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
background: #f8fbff;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
.form-card {
|
||||
background: var(--card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 1.5rem;
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.form-row {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
gap: 0.9rem;
|
||||
margin-bottom: 0.9rem;
|
||||
}
|
||||
|
||||
label {
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
width: 100%;
|
||||
padding: 0.75rem 0.8rem;
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--border);
|
||||
background: #fdfefe;
|
||||
color: var(--text);
|
||||
transition: border-color 150ms ease, box-shadow 150ms ease;
|
||||
}
|
||||
|
||||
input:focus,
|
||||
textarea:focus,
|
||||
select:focus {
|
||||
outline: none;
|
||||
border-color: var(--blue);
|
||||
box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
min-height: 120px;
|
||||
}
|
||||
|
||||
.notice {
|
||||
padding: 0.9rem 1rem;
|
||||
background: rgba(15, 76, 129, 0.08);
|
||||
border-radius: 12px;
|
||||
color: var(--blue-dark);
|
||||
font-weight: 600;
|
||||
border: 1px solid rgba(15, 76, 129, 0.15);
|
||||
}
|
||||
|
||||
.chip-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.chip {
|
||||
background: #eef3fb;
|
||||
color: var(--blue-dark);
|
||||
padding: 0.45rem 0.7rem;
|
||||
border-radius: 12px;
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding: 2rem 0 3rem;
|
||||
color: var(--muted);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.island-shell {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pulse {
|
||||
animation: pulse 1.7s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-3px);
|
||||
}
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.ticker {
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.ticker-step {
|
||||
display: flex;
|
||||
gap: 0.65rem;
|
||||
align-items: flex-start;
|
||||
padding: 0.8rem 0.85rem;
|
||||
border-radius: 12px;
|
||||
border: 1px dashed rgba(15, 76, 129, 0.25);
|
||||
background: #fff;
|
||||
box-shadow: 0 4px 10px rgba(15, 76, 129, 0.06);
|
||||
}
|
||||
|
||||
.ticker-step.active {
|
||||
border-color: var(--blue);
|
||||
background: rgba(15, 76, 129, 0.08);
|
||||
}
|
||||
|
||||
.ticker-dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: var(--blue);
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
|
||||
.ticker-step p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.hero {
|
||||
padding-top: 3.5rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 3.2rem 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue