/* ============================================================
   TAS Digital — placeholder content
   Swap these for real assets later (logos, video IDs, images).
   ============================================================ */

// Client logos — real brand names (text wordmarks for now). 40+ → "200+ brands".
const CLIENTS = [
  "Desert Rose", "Casual Hermits", "Lone Star Mushrooms", "Ronen Chen", "Dagmi Outdoors",
  "8000 Kicks", "Gratsi", "LoveÉcru", "SEP", "Almond Hair", "Sotomayor Marketing", "TCK",
  "Lash by Maya", "Quintessentially", "Matchday Mystery", "Breathium", "Indios Popup",
  "Not Your Grandma's", "Backgammon Galaxy", "iSculpt", "StartEngine", "CropSalt",
  "Snack Verse", "Sweetapolita", "The EID Tree", "Viral Content Design", "MacKinnon Highlands",
  "Gearforce USA", "Subsoccer", "Commit Action", "Mattress Central", "Le Pratique du Motard",
  "Ergonomist", "Afsennah", "Ryvalia", "Turmerry", "Mechanic Superstore", "Blackout Coffee",
  "Rise Band", "Orange Mod", "Quality Garden Supplies", "Rapid Test", "Shadana Yoga",
  "Snack First", "School",
];

// Headline proof numbers.
const STATS = [
  { value: "$90M+", label: "generated for our clients" },
  { value: "8,500+", label: "creatives produced last year" },
  { value: "3×", label: "average return on ad spend" },
];

// AI tech stack — the pipeline behind every creative.
const STACK = [
  { name: "ChatGPT 2.0", role: "Image generation", logo: "openai.svg", note: "On-brand concepts and product imagery, generated and iterated at scale." },
  { name: "Atria", role: "Analysis", logo: "atria.png", note: "Deep ad and funnel analysis that pinpoints exactly what to test next." },
  { name: "Kling AI", role: "AI video", logo: "kling.png", note: "Photo-real generative video for scroll-stopping motion." },
  { name: "Claude", role: "Creative agents", logo: "claude.svg", note: "Custom Claude agents that turn a brief into production-ready creative." },
  { name: "n8n", role: "Automation", logo: "n8n.svg", note: "Pipelines that run brief-to-delivery, hands-off." },
  { name: "Suno", role: "AI audio", logo: "suno.svg", note: "Original music and sound beds tailored to every cut." },
  { name: "Google Flow", role: "AI filmmaking", logo: "google.svg", note: "Cinematic AI scenes and camera work that feel directed." },
];

// ---- Cloudflare media config ----
// Stream customer subdomain (Stream → Account details) + Images account hash
// (Images → Overview). Reels play via HLS (hls.js / native Safari).
const STREAM_SUB = "customer-nu01kh566wd16uur.cloudflarestream.com";
const IMG_HASH = "pnaB_hDVwnWnAmYyXpGy3A";
const streamHls = (uid) => "https://" + STREAM_SUB + "/" + uid + "/manifest/video.m3u8";
const streamPoster = (uid) => "https://" + STREAM_SUB + "/" + uid + "/thumbnails/thumbnail.jpg?time=1s&height=640";

