import Link from "next/link"; import { cookies, headers } from "next/headers"; import { LandingAnalytics } from "@/components/landing/LandingAnalytics"; import { LandingHeaderActions, LandingHeroActions, } from "@/components/landing/LandingAuthActions"; import { LANDING_LOCALE_COOKIE, pickLandingLocale, type LandingLocale, } from "@/components/landing/landingLocale"; const COVERAGE_EN = [ "Live airport observations", "DEB blend forecast", "Model-implied distribution", "Intraday observation windows", "Deviation checks and risk thresholds", "Paid Telegram alerts", ]; const COVERAGE_ZH = [ "机场实况观测数据", "DEB 智能融合预报", "模型隐含分布预测", "日内分段观测窗口", "偏差校验与风控阈值", "付费 Telegram 实时通知", ]; const PRO_FEATURES_EN = [ "METAR airport observations and runway-level reference data", "DEB blend forecast with model-spread context", "Model-implied distribution and probability estimates", "Intraday windows, deviation metrics, and settlement context", "Paid Telegram group eligibility and alert workflows", "Priority support for subscription and access issues", ]; const PRO_FEATURES_ZH = [ "METAR 机场实测与跑道级参考数据", "DEB 智能融合预报与模型分歧背景", "模型隐含分布预测与概率估算", "日内观测窗口、偏差度量与结算背景", "付费 Telegram 群准入与提醒工作流", "订阅与准入问题优先支持", ]; type IconName = | "radar" | "gauge" | "shield" | "cloudSun" | "lineChart" | "bell" | "clock" | "database" | "check" | "arrow"; function LandingIcon({ className, name, size = 16, }: { className?: string; name: IconName; size?: number; }) { const common = { "aria-hidden": true, className, fill: "none", height: size, stroke: "currentColor", strokeLinecap: "round" as const, strokeLinejoin: "round" as const, strokeWidth: 2, viewBox: "0 0 24 24", width: size, }; switch (name) { case "radar": return ( ); case "gauge": return ( ); case "shield": return ( ); case "cloudSun": return ( ); case "lineChart": return ( ); case "bell": return ( ); case "clock": return ( ); case "database": return ( ); case "check": return ( ); case "arrow": return ( ); default: return null; } } function WeatherWorkflowIllustration() { return (