"use client"; import { useEffect, useState } from "react"; import Link from "next/link"; import { ArrowRight, Bell, Check, CheckCircle2, Clock3, CloudSun, Database, Gauge, LineChart, Radar, ShieldCheck, Users, } from "lucide-react"; import { I18nProvider, useI18n } from "@/hooks/useI18n"; import { getSupabaseBrowserClient, hasSupabasePublicEnv, } from "@/lib/supabase/client"; 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 群准入与提醒工作流", "订阅与准入问题优先支持", ]; function WeatherWorkflowIllustration() { return (