// Video creatives — vertical 9:16 reels, hosted on Cloudflare Stream.
const REEL_UIDS = [
  // --- Newest AI videos (Aug 2026) — featured first ---
  "578c1de2015dae85fe443ce88d8d03ef", // TV10 — A $1000 Mistake (podcast module)
  "c5f599fbdff2afb167eecdb412f3a7d1", // AV51 — Don't be like Marcus (claymation)
  "e003c42af6434be271593f19657bfc0d", // TV03 — No more guesswork (AI UGC)
  "ae06164ef931173040ec1adc28678059", // TM07 — Stop the overthinking
  "6fd3d8ec79b8b2d9288c94b4ee8429bd", // AV2-3 — Myths about bimbo
  "adfae54b6be839639a1f4e35d01eb821", // Panther In the Room TV11
  "58689abc8012a65d9ac895a7e0bfa389", // AV52-2 — Founders Story (Animation)
  "09e1becfe9d0fa2642be2a04cccde422", // AV1 — One less thing to think about
  "67bfa34ec615e75e1f8284792d16a6ef", // TAS-TV9 — Cost Sub-Angle A
  "0a1bdb5acc14db579515d7f021903224", // TAS ADS AV60
  "dcb37948aba12d824654fe89043da4d6", // 6765FC67 — veggie/kale
  // --- Earlier reels ---
  "d5f1e57043ca048efa9870854da440a5", // AV41 — AI Concept "We do the work"
  "de8e9694fbdfbafdf56a2db95d12ce56", // TV7 — Video Ad AI Concept
  "8d0237ecfc1c83648e554672a380d05d", // TV1
  "659ed623b88636d6e1c9e8690caa2a15", // TV01 — AI Animation Before & After
  "cb1f97ee401473eaf42808e2ecadb604", // TV38
  "5f66eba552293b84011dfbdd02845cc9", // TV33
  "0f3632df91bd73e447efa4571d632664", // TV26 — Taste Reawakened
  "aacb9b272cdd28ba38ad70e77deda984", // AV34
  "9fa68d05bd9d274aa814a1ca6b752e08", // AV48 — Your grandma called
  "ee8d91803292b3ef427e657e42a13962", // TV2
  "ed18a1d6180c1facc666315200dc66fd", // TAS-VID01 — Wool stop motion
  "533088bad8b0b31268cd1ae33542f670", // Ai video V1
  "92e58ee865de78645a9466dd21636f8d", // Final Video Raw 3
  "bd8ce262143dc0495aa17e9958f6ce54", // ACH Artem
  "b8529e33d203490ff0c095dd56c09e3d", // ACH Maks
  "de979d0b5aeaddd2d5016af545bcfbeb", // ACH Max
  "10aeef699f910fb0692d00b2405a2608", // ACH Illia
  "f4c6e3fbae594a9823aaa87530e4291c", // ACH Dmyt
  "4377e273a9b785bba1d9b02f9b7b1a4d", // ACH Alks
  "57e7ba67f1eff67625c8f0ce7801d2c9", // FC Gin
  "edd432f4e7d9449211f14d800bd8c943", // ACH TRS
  "3f5b0eba69ee8fff951b871de5d4b687", // ACH Gin 104
  "0767f18821b06f002b514556a4af8841", // ACH Alexs
  "0edf3f71d5638a3976608dc7810a65b4", // ACH Nat
];
const VIDEOS = REEL_UIDS.map((uid, i) => ({
  id: "vid-" + (i + 1),
  label: "reel " + String(i + 1).padStart(2, "0"),
  src: streamHls(uid),
  poster: streamPoster(uid),
}));

