ilk prompt buydu sonradan ekleme çıkarmalar yaptım
Create a single-page, fullscreen e-commerce landing page for a melatonin sleep supplement called "Somnia®" using React Tailwind CSS. The aesthetic is nocturnal and premium — a fixed night-sky video backdrop with content that scrolls up and dissolves under a fixed navbar.
Fonts
Display (headings, logo): Instrument Serif (normal italic)
Body (nav, descriptions): Inter (400/500/600)
Import both from Google Fonts.
Color system (night theme)
Background:
#0D0B1F (deep midnight indigo)
Primary text / "ink":
#ECE8F8 (moonlight)
Secondary text / "muted":
#9D95BE (lavender-grey)
Accent (italic emphasis, prices, ticks):
#B9A4F0 (soft lavender)
Stars / review ratings:
#D9B45A (warm gold)
Buttons: moonlight pill
#EFEAFB background with dark
#15101F text
Use italic lavender for emphasized words in every headline (e.g. noise, restful sleep, reimagined).
Fixed background layer (z-0, position: fixed, inset-0)
A looping muted autoplay video (object-cover, full viewport), opacity ~0.9, native loop plus an ended handler that resets currentTime=0 and replays — no fade-to-white, the loop point must be invisible.
Layer on top, in order: a faint twinkling starfield (multiple radial-gradient dots animated with a slow 6s twinkle keyframe), a dark night veil rgba(11,9,26,0.55), a low indigo horizon glow (radial-gradient bottom-center), and top/bottom fades into the background color.
Fixed navbar (z-30, position: fixed, top-0)
Logo: "Somnia®" with the ® as a small superscript, Instrument Serif, text-3xl.
Links: Home (active, moonlight) · Science · Ingredients · Reviews · Shop (muted, hover→moonlight).
CTA pill "Shop Now": moonlight bg, dark text, hover:scale-1.03.
Layout: max-w-7xl mx-auto flex justify-between items-center px-8 py-6.
Scroll model (critical)
The background and navbar stay perfectly fixed. ONLY a scrolling layer (.scroller, position: fixed; inset:0; overflow-y:auto; z-10) moves.
Apply a CSS mask-image: linear-gradient(to bottom, transparent 0px, transparent 58px, #000 150px, #000 100%) to .scroller so content dissolves as it rises up under the navbar, not at the page edge.
body { overflow: hidden }. Section anchors use scroll-margin-top: 120px.
Scroll reveal animation
Wrap each block in a Reveal component using IntersectionObserver. Hidden state: opacity:0; translateY(38px) scale(0.985); blur(7px). Visible: fade/rise/un-blur over 1.1s cubic-bezier(0.22,0.7,0.2,1), with staggered per-item delays.
Hero uses three fade-rise keyframe animations staggered 0s / 0.2s / 0.4s.
Respect prefers-reduced-motion (disable all of the above).
Sections (top to bottom)
Hero — full-height, centered. Soft moon-glow radial behind a giant headline: *"Beyond the noise, deep and restful sleep."* (text-5xl→8xl, line-height 0.95, letter-spacing -2.46px). Muted sub-paragraph about plant-based, non-habit-forming melatonin. "Try Somnia" pill. "Scroll to explore" eyebrow at bottom.
Stats — 3-up: "92% fell asleep faster", "0 morning grogginess", "100% non-habit-forming". Big serif numbers.
Science — centered eyebrow headline "Sleep, reimagined by nature." paragraph.
The Ritual — 3 steps (Take / Drift / Wake) with numbers 01–03 and divider lines.
Ingredients — 2×2 dark-glass grid: Melatonin 10mg, Magnesium Glycinate 200mg, L-Theanine 150mg, Chamomile 120mg, each with dose description.
Comparison — table "Not your old sleeping pill": 6 rows (non-habit-forming, no grogginess, drug-free & vegetarian, etc.) with lavender ✓ for Somnia vs. dim — for traditional pills.
Your Night — hour-by-hour timeline (0:00 lights out → 7:00 natural wake) in a bordered list.
Reviews — 3 dark-glass cards, gold ★★★★★, serif pull-quotes, name role.
Product & Shop — 2-column: transparent product PNG floating on the night with a soft lavender moon-glow behind it (blurred radial, NO hard box); right side = product name "Somnia Melatonin 10 mg", gold rating, description (120 vegetarian tablets / 4-month supply), an interactive plan toggle ("Subscribe & Save 20% → $33.60/mo" vs "One-time → $42.00") that updates the price and the "Add to cart" button live.
Bundles — 3 pricing cards (1 / 3 / 6 bottles) with per-bottle pricing, "Most popular" and "Best value" badges, savings labels.
FAQ — 4 questions in a bordered list.
Final CTA — "Tonight, sleep differently." "Shop Somnia — $42".
Footer — logo, nav links, copyright.
General
Everything responsive; cards/tables/dividers use dark-glass surfaces (rgba(255,255,255,0.04–0.08) fills, subtle light borders).
Keep the whole experience calm, minimal, and dreamy — generous spacing (py-32 between sections), no clutter, no harsh whites.