Changes to testingscroll.pub1.scroll.pub

root
root
3 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://testingscroll.pub
+ metaTags
+ editButton /edit.html
+ title Testing | Modern Web Testing Tools
+ style.css
+ header
+ class hero
+ nav
+ div Testing
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Docs
+ href #docs
+ a Examples
+ href #examples
+ a Try Now
+ class cta-button
+ href #try
+ div
+ class hero-content
+ h1 Modern Testing Solutions
+ p Powerful, intuitive testing tools for developers who demand excellence
+ a Get Started
+ class primary-button
+ href #try
+ main
+ section
+ id features
+ class features
+ h2 Why Choose Us?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Blazing Fast
+ p Run thousands of tests in seconds with our optimized engine.
+ div
+ class feature-card
+ div 🔍
+ class feature-icon
+ h3 Detailed Insights
+ p Get actionable feedback with beautiful visual reports.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Extensible
+ p Plugin architecture lets you customize your testing workflow.
+ div
+ class feature-card
+ div 🤝
+ class feature-icon
+ h3 Team Friendly
+ p Collaborate seamlessly with shared results and history.
+ section
+ id docs
+ class docs
+ h2 Documentation
+ div
+ class doc-cards
+ div
+ class doc-card
+ h3 Getting Started
+ p Learn how to set up your first test suite in minutes.
+ a Read Guide
+ class doc-link
+ href #getting-started
+ div
+ class doc-card
+ h3 API Reference
+ p Complete documentation of all testing methods and options.
+ a View API
+ class doc-link
+ href #api
+ div
+ class doc-card
+ h3 Best Practices
+ p Professional tips for writing maintainable, effective tests.
+ a Learn More
+ class doc-link
+ href #best-practices
+ section
+ id examples
+ class examples
+ h2 Example Tests
+ div
+ class example-tabs
+ button
+ class tab-button active
+ data-tab unit
+ Unit Tests
+ button
+ class tab-button
+ data-tab integration
+ Integration Tests
+ button
+ class tab-button
+ data-tab e2e
+ End-to-End
+ div
+ class example-content active
+ id unit
+ pre
+ class code-example
+ div
+ class code-output
+ section
+ id try
+ class try
+ h2 Try It Now
+ div
+ class try-container
+ div
+ class editor
+ div
+ class output
+ button
+ class run-button
+ Run Tests
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href #docs
+ a GitHub
+ href https://github.com
+ a Blog
+ href #blog
+ p Built with ❤️ for developers everywhere.
+
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "c3be4276-fd7c-4575-89e9-2233ef551eff",
+ "object": "chat.completion",
+ "created": 1744875720,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "Here's a beautiful, responsive testing website with advanced CSS:\n\n---domain---\ntestingscroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://testingscroll.pub\nmetaTags\neditButton /edit.html\ntitle Testing | Modern Web Testing Tools\nstyle.css\nheader\n class hero\n nav\n div Testing\n class logo\n div\n class nav-links\n a Features\n href #features\n a Docs\n href #docs\n a Examples\n href #examples\n a Try Now\n class cta-button\n href #try\n div\n class hero-content\n h1 Modern Testing Solutions\n p Powerful, intuitive testing tools for developers who demand excellence\n a Get Started\n class primary-button\n href #try\nmain\n section\n id features\n class features\n h2 Why Choose Us?\n div\n class feature-grid\n div\n class feature-card\n div 🚀\n class feature-icon\n h3 Blazing Fast\n p Run thousands of tests in seconds with our optimized engine.\n div\n class feature-card\n div 🔍\n class feature-icon\n h3 Detailed Insights\n p Get actionable feedback with beautiful visual reports.\n div\n class feature-card\n div 🧩\n class feature-icon\n h3 Extensible\n p Plugin architecture lets you customize your testing workflow.\n div\n class feature-card\n div 🤝\n class feature-icon\n h3 Team Friendly\n p Collaborate seamlessly with shared results and history.\n section\n id docs\n class docs\n h2 Documentation\n div\n class doc-cards\n div\n class doc-card\n h3 Getting Started\n p Learn how to set up your first test suite in minutes.\n a Read Guide\n class doc-link\n href #getting-started\n div\n class doc-card\n h3 API Reference\n p Complete documentation of all testing methods and options.\n a View API\n class doc-link\n href #api\n div\n class doc-card\n h3 Best Practices\n p Professional tips for writing maintainable, effective tests.\n a Learn More\n class doc-link\n href #best-practices\n section\n id examples\n class examples\n h2 Example Tests\n div\n class example-tabs\n button\n class tab-button active\n data-tab unit\n Unit Tests\n button\n class tab-button\n data-tab integration\n Integration Tests\n button\n class tab-button\n data-tab e2e\n End-to-End\n div\n class example-content active\n id unit\n pre\n class code-example\n div\n class code-output\n section\n id try\n class try\n h2 Try It Now\n div\n class try-container\n div\n class editor\n div\n class output\n button\n class run-button\n Run Tests\nfooter\n div\n class footer-content\n div\n class footer-links\n a Documentation\n href #docs\n a GitHub\n href https://github.com\n a Blog\n href #blog\n p Built with ❤️ for developers everywhere.\n\nscript.js\n---style.css---\n:root {\n --primary: #4f46e5;\n --primary-light: #6366f1;\n --primary-dark: #4338ca;\n --text: #1e293b;\n --text-light: #64748b;\n --bg: #f8fafc;\n --card-bg: #ffffff;\n --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);\n --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);\n --radius: 0.5rem;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n line-height: 1.5;\n color: var(--text);\n background-color: var(--bg);\n}\n\nheader.hero {\n background: linear-gradient(135deg, var(--primary), var(--primary-dark));\n color: white;\n padding: 2rem 1rem;\n position: relative;\n overflow: hidden;\n}\n\nheader.hero::before {\n content: '';\n position: absolute;\n top: -50%;\n right: -50%;\n width: 100%;\n height: 200%;\n background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);\n transform: rotate(30deg);\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 1rem;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: 700;\n color: white;\n}\n\n.nav-links {\n display: flex;\n gap: 1.5rem;\n align-items: center;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n font-weight: 500;\n transition: opacity 0.2s;\n}\n\n.nav-links a:hover {\n opacity: 0.8;\n}\n\n.cta-button {\n background: white;\n color: var(--primary);\n padding: 0.5rem 1rem;\n border-radius: var(--radius);\n font-weight: 600;\n}\n\n.hero-content {\n max-width: 1200px;\n margin: 4rem auto;\n padding: 0 1rem;\n text-align: center;\n position: relative;\n}\n\n.hero-content h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n line-height: 1.2;\n}\n\n.hero-content p {\n font-size: 1.25rem;\n max-width: 700px;\n margin: 0 auto 2rem;\n opacity: 0.9;\n}\n\n.primary-button {\n background: white;\n color: var(--primary);\n padding: 0.75rem 2rem;\n border-radius: var(--radius);\n font-weight: 600;\n font-size: 1.1rem;\n text-decoration: none;\n display: inline-block;\n transition: transform 0.2s, box-shadow 0.2s;\n box-shadow: var(--shadow);\n}\n\n.primary-button:hover {\n transform: translateY(-2px);\n box-shadow: var(--shadow-lg);\n}\n\nsection {\n padding: 4rem 1rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\nsection h2 {\n text-align: center;\n margin-bottom: 3rem;\n font-size: 2rem;\n color: var(--text);\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n}\n\n.feature-card {\n background: var(--card-bg);\n padding: 2rem;\n border-radius: var(--radius);\n box-shadow: var(--shadow);\n transition: transform 0.2s;\n text-align: center;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n}\n\n.feature-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.feature-card h3 {\n margin-bottom: 1rem;\n font-size: 1.25rem;\n}\n\n.feature-card p {\n color: var(--text-light);\n}\n\n.doc-cards {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n}\n\n.doc-card {\n background: var(--card-bg);\n padding: 2rem;\n border-radius: var(--radius);\n box-shadow: var(--shadow);\n border-top: 4px solid var(--primary);\n}\n\n.doc-card h3 {\n margin-bottom: 1rem;\n}\n\n.doc-card p {\n color: var(--text-light);\n margin-bottom: 1.5rem;\n}\n\n.doc-link {\n color: var(--primary);\n font-weight: 600;\n text-decoration: none;\n display: inline-flex;\n align-items: center;\n}\n\n.doc-link::after {\n content: '→';\n margin-left: 0.5rem;\n transition: transform 0.2s;\n}\n\n.doc-link:hover::after {\n transform: translateX(3px);\n}\n\n.example-tabs {\n display: flex;\n justify-content: center;\n gap: 1rem;\n margin-bottom: 2rem;\n}\n\n.tab-button {\n padding: 0.75rem 1.5rem;\n background: none;\n border: none;\n border-radius: var(--radius);\n font-weight: 600;\n cursor: pointer;\n transition: all 0.2s;\n}\n\n.tab-button.active {\n background: var(--primary);\n color: white;\n}\n\n.tab-button:not(.active):hover {\n background: rgba(79, 70, 229, 0.1);\n}\n\n.code-example {\n background: #1e293b;\n color: #f8fafc;\n padding: 2rem;\n border-radius: var(--radius);\n overflow-x: auto;\n font-family: 'Courier New', Courier, monospace;\n}\n\n.try-container {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.editor, .output {\n background: var(--card-bg);\n padding: 1.5rem;\n border-radius: var(--radius);\n box-shadow: var(--shadow);\n height: 400px;\n}\n\n.run-button {\n background: var(--primary);\n color: white;\n padding: 1rem 2rem;\n border: none;\n border-radius: var(--radius);\n font-weight: 600;\n font-size: 1.1rem;\n margin: 2rem auto 0;\n display: block;\n cursor: pointer;\n transition: background 0.2s;\n}\n\n.run-button:hover {\n background: var(--primary-dark);\n}\n\nfooter {\n background: var(--card-bg);\n padding: 3rem 1rem;\n margin-top: 4rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n}\n\n.footer-links {\n display: flex;\n gap: 2rem;\n margin-bottom: 1.5rem;\n}\n\n.footer-links a {\n color: var(--primary);\n text-decoration: none;\n font-weight: 500;\n}\n\n.footer-links a:hover {\n text-decoration: underline;\n}\n\n@media (max-width: 768px) {\n .hero-content h1 {\n font-size: 2.25rem;\n }\n \n .try-container {\n grid-template-columns: 1fr;\n }\n \n .nav-links {\n gap: 1rem;\n }\n}\n\n@media (max-width: 480px) {\n .hero-content h1 {\n font-size: 1.75rem;\n }\n \n .feature-grid, .doc-cards {\n grid-template-columns: 1fr;\n }\n \n .footer-links {\n flex-direction: column;\n gap: 1rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n // Tab functionality\n const tabButtons = document.querySelectorAll('.tab-button');\n const tabContents = document.querySelectorAll('.example-content');\n \n tabButtons.forEach(button => {\n button.addEventListener('click', () => {\n // Remove active class from all buttons and contents\n tabButtons.forEach(btn => btn.classList.remove('active'));\n tabContents.forEach(content => content.classList.remove('active'));\n \n // Add active class to clicked button\n button.classList.add('active');\n \n // Show corresponding content\n const tabId = button.getAttribute('data-tab');\n document.getElementById(tabId).classList.add('active');\n \n // Update code examples based on tab\n updateCodeExample(tabId);\n });\n });\n \n // Run button functionality\n const runButton = document.querySelector('.run-button');\n if (runButton) {\n runButton.addEventListener('click', () => {\n runButton.textContent = 'Running...';\n runButton.disabled = true;\n \n // Simulate test running\n setTimeout(() => {\n const output = document.querySelector('.output');\n if (output) {\n output.innerHTML = `\n
\n