// Static ads — mixed squares + verticals, hosted on Cloudflare Images.
const STATIC_IDS = [
  "31be8a79-66bc-4349-4c39-13f33c379b00",
  "fef41596-771d-4ff5-5115-152ca3954500",
  "26b31ffa-c04b-404c-bf1b-c66abb509b00",
  "22d51c8b-7cd9-40aa-53b2-01fba8e2e000",
  "321fd30a-6c68-44ce-f13d-8ca5ddaa2d00",
  "7029d866-bdf2-44af-d3a0-d7c103f48400",
  "0fdebcaf-0b34-416e-0239-4f404fce4000",
  "1cea601e-f64d-4737-5304-9fa978416a00",
  "4521fc18-19c9-4fbc-bbcc-36d35d5b4200",
  "be300544-404a-4bf6-d5c1-7dc9e5e07c00",
  "b7b8bcb1-74a5-48b8-c40f-55a346ba1600",
  "4165f6f5-8ea2-4bb4-661d-31f40d91fc00",
  "01509590-dec4-4ab2-2965-3f1615d2d600",
  "e40a0385-874c-4ab8-9ec1-edd864e62f00",
  "3ce0faf8-032a-4d48-06e0-9828df4cd300",
  "e3dd0a0f-383a-4471-15a3-1d4ed6781500",
  "5342a718-af14-4715-6eca-acfda4a0a100",
  "a7fd289c-a0b0-41c1-69d8-eaf3d8943300",
  "2f0a57c6-ab4a-43d6-09a6-964f8301c600",
  "59bd1e6a-2910-41c3-4d49-23cde9b4ad00",
  "e53be6d6-7227-4b5d-cff2-66eb67780d00",
  "d4a1ea90-cfb1-4404-f39b-e85b29f5ef00",
  "225c25c5-553b-4bc0-3c06-7c7eb8308200",
  "548b619d-a768-4f0e-dd6e-e304c35bbb00",
  "b9c63a1d-abf7-499e-0111-e9db2fe9cb00",
  "e529000b-3b9d-44f7-593e-8c07cf818c00",
  "97dc7386-b60e-4cb8-64f4-5bce4c37d200",
  "32eee552-340f-423f-989c-787af828a600",
  "8cb4a5cb-5b34-4e6b-f382-a1cc9872c000",
  "523dc80b-5304-4d56-9d07-dbf0cbd7aa00",
  "ef169a50-d2fd-4da4-0bb6-414e68e72300",
  "769ee524-c680-4d60-aa66-0b1e32226300",
  "7d291654-7c7d-4694-7b85-a2c08e2c4c00",
  "dab03d6b-3c1c-4e35-6ef3-41e44085d000",
  "c4c9ea7e-6d60-4a59-8578-6fc3d8b42000",
  "c95312b5-c789-40d6-32a5-a388e5728500",
  "b0d62d58-eea6-452e-4cb9-4fa97304e300",
  "52b5c642-4aa7-448e-7c05-2265f380a500",
  "65965800-2f0d-4be3-d37b-4e54f167c400",
  "3ac59650-662e-466e-14d1-4714ac96ea00",
  "dc0fc724-def6-451d-1902-1356aae98300",
  "7f4f78f3-af1a-4083-23b8-5ea94e4fa800",
  "838b6d50-6ca6-45b9-d39a-bb0b41606700",
  "74bcecce-5043-4bd3-8184-4bf2b23d4200",
  "fda4e2f9-e2a5-4258-7f42-11f95ce6cb00",
  "64d73690-36c6-4258-f0e3-0b0cd4e8de00",
  "153b7689-0859-4a63-35e6-303aac7f2800",
  "a18dfe9a-abcf-45a3-bcb8-f269d13e4100",
  "dbec1034-13e8-43b3-fe2e-1c7aa77f6d00",
  "0782c178-36d2-476f-069d-7443273ca800",
  "ed3d38d8-d9ab-43bf-447b-b197633f9900",
  "97d219fb-2bbb-49d1-54ee-0503e6639400",
  "cd2fabcd-8ac6-4ff2-225d-6c5ace1f1f00",
  "a3a83451-97ae-4ac6-0acf-ccabc1d96d00",
  "d7c1c2f0-4bc7-417f-987f-ea4ad7d4be00",
  "1479c8ad-ded1-408e-cfc5-117be1d98b00",
  "14a9dab1-ca79-464f-4db5-26c625e49e00",
  "9b685e4a-2727-4a91-90b6-f15bf9eecf00",
  "979d8d1e-d2ca-467f-aa39-1520dbeb6b00",
  "3b7731d8-9c18-4da3-8ef5-e6178a252800",
  "c8dee259-1c53-4e81-0034-d7b53456ae00",
  "1be9b7f5-826a-4572-5e5b-9939e2245e00",
  "8b1b9c27-1af3-4fd0-bd34-9fbaff15a200",
  "db1bed10-ca29-495f-b4f8-46daaae6ce00",
  "59370c13-a07e-41f6-1a27-ba777a110700",
  "2e454468-e1b0-4b1c-8b5e-3efbdc254a00",
  "aa7ab0d7-50da-4169-0e58-a5d0f2c14c00",
  "751bc292-170f-4b0f-78a2-3153e41cd300",
];
const VERTICAL_IDS = new Set([
  "321fd30a-6c68-44ce-f13d-8ca5ddaa2d00",
  "be300544-404a-4bf6-d5c1-7dc9e5e07c00",
  "3ce0faf8-032a-4d48-06e0-9828df4cd300",
  "59bd1e6a-2910-41c3-4d49-23cde9b4ad00",
  "b9c63a1d-abf7-499e-0111-e9db2fe9cb00",
  "523dc80b-5304-4d56-9d07-dbf0cbd7aa00",
  "c4c9ea7e-6d60-4a59-8578-6fc3d8b42000",
  "3ac59650-662e-466e-14d1-4714ac96ea00",
  "fda4e2f9-e2a5-4258-7f42-11f95ce6cb00",
  "0782c178-36d2-476f-069d-7443273ca800",
  "d7c1c2f0-4bc7-417f-987f-ea4ad7d4be00",
  "3b7731d8-9c18-4da3-8ef5-e6178a252800",
  "59370c13-a07e-41f6-1a27-ba777a110700",
  "751bc292-170f-4b0f-78a2-3153e41cd300",
  "22d51c8b-7cd9-40aa-53b2-01fba8e2e000",
]);
const STATICS = STATIC_IDS.map((id, i) => ({
  id: "ad-" + (i + 1),
  label: "static ad " + String(i + 1).padStart(2, "0"),
  src: "https://imagedelivery.net/" + IMG_HASH + "/" + id + "/public",
  vertical: VERTICAL_IDS.has(id),
}));

