Changes to writescroll.pub.scroll.pub

root
root
6 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://writescroll.pub
+ metaTags
+ editButton /edit.html
+ title Write with Scroll - Beautiful Documents Made Simple
+ style.css
+ 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 Beautiful Documents
+ p The elegant markup language that compiles to anything
+ div
+ class button-group
+ a Get Started
+ class primary-button
+ href https://hub.scroll.pub/
+ a Try Online
+ class secondary-button
+ href https://play.scroll.pub/
+ main
+ section
+ id features
+ class features
+ h2 Why Choose Scroll?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div
+ class feature-icon
+ svg
+ viewBox 0 0 24 24
+ path d M13 3H11V13H13V3M17.1 6.9L15.7 8.3C17.8 10.4 17.8 13.6 15.7 15.7L17.1 17.1C19.6 14.6 19.6 10.4 17.1 6.9M6.9 17.1L8.3 15.7C6.2 13.6 6.2 10.4 8.3 8.3L6.9 6.9C4.4 9.4 4.4 13.6 6.9 17.1Z
+ h3 Simple Syntax
+ p Clean, whitespace-based structure without unnecessary symbols
+ div
+ class feature-card
+ div
+ class feature-icon
+ svg
+ viewBox 0 0 24 24
+ path d M12 2C13.1 2 14 2.9 14 4S13.1 6 12 6 10 5.1 10 4 10.9 2 12 2M15.5 8C16.3 8 17 8.7 17 9.5S16.3 11 15.5 11 14 10.3 14 9.5 14.7 8 15.5 8M8.5 8C9.3 8 10 8.7 10 9.5S9.3 11 8.5 11 7 10.3 7 9.5 7.7 8 8.5 8M21 16V14C18.8 13.4 16.4 13 12 13S5.2 13.4 3 14V16C3 17.1 3.9 18 5 18H19C20.1 18 21 17.1 21 16M19 19H5C3.9 19 3 19.9 3 21V22H21V21C21 19.9 20.1 19 19 19Z
+ h3 Human Readable
+ p Documents look beautiful in source and compiled form
+ div
+ class feature-card
+ div
+ class feature-icon
+ svg
+ viewBox 0 0 24 24
+ path d M12 15C13.31 15 14.42 15.84 14.83 17H18V19H14.83C14.42 20.16 13.31 21 12 21S9.58 20.16 9.17 19H6V17H9.17C9.58 15.84 10.69 15 12 15M12 13C10.34 13 9 14.34 9 16S10.34 19 12 19 15 17.66 15 16 13.66 13 12 13M5 5H15V9H19V12C19.7 12 20.37 12.12 21 12.34V5C21 3.89 20.1 3 19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H8.17C8.06 20.69 8 20.35 8 20V19H5V5Z
+ h3 Extensible
+ p Build custom parsers for any output format
+ div
+ class feature-card
+ div
+ class feature-icon
+ svg
+ viewBox 0 0 24 24
+ path d M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M12,11.99H19V11C19,7.9 16.97,5.17 14,4.29V6.69L16,8.31V8.99H12V11.99M11,4.29C8.03,5.17 6,7.9 6,11V11.99H12V8.99H8V8.31L10,6.69V4.29Z
+ h3 Secure
+ p Safe by design with minimal attack surface
+ section
+ id examples
+ class code-demo
+ h2 See Scroll in Action
+ div
+ class code-container
+ pre
+ class code-example
+ code
+ | header
+ | title My Document
+ | author Jane Doe
+ |
+ | main
+ | h1 Welcome
+ | p This is written in Scroll
+ | class intro
+ | ul
+ | li Simple syntax
+ | li Clean output
+ | li Extensible
+ div
+ class code-output
+ article
+ h1 My Document
+ p class intro This is written in Scroll
+ ul
+ li Simple syntax
+ li Clean output
+ li Extensible
+ 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 Created with love by Breck Yunits and contributors
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "34e64981-67fa-437a-b778-f4f03943034a",
+ "object": "chat.completion",
+ "created": 1744532830,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "Here's a professional, beautiful website for Scroll with advanced CSS techniques:\n\n---domain---\nwritescroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://writescroll.pub\nmetaTags\neditButton /edit.html\ntitle Write with Scroll - Beautiful Documents Made Simple\nstyle.css\nheader\n class hero\n nav\n div Scroll\n class logo\n div\n class nav-links\n a Features\n href #features\n a Examples\n href #examples\n a Edit\n href edit.html\n a GitHub\n class cta-button\n href https://github.com/breck7/scroll\n div\n class hero-content\n h1 Write Beautiful Documents\n p The elegant markup language that compiles to anything\n div\n class button-group\n a Get Started\n class primary-button\n href https://hub.scroll.pub/\n a Try Online\n class secondary-button\n href https://play.scroll.pub/\nmain\n section\n id features\n class features\n h2 Why Choose Scroll?\n div\n class feature-grid\n div\n class feature-card\n div\n class feature-icon\n svg\n viewBox 0 0 24 24\n path d M13 3H11V13H13V3M17.1 6.9L15.7 8.3C17.8 10.4 17.8 13.6 15.7 15.7L17.1 17.1C19.6 14.6 19.6 10.4 17.1 6.9M6.9 17.1L8.3 15.7C6.2 13.6 6.2 10.4 8.3 8.3L6.9 6.9C4.4 9.4 4.4 13.6 6.9 17.1Z\n h3 Simple Syntax\n p Clean, whitespace-based structure without unnecessary symbols\n div\n class feature-card\n div\n class feature-icon\n svg\n viewBox 0 0 24 24\n path d M12 2C13.1 2 14 2.9 14 4S13.1 6 12 6 10 5.1 10 4 10.9 2 12 2M15.5 8C16.3 8 17 8.7 17 9.5S16.3 11 15.5 11 14 10.3 14 9.5 14.7 8 15.5 8M8.5 8C9.3 8 10 8.7 10 9.5S9.3 11 8.5 11 7 10.3 7 9.5 7.7 8 8.5 8M21 16V14C18.8 13.4 16.4 13 12 13S5.2 13.4 3 14V16C3 17.1 3.9 18 5 18H19C20.1 18 21 17.1 21 16M19 19H5C3.9 19 3 19.9 3 21V22H21V21C21 19.9 20.1 19 19 19Z\n h3 Human Readable\n p Documents look beautiful in source and compiled form\n div\n class feature-card\n div\n class feature-icon\n svg\n viewBox 0 0 24 24\n path d M12 15C13.31 15 14.42 15.84 14.83 17H18V19H14.83C14.42 20.16 13.31 21 12 21S9.58 20.16 9.17 19H6V17H9.17C9.58 15.84 10.69 15 12 15M12 13C10.34 13 9 14.34 9 16S10.34 19 12 19 15 17.66 15 16 13.66 13 12 13M5 5H15V9H19V12C19.7 12 20.37 12.12 21 12.34V5C21 3.89 20.1 3 19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H8.17C8.06 20.69 8 20.35 8 20V19H5V5Z\n h3 Extensible\n p Build custom parsers for any output format\n div\n class feature-card\n div\n class feature-icon\n svg\n viewBox 0 0 24 24\n path d M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M12,11.99H19V11C19,7.9 16.97,5.17 14,4.29V6.69L16,8.31V8.99H12V11.99M11,4.29C8.03,5.17 6,7.9 6,11V11.99H12V8.99H8V8.31L10,6.69V4.29Z\n h3 Secure\n p Safe by design with minimal attack surface\n section\n id examples\n class code-demo\n h2 See Scroll in Action\n div\n class code-container\n pre\n class code-example\n code\n | header\n | title My Document\n | author Jane Doe\n | \n | main\n | h1 Welcome\n | p This is written in Scroll\n | class intro\n | ul\n | li Simple syntax\n | li Clean output\n | li Extensible\n div\n class code-output\n article\n h1 My Document\n p class intro This is written in Scroll\n ul\n li Simple syntax\n li Clean output\n li Extensible\nfooter\n div\n class footer-content\n div\n class footer-links\n a Documentation\n href https://scroll.pub/tutorial.html\n a Community\n href https://www.reddit.com/r/WorldWideScroll/\n a Blog\n href https://scroll.pub/blog\n p Created with love by Breck Yunits and contributors\nscript.js\n---style.css---\n:root {\n --primary: #2563eb;\n --primary-dark: #1d4ed8;\n --text: #1e293b;\n --text-light: #64748b;\n --background: #ffffff;\n --background-alt: #f8fafc;\n --border: #e2e8f0;\n --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);\n --radius: 0.5rem;\n --transition: all 0.2s ease;\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.6;\n color: var(--text);\n background: var(--background);\n}\n\nheader.hero {\n background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);\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 text-decoration: none;\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: var(--transition);\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 2rem;\n padding: 0 1rem;\n text-align: center;\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.button-group {\n display: flex;\n gap: 1rem;\n justify-content: center;\n}\n\n.primary-button, .secondary-button {\n padding: 0.75rem 1.5rem;\n border-radius: var(--radius);\n font-weight: 600;\n text-decoration: none;\n transition: var(--transition);\n display: inline-block;\n}\n\n.primary-button {\n background: white;\n color: var(--primary);\n}\n\n.primary-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);\n}\n\n.secondary-button {\n background: transparent;\n color: white;\n border: 2px solid white;\n}\n\n.secondary-button:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n\nmain {\n max-width: 1200px;\n margin: 0 auto;\n padding: 4rem 1rem;\n}\n\nsection {\n margin-bottom: 4rem;\n}\n\nh2 {\n font-size: 2rem;\n margin-bottom: 2rem;\n text-align: center;\n position: relative;\n}\n\nh2::after {\n content: '';\n display: block;\n width: 80px;\n height: 4px;\n background: var(--primary);\n margin: 1rem auto 0;\n border-radius: 2px;\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 3rem;\n}\n\n.feature-card {\n background: var(--background);\n border-radius: var(--radius);\n padding: 2rem;\n text-align: center;\n transition: var(--transition);\n border: 1px solid var(--border);\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n box-shadow: var(--shadow);\n}\n\n.feature-icon {\n width: 64px;\n height: 64px;\n margin: 0 auto 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(37, 99, 235, 0.1);\n border-radius: 50%;\n color: var(--primary);\n font-size: 1.5rem;\n}\n\n.feature-icon svg {\n width: 32px;\n height: 32px;\n fill: currentColor;\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.code-demo {\n background: var(--background-alt);\n padding: 3rem 1rem;\n border-radius: var(--radius);\n}\n\n.code-container {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.code-example {\n background: #1e293b;\n color: #f8fafc;\n padding: 1.5rem;\n border-radius: var(--radius);\n overflow-x: auto;\n font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;\n font-size: 0.9rem;\n line-height: 1.7;\n}\n\n.code-output {\n background: white;\n padding: 1.5rem;\n border-radius: var(--radius);\n border: 1px solid var(--border);\n}\n\nfooter {\n background: var(--background-alt);\n padding: 3rem 1rem;\n text-align: center;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.footer-links {\n display: flex;\n justify-content: center;\n gap: 2rem;\n margin-bottom: 2rem;\n}\n\n.footer-links a {\n color: var(--text-light);\n text-decoration: none;\n transition: var(--transition);\n}\n\n.footer-links a:hover {\n color: var(--primary);\n}\n\n@media (max-width: 768px) {\n .hero-content h1 {\n font-size: 2.25rem;\n }\n \n .code-container {\n grid-template-columns: 1fr;\n }\n \n .nav-links {\n gap: 1rem;\n }\n \n .button-group {\n flex-direction: column;\n align-items: center;\n }\n \n .feature-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n // Smooth scrolling for anchor links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function(e) {\n e.preventDefault();\n const target = document.querySelector(this.getAttribute('href'));\n if (target) {\n window.scrollTo({\n top: target.offsetTop - 80,\n behavior: 'smooth'\n });\n }\n });\n });\n\n // Animate feature cards on scroll\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.style.opacity = 1;\n entry.target.style.transform = 'translateY(0)';\n }\n });\n }, { threshold: 0.1 });\n\n document.querySelectorAll('.feature-card').forEach(card => {\n card.style.opacity = 0;\n card.style.transform = 'translateY(20px)';\n card.style.transition = 'opacity 0.6s ease, transform 0.6s ease';\n observer.observe(card);\n });\n\n // Mobile menu toggle would go here if needed\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 721,
+ "completion_tokens": 3464,
+ "total_tokens": 4185,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 721
+ },
+ "system_fingerprint": "fp_3d5141a69a_prod0225"
+ }
readme.scroll
Changed around line 1
+ # writescroll.pub.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ Describe the website you want
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "Describe the website you want"
+
+ 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() {
+ // Smooth scrolling for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function(e) {
+ e.preventDefault();
+ const target = document.querySelector(this.getAttribute('href'));
+ if (target) {
+ window.scrollTo({
+ top: target.offsetTop - 80,
+ behavior: 'smooth'
+ });
+ }
+ });
+ });
+
+ // Animate feature cards on scroll
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.style.opacity = 1;
+ entry.target.style.transform = 'translateY(0)';
+ }
+ });
+ }, { threshold: 0.1 });
+
+ document.querySelectorAll('.feature-card').forEach(card => {
+ card.style.opacity = 0;
+ card.style.transform = 'translateY(20px)';
+ card.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
+ observer.observe(card);
+ });
+
+ // Mobile menu toggle would go here if needed
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #2563eb;
+ --primary-dark: #1d4ed8;
+ --text: #1e293b;
+ --text-light: #64748b;
+ --background: #ffffff;
+ --background-alt: #f8fafc;
+ --border: #e2e8f0;
+ --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
+ --radius: 0.5rem;
+ --transition: all 0.2s ease;
+ }
+
+ * {
+ 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.6;
+ color: var(--text);
+ background: var(--background);
+ }
+
+ header.hero {
+ background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
+ 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;
+ text-decoration: none;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ align-items: center;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ font-weight: 500;
+ transition: var(--transition);
+ }
+
+ .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 2rem;
+ padding: 0 1rem;
+ text-align: center;
+ }
+
+ .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;
+ }
+
+ .button-group {
+ display: flex;
+ gap: 1rem;
+ justify-content: center;
+ }
+
+ .primary-button, .secondary-button {
+ padding: 0.75rem 1.5rem;
+ border-radius: var(--radius);
+ font-weight: 600;
+ text-decoration: none;
+ transition: var(--transition);
+ display: inline-block;
+ }
+
+ .primary-button {
+ background: white;
+ color: var(--primary);
+ }
+
+ .primary-button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
+ }
+
+ .secondary-button {
+ background: transparent;
+ color: white;
+ border: 2px solid white;
+ }
+
+ .secondary-button:hover {
+ background: rgba(255, 255, 255, 0.1);
+ }
+
+ main {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 4rem 1rem;
+ }
+
+ section {
+ margin-bottom: 4rem;
+ }
+
+ h2 {
+ font-size: 2rem;
+ margin-bottom: 2rem;
+ text-align: center;
+ position: relative;
+ }
+
+ h2::after {
+ content: '';
+ display: block;
+ width: 80px;
+ height: 4px;
+ background: var(--primary);
+ margin: 1rem auto 0;
+ border-radius: 2px;
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ margin-top: 3rem;
+ }
+
+ .feature-card {
+ background: var(--background);
+ border-radius: var(--radius);
+ padding: 2rem;
+ text-align: center;
+ transition: var(--transition);
+ border: 1px solid var(--border);
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ box-shadow: var(--shadow);
+ }
+
+ .feature-icon {
+ width: 64px;
+ height: 64px;
+ margin: 0 auto 1rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: rgba(37, 99, 235, 0.1);
+ border-radius: 50%;
+ color: var(--primary);
+ font-size: 1.5rem;
+ }
+
+ .feature-icon svg {
+ width: 32px;
+ height: 32px;
+ fill: currentColor;
+ }
+
+ .feature-card h3 {
+ margin-bottom: 1rem;
+ font-size: 1.25rem;
+ }
+
+ .feature-card p {
+ color: var(--text-light);
+ }
+
+ .code-demo {
+ background: var(--background-alt);
+ padding: 3rem 1rem;
+ border-radius: var(--radius);
+ }
+
+ .code-container {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 2rem;
+ margin-top: 2rem;
+ }
+
+ .code-example {
+ background: #1e293b;
+ color: #f8fafc;
+ padding: 1.5rem;
+ border-radius: var(--radius);
+ overflow-x: auto;
+ font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
+ font-size: 0.9rem;
+ line-height: 1.7;
+ }
+
+ .code-output {
+ background: white;
+ padding: 1.5rem;
+ border-radius: var(--radius);
+ border: 1px solid var(--border);
+ }
+
+ footer {
+ background: var(--background-alt);
+ padding: 3rem 1rem;
+ text-align: center;
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .footer-links {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+ margin-bottom: 2rem;
+ }
+
+ .footer-links a {
+ color: var(--text-light);
+ text-decoration: none;
+ transition: var(--transition);
+ }
+
+ .footer-links a:hover {
+ color: var(--primary);
+ }
+
+ @media (max-width: 768px) {
+ .hero-content h1 {
+ font-size: 2.25rem;
+ }
+
+ .code-container {
+ grid-template-columns: 1fr;
+ }
+
+ .nav-links {
+ gap: 1rem;
+ }
+
+ .button-group {
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .feature-grid {
+ grid-template-columns: 1fr;
+ }
+ }