Changes to beautiful.scroll.pub

root
root
7 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://beautiful.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Beautiful Scroll | The Elegant Markup Language
+ style.css
+
+ header
+ class hero
+ nav
+ div Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Docs
+ href https://scroll.pub/tutorial.html
+ a Try It
+ class cta-button
+ href edit.html
+ div
+ class hero-content
+ h1 Write Beautiful Documents
+ p The elegant markup language that makes source code as readable as the output
+ a Get Started
+ class primary-button
+ href https://scroll.pub/tutorial.html
+ 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" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" path d="M14 2v6h6" path d="M16 13H8" path d="M16 17H8" path d="M10 9H8"
+ h3 Clean Syntax
+ p Minimal punctuation with meaningful whitespace
+ div
+ class feature-card
+ div
+ class feature-icon
+ svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" path d="M12 2v4" path d="m18.364 5.636-2.828 2.828" path d="M22 12h-4" path d="m18.364 18.364-2.828-2.828" path d="M12 22v-4" path d="m5.636 18.364 2.828-2.828" path d="M2 12h4" path d="m5.636 5.636 2.828 2.828"
+ h3 Extensible
+ p Create custom parsers for any output format
+ div
+ class feature-card
+ div
+ class feature-icon
+ svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"
+ h3 Readable
+ p Documents stay beautiful at any scale
+ div
+ class feature-card
+ div
+ class feature-icon
+ svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z" path d="M13 2v7h7"
+ h3 Portable
+ p Compiles to HTML, Markdown, LaTeX, and more
+ section
+ id examples
+ class code-demo
+ h2 See Scroll in Action
+ div
+ class code-container
+ pre
+ class code-example
+ code
+ | header
+ | class hero
+ | h1 Welcome to Scroll
+ | p The elegant markup language
+ | main
+ | section
+ | id features
+ | h2 Features
+ | ul
+ | li Clean syntax
+ | li Extensible
+ | li Readable
+ div
+ class code-output
+ div
+ class rendered-output
+ header
+ class hero
+ h1 Welcome to Scroll
+ p The elegant markup language
+ main
+ section
+ id features
+ h2 Features
+ ul
+ li Clean syntax
+ li Extensible
+ li Readable
+ 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 Scroll by Breck Yunits and contributors
+
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "a452972c-f61f-4025-ba23-00ef92e9c3fb",
+ "object": "chat.completion",
+ "created": 1744532891,
+ "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---\nbeautiful.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://beautiful.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Beautiful Scroll | The Elegant Markup Language\nstyle.css\n\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 Docs\n href https://scroll.pub/tutorial.html\n a Try It\n class cta-button\n href edit.html\n div\n class hero-content\n h1 Write Beautiful Documents\n p The elegant markup language that makes source code as readable as the output\n a Get Started\n class primary-button\n href https://scroll.pub/tutorial.html\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 viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\" path d=\"M14 2v6h6\" path d=\"M16 13H8\" path d=\"M16 17H8\" path d=\"M10 9H8\"\n h3 Clean Syntax\n p Minimal punctuation with meaningful whitespace\n div\n class feature-card\n div\n class feature-icon\n svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" path d=\"M12 2v4\" path d=\"m18.364 5.636-2.828 2.828\" path d=\"M22 12h-4\" path d=\"m18.364 18.364-2.828-2.828\" path d=\"M12 22v-4\" path d=\"m5.636 18.364 2.828-2.828\" path d=\"M2 12h4\" path d=\"m5.636 5.636 2.828 2.828\"\n h3 Extensible\n p Create custom parsers for any output format\n div\n class feature-card\n div\n class feature-icon\n svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"\n h3 Readable\n p Documents stay beautiful at any scale\n div\n class feature-card\n div\n class feature-icon\n svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" path d=\"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z\" path d=\"M13 2v7h7\"\n h3 Portable\n p Compiles to HTML, Markdown, LaTeX, and more\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 | class hero\n | h1 Welcome to Scroll\n | p The elegant markup language\n | main\n | section\n | id features\n | h2 Features\n | ul\n | li Clean syntax\n | li Extensible\n | li Readable\n div\n class code-output\n div\n class rendered-output\n header\n class hero\n h1 Welcome to Scroll\n p The elegant markup language\n main\n section\n id features\n h2 Features\n ul\n li Clean syntax\n li Extensible\n li Readable\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 Scroll by Breck Yunits and contributors\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: #ffffff;\n --bg-alt: #f8fafc;\n --border: #e2e8f0;\n --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);\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(--bg);\n overflow-x: hidden;\n}\n\na {\n color: var(--primary);\n text-decoration: none;\n transition: var(--transition);\n}\n\na:hover {\n color: var(--primary-dark);\n}\n\n.container {\n width: 100%;\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 1.5rem;\n}\n\n/* Header */\n.hero {\n background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);\n color: white;\n padding: 2rem 0;\n position: relative;\n overflow: hidden;\n}\n\n.hero::before {\n content: '';\n position: absolute;\n top: -50%;\n left: -50%;\n width: 200%;\n height: 200%;\n background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);\n transform: rotate(30deg);\n z-index: 1;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 0;\n position: relative;\n z-index: 2;\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: rgba(255,255,255,0.9);\n font-weight: 500;\n}\n\n.nav-links a:hover {\n color: white;\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.cta-button:hover {\n background: rgba(255,255,255,0.9);\n color: var(--primary-dark);\n}\n\n.hero-content {\n padding: 5rem 0;\n max-width: 600px;\n position: relative;\n z-index: 2;\n}\n\n.hero-content h1 {\n font-size: 3rem;\n line-height: 1.2;\n margin-bottom: 1.5rem;\n}\n\n.hero-content p {\n font-size: 1.25rem;\n margin-bottom: 2rem;\n opacity: 0.9;\n}\n\n.primary-button {\n background: white;\n color: var(--primary);\n padding: 0.75rem 1.5rem;\n border-radius: var(--radius);\n font-weight: 600;\n font-size: 1rem;\n display: inline-block;\n}\n\n.primary-button:hover {\n background: rgba(255,255,255,0.9);\n transform: translateY(-2px);\n box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);\n}\n\n/* Features */\n.features {\n padding: 5rem 0;\n background: var(--bg-alt);\n}\n\n.features 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(--bg);\n padding: 2rem;\n border-radius: var(--radius);\n box-shadow: var(--shadow);\n transition: var(--transition);\n text-align: center;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);\n}\n\n.feature-icon {\n width: 3rem;\n height: 3rem;\n margin: 0 auto 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(79, 70, 229, 0.1);\n border-radius: 50%;\n color: var(--primary);\n}\n\n.feature-icon svg {\n width: 1.5rem;\n height: 1.5rem;\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 font-size: 0.9rem;\n}\n\n/* Code Demo */\n.code-demo {\n padding: 5rem 0;\n}\n\n.code-demo h2 {\n text-align: center;\n margin-bottom: 3rem;\n font-size: 2rem;\n}\n\n.code-container {\n display: grid;\n grid-template-columns: 1fr;\n gap: 2rem;\n max-width: 900px;\n margin: 0 auto;\n}\n\n@media (min-width: 768px) {\n .code-container {\n grid-template-columns: 1fr 1fr;\n }\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', 'Roboto Mono', monospace;\n font-size: 0.9rem;\n line-height: 1.5;\n}\n\n.code-example code {\n display: block;\n white-space: pre;\n}\n\n.rendered-output {\n background: white;\n padding: 1.5rem;\n border-radius: var(--radius);\n box-shadow: var(--shadow);\n border: 1px solid var(--border);\n}\n\n/* Footer */\nfooter {\n background: var(--bg-alt);\n padding: 3rem 0;\n border-top: 1px solid var(--border);\n}\n\n.footer-content {\n display: flex;\n flex-direction: column;\n gap: 2rem;\n align-items: center;\n text-align: center;\n}\n\n.footer-links {\n display: flex;\n gap: 1.5rem;\n}\n\n.footer-links a {\n color: var(--text-light);\n}\n\n.footer-links a:hover {\n color: var(--primary);\n}\n\nfooter p {\n color: var(--text-light);\n font-size: 0.9rem;\n}\n\n/* Responsive */\n@media (max-width: 768px) {\n .hero-content h1 {\n font-size: 2.25rem;\n }\n \n .hero-content p {\n font-size: 1rem;\n }\n \n .nav-links {\n gap: 1rem;\n }\n \n .feature-grid {\n grid-template-columns: 1fr;\n }\n}\n\n@media (max-width: 480px) {\n .hero-content {\n padding: 3rem 0;\n }\n \n .hero-content h1 {\n font-size: 2rem;\n }\n \n .footer-links {\n flex-direction: column;\n gap: 0.5rem;\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 \n const targetId = this.getAttribute('href');\n const targetElement = document.querySelector(targetId);\n \n if (targetElement) {\n window.scrollTo({\n top: targetElement.offsetTop - 80,\n behavior: 'smooth'\n });\n }\n });\n });\n \n // Animate feature cards on scroll\n const featureCards = document.querySelectorAll('.feature-card');\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 featureCards.forEach(card => {\n card.style.opacity = 0;\n card.style.transform = 'translateY(20px)';\n card.style.transition = 'opacity 0.5s ease, transform 0.5s ease';\n observer.observe(card);\n });\n \n // Highlight current section in navigation\n const sections = document.querySelectorAll('section');\n const navLinks = document.querySelectorAll('.nav-links a');\n \n window.addEventListener('scroll', () => {\n let current = '';\n \n sections.forEach(section => {\n const sectionTop = section.offsetTop;\n const sectionHeight = section.clientHeight;\n \n if (pageYOffset >= sectionTop - 100) {\n current = section.getAttribute('id');\n }\n });\n \n navLinks.forEach(link => {\n link.classList.remove('active');\n if (link.getAttribute('href') === `#${current}`) {\n link.classList.add('active');\n }\n });\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 721,
+ "completion_tokens": 3361,
+ "total_tokens": 4082,
+ "prompt_tokens_details": {
+ "cached_tokens": 704
+ },
+ "prompt_cache_hit_tokens": 704,
+ "prompt_cache_miss_tokens": 17
+ },
+ "system_fingerprint": "fp_3d5141a69a_prod0225"
+ }
readme.scroll
Changed around line 1
+ # beautiful.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 targetId = this.getAttribute('href');
+ const targetElement = document.querySelector(targetId);
+
+ if (targetElement) {
+ window.scrollTo({
+ top: targetElement.offsetTop - 80,
+ behavior: 'smooth'
+ });
+ }
+ });
+ });
+
+ // Animate feature cards on scroll
+ const featureCards = document.querySelectorAll('.feature-card');
+ 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 });
+
+ featureCards.forEach(card => {
+ card.style.opacity = 0;
+ card.style.transform = 'translateY(20px)';
+ card.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
+ observer.observe(card);
+ });
+
+ // Highlight current section in navigation
+ const sections = document.querySelectorAll('section');
+ const navLinks = document.querySelectorAll('.nav-links a');
+
+ window.addEventListener('scroll', () => {
+ let current = '';
+
+ sections.forEach(section => {
+ const sectionTop = section.offsetTop;
+ const sectionHeight = section.clientHeight;
+
+ if (pageYOffset >= sectionTop - 100) {
+ current = section.getAttribute('id');
+ }
+ });
+
+ navLinks.forEach(link => {
+ link.classList.remove('active');
+ if (link.getAttribute('href') === `#${current}`) {
+ link.classList.add('active');
+ }
+ });
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #4f46e5;
+ --primary-light: #6366f1;
+ --primary-dark: #4338ca;
+ --text: #1e293b;
+ --text-light: #64748b;
+ --bg: #ffffff;
+ --bg-alt: #f8fafc;
+ --border: #e2e8f0;
+ --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
+ --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(--bg);
+ overflow-x: hidden;
+ }
+
+ a {
+ color: var(--primary);
+ text-decoration: none;
+ transition: var(--transition);
+ }
+
+ a:hover {
+ color: var(--primary-dark);
+ }
+
+ .container {
+ width: 100%;
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 1.5rem;
+ }
+
+ /* Header */
+ .hero {
+ background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
+ color: white;
+ padding: 2rem 0;
+ position: relative;
+ overflow: hidden;
+ }
+
+ .hero::before {
+ content: '';
+ position: absolute;
+ top: -50%;
+ left: -50%;
+ width: 200%;
+ height: 200%;
+ background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
+ transform: rotate(30deg);
+ z-index: 1;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 1rem 0;
+ position: relative;
+ z-index: 2;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: 700;
+ color: white;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ align-items: center;
+ }
+
+ .nav-links a {
+ color: rgba(255,255,255,0.9);
+ font-weight: 500;
+ }
+
+ .nav-links a:hover {
+ color: white;
+ }
+
+ .cta-button {
+ background: white;
+ color: var(--primary);
+ padding: 0.5rem 1rem;
+ border-radius: var(--radius);
+ font-weight: 600;
+ }
+
+ .cta-button:hover {
+ background: rgba(255,255,255,0.9);
+ color: var(--primary-dark);
+ }
+
+ .hero-content {
+ padding: 5rem 0;
+ max-width: 600px;
+ position: relative;
+ z-index: 2;
+ }
+
+ .hero-content h1 {
+ font-size: 3rem;
+ line-height: 1.2;
+ margin-bottom: 1.5rem;
+ }
+
+ .hero-content p {
+ font-size: 1.25rem;
+ margin-bottom: 2rem;
+ opacity: 0.9;
+ }
+
+ .primary-button {
+ background: white;
+ color: var(--primary);
+ padding: 0.75rem 1.5rem;
+ border-radius: var(--radius);
+ font-weight: 600;
+ font-size: 1rem;
+ display: inline-block;
+ }
+
+ .primary-button:hover {
+ background: rgba(255,255,255,0.9);
+ transform: translateY(-2px);
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
+ }
+
+ /* Features */
+ .features {
+ padding: 5rem 0;
+ background: var(--bg-alt);
+ }
+
+ .features 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(--bg);
+ padding: 2rem;
+ border-radius: var(--radius);
+ box-shadow: var(--shadow);
+ transition: var(--transition);
+ text-align: center;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
+ }
+
+ .feature-icon {
+ width: 3rem;
+ height: 3rem;
+ margin: 0 auto 1rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: rgba(79, 70, 229, 0.1);
+ border-radius: 50%;
+ color: var(--primary);
+ }
+
+ .feature-icon svg {
+ width: 1.5rem;
+ height: 1.5rem;
+ }
+
+ .feature-card h3 {
+ margin-bottom: 1rem;
+ font-size: 1.25rem;
+ }
+
+ .feature-card p {
+ color: var(--text-light);
+ font-size: 0.9rem;
+ }
+
+ /* Code Demo */
+ .code-demo {
+ padding: 5rem 0;
+ }
+
+ .code-demo h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+ font-size: 2rem;
+ }
+
+ .code-container {
+ display: grid;
+ grid-template-columns: 1fr;
+ gap: 2rem;
+ max-width: 900px;
+ margin: 0 auto;
+ }
+
+ @media (min-width: 768px) {
+ .code-container {
+ grid-template-columns: 1fr 1fr;
+ }
+ }
+
+ .code-example {
+ background: #1e293b;
+ color: #f8fafc;
+ padding: 1.5rem;
+ border-radius: var(--radius);
+ overflow-x: auto;
+ font-family: 'SF Mono', 'Roboto Mono', monospace;
+ font-size: 0.9rem;
+ line-height: 1.5;
+ }
+
+ .code-example code {
+ display: block;
+ white-space: pre;
+ }
+
+ .rendered-output {
+ background: white;
+ padding: 1.5rem;
+ border-radius: var(--radius);
+ box-shadow: var(--shadow);
+ border: 1px solid var(--border);
+ }
+
+ /* Footer */
+ footer {
+ background: var(--bg-alt);
+ padding: 3rem 0;
+ border-top: 1px solid var(--border);
+ }
+
+ .footer-content {
+ display: flex;
+ flex-direction: column;
+ gap: 2rem;
+ align-items: center;
+ text-align: center;
+ }
+
+ .footer-links {
+ display: flex;
+ gap: 1.5rem;
+ }
+
+ .footer-links a {
+ color: var(--text-light);
+ }
+
+ .footer-links a:hover {
+ color: var(--primary);
+ }
+
+ footer p {
+ color: var(--text-light);
+ font-size: 0.9rem;
+ }
+
+ /* Responsive */
+ @media (max-width: 768px) {
+ .hero-content h1 {
+ font-size: 2.25rem;
+ }
+
+ .hero-content p {
+ font-size: 1rem;
+ }
+
+ .nav-links {
+ gap: 1rem;
+ }
+
+ .feature-grid {
+ grid-template-columns: 1fr;
+ }
+ }
+
+ @media (max-width: 480px) {
+ .hero-content {
+ padding: 3rem 0;
+ }
+
+ .hero-content h1 {
+ font-size: 2rem;
+ }
+
+ .footer-links {
+ flex-direction: column;
+ gap: 0.5rem;
+ }
+ }