const FAQS = [
  {
    q: "How fast will I get my videos?",
    a: "We kick off with a quick onboarding meeting. Within 3 days you receive your concept ideas. Once you approve, your first video lands in 3–5 business days — and the rest follow from there.",
  },
  {
    q: "How many revisions do I get?",
    a: "3 free revisions on every video, so we fine-tune each one until it’s exactly right.",
  },
  {
    q: "How many variations do I get per video?",
    a: "2 variations per video — different hooks or angles you can test against each other to find what performs.",
  },
  {
    q: "Why animation ads instead of the usual creatives?",
    a: "Animation lets you show what live-action can’t — characters, worlds, transformations, before-and-afters — so your ad stops the scroll in a feed full of talking heads. It’s the format opening up fresh reach and new audiences right now, and it carries story and emotion far better than a plain demo.",
  },
  {
    q: "Are these really “AI” creatives — or just templates?",
    a: "Real production powered by AI tooling. We use generative models for ideation, scripting, visuals and variation, then a human creative team directs and polishes every video. You get the speed of AI with the taste of a senior creative team.",
  },
  {
    q: "What platforms do you create for?",
    a: "Meta (Facebook & Instagram), TikTok, YouTube and the rest of the usual suspects. We deliver in every aspect ratio so you’re never re-cropping to fit a new placement.",
  },
  {
    q: "Do I keep the rights to everything?",
    a: "Yes. Every video we produce is yours to keep and run wherever you like, forever — no licensing games, no usage caps.",
  },
];

const PRICING = [
  {
    name: "Starter",
    perVideo: "$400",
    unit: "/ video",
    total: "$2,000 total",
    highlight: false,
    badge: "",
    lead: "5 animation videos",
    features: [
      "5 AI animation ad videos",
      "60–90 sec each",
      "2 variations per video",
      "Full concept → script → generation → editing",
      "3 free revisions",
    ],
  },
  {
    name: "Growth",
    perVideo: "$380",
    unit: "/ video",
    total: "$3,800 total",
    highlight: true,
    badge: "Most popular",
    lead: "10 animation videos",
    features: [
      "10 AI animation ad videos",
      "60–90 sec each",
      "2 variations per video",
      "Full concept → script → generation → editing",
      "3 free revisions",
    ],
  },
  {
    name: "Scale",
    perVideo: "$370",
    unit: "/ video",
    total: "$7,400 total",
    highlight: false,
    badge: "Best value",
    lead: "20 animation videos",
    features: [
      "20 AI animation ad videos",
      "60–90 sec each",
      "2 variations per video",
      "Priority production queue",
      "3 free revisions",
    ],
  },
];

const PROCESS = [
  { t: "Concept", d: "We prepare the concept and angle." },
  { t: "Style", d: "We lock the visual style of the video." },
  { t: "Storyboard", d: "We write the script and storyline." },
  { t: "Frame check", d: "We edit and check it frame by frame." },
  { t: "Optimize", d: "We refine every frame." },
  { t: "Generate", d: "We generate the images, frame by frame." },
  { t: "Animate", d: "We animate every frame." },
  { t: "Voice & edit", d: "We add voiceover and final edit." },
];

Object.assign(window, { CLIENTS, STACK, STATS, VIDEOS, STATICS, FAQS, PRICING, PROCESS, STREAM_SUB });
