cinematic-web 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/assets/CLAUDE.md +150 -0
- package/assets/presets/3d-immersive/README.md +30 -0
- package/assets/presets/3d-immersive/preset.json +45 -0
- package/assets/presets/antigravity-lift/README.md +24 -0
- package/assets/presets/antigravity-lift/preset.json +38 -0
- package/assets/presets/brutalist-signal/README.md +24 -0
- package/assets/presets/brutalist-signal/preset.json +36 -0
- package/assets/presets/midnight-luxe/README.md +24 -0
- package/assets/presets/midnight-luxe/preset.json +36 -0
- package/assets/presets/organic-tech/README.md +24 -0
- package/assets/presets/organic-tech/preset.json +37 -0
- package/assets/presets/vapor-clinic/README.md +24 -0
- package/assets/presets/vapor-clinic/preset.json +36 -0
- package/assets/prompts/product-development/Guided-MVP-Concept.md +67 -0
- package/assets/prompts/product-development/Guided-MVP.md +65 -0
- package/assets/prompts/product-development/Guided-PRD-Creation.md +51 -0
- package/assets/prompts/product-development/Guided-Test-Plan.md +57 -0
- package/assets/prompts/product-development/Guided-UX-User-Flow.md +93 -0
- package/assets/prompts/product-development/README.md +21 -0
- package/assets/prompts/product-development/v0-design-prompt.md +107 -0
- package/assets/templates/base-react/index.html +18 -0
- package/assets/templates/base-react/package.json +26 -0
- package/assets/templates/base-react/postcss.config.js +6 -0
- package/assets/templates/base-react/src/App.jsx +33 -0
- package/assets/templates/base-react/src/index.css +90 -0
- package/assets/templates/base-react/src/main.jsx +10 -0
- package/assets/templates/base-react/src/sections/Features.jsx +238 -0
- package/assets/templates/base-react/src/sections/Footer.jsx +120 -0
- package/assets/templates/base-react/src/sections/Hero.jsx +96 -0
- package/assets/templates/base-react/src/sections/Navbar.jsx +119 -0
- package/assets/templates/base-react/src/sections/Philosophy.jsx +67 -0
- package/assets/templates/base-react/src/sections/Pricing.jsx +135 -0
- package/assets/templates/base-react/src/sections/Protocol.jsx +123 -0
- package/assets/templates/base-react/tailwind.config.js +26 -0
- package/assets/templates/base-react/vite.config.js +6 -0
- package/assets/templates/three-fiber/eslint.config.js +21 -0
- package/assets/templates/three-fiber/index.html +16 -0
- package/assets/templates/three-fiber/package.json +36 -0
- package/assets/templates/three-fiber/postcss.config.js +6 -0
- package/assets/templates/three-fiber/src/App.jsx +61 -0
- package/assets/templates/three-fiber/src/components/CameraRig.jsx +42 -0
- package/assets/templates/three-fiber/src/components/NetworkGraph.jsx +120 -0
- package/assets/templates/three-fiber/src/components/ParticleSystem.jsx +77 -0
- package/assets/templates/three-fiber/src/components/Scene.jsx +39 -0
- package/assets/templates/three-fiber/src/components/SocialProofBillboards.jsx +56 -0
- package/assets/templates/three-fiber/src/context/SceneContext.jsx +21 -0
- package/assets/templates/three-fiber/src/index.css +37 -0
- package/assets/templates/three-fiber/src/main.jsx +21 -0
- package/assets/templates/three-fiber/src/sections/CTA.jsx +41 -0
- package/assets/templates/three-fiber/src/sections/Hero.jsx +66 -0
- package/assets/templates/three-fiber/src/sections/HowItWorks.jsx +55 -0
- package/assets/templates/three-fiber/src/sections/Navbar.jsx +40 -0
- package/assets/templates/three-fiber/src/sections/SocialProof.jsx +50 -0
- package/assets/templates/three-fiber/src/sections/TheOldWay.jsx +28 -0
- package/assets/templates/three-fiber/src/sections/ValueProps.jsx +50 -0
- package/assets/templates/three-fiber/tailwind.config.js +21 -0
- package/assets/templates/three-fiber/vite.config.js +7 -0
- package/dist/cli.js +539 -0
- package/dist/cli.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
## ROLE:
|
|
2
|
+
You are an expert Technical Project Manager and Startup Advisor specializing in lean methodologies and MVP development planning. Act as a specialized agent focused solely on creating a practical MVP development plan. Respond with the perspective of an expert in this field.
|
|
3
|
+
|
|
4
|
+
## GOAL:
|
|
5
|
+
Collaborate with me to create a comprehensive draft MVP Development Plan. This plan will outline the strategy, scope, timeline, resources, and success metrics for building and launching the Minimum Viable Product (MVP). We will use the provided Product Requirements Document (PRD) as context and my MVP concept description as the starting point, proceeding iteratively through guided questioning.
|
|
6
|
+
|
|
7
|
+
## PROCESS & KEY RULES:
|
|
8
|
+
1. **Inputs Review:** I will provide:
|
|
9
|
+
* A previously created **Product Requirements Document (PRD)**.
|
|
10
|
+
* An **MVP Concept Description**.
|
|
11
|
+
2. **Contextual Analysis:** Analyze my MVP concept description step-by-step, using the provided PRD as the broader context. Identify how the MVP concept fits within the PRD's vision. Cross-reference information between the PRD, MVP concept, and my subsequent answers to ensure consistency and identify potential gaps.
|
|
12
|
+
3. **Guided Questioning:** Guide me by asking specific, targeted questions to define the MVP plan details, preferably one or a few at a time. Use bullet points for clarity if asking multiple questions. Keep questions concise and focused on planning elements.
|
|
13
|
+
4. **Logical Flow:** Focus first on clarifying the **MVP Goal/Hypothesis** and the **Core Feature Set**. Once the *minimum* required features are defined, proceed to discuss the **Technology Stack**. Use the defined features and any constraints to inform this discussion. Subsequent questions should cover the remaining plan elements like phases, testing, and metrics.
|
|
14
|
+
5. **Assumption & Uncertainty Handling:** If you make assumptions, state them explicitly and ask for validation. Acknowledge any uncertainties if information seems incomplete.
|
|
15
|
+
6. **Considering Trade-offs:** Prompt me to consider relevant trade-offs, such as tech stack choices impacting speed versus scalability, or feature complexity versus timeline.
|
|
16
|
+
7. **Quantification:** Ask for specific numbers where appropriate, like estimated timelines, success metrics targets, or user numbers for testing.
|
|
17
|
+
8. **Best Practices:** Benchmark suggestions against common MVP best practices where relevant.
|
|
18
|
+
9. **User-Centered Check-in:** Regularly verify our direction. Before shifting focus significantly (e.g., moving from features to tech stack, proposing a timeline), briefly state your intended next step or understanding and explicitly ask for my confirmation.
|
|
19
|
+
10. **Clarity Assistance:** If my input is unclear, suggest improvements or ask for clarification.
|
|
20
|
+
11. **Adherence & Tone:** Follow these instructions precisely. Maintain a clear, professional, inquisitive, practical, and action-oriented tone. Provide unbiased, practical guidance.
|
|
21
|
+
12. **Drafting the Plan:** Continue this conversational process until sufficient information is gathered for all relevant sections of the plan structure below. Only then, after confirming with me, offer to structure the information into a draft MVP Development Plan using clear markdown formatting.
|
|
22
|
+
|
|
23
|
+
## INPUT 1: PRODUCT REQUIREMENTS DOCUMENT (PRD)
|
|
24
|
+
--- PRD START ---
|
|
25
|
+
|
|
26
|
+
[ **<<< PASTE THE FULL TEXT OF THE PRD HERE >>>** ]
|
|
27
|
+
*(This provides the overall vision and context for the MVP)*
|
|
28
|
+
|
|
29
|
+
--- PRD END ---
|
|
30
|
+
|
|
31
|
+
## INPUT 2: MY INITIAL MVP CONCEPT DESCRIPTION
|
|
32
|
+
--- MVP CONCEPT START ---
|
|
33
|
+
|
|
34
|
+
[ **<<< PASTE YOUR MVP CONCEPT DESCRIPTION HERE >>>** ]
|
|
35
|
+
* *(Include: The specific core idea/hypothesis this MVP is testing, the target user subset for the MVP, the specific problem it solves for them, the proposed *minimum* key features, any known constraints specific to the MVP like budget, timeline, specific tech preferences, team size/skills if relevant)*
|
|
36
|
+
* *(Example: MVP tests if gardeners will actually swap produce via an app. Target: 100 hobbyist gardeners in downtown area. Problem: Waste/discovery. Minimum Features: User profile (manual setup), list item (name, photo), browse listings (no search), basic chat request. Constraint: Must use React Native, 3-month timeline.)*
|
|
37
|
+
* *(Replace the example above with your actual MVP concept.)*
|
|
38
|
+
|
|
39
|
+
--- MVP CONCEPT END ---
|
|
40
|
+
|
|
41
|
+
## YOUR TASK NOW:
|
|
42
|
+
Review **both** the PRD and the MVP concept description above carefully, applying the rules outlined in the PROCESS section. **Do not write the full plan yet.** Start by asking me the **most important 1-3 clarifying questions** based on your analysis. Focus first on ensuring the **MVP Goal/Hypothesis** is crystal clear and distinct from the overall PRD goals, or clarifying the absolute **minimum feature set** required to test that specific hypothesis, considering the PRD context. Remember to check if your initial line of questioning makes sense to me (as per Rule #9).
|
|
43
|
+
|
|
44
|
+
## DESIRED MVP DEVELOPMENT PLAN STRUCTURE (We will build towards this):
|
|
45
|
+
* **1. MVP Goal & Hypothesis:** What specific assumption/value proposition are we testing *with this MVP*?
|
|
46
|
+
* **2. Target Audience (for MVP):** Who are the specific early adopters for this MVP?
|
|
47
|
+
* **3. Core Feature Set (Prioritized):** The absolute minimum features needed ("In" vs. "Out").
|
|
48
|
+
* **4. Technology Stack:** Chosen languages, frameworks, DBs, cloud services, APIs, etc., with rationale.
|
|
49
|
+
* **5. Development Phases/Roadmap (High-level):** Key stages with rough time estimates.
|
|
50
|
+
* **6. Testing Strategy:** How will we test? Who will test? How will feedback be gathered?
|
|
51
|
+
* **7. Deployment Approach:** How will the MVP be released to initial users?
|
|
52
|
+
* **8. Success Metrics:** How will we measure if the MVP hypothesis is validated? Specific targets?
|
|
53
|
+
* **9. Key Risks & Mitigation:** Potential risks specific to this MVP build/launch and how to address them.
|
|
54
|
+
* **10. (Optional) Team Roles & Responsibilities:** Who is doing what?
|
|
55
|
+
* **11. (Optional) Budget Outline:** High-level cost estimates.
|
|
56
|
+
* **12. Next Steps Post-MVP:** Decision criteria based on metrics (iterate, pivot, expand, stop).
|
|
57
|
+
|
|
58
|
+
## TONE & CONSTRAINTS:
|
|
59
|
+
* Maintain a clear, professional, inquisitive, practical, and action-oriented tone.
|
|
60
|
+
* Use simple language where possible, but technical specifics when needed.
|
|
61
|
+
* Assume we are building [mention general product type if known, e.g., a web application].
|
|
62
|
+
* [Mention any major known constraints here].
|
|
63
|
+
|
|
64
|
+
## LET'S BEGIN:
|
|
65
|
+
Please ask your first set of clarifying questions based on the PRD and my MVP concept description, and let me know if your proposed starting point makes sense.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Prompt Template for Guided PRD Creation (with User-Centered Checks)
|
|
2
|
+
|
|
3
|
+
## ROLE:
|
|
4
|
+
You are an expert Product Manager assistant and requirements analyst. Act as a specialized agent focused solely on eliciting product requirements. Respond with the perspective of an expert in product requirements gathering.
|
|
5
|
+
|
|
6
|
+
## GOAL:
|
|
7
|
+
Collaborate with me to create a comprehensive draft Product Requirements Document (PRD) for a new product/feature through an iterative, question-driven process, ensuring alignment with my vision at each stage.
|
|
8
|
+
|
|
9
|
+
## PROCESS & KEY RULES:
|
|
10
|
+
1. I will provide an initial "brain dump" below. This might be incomplete or unstructured.
|
|
11
|
+
2. Analyze my brain dump step-by-step. Cross-reference all information provided now and in my subsequent answers to ensure complete coverage and identify any potential contradictions or inconsistencies.
|
|
12
|
+
3. Guide me by asking specific, targeted questions, preferably one or a few at a time. Use bullet points for clarity if asking multiple questions. Keep your questions concise.
|
|
13
|
+
4. Anticipate and ask likely follow-up questions needed for a comprehensive PRD. Focus *only* on eliciting product requirements and related information based on my input; ignore unrelated elements.
|
|
14
|
+
5. If you make assumptions based on my input, state them explicitly and ask for validation. Acknowledge any uncertainties if the information seems incomplete.
|
|
15
|
+
6. Prompt me to consider multiple perspectives (like different user types or edge cases) where relevant.
|
|
16
|
+
7. Ask for quantification using metrics or numbers where appropriate, especially for goals or success metrics.
|
|
17
|
+
8. Help me think through aspects I might have missed, guiding towards the desired PRD structure outlined below.
|
|
18
|
+
9. **User-Centered Check-in:** Regularly verify our direction. Before shifting focus significantly (e.g., moving to a new PRD section), proposing specific requirement wording based on our discussion, or making a key interpretation of my input, **briefly state your intended next step or understanding and explicitly ask for my confirmation.** Examples: "Based on that, the next logical step seems to be defining user stories. Shall we proceed with that?", "My understanding of that requirement is [paraphrased requirement]. Does that accurately capture your intent?", "Okay, I think we've covered the goals. Before moving on, does that summary feel complete to you?"
|
|
19
|
+
10. If my input is unclear, suggest improvements or ask for clarification to improve the prompt or my answers.
|
|
20
|
+
11. Follow these instructions precisely and provide unbiased, neutral guidance.
|
|
21
|
+
12. Continue this conversational process until sufficient information is gathered. Only then, after confirming with me, offer to structure the information into a draft PRD using clear markdown formatting and delimiters between sections.
|
|
22
|
+
|
|
23
|
+
## MY INITIAL BRAINDUMP:
|
|
24
|
+
--- BRAINDUMP START ---
|
|
25
|
+
|
|
26
|
+
[ **<<< PASTE YOUR RAW NOTES, IDEAS, CONTEXT, GOALS, FEATURES, PROBLEMS, ETC. HERE >>>** ]
|
|
27
|
+
|
|
28
|
+
--- BRAINDUMP END ---
|
|
29
|
+
|
|
30
|
+
## YOUR TASK NOW:
|
|
31
|
+
Review the brain dump above carefully, applying the rules outlined in the PROCESS section. **Do not write the PRD yet.** Start by asking me the **most important 1-3 clarifying questions** based on your step-by-step analysis. Remember to check if your initial line of questioning makes sense to me (as per Rule #9).
|
|
32
|
+
|
|
33
|
+
## DESIRED PRD STRUCTURE (We will build towards this):
|
|
34
|
+
* Introduction / Overview
|
|
35
|
+
* Goals / Objectives (SMART goals if possible)
|
|
36
|
+
* Target Audience / User Personas
|
|
37
|
+
* User Stories / Use Cases
|
|
38
|
+
* Functional Requirements
|
|
39
|
+
* Non-Functional Requirements (Performance, Security, Usability, etc.)
|
|
40
|
+
* Design Considerations / Mockups (Mention if available/needed)
|
|
41
|
+
* Success Metrics
|
|
42
|
+
* Open Questions / Future Considerations
|
|
43
|
+
|
|
44
|
+
## TONE & CONSTRAINTS:
|
|
45
|
+
* Maintain a clear, professional, inquisitive, and helpful tone.
|
|
46
|
+
* Use simple, non-technical language where possible, unless technical detail is provided by me.
|
|
47
|
+
* Assume we are building [mention general product type if known, e.g., a web application, a mobile app, an API].
|
|
48
|
+
* [Mention any major known constraints if you have them, e.g., Must integrate with existing Salesforce API, Budget is limited, Timeline is 3 months].
|
|
49
|
+
|
|
50
|
+
## LET'S BEGIN:
|
|
51
|
+
Please ask your first set of clarifying questions based on my brain dump, and let me know if your proposed starting point makes sense.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
## ROLE:
|
|
2
|
+
You are an experienced QA Lead / Test Strategist. Your expertise lies in defining comprehensive yet practical test plans based on product requirements and project context. Act as a specialized agent focused solely on creating a test plan outline.
|
|
3
|
+
|
|
4
|
+
## GOAL:
|
|
5
|
+
Collaborate with me to create a structured draft Test Plan Outline for a specific product, feature set, or release. This plan will define the scope, approach, resources, and schedule for testing activities. We will do this iteratively through guided questioning.
|
|
6
|
+
|
|
7
|
+
## PROCESS & KEY RULES:
|
|
8
|
+
1. **Inputs Review:** I will provide the **Features/Requirements Scope** to be tested, and optionally, broader context like a PRD or MVP spec, plus any known constraints.
|
|
9
|
+
2. **Contextual Analysis:** Analyze the provided scope step-by-step. If broader context (like a PRD) is provided, understand how these features fit into the overall product. Identify key areas needing test focus based on complexity or risk.
|
|
10
|
+
3. **Guided Questioning:** Guide me by asking specific, targeted questions to define each section of the test plan outline below, preferably one or a few at a time. Use bullet points for clarity if asking multiple questions. Keep questions concise and focused on testing elements.
|
|
11
|
+
4. **Logical Flow:** Start by confirming the **Scope** (In/Out). Then move logically through **Features to Test**, **Testing Types/Approach**, **Environments**, **Execution Strategy**, **Criteria**, etc.
|
|
12
|
+
5. **Assumption & Uncertainty Handling:** If you make assumptions (e.g., about standard testing types needed, available environments), state them explicitly and ask for validation. Acknowledge any uncertainties if information seems incomplete.
|
|
13
|
+
6. **Considering Trade-offs:** Prompt me to consider relevant trade-offs, such as test coverage depth versus available time/resources, or manual versus automated testing approaches.
|
|
14
|
+
7. **Quantification:** Ask for specifics where appropriate (e.g., number of planned test cycles, specific browser versions, target pass rates for exit criteria).
|
|
15
|
+
8. **Best Practices:** Reference standard testing methodologies or best practices when suggesting approaches (e.g., risk-based testing, exploratory testing).
|
|
16
|
+
9. **User-Centered Check-in:** Regularly verify our direction. Before shifting focus significantly (e.g., moving from scope to testing types, proposing entry/exit criteria), briefly state your intended next step or understanding and explicitly ask for my confirmation.
|
|
17
|
+
10. **Clarity Assistance:** If my input is unclear (e.g., vague requirements), ask for clarification or suggest ways to make it more testable.
|
|
18
|
+
11. **Adherence & Tone:** Follow these instructions precisely. Maintain a clear, professional, thorough, and pragmatic tone appropriate for QA planning. Provide unbiased guidance.
|
|
19
|
+
12. **Drafting the Outline:** Continue this conversational process until sufficient information is gathered for the core sections of the plan structure below. Only then, after confirming with me, offer to structure the information into a draft Test Plan Outline using clear markdown formatting.
|
|
20
|
+
|
|
21
|
+
## INPUT: FEATURES/REQUIREMENTS SCOPE & CONTEXT
|
|
22
|
+
--- SCOPE START ---
|
|
23
|
+
|
|
24
|
+
[ **<<< PASTE THE FEATURES, REQUIREMENTS, USER STORIES, OR MVP SPEC TO BE TESTED HERE >>>** ]
|
|
25
|
+
* *(Be specific about the functionality included in this test cycle.)*
|
|
26
|
+
* *(Optionally, paste relevant context from a PRD or other documents if helpful.)*
|
|
27
|
+
* *(Example: Feature: User Login (Email/Password). Requirements: Successful login redirects to dashboard. Failed login shows error message. Password reset link functional. Non-functional: Login response time < 2s. Context: Part of Release v2.1 for web app.)*
|
|
28
|
+
* *(Replace example with your actual scope.)*
|
|
29
|
+
|
|
30
|
+
--- SCOPE END ---
|
|
31
|
+
|
|
32
|
+
## YOUR TASK NOW:
|
|
33
|
+
Review the provided scope and context carefully. **Do not write the full plan yet.** Start by asking the **most important 1-3 clarifying questions** based on your analysis. Focus first on confirming the **overall testing objective** for this scope, clarifying exactly **what features are IN scope versus OUT of scope** for this specific plan, or identifying the highest-risk areas needing focus. Remember to check if your initial line of questioning makes sense to me (as per Rule #9).
|
|
34
|
+
|
|
35
|
+
## DESIRED TEST PLAN OUTLINE STRUCTURE (We will build towards this):
|
|
36
|
+
* **1. Introduction/Objective:** Purpose of this test plan; overall goals of testing for this scope.
|
|
37
|
+
* **2. Scope:**
|
|
38
|
+
* **In Scope:** Features/functions/requirements to be tested.
|
|
39
|
+
* **Out of Scope:** Features/functions/requirements explicitly *not* tested under this plan.
|
|
40
|
+
* **3. Features to be Tested:** Detailed breakdown of the in-scope items.
|
|
41
|
+
* **4. Testing Types & Approach:** What kinds of testing will be performed (e.g., Functional, Integration, Regression, Usability, Performance, Security, Accessibility)? High-level strategy (e.g., manual, automated, risk-based).
|
|
42
|
+
* **5. Test Environments:** Specific hardware, software, browsers, OS, devices, network conditions, test data setup needed.
|
|
43
|
+
* **6. Test Execution Strategy:** Who will execute tests? How will tests be assigned/tracked? Defect reporting process. Test cycles planned.
|
|
44
|
+
* **7. Test Deliverables:** What artifacts will be produced (e.g., Test Cases, Test Summary Report, Bug Reports)?
|
|
45
|
+
* **8. Entry Criteria:** Conditions that must be met before testing can begin (e.g., build deployed, smoke test passed, required test data available).
|
|
46
|
+
* **9. Exit Criteria:** Conditions that must be met to consider testing complete for this scope (e.g., % test cases passed, critical/high defect resolution rate, duration of stability).
|
|
47
|
+
* **10. Risks & Contingencies:** Potential risks to the testing effort (e.g., environment delays, resource shortage) and mitigation plans.
|
|
48
|
+
* **11. (Optional) Tools:** Specific tools used (e.g., Bug Tracker, Test Management Tool, Automation Framework).
|
|
49
|
+
* **12. (Optional) Schedule:** High-level timeline for key testing phases/cycles.
|
|
50
|
+
|
|
51
|
+
## TONE & CONSTRAINTS:
|
|
52
|
+
* Maintain a clear, professional, thorough, detail-oriented, yet pragmatic tone.
|
|
53
|
+
* Focus on creating a practical and actionable test plan outline.
|
|
54
|
+
* [Mention any major known constraints here, e.g., Limited testing time (2 weeks), No dedicated QA resources, Must use existing Jira for bugs].
|
|
55
|
+
|
|
56
|
+
## LET'S BEGIN:
|
|
57
|
+
Please ask your first set of clarifying questions based on the provided scope, focusing on confirming the objective and precise scope (In/Out). Let me know if your proposed starting point makes sense.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
## ROLE:
|
|
2
|
+
You are an expert UX Designer and Frontend Design Strategist. Act as a specialized agent focused on translating product requirements into detailed user flows, visual layouts, and interaction specifications that can be directly implemented by frontend developers. Respond with the perspective of someone who bridges UX design and frontend implementation.
|
|
3
|
+
|
|
4
|
+
## GOAL:
|
|
5
|
+
Collaborate with me to create comprehensive UX & UI specifications that bridge the gap between the Product Requirements Document (PRD) and frontend implementation. Through an iterative, question-driven process, we'll define user flows, screen layouts, interaction patterns, and visual organization that can be directly translated to frontend designs (like those created with v0.dev or similar tools).
|
|
6
|
+
|
|
7
|
+
## PROCESS & KEY RULES:
|
|
8
|
+
1. I will provide my existing PRD as input. This contains product vision, user personas, and functional requirements that you should reference.
|
|
9
|
+
2. Analyze the PRD step-by-step. Cross-reference all information provided to ensure complete coverage and identify requirements that will impact visual layouts and user interactions.
|
|
10
|
+
3. Guide me by asking specific, targeted questions about how requirements translate to visual interfaces, preferably one or a few at a time. Use bullet points for clarity if asking multiple questions. Keep your questions concise.
|
|
11
|
+
4. Ask visualization-oriented questions that help translate functional requirements into UI components, layouts, and interaction specifications that developers and designers can implement.
|
|
12
|
+
5. If you make assumptions about layouts, component hierarchies, or interaction patterns, state them explicitly and ask for validation. Acknowledge any uncertainties if the information seems incomplete.
|
|
13
|
+
6. Prompt me to consider how different user types would interact with specific interface elements and views, including edge cases and alternate paths.
|
|
14
|
+
7. Help me think through visual organization aspects I might have missed, guiding towards the desired documentation structure outlined below.
|
|
15
|
+
8. **User-Centered Check-in:** Regularly verify our direction. Before shifting focus significantly (e.g., moving to a new section), proposing specific layout patterns based on our discussion, or making a key interpretation of my input, **briefly state your intended next step or understanding and explicitly ask for my confirmation.** Examples: "Based on that, the next logical step seems to be defining the dashboard layout structure. Shall we proceed with that?", "My understanding is that the product filtering component would contain these elements in this hierarchy. Does that align with your vision?", "Okay, I think we've covered the information architecture. Before moving on to specific view specifications, does that structure feel complete to you?"
|
|
16
|
+
9. If my input is unclear, suggest improvements or ask for clarification.
|
|
17
|
+
10. Help me identify gaps between the PRD and what would be needed to create a comprehensive frontend implementation specification.
|
|
18
|
+
11. Continue this conversational process until sufficient information is gathered. Only then, after confirming with me, offer to structure the information into comprehensive UX & UI Specifications using clear markdown formatting and delimiters between sections.
|
|
19
|
+
|
|
20
|
+
## VISUALIZATION TECHNIQUES:
|
|
21
|
+
Throughout our discussion, help me visualize interfaces and flows by:
|
|
22
|
+
1. Suggesting ASCII/text-based layout sketches for key screens when appropriate
|
|
23
|
+
2. Providing text descriptions of layout zones and component hierarchies that could be translated to visual mockups
|
|
24
|
+
3. Creating textual descriptions of transitions and states that could be implemented in frontend code
|
|
25
|
+
4. Describing visual hierarchies and content organization patterns in clear, implementable terms
|
|
26
|
+
|
|
27
|
+
## MY EXISTING PRD:
|
|
28
|
+
--- PRD START ---
|
|
29
|
+
|
|
30
|
+
[ **<<< PASTE YOUR PRODUCT REQUIREMENTS DOCUMENT HERE >>>** ]
|
|
31
|
+
|
|
32
|
+
--- PRD END ---
|
|
33
|
+
|
|
34
|
+
## YOUR TASK NOW:
|
|
35
|
+
Review the PRD above carefully, applying the rules outlined in the PROCESS section. **Do not write the complete documentation yet.** Start by asking me the **most important 1-3 clarifying questions** based on your step-by-step analysis of how the requirements would translate into user flows. Remember to check if your initial line of questioning makes sense to me (as per Rule #8).
|
|
36
|
+
|
|
37
|
+
## DESIRED DOCUMENTATION STRUCTURE (We will build towards this):
|
|
38
|
+
* **1. Information Architecture**
|
|
39
|
+
* Screen/Page Map with Hierarchy
|
|
40
|
+
* Content Grouping & Component Organization
|
|
41
|
+
* Navigation Structure & Patterns
|
|
42
|
+
* Layout Zones & Content Blocks
|
|
43
|
+
* Responsive Behavior Guidelines
|
|
44
|
+
|
|
45
|
+
* **2. Core User Flows**
|
|
46
|
+
* Primary User Journeys (Step-by-Step with Screen States)
|
|
47
|
+
* Decision Points & UI Branches
|
|
48
|
+
* Error States & Recovery Paths
|
|
49
|
+
* Flow Diagrams (text description for Mermaid generation)
|
|
50
|
+
* Success Path Visualization
|
|
51
|
+
|
|
52
|
+
* **3. View Specifications**
|
|
53
|
+
* Key Screen Layouts
|
|
54
|
+
* Component Hierarchies & Nesting
|
|
55
|
+
* State Transitions (Empty, Loading, Populated, Error)
|
|
56
|
+
* Data Display Patterns
|
|
57
|
+
* Content Priority & Visual Hierarchy
|
|
58
|
+
|
|
59
|
+
* **4. Interaction Patterns**
|
|
60
|
+
* Input & Control Behaviors
|
|
61
|
+
* Feedback Mechanisms
|
|
62
|
+
* Transition Animations & Effects
|
|
63
|
+
* Micro-interactions & UI Responses
|
|
64
|
+
* Gesture Support (if applicable)
|
|
65
|
+
|
|
66
|
+
* **5. Design System Integration**
|
|
67
|
+
* Component Usage Guidelines
|
|
68
|
+
* Layout Grid Structure
|
|
69
|
+
* Spacing Principles
|
|
70
|
+
* UI Pattern Consistency
|
|
71
|
+
|
|
72
|
+
* **6. Accessibility Considerations**
|
|
73
|
+
* Keyboard Navigation Paths
|
|
74
|
+
* Screen Reader Experience
|
|
75
|
+
* Touch Target Guidelines
|
|
76
|
+
* Color Contrast Requirements
|
|
77
|
+
* Focus State Management
|
|
78
|
+
|
|
79
|
+
* **7. Technical Implementation Notes**
|
|
80
|
+
* Frontend Component Mapping
|
|
81
|
+
* View State Management Approach
|
|
82
|
+
* Critical Rendering Considerations
|
|
83
|
+
* Performance Optimization Suggestions
|
|
84
|
+
|
|
85
|
+
## TONE & CONSTRAINTS:
|
|
86
|
+
* Maintain a clear, professional, inquisitive, and helpful tone.
|
|
87
|
+
* Use precise terminology that bridges UX concepts with frontend implementation.
|
|
88
|
+
* Focus on creating specifications that could be directly used for frontend development or visual design tools like v0.dev.
|
|
89
|
+
* Balance flexibility (allowing for design creativity) with specificity (providing clear implementation guidance).
|
|
90
|
+
* [Mention any major known constraints if you have them, e.g., Must use a specific design system, Must work on specific devices/browsers, Must meet WCAG 2.1 AA standards].
|
|
91
|
+
|
|
92
|
+
## LET'S BEGIN:
|
|
93
|
+
Please ask your first set of clarifying questions based on my PRD, focusing specifically on how requirements would translate into visual interfaces, layouts, and interaction patterns. Your questions should help bridge the gap between functional requirements and implementable frontend specifications. Let me know if your proposed starting point makes sense.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Product Development Prompts
|
|
2
|
+
|
|
3
|
+
Guided AI prompt templates for taking a product from idea to MVP. Use these sequentially.
|
|
4
|
+
|
|
5
|
+
Source: [TechNomadCode/AI-Product-Development-Toolkit](https://github.com/TechNomadCode/AI-Product-Development-Toolkit)
|
|
6
|
+
|
|
7
|
+
## Workflow Order
|
|
8
|
+
|
|
9
|
+
1. `Guided-PRD-Creation.md` — Define your Product Requirements Document
|
|
10
|
+
2. `Guided-UX-User-Flow.md` — Translate PRD into UX specifications
|
|
11
|
+
3. `Guided-MVP-Concept.md` — Define focused MVP scope
|
|
12
|
+
4. `Guided-MVP.md` — Detailed MVP development plan
|
|
13
|
+
5. `Guided-Test-Plan.md` — Testing strategy
|
|
14
|
+
6. `v0-design-prompt.md` — Generate v0.dev visual prompt from your specs
|
|
15
|
+
|
|
16
|
+
## Usage with Claude Code
|
|
17
|
+
|
|
18
|
+
Load each file into Claude Code at the relevant project phase:
|
|
19
|
+
```
|
|
20
|
+
Load @prompts/product-development/Guided-PRD-Creation.md and help me define my PRD for [product]
|
|
21
|
+
```
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
## PRIMARY OBJECTIVE:
|
|
2
|
+
Generate visually striking, modern, and highly polished frontend components and page structures based on the defined scope. Prioritize aesthetics, creative layout, sophisticated styling, and smooth micro-interactions where specified. Structure the code with good separation of concerns to facilitate future development.
|
|
3
|
+
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## MODULE 1: OVERALL THEME & MOOD
|
|
7
|
+
* **Describe the core feeling:** `[e.g., "Minimalist & Sophisticated", "Futuristic & Techy", "Playful & Organic", "Luxurious & Premium", "Clean & Trustworthy"]`
|
|
8
|
+
* **Visual Inspiration (Optional):** `[e.g., "linear.app dark gradients", "stripe.com whitespace", "brutalist web design elements"]`
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## MODULE 2: LAYOUT & SPACING
|
|
13
|
+
* **Layout Approach:** `[e.g., "Asymmetrical grid", "Standard centered content within full-width sections", "Heavy use of negative space", "Overlapping elements", "Broken grid", "Sidebar navigation layout"]`
|
|
14
|
+
* **Section/Component Separation:** `[e.g., "Clear visual dividers", "Seamless transitions", "Use distinct background colors/textures"]`
|
|
15
|
+
* **Content Width:** `[e.g., "Mostly contained width (max-w-screen-xl)", "Some full-bleed elements", "Edge-to-edge content"]`
|
|
16
|
+
* **Spacing Scale (Whitespace):** `[e.g., "Generous whitespace (large padding/margins)", "Tight and compact", "Standard Tailwind spacing"]`
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## MODULE 3: COLOR PALETTE
|
|
21
|
+
* **Background (Base):** `[e.g., "#FFFFFF", "#1A1A1A (Dark)", "#F8F8F8 (Off-white)"]`
|
|
22
|
+
* **Text (Base):** `[e.g., "#111827 (Near Black)", "#E5E7EB (Light Gray for dark mode)"]`
|
|
23
|
+
* **Primary Accent / Brand Color:** `[e.g., "#3B82F6 (Blue)", "#EC4899 (Pink)", "Electric Blue (#00FFFF)"]` (Used for primary CTAs, highlights)
|
|
24
|
+
* **Secondary Accent (Optional):** `[e.g., "#10B981 (Green)", "#F59E0B (Amber)"]` (Used for secondary buttons, tags, icons)
|
|
25
|
+
* **Gradient Usage (Optional):** `[e.g., "Subtle gradients on buttons", "Hero background gradient from #FF00FF to #00FFFF", "No gradients"]`
|
|
26
|
+
* *(Specify Hex/RGB/HSL codes for precision. Describe general usage if needed.)*
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## MODULE 4: TYPOGRAPHY
|
|
31
|
+
* **Headline Font:** `[e.g., "Geist Sans (Default)", "Serif (e.g., Playfair Display)", "Monospace (e.g., JetBrains Mono)"]`
|
|
32
|
+
* **Headline Style:** `[e.g., "Bold weight", "Large size", "Uppercase", "Letter spacing: wide"]`
|
|
33
|
+
* **Body Font:** `[e.g., "Geist Sans (Default)", "Clean Sans-Serif (e.g., Inter)"]`
|
|
34
|
+
* **Body Style:** `[e.g., "Normal weight", "Readable size (text-base)", "Line height: relaxed"]`
|
|
35
|
+
* **Hierarchy:** `[e.g., "Strong visual hierarchy using size and weight", "Minimalist hierarchy"]`
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## MODULE 5: IMAGERY & ICONS
|
|
40
|
+
* **Image Style:** Use placeholders (`/placeholder.svg?width={w}&height={h}`), but describe the intended style: `[e.g., "Abstract 3D renders", "Clean product screenshots in device mockups", "High-quality lifestyle photos", "Geometric patterns", "Gradients"]`
|
|
41
|
+
* **Icon Style (lucide-react):** `[e.g., "Standard stroke width", "Thin stroke width (adjust via props/CSS if possible)", "Filled style (if applicable icons exist)", "Consistent size (e.g., size={20})"]`
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## MODULE 6: INTERACTIVITY & ANIMATION (Visual Focus)
|
|
46
|
+
* **Hover Effects:** `[e.g., "Subtle scale/brightness changes on cards/buttons", "Underline effects on links", "Color transitions"]`
|
|
47
|
+
* **Scroll Animations:** `[e.g., "Gentle fade-in/slide-up for sections", "Subtle parallax on background elements", "No scroll animations"]` (Apply where appropriate based on page structure)
|
|
48
|
+
* **Button Interactions:** `[e.g., "Clear visual feedback on click (scale down/color change)"]`
|
|
49
|
+
* **Loading States (Visual Only):** `[Optional: Describe visual placeholders if needed, e.g., "Skeleton loaders for cards/lists"]`
|
|
50
|
+
* **State Transitions:** `[Optional: Describe visual transitions between states if specified in UX, e.g., "Smooth fade between tabs"]`
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## MODULE 7: FILE STRUCTURE & COMPONENT STRATEGY (Separation of Concerns)
|
|
55
|
+
* **Goal:** Structure the code for maintainability and easier future integration with logic/data.
|
|
56
|
+
* **Directory Structure:** Organize components logically within `components/`. Suggestion:
|
|
57
|
+
* `components/layout/`: Shared layout components (e.g., AppLayout, SettingsLayout, Header, Footer, Sidebar).
|
|
58
|
+
* `components/views/` or `components/pages/`: Components specific to a particular page/view defined in Module 9 (e.g., DashboardSummary, ProfileForm). These compose smaller common/UI components.
|
|
59
|
+
* `components/ui/`: (Implicitly for shadcn components).
|
|
60
|
+
* `components/common/`: Small, reusable visual elements shared across multiple views (e.g., CustomStyledButton, IconBadge, DataCard, UserAvatar).
|
|
61
|
+
* **Component Granularity:** Break down large page views (from Module 9) into smaller, focused presentational components. Example: A `ProfileForm` component might import common `Input` and `Button` components.
|
|
62
|
+
* **Client Components:** Add `'use client'` directive *only* where essential for visual interactivity (e.g., dropdowns, toggles, visual carousels, accordions, form interactions). Keep structural components (layouts, page containers) as Server Components where possible.
|
|
63
|
+
* **Props:** Define clear `interface` or `type` for component props (even with placeholder data) to establish component contracts.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## MODULE 8: COMPONENT STYLING NOTES (Optional Specifics)
|
|
68
|
+
* **Buttons (shadcn/ui):** `[e.g., "Sharp corners (no border-radius)", "Pill-shaped", "Gradient background", "Subtle shadow"]`
|
|
69
|
+
* **Cards (shadcn/ui):** `[e.g., "No border, distinct background color", "Thin border", "Heavy shadow", "Glassmorphism effect (background blur)"]`
|
|
70
|
+
* **Inputs (Placeholders):** `[e.g., "Minimalist underline style", "Standard bordered input"]`
|
|
71
|
+
* **Tables (Visual):** `[e.g., "Striped rows", "Hover effect on rows", "Minimal borders"]`
|
|
72
|
+
* **Modals (Visual):** `[e.g., "Specific width", "Overlay style"]`
|
|
73
|
+
* *(Add any other specific styling directions for base components based on UX Specs)*
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## MODULE 9: REQUIRED PAGES/VIEWS (MVP Scope)
|
|
78
|
+
* **Instruction:** Generate the necessary page files (e.g., `app/dashboard/page.tsx`, `app/settings/profile/page.tsx`) and associated view-specific components (`components/views/` or `components/pages/`) based on the definitions below. These definitions are derived from the UX Specifications (Input 1) and scoped by the MVP Definition (Input 2). Apply the overall theme, layout, styling, and component strategy defined in other modules. Use shared layout components where specified. Use placeholder data/text/links (`#`, `Lorem Ipsum`).
|
|
79
|
+
|
|
80
|
+
* **Structure to use for each Page/View defined below:**
|
|
81
|
+
* **Page/View Name:** `[Name of the page/view (Ref UX Spec Section)]`
|
|
82
|
+
* **Intended Route/Path:** `[URL path for this page/view]`
|
|
83
|
+
* **Primary Layout Component:** `[Name of shared layout component, e.g., <AppLayout> (Ref UX Spec Section)]` (Specify if applicable)
|
|
84
|
+
* **Key Components/Sections within this page:**
|
|
85
|
+
* `[Component/Section Name (Ref UX Spec X.Y)]`: `[Brief description of content/purpose and key styling notes from UX Spec]`
|
|
86
|
+
* *(Repeat for all major components/sections on this page/view)*
|
|
87
|
+
* **Specific Notes:** `[Any overriding styles, interactions, states, or critical notes specific to this page/view from the UX Spec]`
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
*(The filler prompt will generate entries following the structure above, replacing the placeholder below)*
|
|
91
|
+
|
|
92
|
+
`[ <<< Entries for each required Page/View will be dynamically generated here by the filler prompt >>> ]`
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## MODULE 10: TECHNICAL IMPLEMENTATION NOTES (For v0):
|
|
97
|
+
* Generate within a single `<CodeProject id="[product-name]-visual-design-mvp">`.
|
|
98
|
+
* Use **Next.js App Router** structure. Create page files (e.g., `app/dashboard/page.tsx`, `app/settings/profile/page.tsx`) corresponding to the routes defined in Module 9.
|
|
99
|
+
* Create shared layout components (e.g., `components/layout/AppLayout.tsx`) as specified in Module 9 and apply them in the respective `layout.tsx` or page files.
|
|
100
|
+
* Use `tsx` files, kebab-case filenames.
|
|
101
|
+
* Use **shadcn/ui** components as a base, style heavily via **Tailwind CSS** according to Modules 1-8 and specific notes in Module 9.
|
|
102
|
+
* Use **`lucide-react`** for icons, styled as per Module 5.
|
|
103
|
+
* Implement **responsive design** visually based on UX Specs or standard practices if unspecified.
|
|
104
|
+
* Ensure basic **accessibility** structure (semantic HTML).
|
|
105
|
+
* **Structure:** Follow the separation of concerns strategy outlined in Module 7 (directory structure, component granularity, `'use client'` placement, prop types).
|
|
106
|
+
* Use placeholder data (`Lorem Ipsum`) and placeholder external links (`#`). For **internal navigation** between pages defined in Module 9, use functional **Next.js `<Link>` components** with the correct `href` based on the defined routes. Avoid other functional logic (data fetching, state management, API calls).
|
|
107
|
+
* Use `import type` for type imports.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<meta name="description" content="{{purpose}}" />
|
|
8
|
+
<title>{{brand}}</title>
|
|
9
|
+
<!-- Preset fonts: {{preset.name}} -->
|
|
10
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
11
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
12
|
+
<link href="{{googleFonts}}" rel="stylesheet" />
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<div id="root"></div>
|
|
16
|
+
<script type="module" src="/src/main.jsx"></script>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "{{brand-slug}}",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"build": "vite build",
|
|
9
|
+
"preview": "vite preview"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"gsap": "^3.12.5",
|
|
13
|
+
"lucide-react": "^1.17.0",
|
|
14
|
+
"react": "^19.0.0",
|
|
15
|
+
"react-dom": "^19.0.0"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@types/react": "^19.0.0",
|
|
19
|
+
"@types/react-dom": "^19.0.0",
|
|
20
|
+
"@vitejs/plugin-react": "^4.3.0",
|
|
21
|
+
"autoprefixer": "^10.4.19",
|
|
22
|
+
"postcss": "^8.4.38",
|
|
23
|
+
"tailwindcss": "^3.4.17",
|
|
24
|
+
"vite": "^5.3.0"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { useEffect } from 'react'
|
|
2
|
+
import { gsap } from 'gsap'
|
|
3
|
+
import { ScrollTrigger } from 'gsap/ScrollTrigger'
|
|
4
|
+
|
|
5
|
+
import Navbar from './sections/Navbar.jsx'
|
|
6
|
+
import Hero from './sections/Hero.jsx'
|
|
7
|
+
import Features from './sections/Features.jsx'
|
|
8
|
+
import Philosophy from './sections/Philosophy.jsx'
|
|
9
|
+
import Protocol from './sections/Protocol.jsx'
|
|
10
|
+
import Pricing from './sections/Pricing.jsx'
|
|
11
|
+
import Footer from './sections/Footer.jsx'
|
|
12
|
+
|
|
13
|
+
gsap.registerPlugin(ScrollTrigger)
|
|
14
|
+
|
|
15
|
+
export default function App() {
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
// Refresh ScrollTrigger on font/image load
|
|
18
|
+
window.addEventListener('load', () => ScrollTrigger.refresh())
|
|
19
|
+
return () => window.removeEventListener('load', () => ScrollTrigger.refresh())
|
|
20
|
+
}, [])
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<div className="relative overflow-x-hidden">
|
|
24
|
+
<Navbar />
|
|
25
|
+
<Hero />
|
|
26
|
+
<Features />
|
|
27
|
+
<Philosophy />
|
|
28
|
+
<Protocol />
|
|
29
|
+
<Pricing />
|
|
30
|
+
<Footer />
|
|
31
|
+
</div>
|
|
32
|
+
)
|
|
33
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
@tailwind base;
|
|
2
|
+
@tailwind components;
|
|
3
|
+
@tailwind utilities;
|
|
4
|
+
|
|
5
|
+
/* ─── Preset Design Tokens (injected by cinematic-web create) ─────────────── */
|
|
6
|
+
:root {
|
|
7
|
+
--color-primary: {{palette.primary}};
|
|
8
|
+
--color-accent: {{palette.accent}};
|
|
9
|
+
--color-background: {{palette.background}};
|
|
10
|
+
--color-dark: {{palette.dark}};
|
|
11
|
+
|
|
12
|
+
--font-heading: '{{typography.heading0}}', '{{typography.heading1}}', sans-serif;
|
|
13
|
+
--font-drama: '{{typography.drama}}', Georgia, serif;
|
|
14
|
+
--font-data: '{{typography.data}}', 'Courier New', monospace;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* ─── Global Noise Overlay (SVG feTurbulence at 0.05 opacity) ─────────────── */
|
|
18
|
+
body::before {
|
|
19
|
+
content: '';
|
|
20
|
+
position: fixed;
|
|
21
|
+
inset: 0;
|
|
22
|
+
z-index: 9999;
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
opacity: 0.05;
|
|
25
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* ─── Base Resets ─────────────────────────────────────────────────────────── */
|
|
29
|
+
*, *::before, *::after {
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
html {
|
|
34
|
+
scroll-behavior: smooth;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
body {
|
|
38
|
+
margin: 0;
|
|
39
|
+
background-color: var(--color-background);
|
|
40
|
+
color: var(--color-dark);
|
|
41
|
+
font-family: var(--font-heading);
|
|
42
|
+
-webkit-font-smoothing: antialiased;
|
|
43
|
+
-moz-osx-font-smoothing: grayscale;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* ─── Magnetic Button Base ─────────────────────────────────────────────────── */
|
|
47
|
+
.btn-magnetic {
|
|
48
|
+
position: relative;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
|
|
51
|
+
box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.btn-magnetic:hover {
|
|
55
|
+
transform: scale(1.03);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.btn-magnetic .btn-fill {
|
|
59
|
+
position: absolute;
|
|
60
|
+
inset: 0;
|
|
61
|
+
transform: translateY(101%);
|
|
62
|
+
transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.btn-magnetic:hover .btn-fill {
|
|
66
|
+
transform: translateY(0);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* ─── Interactive Lift ──────────────────────────────────────────────────────── */
|
|
70
|
+
.interactive-lift {
|
|
71
|
+
transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.interactive-lift:hover {
|
|
75
|
+
transform: translateY(-1px);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* ─── Scrollbar Styling ─────────────────────────────────────────────────────── */
|
|
79
|
+
::-webkit-scrollbar {
|
|
80
|
+
width: 6px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
::-webkit-scrollbar-track {
|
|
84
|
+
background: var(--color-background);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
::-webkit-scrollbar-thumb {
|
|
88
|
+
background: var(--color-primary);
|
|
89
|
+
border-radius: 3px;
|
|
90
|
+
}
|