Test Results

\n
✓ 14 tests passed
\n
✗ 1 test failed
\n
Completed in 1.2s
\n
\n `;\n }\n \n runButton.textContent = 'Run Tests';\n runButton.disabled = false;\n }, 1500);\n });\n }\n \n // Initialize first tab\n updateCodeExample('unit');\n \n // Smooth scrolling for anchor links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function(e) {\n e.preventDefault();\n \n const targetId = this.getAttribute('href');\n if (targetId === '#') return;\n \n const targetElement = document.querySelector(targetId);\n if (targetElement) {\n targetElement.scrollIntoView({\n behavior: 'smooth'\n });\n }\n });\n });\n});\n\nfunction updateCodeExample(tabId) {\n const codeExample = document.querySelector('.code-example');\n if (!codeExample) return;\n \n let exampleCode = '';\n \n switch(tabId) {\n case 'unit':\n exampleCode = `// Simple unit test example\ndescribe('Math operations', () => {\n test('adds 1 + 2 to equal 3', () => {\n expect(sum(1, 2)).toBe(3);\n });\n \n test('multiplies 3 * 4 to equal 12', () => {\n expect(multiply(3, 4)).toBe(12);\n });\n});`;\n break;\n case 'integration':\n exampleCode = `// Integration test example\ndescribe('User API', () => {\n beforeAll(() => setupTestDatabase());\n \n test('creates new user', async () => {\n const response = await request(app)\n .post('/users')\n .send({ name: 'Test', email: 'test@example.com' });\n \n expect(response.status).toBe(201);\n expect(response.body).toHaveProperty('id');\n });\n});`;\n break;\n case 'e2e':\n exampleCode = `// End-to-end test example\ndescribe('Login Flow', () => {\n test('successful login', async () => {\n await page.goto('https://example.com/login');\n await page.type('#email', 'user@example.com');\n await page.type('#password', 'password123');\n await page.click('#login-button');\n \n await page.waitForSelector('.dashboard');\n expect(await page.title()).toBe('Dashboard');\n });\n});`;\n break;\n }\n \n codeExample.textContent = exampleCode;\n}\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 717,
+ "completion_tokens": 3457,
+ "total_tokens": 4174,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 717
+ },
+ "system_fingerprint": "fp_3d5141a69a_prod0225"
+ }
readme.scroll
Changed around line 1
+ # testingscroll.pub1.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ Testing
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "Testing "
+
+ Requirements:
+ - Use only Scroll, CSS, and JavaScript (NO frameworks, NO external dependencies)
+ - Create clean, semantic HTML5
+ - Make it mobile-responsive
+ - Follow modern best practices and accessibility guidelines
+ - Keep it simple but professional
+ - Use only relative links and no external resources
+ - Do not put a copyright symbol or all rights reserved in the footer.
+ - Make it beautiful. Dazzling. Advanced used of CSS.
+
+ As a refresher, for doing the html body, Scroll is a whitespace based language that uses a single indented space to mark a line (aka particle) as a subparticle of a parent line.
+
+ For example:
+
+ header
+ class hero
+ nav
+ div Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Edit
+ href edit.html
+ a GitHub
+ class cta-button
+ href https://github.com/breck7/scroll
+ div
+ class hero-content
+ h1 Write Better with Scroll
+ p The extendible markup language that makes source beautiful and compiles to anything
+ a Get Started
+ class primary-button
+ href https://hub.scroll.pub/
+ main
+ section
+ id features
+ class features
+ h2 Why Scroll?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Simple Syntax
+ p Like Markdown, but more powerful. No parentheses needed.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Extendible
+ p Build your own custom parsers.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Beautiful Output
+ p Create stunning documents with minimal effort.
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Fast & Light
+ p Built on the efficient PPS Stack.
+ section
+ id examples
+ class code-demo
+ h2 See It In Action
+ div
+ class code-container
+ pre
+ class code-example
+ div
+ class code-output
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href https://scroll.pub/tutorial.html
+ a Community
+ href https://www.reddit.com/r/WorldWideScroll/
+ a Blog
+ href https://scroll.pub/blog
+ p Started by Breck Yunits. Evolved by a community.
+ https://twitter.com/breckyunits Breck Yunits
+ https://github.com/breck7/scroll/graphs/contributors community
+
+
+ First suggest a short, memorable domain name ending in scroll.pub that represents this website. Then provide the website files. Use this exact format:
+
+ ---domain---
+ (domainscroll.pub here)
+ ---index.scroll---
+ buildHtml
+ baseUrl https://(domainscroll.pub here)
+ metaTags
+ editButton /edit.html
+ title (Title here)
+ style.css
+
+ (body content here. no blank lines please.)
+
+ script.js
+ ---style.css---
+ (CSS content here)
+ ---script.js---
+ (JavaScript content here)
+ ---end---
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', function() {
+ // Tab functionality
+ const tabButtons = document.querySelectorAll('.tab-button');
+ const tabContents = document.querySelectorAll('.example-content');
+
+ tabButtons.forEach(button => {
+ button.addEventListener('click', () => {
+ // Remove active class from all buttons and contents
+ tabButtons.forEach(btn => btn.classList.remove('active'));
+ tabContents.forEach(content => content.classList.remove('active'));
+
+ // Add active class to clicked button
+ button.classList.add('active');
+
+ // Show corresponding content
+ const tabId = button.getAttribute('data-tab');
+ document.getElementById(tabId).classList.add('active');
+
+ // Update code examples based on tab
+ updateCodeExample(tabId);
+ });
+ });
+
+ // Run button functionality
+ const runButton = document.querySelector('.run-button');
+ if (runButton) {
+ runButton.addEventListener('click', () => {
+ runButton.textContent = 'Running...';
+ runButton.disabled = true;
+
+ // Simulate test running
+ setTimeout(() => {
+ const output = document.querySelector('.output');
+ if (output) {
+ output.innerHTML = `
+
+

Test Results

+
✓ 14 tests passed
+
✗ 1 test failed
+
Completed in 1.2s
+
+ `;
+ }
+
+ runButton.textContent = 'Run Tests';
+ runButton.disabled = false;
+ }, 1500);
+ });
+ }
+
+ // Initialize first tab
+ updateCodeExample('unit');
+
+ // Smooth scrolling for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function(e) {
+ e.preventDefault();
+
+ const targetId = this.getAttribute('href');
+ if (targetId === '#') return;
+
+ const targetElement = document.querySelector(targetId);
+ if (targetElement) {
+ targetElement.scrollIntoView({
+ behavior: 'smooth'
+ });
+ }
+ });
+ });
+ });
+
+ function updateCodeExample(tabId) {
+ const codeExample = document.querySelector('.code-example');
+ if (!codeExample) return;
+
+ let exampleCode = '';
+
+ switch(tabId) {
+ case 'unit':
+ exampleCode = `// Simple unit test example
+ describe('Math operations', () => {
+ test('adds 1 + 2 to equal 3', () => {
+ expect(sum(1, 2)).toBe(3);
+ });
+
+ test('multiplies 3 * 4 to equal 12', () => {
+ expect(multiply(3, 4)).toBe(12);
+ });
+ });`;
+ break;
+ case 'integration':
+ exampleCode = `// Integration test example
+ describe('User API', () => {
+ beforeAll(() => setupTestDatabase());
+
+ test('creates new user', async () => {
+ const response = await request(app)
+ .post('/users')
+ .send({ name: 'Test', email: 'test@example.com' });
+
+ expect(response.status).toBe(201);
+ expect(response.body).toHaveProperty('id');
+ });
+ });`;
+ break;
+ case 'e2e':
+ exampleCode = `// End-to-end test example
+ describe('Login Flow', () => {
+ test('successful login', async () => {
+ await page.goto('https://example.com/login');
+ await page.type('#email', 'user@example.com');
+ await page.type('#password', 'password123');
+ await page.click('#login-button');
+
+ await page.waitForSelector('.dashboard');
+ expect(await page.title()).toBe('Dashboard');
+ });
+ });`;
+ break;
+ }
+
+ codeExample.textContent = exampleCode;
+ }
style.css
Changed around line 1
+ :root {
+ --primary: #4f46e5;
+ --primary-light: #6366f1;
+ --primary-dark: #4338ca;
+ --text: #1e293b;
+ --text-light: #64748b;
+ --bg: #f8fafc;
+ --card-bg: #ffffff;
+ --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
+ --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
+ --radius: 0.5rem;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
+ line-height: 1.5;
+ color: var(--text);
+ background-color: var(--bg);
+ }
+
+ header.hero {
+ background: linear-gradient(135deg, var(--primary), var(--primary-dark));
+ color: white;
+ padding: 2rem 1rem;
+ position: relative;
+ overflow: hidden;
+ }
+
+ header.hero::before {
+ content: '';
+ position: absolute;
+ top: -50%;
+ right: -50%;
+ width: 100%;
+ height: 200%;
+ background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
+ transform: rotate(30deg);
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 1rem;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: 700;
+ color: white;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ align-items: center;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ font-weight: 500;
+ transition: opacity 0.2s;
+ }
+
+ .nav-links a:hover {
+ opacity: 0.8;
+ }
+
+ .cta-button {
+ background: white;
+ color: var(--primary);
+ padding: 0.5rem 1rem;
+ border-radius: var(--radius);
+ font-weight: 600;
+ }
+
+ .hero-content {
+ max-width: 1200px;
+ margin: 4rem auto;
+ padding: 0 1rem;
+ text-align: center;
+ position: relative;
+ }
+
+ .hero-content h1 {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+ line-height: 1.2;
+ }
+
+ .hero-content p {
+ font-size: 1.25rem;
+ max-width: 700px;
+ margin: 0 auto 2rem;
+ opacity: 0.9;
+ }
+
+ .primary-button {
+ background: white;
+ color: var(--primary);
+ padding: 0.75rem 2rem;
+ border-radius: var(--radius);
+ font-weight: 600;
+ font-size: 1.1rem;
+ text-decoration: none;
+ display: inline-block;
+ transition: transform 0.2s, box-shadow 0.2s;
+ box-shadow: var(--shadow);
+ }
+
+ .primary-button:hover {
+ transform: translateY(-2px);
+ box-shadow: var(--shadow-lg);
+ }
+
+ section {
+ padding: 4rem 1rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ section h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+ font-size: 2rem;
+ color: var(--text);
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ }
+
+ .feature-card {
+ background: var(--card-bg);
+ padding: 2rem;
+ border-radius: var(--radius);
+ box-shadow: var(--shadow);
+ transition: transform 0.2s;
+ text-align: center;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .feature-icon {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ .feature-card h3 {
+ margin-bottom: 1rem;
+ font-size: 1.25rem;
+ }
+
+ .feature-card p {
+ color: var(--text-light);
+ }
+
+ .doc-cards {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 2rem;
+ }
+
+ .doc-card {
+ background: var(--card-bg);
+ padding: 2rem;
+ border-radius: var(--radius);
+ box-shadow: var(--shadow);
+ border-top: 4px solid var(--primary);
+ }
+
+ .doc-card h3 {
+ margin-bottom: 1rem;
+ }
+
+ .doc-card p {
+ color: var(--text-light);
+ margin-bottom: 1.5rem;
+ }
+
+ .doc-link {
+ color: var(--primary);
+ font-weight: 600;
+ text-decoration: none;
+ display: inline-flex;
+ align-items: center;
+ }
+
+ .doc-link::after {
+ content: '→';
+ margin-left: 0.5rem;
+ transition: transform 0.2s;
+ }
+
+ .doc-link:hover::after {
+ transform: translateX(3px);
+ }
+
+ .example-tabs {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ margin-bottom: 2rem;
+ }
+
+ .tab-button {
+ padding: 0.75rem 1.5rem;
+ background: none;
+ border: none;
+ border-radius: var(--radius);
+ font-weight: 600;
+ cursor: pointer;
+ transition: all 0.2s;
+ }
+
+ .tab-button.active {
+ background: var(--primary);
+ color: white;
+ }
+
+ .tab-button:not(.active):hover {
+ background: rgba(79, 70, 229, 0.1);
+ }
+
+ .code-example {
+ background: #1e293b;
+ color: #f8fafc;
+ padding: 2rem;
+ border-radius: var(--radius);
+ overflow-x: auto;
+ font-family: 'Courier New', Courier, monospace;
+ }
+
+ .try-container {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 2rem;
+ margin-top: 2rem;
+ }
+
+ .editor, .output {
+ background: var(--card-bg);
+ padding: 1.5rem;
+ border-radius: var(--radius);
+ box-shadow: var(--shadow);
+ height: 400px;
+ }
+
+ .run-button {
+ background: var(--primary);
+ color: white;
+ padding: 1rem 2rem;
+ border: none;
+ border-radius: var(--radius);
+ font-weight: 600;
+ font-size: 1.1rem;
+ margin: 2rem auto 0;
+ display: block;
+ cursor: pointer;
+ transition: background 0.2s;
+ }
+
+ .run-button:hover {
+ background: var(--primary-dark);
+ }
+
+ footer {
+ background: var(--card-bg);
+ padding: 3rem 1rem;
+ margin-top: 4rem;
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ .footer-links {
+ display: flex;
+ gap: 2rem;
+ margin-bottom: 1.5rem;
+ }
+
+ .footer-links a {
+ color: var(--primary);
+ text-decoration: none;
+ font-weight: 500;
+ }
+
+ .footer-links a:hover {
+ text-decoration: underline;
+ }
+
+ @media (max-width: 768px) {
+ .hero-content h1 {
+ font-size: 2.25rem;
+ }
+
+ .try-container {
+ grid-template-columns: 1fr;
+ }
+
+ .nav-links {
+ gap: 1rem;
+ }
+ }
+
+ @media (max-width: 480px) {
+ .hero-content h1 {
+ font-size: 1.75rem;
+ }
+
+ .feature-grid, .doc-cards {
+ grid-template-columns: 1fr;
+ }
+
+ .footer-links {
+ flex-direction: column;
+ gap: 1rem;
+ }
+ }