Spaces:
Runtime error
Runtime error
Commit Β·
52d7e02
1
Parent(s): d933a8b
feat: add public landing page with features, modules, and algorithms showcase
Browse filesLanding page at / for unauthenticated users showcasing PRISM capabilities.
Dashboard moved to /dashboard. Login/logout flow updated accordingly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Files changed (5)
4 unmodified lines5678910117 unmodified lines19202122232410 unmodified lines35363738394030 unmodified lines717273747576774 unmodified linesdata_service = DataService()# Routes that are always public (no login required)_PUBLIC_ENDPOINTS = {'auth.login', 'auth.logout', 'static'}def create_app():app = Flask(__name__,7 unmodified linesfrom app_pkg.services.simulator_data_loader import sim_data_loadersim_data_loader.load_all()from app_pkg.blueprints.auth import auth_bpfrom app_pkg.blueprints.home import home_bpfrom app_pkg.blueprints.media import media_bp10 unmodified linesfrom app_pkg.blueprints.strategy_scenarios import strategy_scenarios_bpfrom app_pkg.blueprints.strategy_create import strategy_create_bpapp.register_blueprint(auth_bp)app.register_blueprint(data_mgmt_bp, url_prefix='/data')app.register_blueprint(alerts_bp, url_prefix='/alerts')30 unmodified lines# 0: Data & Setup{'name': 'Data Harmonization', 'icon': 'database', 'url': '/data', 'id': 'data-mgmt'},# 1-5: Descriptive{'name': 'Executive Summary', 'icon': 'home', 'url': '/', 'id': 'home'},{'name': 'Media Analysis', 'icon': 'bar-chart-2', 'url': '/media', 'id': 'media'},{'name': 'Ad-Level Analysis', 'icon': 'target', 'url': '/ads', 'id': 'ads'},{'name': 'Consumer Promo', 'icon': 'tag', 'url': '/consumer-promo', 'id': 'consumer-promo'},4 unmodified lines5678910117 unmodified lines1920212223242510 unmodified lines3637383940414230 unmodified lines737475767778794 unmodified linesdata_service = DataService()# Routes that are always public (no login required)_PUBLIC_ENDPOINTS = {'auth.login', 'auth.logout', 'landing.index', 'static'}def create_app():app = Flask(__name__,7 unmodified linesfrom app_pkg.services.simulator_data_loader import sim_data_loadersim_data_loader.load_all()from app_pkg.blueprints.landing import landing_bpfrom app_pkg.blueprints.auth import auth_bpfrom app_pkg.blueprints.home import home_bpfrom app_pkg.blueprints.media import media_bp10 unmodified linesfrom app_pkg.blueprints.strategy_scenarios import strategy_scenarios_bpfrom app_pkg.blueprints.strategy_create import strategy_create_bpapp.register_blueprint(landing_bp)app.register_blueprint(auth_bp)app.register_blueprint(data_mgmt_bp, url_prefix='/data')app.register_blueprint(alerts_bp, url_prefix='/alerts')30 unmodified lines# 0: Data & Setup{'name': 'Data Harmonization', 'icon': 'database', 'url': '/data', 'id': 'data-mgmt'},# 1-5: Descriptive{'name': 'Executive Summary', 'icon': 'home', 'url': '/dashboard', 'id': 'home'},{'name': 'Media Analysis', 'icon': 'bar-chart-2', 'url': '/media', 'id': 'media'},{'name': 'Ad-Level Analysis', 'icon': 'target', 'url': '/ads', 'id': 'ads'},{'name': 'Consumer Promo', 'icon': 'tag', 'url': '/consumer-promo', 'id': 'consumer-promo'},
5 unmodified lines678910111218 unmodified lines313233345 unmodified lines@auth_bp.route('/login', methods=['GET', 'POST'])def login():if session.get('logged_in'):return redirect(url_for('home.index'))error = Noneif request.method == 'POST':18 unmodified lines@auth_bp.route('/logout')def logout():session.clear()return redirect(url_for('auth.login'))5 unmodified lines678910111218 unmodified lines313233345 unmodified lines@auth_bp.route('/login', methods=['GET', 'POST'])def login():if session.get('logged_in'):return redirect(url_for('home.index')) # /dashboarderror = Noneif request.method == 'POST':18 unmodified lines@auth_bp.route('/logout')def logout():session.clear()return redirect(url_for('landing.index'))
3 unmodified lines456789103 unmodified lineshome_bp = Blueprint('home', __name__)@home_bp.route('/')def index():filter_options = data_service.get_filter_options()return render_template('home.html', page_id='home', filter_options=filter_options)3 unmodified lines456789103 unmodified lineshome_bp = Blueprint('home', __name__)@home_bp.route('/dashboard')def index():filter_options = data_service.get_filter_options()return render_template('home.html', page_id='home', filter_options=filter_options)
12345678910from flask import Blueprint, render_template, session, redirect, url_for
landing_bp = Blueprint('landing', __name__)
@landing_bp.route('/')def index(): if session.get('logged_in'): return redirect(url_for('home.index')) return render_template('landing.html')123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>PRISM Marketing Intelligence</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/geist/index.min.css"> <style> *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg: oklch(0.13 0 0); --surface: oklch(0.18 0 0); --surface-raised: oklch(0.205 0 0); --border: rgba(255, 255, 255, 0.08); --border-hover: rgba(255, 255, 255, 0.15); --text-primary: oklch(0.985 0 0); --text-secondary: oklch(0.708 0 0); --text-muted: oklch(0.556 0 0); --text-faint: oklch(0.371 0 0); --accent-blue: #3987e5; --accent-orange: #d95926; --accent-green: #199e70; --accent-amber: #c98500; --accent-pink: #d55181; }
html { scroll-behavior: smooth; }
body { font-family: 'Geist Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text-secondary); line-height: 1.6; -webkit-font-smoothing: antialiased; }
/* ββ Nav ββββββββββββββββββββββββββββββββββββββββββββ */ .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 48px; height: 64px; display: flex; align-items: center; justify-content: space-between; background: rgba(20, 20, 20, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-brand { font-size: 16px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.3px; display: flex; align-items: center; gap: 10px; }
.nav-brand-icon { width: 32px; height: 32px; background: var(--text-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.nav-brand-icon svg { width: 16px; height: 16px; stroke: var(--bg); fill: none; stroke-width: 2.5; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { padding: 8px 20px; background: var(--text-primary) !important; color: var(--bg) !important; border-radius: 6px; font-weight: 600 !important; transition: opacity 0.2s !important; }
.nav-cta:hover { opacity: 0.88; }
/* ββ Hero βββββββββββββββββββββββββββββββββββββββββββ */ .hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 800px; height: 800px; top: -200px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(57,135,229,0.06) 0%, transparent 70%); pointer-events: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 32px; }
.hero-badge-dot { width: 6px; height: 6px; background: var(--accent-green); border-radius: 50%; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; color: var(--text-primary); letter-spacing: -2px; line-height: 1.05; max-width: 800px; margin-bottom: 24px; }
.hero h1 span { background: linear-gradient(135deg, var(--accent-blue), var(--accent-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 560px; line-height: 1.7; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: var(--text-primary); color: var(--bg); border: none; border-radius: 8px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; text-decoration: none; transition: opacity 0.2s, transform 0.1s; }
.btn-primary:hover { opacity: 0.88; } .btn-primary:active { transform: scale(0.98); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: transparent; color: var(--text-primary); border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-weight: 500; font-family: inherit; cursor: pointer; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.btn-secondary:hover { border-color: var(--border-hover); background: var(--surface); }
.btn-arrow { font-size: 18px; }
/* ββ Stats strip ββββββββββββββββββββββββββββββββββββ */ .stats-strip { display: flex; justify-content: center; gap: 64px; padding: 48px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { text-align: center; }
.stat-value { font-size: 36px; font-weight: 800; color: var(--text-primary); letter-spacing: -1px; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
/* ββ Section ββββββββββββββββββββββββββββββββββββββββ */ .section { padding: 120px 48px; max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-blue); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--text-primary); letter-spacing: -1px; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 600px; margin-bottom: 64px; }
/* ββ Feature grid βββββββββββββββββββββββββββββββββββ */ .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; transition: border-color 0.3s, transform 0.2s; }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.feature-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon svg { width: 20px; height: 20px; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon.blue { background: rgba(57,135,229,0.12); } .feature-icon.blue svg { stroke: var(--accent-blue); } .feature-icon.orange { background: rgba(217,89,38,0.12); } .feature-icon.orange svg { stroke: var(--accent-orange); } .feature-icon.green { background: rgba(25,158,112,0.12); } .feature-icon.green svg { stroke: var(--accent-green); } .feature-icon.amber { background: rgba(201,133,0,0.12); } .feature-icon.amber svg { stroke: var(--accent-amber); } .feature-icon.pink { background: rgba(213,81,129,0.12); } .feature-icon.pink svg { stroke: var(--accent-pink); } .feature-icon.purple { background: rgba(124,108,196,0.12); } .feature-icon.purple svg { stroke: #7c6cc4; }
.feature-card h3 { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
/* ββ Screens showcase βββββββββββββββββββββββββββββββ */ .screens-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.screen-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; transition: border-color 0.3s; }
.screen-item:hover { border-color: var(--border-hover); }
.screen-number { width: 32px; height: 32px; background: rgba(57,135,229,0.1); color: var(--accent-blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.screen-info h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.screen-info p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
/* ββ Algorithms βββββββββββββββββββββββββββββββββββββ */ .algo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.algo-card { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.algo-tag { display: inline-block; padding: 4px 10px; background: rgba(57,135,229,0.1); color: var(--accent-blue); border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.algo-card h3 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.algo-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.algo-items { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.algo-items li { padding: 4px 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 6px; font-size: 12px; color: var(--text-secondary); }
/* ββ CTA ββββββββββββββββββββββββββββββββββββββββββββ */ .cta-section { text-align: center; padding: 120px 24px; position: relative; }
.cta-section::before { content: ''; position: absolute; width: 600px; height: 600px; bottom: -200px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(57,135,229,0.04) 0%, transparent 70%); pointer-events: none; }
.cta-section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--text-primary); letter-spacing: -1px; margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; }
/* ββ Footer βββββββββββββββββββββββββββββββββββββββββ */ .footer { padding: 40px 48px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-left { font-size: 13px; color: var(--text-faint); }
.footer-right { font-size: 12px; color: var(--text-faint); }
/* ββ Responsive βββββββββββββββββββββββββββββββββββββ */ @media (max-width: 900px) { .nav { padding: 0 24px; } .nav-links a:not(.nav-cta) { display: none; } .features-grid { grid-template-columns: 1fr; } .screens-list { grid-template-columns: 1fr; } .algo-grid { grid-template-columns: 1fr; } .stats-strip { gap: 32px; flex-wrap: wrap; } .section { padding: 80px 24px; } .footer { flex-direction: column; gap: 16px; text-align: center; } } </style></head><body>
<!-- ββ Navigation βββββββββββββββββββββββββββββββ --> <nav class="nav"> <div class="nav-brand"> <div class="nav-brand-icon"> <svg viewBox="0 0 24 24"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg> </div> PRISM </div> <div class="nav-links"> <a href="#features">Features</a> <a href="#screens">Modules</a> <a href="#algorithms">Algorithms</a> <a href="{{ url_for('auth.login') }}" class="nav-cta">Sign In</a> </div> </nav>
<!-- ββ Hero βββββββββββββββββββββββββββββββββββββ --> <section class="hero"> <div class="hero-badge"> <span class="hero-badge-dot"></span> Marketing Mix Modelling Platform </div> <h1>Decode Your <span>Marketing ROI</span></h1> <p class="hero-sub"> PRISM is an end-to-end Marketing Mix Intelligence platform that quantifies the impact of every marketing dollar β across media, consumer promotions, and trade investments. </p> <div class="hero-actions"> <a href="{{ url_for('auth.login') }}" class="btn-primary"> Get Started <span class="btn-arrow">→</span> </a> <a href="#features" class="btn-secondary">Explore Features</a> </div> </section>
<!-- ββ Stats ββββββββββββββββββββββββββββββββββββ --> <div class="stats-strip"> <div class="stat"> <div class="stat-value">13</div> <div class="stat-label">Interactive Modules</div> </div> <div class="stat"> <div class="stat-value">50+</div> <div class="stat-label">Charts & Visualizations</div> </div> <div class="stat"> <div class="stat-value">5</div> <div class="stat-label">Data Source Types</div> </div> <div class="stat"> <div class="stat-value">360°</div> <div class="stat-label">Marketing View</div> </div> </div>
<!-- ββ Core Features ββββββββββββββββββββββββββββ --> <section class="section" id="features"> <div class="section-label">Capabilities</div> <h2 class="section-title">Everything you need to optimize marketing spend</h2> <p class="section-desc"> From data ingestion to budget optimization, PRISM covers the full marketing analytics lifecycle. </p>
<div class="features-grid"> <div class="feature-card"> <div class="feature-icon blue"> <svg viewBox="0 0 24 24"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"/><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"/></svg> </div> <h3>Data Harmonization</h3> <p>Ingest, validate, and transform media, sales, promo, and external factor data through an automated pipeline with quality scoring.</p> </div>
<div class="feature-card"> <div class="feature-icon orange"> <svg viewBox="0 0 24 24"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/></svg> </div> <h3>Revenue Decomposition</h3> <p>Decompose total revenue into base demand, media-driven, promo-driven, seasonality, and external factor contributions.</p> </div>
<div class="feature-card"> <div class="feature-icon green"> <svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/></svg> </div> <h3>Media Effectiveness</h3> <p>Measure short-term and long-term media effects, saturation curves, diminishing returns, and campaign wear-in/wear-out lifecycles.</p> </div>
<div class="feature-card"> <div class="feature-icon amber"> <svg viewBox="0 0 24 24"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg> </div> <h3>Budget Optimization</h3> <p>Algorithmically allocate budgets across channels to maximize revenue, ROAS, or profit β with constraint-aware scenario planning.</p> </div>
<div class="feature-card"> <div class="feature-icon pink"> <svg viewBox="0 0 24 24"><path d="M20.59 13.41l-7.17 7.17a2 2 0 01-2.83 0L2 12V2h10l8.59 8.59a2 2 0 010 2.82z"/><line x1="7" y1="7" x2="7.01" y2="7"/></svg> </div> <h3>Promo Analytics</h3> <p>Analyze consumer and trade promotions β redemption rates, cannibalization, incremental lift, retailer compliance, and P&L impact.</p> </div>
<div class="feature-card"> <div class="feature-icon purple"> <svg viewBox="0 0 24 24"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/></svg> </div> <h3>What-If Simulation</h3> <p>Simulate budget shifts, price changes, and strategy scenarios with real-time predicted outcomes and confidence intervals.</p> </div> </div> </section>
<!-- ββ Modules ββββββββββββββββββββββββββββββββββ --> <section class="section" id="screens"> <div class="section-label">Modules</div> <h2 class="section-title">13 purpose-built analytics modules</h2> <p class="section-desc"> Each module delivers specialized insights across the marketing value chain β from raw data to optimized strategy. </p>
<div class="screens-list"> <div class="screen-item"> <div class="screen-number">01</div> <div class="screen-info"> <h4>Data Harmonization</h4> <p>Upload, validate, map, and transform multi-source marketing data with quality scoring.</p> </div> </div> <div class="screen-item"> <div class="screen-number">02</div> <div class="screen-info"> <h4>Alerts & Simulation</h4> <p>Automated KPI monitoring classified into Alerts, Worries, Wins & Opportunities.</p> </div> </div> <div class="screen-item"> <div class="screen-number">03</div> <div class="screen-info"> <h4>Executive Summary</h4> <p>High-level KPI dashboard with revenue decomposition, spend allocation, and efficiency trends.</p> </div> </div> <div class="screen-item"> <div class="screen-number">04</div> <div class="screen-info"> <h4>Media Analysis</h4> <p>Channel-level spend, impressions, CTR, CPM analysis with campaign funnel and share of voice.</p> </div> </div> <div class="screen-item"> <div class="screen-number">05</div> <div class="screen-info"> <h4>Ad-Level Analysis</h4> <p>Individual creative performance, format comparison, fatigue detection, and A/B testing.</p> </div> </div> <div class="screen-item"> <div class="screen-number">06</div> <div class="screen-info"> <h4>Consumer Promo</h4> <p>Coupon, discount, and loyalty program analysis with cannibalization and lift measurement.</p> </div> </div> <div class="screen-item"> <div class="screen-number">07</div> <div class="screen-info"> <h4>Trade Promo</h4> <p>Retailer trade spend, ROI by mechanism, compliance tracking, and profitability matrix.</p> </div> </div> <div class="screen-item"> <div class="screen-number">08</div> <div class="screen-info"> <h4>Volume & Revenue Drivers</h4> <p>Seasonality decomposition, correlation analysis, lag effects, and external factor overlay.</p> </div> </div> <div class="screen-item"> <div class="screen-number">09</div> <div class="screen-info"> <h4>Model Evaluation</h4> <p>MMM output visualization β contribution waterfall, actual vs predicted, model diagnostics.</p> </div> </div> <div class="screen-item"> <div class="screen-number">10</div> <div class="screen-info"> <h4>Media Effects</h4> <p>Long-term vs short-term effects, saturation curves, and campaign wear-in/wear-out analysis.</p> </div> </div> <div class="screen-item"> <div class="screen-number">11</div> <div class="screen-info"> <h4>Marketing Performance</h4> <p>Cross-channel comparison, synergy analysis, attribution model sensitivity, and promo ROI.</p> </div> </div> <div class="screen-item"> <div class="screen-number">12</div> <div class="screen-info"> <h4>Strategy & Optimization</h4> <p>What-if simulation, budget optimizer, scenario manager with efficient frontier analysis.</p> </div> </div> </div> </section>
<!-- ββ Algorithms βββββββββββββββββββββββββββββββ --> <section class="section" id="algorithms"> <div class="section-label">Under the Hood</div> <h2 class="section-title">Powered by proven statistical methods</h2> <p class="section-desc"> PRISM combines classical econometric modelling with modern optimization to deliver actionable marketing insights. </p>
<div class="algo-grid"> <div class="algo-card"> <span class="algo-tag">Core Model</span> <h3>Marketing Mix Modelling (MMM)</h3> <p>Regression-based framework that decomposes sales into base demand and incremental contributions from each marketing input.</p> <ul class="algo-items"> <li>Multivariate Regression</li> <li>Log-Log / Semi-Log Models</li> <li>Multiplicative Models</li> </ul> </div>
<div class="algo-card"> <span class="algo-tag">Media Transformation</span> <h3>Adstock & Saturation</h3> <p>Captures media carryover effects via geometric decay and diminishing returns via Hill/S-curve response functions.</p> <ul class="algo-items"> <li>Geometric Adstock</li> <li>Weibull Decay</li> <li>Hill Saturation Curves</li> <li>Logistic Response</li> </ul> </div>
<div class="algo-card"> <span class="algo-tag">Decomposition</span> <h3>Time-Series Decomposition</h3> <p>Isolates trend, seasonality, and residual components to separate organic demand from marketing-driven effects.</p> <ul class="algo-items"> <li>STL Decomposition</li> <li>Seasonal Indices</li> <li>Holiday Effects</li> <li>Trend Extraction</li> </ul> </div>
<div class="algo-card"> <span class="algo-tag">Optimization</span> <h3>Budget Allocation Engine</h3> <p>Constraint-aware optimization that allocates budget across channels to maximize a chosen objective while respecting spend bounds.</p> <ul class="algo-items"> <li>Constrained Optimization</li> <li>Marginal ROI Ranking</li> <li>Efficient Frontier</li> <li>Scenario Simulation</li> </ul> </div> </div> </section>
<!-- ββ CTA ββββββββββββββββββββββββββββββββββββββ --> <section class="cta-section"> <h2>Ready to optimize your marketing?</h2> <p>Sign in to access the full PRISM platform and start analyzing your marketing mix.</p> <a href="{{ url_for('auth.login') }}" class="btn-primary"> Sign In to PRISM <span class="btn-arrow">→</span> </a> </section>
<!-- ββ Footer βββββββββββββββββββββββββββββββββββ --> <footer class="footer"> <div class="footer-left">PRISM Marketing Intelligence • Powered by NOVA</div> <div class="footer-right">© 2024 StrategyForge. All rights reserved.</div> </footer>
</body></html>app_pkg/__init__.py+4-2
app_pkg/blueprints/auth.py+2-2
app_pkg/blueprints/home.py+1-1
app_pkg/blueprints/landing.pyAdded+10
templates/landing.htmlAdded+744