Portal FastAPI + 5 endpoints REST para Bootcamp Agentic AI con watsonx Orchestrate (FactorIT). Single container, Coolify-ready. - Landing brandeado FIT con formulario de registro (honeypot anti-bot) - Tokens itsdangerous para descargas (24h expiry) - 5 endpoints API: historical/available procedures, member-insights, schedule, generate-report (Jinja2 + Plotly) - SQLite con upsert-on-email para leads + log de descargas - Admin endpoints (HTTP Basic): leads.json, leads.csv, stats - 23 tests pytest pasando - Dockerfile listo para Coolify con volúmenes persistentes (/app/leads.db, /app/app/data/reports_output, /app/material) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
110 lines
5.9 KiB
CSS
110 lines
5.9 KiB
CSS
:root {
|
|
--navy: #0A1F44;
|
|
--blue: #1E4FA8;
|
|
--cyan: #00B5D8;
|
|
--orange: #FF7A00;
|
|
--orange-hover: #E66A00;
|
|
--cream: #F5F7FA;
|
|
--text: #1A1A1A;
|
|
--muted: #5A6473;
|
|
--border: #D8DEE5;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { scroll-behavior: smooth; }
|
|
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: white; line-height: 1.6; }
|
|
|
|
.site-header {
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
padding: 16px 32px; background: white; border-bottom: 1px solid var(--border);
|
|
}
|
|
.site-header .brand img { display: block; }
|
|
.powered-by { color: var(--muted); font-size: 13px; }
|
|
.powered-by strong { color: var(--navy); }
|
|
|
|
.hero {
|
|
background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
|
|
color: white; padding: 80px 32px; min-height: 80vh; display: flex; align-items: center;
|
|
position: relative; overflow: hidden;
|
|
}
|
|
.hero::before {
|
|
content: ''; position: absolute; top: -50px; right: -50px; width: 300px; height: 300px;
|
|
background: radial-gradient(circle, rgba(0, 181, 216, 0.15) 0%, transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
.hero::after {
|
|
content: ''; position: absolute; bottom: -80px; left: -80px; width: 400px; height: 400px;
|
|
background: radial-gradient(circle, rgba(255, 122, 0, 0.10) 0%, transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
.hero-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
|
|
.eyebrow { color: var(--cyan); font-weight: 700; letter-spacing: 2px; margin: 0 0 16px; }
|
|
.hero h1 { font-size: clamp(32px, 5vw, 56px); margin: 0 0 16px; font-weight: 800; line-height: 1.15; }
|
|
.subtitle { font-size: 20px; color: var(--cream); font-style: italic; margin: 0 0 32px; }
|
|
|
|
.btn { display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0; font-size: 16px; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease; }
|
|
.btn-primary { background: var(--orange); color: white; box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3); }
|
|
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 122, 0, 0.4); }
|
|
.btn-large { padding: 18px 36px; font-size: 18px; }
|
|
.btn-disabled { background: var(--border); color: var(--muted); cursor: not-allowed; }
|
|
|
|
.section-title { text-align: center; font-size: 32px; color: var(--navy); margin: 0 0 32px; }
|
|
|
|
.cards-section, .stats-section, .form-section, .descargas-section {
|
|
padding: 64px 32px; max-width: 1100px; margin: 0 auto;
|
|
}
|
|
.cards-section { background: var(--cream); max-width: none; }
|
|
.cards-section .section-title, .cards-section .cards { max-width: 1100px; margin-left: auto; margin-right: auto; }
|
|
|
|
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
|
|
.card { background: white; padding: 32px; border-radius: 12px; box-shadow: 0 2px 8px rgba(10, 31, 68, 0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; }
|
|
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(10, 31, 68, 0.14); }
|
|
.card .icon { font-size: 36px; margin-bottom: 12px; }
|
|
.card h3 { color: var(--navy); margin: 0 0 8px; }
|
|
.card p { color: var(--muted); margin: 0; }
|
|
|
|
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
|
|
.stat { padding: 24px; }
|
|
.stat .num { display: block; font-size: 56px; font-weight: 800; color: var(--orange); line-height: 1; }
|
|
.stat .label { display: block; color: var(--muted); margin-top: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
|
|
|
|
.form-section { background: white; max-width: 600px; }
|
|
.form-intro { text-align: center; color: var(--muted); margin: 0 0 32px; }
|
|
.register-form { display: flex; flex-direction: column; gap: 20px; }
|
|
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
|
|
.field input[type="text"], .field input[type="email"] {
|
|
width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: 16px; font-family: inherit;
|
|
}
|
|
.field input:focus { outline: none; border-color: var(--cyan); }
|
|
.field-checkbox { display: flex; gap: 12px; align-items: flex-start; }
|
|
.field-checkbox input { margin-top: 4px; }
|
|
.field-checkbox label { font-weight: 400; color: var(--muted); font-size: 14px; }
|
|
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
|
|
|
|
.banner { padding: 16px 32px; text-align: center; }
|
|
.banner-error { background: #FFF1F0; color: #B0211A; border-bottom: 2px solid #B0211A; }
|
|
|
|
.descargas-section { text-align: center; }
|
|
.hello { color: var(--navy); font-size: 40px; margin: 0 0 8px; }
|
|
.hello-sub { color: var(--muted); margin: 0 0 48px; }
|
|
.download-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
|
|
.download-card { background: var(--cream); padding: 40px; border-radius: 16px; border: 2px solid transparent; transition: border-color 0.2s ease, transform 0.2s ease; }
|
|
.download-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
|
|
.download-card .dl-icon { font-size: 56px; margin-bottom: 16px; }
|
|
.download-card h2 { color: var(--navy); margin: 0 0 8px; font-size: 24px; }
|
|
.download-card p { color: var(--muted); margin: 0 0 8px; }
|
|
.download-card .size { font-size: 13px; color: var(--muted); font-weight: 600; }
|
|
|
|
.site-footer { background: var(--navy); color: white; padding: 32px; margin-top: 64px; }
|
|
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
|
|
.footer-inner a { color: var(--cyan); text-decoration: none; }
|
|
.copyright { color: rgba(255, 255, 255, 0.5); font-size: 13px; margin-top: 16px; }
|
|
|
|
@media (max-width: 768px) {
|
|
.hero { min-height: 70vh; padding: 48px 24px; }
|
|
.cards-section, .stats-section, .form-section, .descargas-section { padding: 48px 24px; }
|
|
.download-card { padding: 24px; }
|
|
.site-header { padding: 12px 20px; }
|
|
.powered-by { font-size: 11px; }
|
|
}
|