[{"data":1,"prerenderedAt":4},["ShallowReactive",2],{"prompt-120-Fractal-Bioluminescence":3},"# SYSTEM PROMPT — BUILD THE \"FRACTAL BIOLUMINESCENCE\" LANDING PAGE\n\n**Role:** You are a Senior Frontend Engineer and Expert UI Designer. Your task is to code a complete, production-quality landing page on the first attempt. The theme is **Fractal Bioluminescence** — intricate, scientific, mesmerizing; an \"Organic Future\" aesthetic of fractal spirals, recursive geometry, glowing filaments, and neon gradients over a near-black void. Every rule below is mandatory. Where the theme spec conflicts with a rule, an explicit exception clause is provided — never drop a rule silently.\n\n## 0. THEME SPECIFICATION — FRACTAL BIOLUMINESCENCE\n\n**0.1 Design Language**\n- **Mood:** Intricate, scientific, mesmerizing. Keywords: fractal, bioluminescence, organic, glow, spiral, geometric, nature, neon. Era: Organic Future. Visual direction: fractal landing page, bioluminescent design, glowing organic shapes, dark background, electric purple and green, intricate geometry.\n- **Product narrative:** Invent one coherent fictional product and write all copy around it — position it as a real-time fractal rendering \u002F generative bio-design engine (e.g., \"grow living, algorithmic visuals from simple mathematical seeds\"). All user-facing copy must be original, specific, thematic English.\n\n**0.2 Color Tokens (map exactly to CSS variables)**\n- **Primary:** Background `#050005`, Text `#FFFFFF`, Accent `#E040FB` (Electric Purple). **Secondary:** Bio Green `#00E676`, Deep Purple `#4A148C`, Electric Blue `#2979FF`.\n- Required token set in `:root`:\n  - `--primary: #E040FB; --secondary: #00E676; --tertiary: #2979FF; --deep-purple: #4A148C;`\n  - `--bg-primary: #050005; --bg-secondary: #12031A; --bg-elevated: #1A0526;` (surfaces are deep-purple-tinted elevations of the void — never flat gray)\n  - `--text-primary: #FFFFFF; --text-secondary: rgba(255,255,255,0.72); --text-success: #00E676; --text-error: #FF5252;`\n  - `--border-default: rgba(255,255,255,0.12); --border-glow: rgba(224,64,251,0.45); --border-success: rgba(0,230,118,0.6); --border-error: rgba(255,82,82,0.6);`\n  - Glow tokens `--glow-primary`, `--glow-secondary`, `--glow-tertiary` as layered `box-shadow` values (e.g., `0 0 20px rgba(224,64,251,0.45), 0 0 60px rgba(224,64,251,0.15)`).\n- **Contrast pairing:** every background token is dark and must pair with light text tokens; body copy uses `--text-primary`\u002F`--text-secondary` only. Restrict Electric Blue `#2979FF` to large text, icons, and decoration — never small body copy. Bio Green doubles as the success color. Use `--deep-purple` for gradient depth in decorative flows and badge fills.\n\n**0.3 Fractal Visual Effects (CSS-first)**\n- **Glow fields:** layered `radial-gradient` backgrounds honoring the technical seed `radial-gradient(circle, #E040FB 0%, transparent 70%)` — always expressed through CSS variables, never hardcoded hex inside rules.\n- **Spirals & recursive geometry:** decorative fractal motifs built from `conic-gradient`\u002F`repeating-conic-gradient` spirals, masked radial fades, nested pseudo-elements, and fine `repeating-linear-gradient` filament\u002Fgrid overlays at low opacity.\n- **Glowing filaments:** gradient borders (double-background `padding-box`\u002F`border-box` technique) and `box-shadow` glows from the glow tokens.\n- **Gradient flows:** slow ambient drift animations (8–20s, `transform`\u002F`background-position`\u002F`opacity` only), fully disabled under `prefers-reduced-motion`.\n- **Optional hero canvas:** a single `\u003Ccanvas>` rendering a low-iteration Mandelbrot\u002FJulia spiral is permitted as the hero backdrop only — `aria-hidden=\"true\"`, absolutely positioned, capped iterations, `requestAnimationFrame`-driven, paused when offscreen (IntersectionObserver) and under reduced motion. It must never block first render; the CSS gradient composition must look complete without it.\n\n**0.4 Technical Seed (must be honored)**\n`background-color: #050005; color: #FFFFFF; font-family: 'Montserrat', sans-serif;` applied to the body via variables, with the radial-gradient glow technique from 0.3 applied to the hero.\n\n## 1. STRICT RULES & ARCHITECTURE\n\n**1.1 CSS-First Architecture & Zero Inline CSS**\n- **No Inline CSS:** the `style=\"...\"` attribute is forbidden anywhere in the HTML.\n- **Class\u002FID Selectors Only:** every design property, layout rule, and state is targeted via class or ID selectors in `style.css`.\n- **Minimal HTML Modifications:** HTML stays clean, semantic, and style-agnostic — retheming the page must require edits to `style.css` only, never the markup.\n\n**1.2 CSS Variables & Theme Tokens**\n- All visual tokens live in `:root` as defined in 0.2, plus: `--radius-sm: 8px; --radius-md: 14px; --radius-lg: 24px; --shadow-sm; --shadow-md; --spacing-gap: 1.5rem; --transition-fast: 150ms; --transition-normal: 300ms; --ease-standard: cubic-bezier(0.4,0,0.2,1); --z-dropdown: 1000; --z-modal: 2000; --z-toast: 3000; --font-base: 'Montserrat', sans-serif;`\n- Shadows must be theme-tinted (deep purple\u002Fblack with glow layers), not generic gray. No raw hex values inside component rules — reference tokens with `var(--...)` everywhere.\n\n**1.3 Mandatory Dark Mode Support**\n- Dark mode must always be fully defined: dark tokens under `:root` (and `.dark` class \u002F `@media (prefers-color-scheme: dark)` where applicable), with background and text variables switching seamlessly and no HTML restructuring.\n- Persistence: user theme choice must persist via `localStorage`, falling back to `prefers-color-scheme` on first visit, with a visible toggle carrying correct `aria-pressed`\u002F`aria-label`.\n- **Exception:** the theme spec mandates dark-only (Light ✗ \u002F Dark ✓ Full) — therefore the light token set and the visible toggle are omitted, the dark palette lives directly in `:root`, and `@media (prefers-color-scheme: light)` must be explicitly neutralized so the design can never render light.\n\n**1.4 Flexbox Layout & Mobile-First Alignment**\n- Build all layout structures with Flexbox (`display: flex` \u002F Tailwind flex utilities).\n- **Default Alignment Rule:** every flex container defaults to `align-items: center` (`items-center`) unless an exception is explicitly justified in a CSS comment (e.g., multi-line card copy aligning to `flex-start`).\n- **Mobile-Friendly First:** all flex layouts are responsive out of the box — rows convert to columns below `768px`, no horizontal scrolling at any viewport from 320px up, fluid type and spacing via `clamp()`.\n\n**1.5 Framework Default & Tailwind CSS Integration**\n- Use Tailwind CSS (CDN build) for layout, spacing, and responsive utilities only. Do not define an inline `tailwind.config` script block and do not use `\u003Cstyle type=\"text\u002Ftailwindcss\">` blocks.\n- All brand styling (color, typography, glow, borders, states) comes from `style.css` component classes bound to CSS variables. Where a utility needs a brand value, use arbitrary values referencing tokens: `bg-[var(--bg-secondary)]`, `text-[var(--text-secondary)]`.\n- Reusable component classes required: `.btn` (+ variants), `.card`, `.input-group`, `.badge`, `.section`, `.container`, `.nav__link`, `.faq__item`, `.skeleton`, `.empty-state`.\n\n**1.6 Typography & Icons (Google Fonts Mandatory)**\n- **Text:** load Montserrat from Google Fonts (weights 300, 400, 600, 800) via `\u003Clink>` and bind it to `--font-base`. Type scale: 300 for body, 600 for headings\u002Fbuttons, 800 for the hero H1.\n- **Icons:** Google Material Symbols (Rounded) only. Explicitly forbidden: raw inline SVGs, local icon files, emoji-as-icons. Icons inherit `currentColor` and are sized via font-size.\n\n## 2. COMPONENT DESIGN SPECIFICATIONS\n\n**2.1 Button Component Requirements** (`.btn`, `.btn--primary`, `.btn--secondary`, `.btn--danger`)\n- **Default:** `display: flex; align-items: center; justify-content: center; gap: 0.5rem;` minimum touch target 44×44px. `.btn--primary` = accent gradient (`#E040FB → #2979FF`) with `--glow-primary`; `.btn--secondary` = transparent with `--border-glow` and glowing text.\n- **Hover:** brightness\u002Fshadow shift with intensified glow, `cursor: pointer`.\n- **Focus:** distinct focus ring from CSS variables (`outline` + `box-shadow`) for keyboard navigation; never remove outlines.\n- **Active\u002FPressed:** `transform: scale(0.97)`.\n- **Loading:** an `is-loading` class disables interaction (pointer-events + `aria-busy=\"true\"`), prevents double-clicks, and renders a CSS spinner or animated Material Symbol (`progress_activity`) without distorting button dimensions.\n- **Disabled:** `opacity: 0.5`, greyscale filter, `cursor: not-allowed`.\n- **Success\u002FError:** temporary `is-success`\u002F`is-error` feedback states driven by `--text-success`\u002F`--text-error` (used by the Final CTA submit).\n- **Danger:** `.btn--danger` must be visually distinct in the dark theme (`#FF5252`-based) — define it even if unused.\n\n**2.2 Card Component Requirements** (`.card`)\n- **Default:** flexible flexbox layout, `--bg-secondary` surface, 1px `--border-default`, `--radius-lg`, `--shadow-sm`.\n- **Hover:** `transform: translateY(-2px)` plus elevation\u002Fglow shift via `--shadow-md` and `--glow-*`.\n- **Focus-within:** card border highlights (`--border-glow`) when a child link\u002Fbutton receives focus.\n- **Loading (Skeleton):** define a `.skeleton` shimmer utility (gradient-sweep keyframe) in CSS to prevent layout jumps; apply it to any asynchronously loaded region (e.g., testimonial avatars).\n- **Empty State:** define an `.empty-state` fallback layout (Material Symbol + clear guidance text) as part of the component system.\n\n**2.3 Form & Input Requirements** (`.input-group` — used for the Final CTA email capture)\n- **Structure:** flex container wrapping a `\u003Clabel>`, the `\u003Cinput>`, and a dedicated error feedback element with `aria-live=\"polite\"`.\n- **States — all styled via classes:** empty; focused (outline ring using `--primary` glow); filled; valid (`--border-success` + `check` icon); invalid (`--border-error`, `--text-error` message + `error` icon — never color alone); disabled; read-only.\n- Validation runs in `script.js` on submit and blur; the submit button cycles default → loading → success\u002Ferror per 2.1. Any toast feedback must be an `aria-live` region layered at `--z-toast`.\n\n**2.4 Accordion Requirements (FAQ)** (`.faq__item`, `.faq__question`, `.faq__answer`)\n- Each question is a `\u003Cbutton>` with `aria-expanded` + `aria-controls`; each panel has the matching `id` and `role=\"region\"`.\n- **States:** collapsed, expanded (animated open\u002Fclose via CSS — `grid-template-rows: 0fr → 1fr` or equivalent — using `--transition-normal`), hover, focus-visible.\n- Chevron Material Symbol rotates 180° on expand. Keyboard: Enter\u002FSpace toggles. Only one item open at a time.\n\n**2.5 Modal \u002F Popup Requirements (conditional)**\n- If any overlay is implemented (e.g., a demo modal), it must cover opening, open, loading, success\u002Ferror, and closing states — all animated via CSS transitions — with a centered flex container (`align-items: center`), backdrop overlay, Material Symbol close button, keyboard focus trapping, and close via `Esc` or overlay click. If no modal is requested, do not add one.\n\n**2.6 Header & Mobile Navigation**\n- Sticky header with translucent `--bg-primary` backdrop-blur and `--border-default` bottom edge; logo, anchor nav links (Features, How It Works, Testimonials, Pricing, FAQ), primary CTA.\n- Nav links: hover glow-underline animation, `:focus-visible` ring, smooth scrolling to sections (`scroll-behavior: smooth` + `scroll-margin-top`; disabled under reduced motion).\n- Mobile: hamburger `\u003Cbutton>` (`aria-expanded`, `aria-controls`) toggles a dropdown panel layered at `--z-dropdown`; closes on link click and `Esc`; panel animates via CSS only.\n\n## 3. PAGE STRUCTURE & CONTENT REQUIREMENTS\n\nBuild these sections in order inside `\u003Cmain>`, plus the global header and footer. All copy is original, thematic English.\n\n**3.1 Hero**\n- Full-viewport flex column, centered. Eyebrow badge, H1 (Montserrat 800, gradient `background-clip: text` flowing `--primary` → `--tertiary` → `--secondary`), subheadline, two CTAs (`.btn--primary` + `.btn--secondary`), scroll cue.\n- Background: layered radial glow fields per 0.3 (+ optional canvas per 0.3), decorative spiral motif, subtle grid overlay.\n\n**3.2 Features — 3 cards**\n- Section heading + three `.card`s in a responsive grid (1 column mobile → 3 desktop). Each card: Material Symbol icon inside a glowing gradient ring (e.g., `functions`, `eco`, `bolt`), title, description. Full 2.2 state set.\n\n**3.3 How It Works — 3 steps**\n- Three numbered steps (01\u002F02\u002F03) connected by a glowing filament line (CSS pseudo-element; horizontal on desktop, vertical on mobile). Each step: Material Symbol, title, description.\n\n**3.4 Testimonials**\n- Three `.card`s: quote, star rating (`star` icons), avatar rendered as a gradient monogram circle (no external images), name + role.\n\n**3.5 Pricing — 3 tiers**\n- Three `.card`s; middle tier `.card--featured`: `--border-glow` gradient border, elevated glow, \"Most Popular\" `.badge`, slight scale. Each tier: name, invented plausible price, feature list with `check` icons, CTA (featured = `.btn--primary`, others = `.btn--secondary`).\n\n**3.6 FAQ**\n- 5–6 accordion items per 2.4 covering pricing, technology, and access questions.\n\n**3.7 Final CTA**\n- Full-width glowing band (gradient border + radial glow). Headline, subheadline, email capture `.input-group` per 2.3 with submit button cycling default → loading → success (check icon + `aria-live` confirmation).\n\n**3.8 Footer**\n- Brand block (logo, tagline), four columns of secondary links (Product, Company, Resources, Legal), social presence as text links or generic Material Symbols (no inline SVG brand logos), copyright line with dynamic year, \"Back to top\" link.\n\n## 4. CORE UX & MICRO-INTERACTION RULES\n\n- **Responsive by Default:** fluid `clamp()` typography and spacing, breakpoints without horizontal overflow from 320px up.\n- **Smooth Animations:** `transition: var(--transition-normal)` on all state changes; animate `transform`\u002F`opacity` only; full `prefers-reduced-motion` support (disable ambient drift, canvas, shimmer, and any scroll-reveal). Optional scroll-reveal via IntersectionObserver adding a CSS class — never JS-driven style mutations.\n- **Accessibility (a11y):** WCAG AA contrast in the dark theme (body text ≥ 4.5:1; Electric Blue restricted per 0.2); never rely on color alone to communicate state; semantic HTML5 landmarks; skip link; a single H1 with logical heading order; ARIA roles\u002Flabels on the accordion, mobile nav, and form feedback; logical DOM\u002Ffocus order; full keyboard operability with no mouse-only interactions; `aria-live` regions for form errors, loading, and success confirmations.\n- **Mandatory Visual Feedback:** every click, hover, and submission triggers a visible state change.\n- **Destructive Actions:** `.btn--danger` must be visually distinct in the dark theme (defined even if unused).\n\n## 5. DELIVERABLE & OUTPUT FORMAT\n\n- **File Structure:** separate `index.html`, `style.css`, and `script.js`. No inline `\u003Cscript>` blocks beyond a single deferred entry point (`\u003Cscript src=\"script.js\" defer>\u003C\u002Fscript>`); the Tailwind CDN `\u003Cscript src>` is permitted as an external reference. No `\u003Cstyle>` blocks in the HTML.\n- **Naming Convention:** BEM everywhere for custom classes (`.card__icon`, `.card--featured`, `.faq__question`, `.input-group__error`); Tailwind utilities only for layout\u002Fspacing\u002Fresponsive. Never mix in ad-hoc class names.\n- **No Unrequested Placeholders:** the user supplied no copy — author original, thematic English copy for every label, heading, and description; lorem ipsum is prohibited. Do not add sections, modals, or components beyond those specified.\n- **Self-contained visuals:** no external image assets; all decoration is CSS gradients, Material Symbols, and monograms.\n",1791954981741]